diff --git a/README.md b/README.md index 8a284cae..25605462 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# diplomaticquarterapp +# hmg_patient_app A new Flutter application. diff --git a/android/.gitignore b/android/.gitignore new file mode 100644 index 00000000..bc2100d8 --- /dev/null +++ b/android/.gitignore @@ -0,0 +1,7 @@ +gradle-wrapper.jar +/.gradle +/captures/ +/gradlew +/gradlew.bat +/local.properties +GeneratedPluginRegistrant.java diff --git a/android/CustomFlutterFirebaseMessagingService.java b/android/CustomFlutterFirebaseMessagingService.java new file mode 100644 index 00000000..113f256f --- /dev/null +++ b/android/CustomFlutterFirebaseMessagingService.java @@ -0,0 +1,36 @@ +package io.flutter.plugins.firebasemessaging; + +import android.content.Intent; + +import java.util.concurrent.TimeUnit; + +import com.google.firebase.messaging.RemoteMessage; + +//public class CustomFlutterFirebaseMessagingService extends FlutterFirebaseMessagingService { +// @Override +// public void onMessageReceived(RemoteMessage remoteMessage) { +// if (remoteMessage.getData().containsKey("is_call")) { +// Intent intent = getPackageManager().getLaunchIntentForPackage(getPackageName()); +// startActivity(intent); +// super.onMessageReceived(remoteMessage); +// } else +// super.onMessageReceived(remoteMessage); +// } +//} + +public class CustomFlutterFirebaseMessagingService extends FlutterFirebaseMessagingService { + @Override + public void onMessageReceived(RemoteMessage remoteMessage) { + if (remoteMessage.getData().containsKey("is_call")) { + Intent intent = getPackageManager().getLaunchIntentForPackage(getPackageName()); + intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); + startActivity(intent); + try { + TimeUnit.SECONDS.sleep(5); + } catch (Exception e) { + } + super.onMessageReceived(remoteMessage); + } else + super.onMessageReceived(remoteMessage); + } +} \ No newline at end of file diff --git a/android/FlutterFirebaseMessagingReceiver.java b/android/FlutterFirebaseMessagingReceiver.java new file mode 100644 index 00000000..8226a09b --- /dev/null +++ b/android/FlutterFirebaseMessagingReceiver.java @@ -0,0 +1,114 @@ +// Copyright 2020 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +package io.flutter.plugins.firebase.messaging; + +import android.content.BroadcastReceiver; +import android.content.Context; +import android.content.Intent; +import android.util.Log; + +import java.util.Timer; +import java.util.TimerTask; + +import androidx.localbroadcastmanager.content.LocalBroadcastManager; + +import com.google.firebase.messaging.RemoteMessage; + +import java.util.HashMap; +import java.util.concurrent.TimeUnit; + +public class FlutterFirebaseMessagingReceiver extends BroadcastReceiver { + private static final String TAG = "FLTFireMsgReceiver"; + static HashMap notifications = new HashMap<>(); + + @Override + public void onReceive(Context context, Intent intent) { + Log.d(TAG, "broadcast received for message"); + if (ContextHolder.getApplicationContext() == null) { + ContextHolder.setApplicationContext(context.getApplicationContext()); + } + + if (intent.getExtras() == null) { + Log.d( + TAG, + "broadcast received but intent contained no extras to process RemoteMessage. Operation cancelled."); + return; + } + + RemoteMessage remoteMessage = new RemoteMessage(intent.getExtras()); + + // Store the RemoteMessage if the message contains a notification payload. + if (remoteMessage.getNotification() != null) { + notifications.put(remoteMessage.getMessageId(), remoteMessage); + FlutterFirebaseMessagingStore.getInstance().storeFirebaseMessage(remoteMessage); + } + + // |-> --------------------- + // App in Foreground + // ------------------------ + if (FlutterFirebaseMessagingUtils.isApplicationForeground(context)) { + Intent onMessageIntent = new Intent(FlutterFirebaseMessagingUtils.ACTION_REMOTE_MESSAGE); + onMessageIntent.putExtra(FlutterFirebaseMessagingUtils.EXTRA_REMOTE_MESSAGE, remoteMessage); + LocalBroadcastManager.getInstance(context).sendBroadcast(onMessageIntent); + return; + } + + // |-> --------------------- + // App in Background/Quit + // ------------------------ + + + if (remoteMessage.getData().containsKey("is_call")) { + Intent intent12 = context.getPackageManager().getLaunchIntentForPackage(context.getPackageName()); + intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); + context.startActivity(intent12); + try { + new Timer().schedule(new TimerTask() { + @Override + public void run() { + Intent onMessageIntent = new Intent(FlutterFirebaseMessagingUtils.ACTION_REMOTE_MESSAGE); + onMessageIntent.putExtra(FlutterFirebaseMessagingUtils.EXTRA_REMOTE_MESSAGE, remoteMessage); + LocalBroadcastManager.getInstance(context).sendBroadcast(onMessageIntent); + } + }, 5000); + } catch (Exception e) { + Log.e("AppCallingException", e.getMessage()); + } + // super.onMessageReceived(remoteMessage); + } //else + // super.onMessageReceived(remoteMessage); +// +// if (remoteMessage.getData().containsKey("is_call")) { +// Log.e("AppCalling", "started..."); +// Intent intent12 = context.getPackageManager().getLaunchIntentForPackage(context.getPackageName()); +// intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); +// context.startActivity(intent12); +// try { +// Log.e("AppCalling", "going to sleep..."); +// TimeUnit.SECONDS.sleep(10); +// Log.e("AppCalling", "sendig to broadcast receiver..."); +// Log.e("AppCalling:DAta", remoteMessage.getData().containsKey("is_call") + ""); +// Intent onBackgroundMessageIntent = +// new Intent(context, FlutterFirebaseMessagingBackgroundService.class); +// onBackgroundMessageIntent.putExtra( +// FlutterFirebaseMessagingUtils.EXTRA_REMOTE_MESSAGE, remoteMessage); +// FlutterFirebaseMessagingBackgroundService.enqueueMessageProcessing( +// context, onBackgroundMessageIntent); +// //return; +// } catch (Exception e) { +// Log.e("AppCallingException", e.getMessage()); +// } +// +// } + + + Intent onBackgroundMessageIntent = + new Intent(context, FlutterFirebaseMessagingBackgroundService.class); + onBackgroundMessageIntent.putExtra( + FlutterFirebaseMessagingUtils.EXTRA_REMOTE_MESSAGE, remoteMessage); + FlutterFirebaseMessagingBackgroundService.enqueueMessageProcessing( + context, onBackgroundMessageIntent); + } +} diff --git a/android/app/agconnect-services-new.json b/android/app/agconnect-services-new.json new file mode 100644 index 00000000..fce77eec --- /dev/null +++ b/android/app/agconnect-services-new.json @@ -0,0 +1,74 @@ +{ + "agcgw":{ + "backurl":"connect-drcn.hispace.hicloud.com", + "url":"connect-drcn.dbankcloud.cn", + "websocketbackurl":"connect-ws-drcn.hispace.dbankcloud.com", + "websocketurl":"connect-ws-drcn.hispace.dbankcloud.cn" + }, + "agcgw_all":{ + "CN":"connect-drcn.dbankcloud.cn", + "CN_back":"connect-drcn.hispace.hicloud.com", + "DE":"connect-dre.dbankcloud.cn", + "DE_back":"connect-dre.hispace.hicloud.com", + "RU":"connect-drru.dbankcloud.cn", + "RU_back":"connect-drru.hispace.hicloud.com", + "SG":"connect-dra.dbankcloud.cn", + "SG_back":"connect-dra.hispace.hicloud.com" + }, + "client":{ + "cp_id":"2640966000002322881", + "product_id":"736430079244816567", + "client_id":"563735388191982656", + "client_secret":"650C7C799812AFFD53A10C7756CF05FB9F215A7E49032ABA8EBF3E14B77535CF", + "project_id":"736430079244816567", + "app_id":"102857389", + "api_key":"CgB6e3x9DJzMgRCmnT6dyUEkp6UsIfddb6l3w0ZEXzeiRMHEFi3400Z5fJ5qaHneU0OrAI/JRpk+DMGVs3QpUxlI", + "package_name":"com.ejada.hmg" + }, + "oauth_client":{ + "client_id":"102857389", + "client_type":1 + }, + "app_info":{ + "app_id":"102857389", + "package_name":"com.ejada.hmg" + }, + "service":{ + "analytics":{ + "collector_url":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "collector_url_ru":"datacollector-drru.dt.hicloud.com,datacollector-drru.dt.dbankcloud.cn", + "collector_url_sg":"datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn", + "collector_url_de":"datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn", + "collector_url_cn":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "resource_id":"p1", + "channel_id":"" + }, + "search":{ + "url":"https://search-drcn.cloud.huawei.com" + }, + "cloudstorage":{ + "storage_url":"https://agc-storage-drcn.platform.dbankcloud.cn" + }, + "ml":{ + "mlservice_url":"ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn" + } + }, + "region":"CN", + "configuration_version":"3.0", + "appInfos":[ + { + "package_name":"com.ejada.hmg", + "client":{ + "app_id":"102857389" + }, + "app_info":{ + "package_name":"com.ejada.hmg", + "app_id":"102857389" + }, + "oauth_client":{ + "client_type":1, + "client_id":"102857389" + } + } + ] +} \ No newline at end of file diff --git a/android/app/agconnect-services.json b/android/app/agconnect-services.json new file mode 100644 index 00000000..91aad2c7 --- /dev/null +++ b/android/app/agconnect-services.json @@ -0,0 +1,74 @@ +{ + "agcgw":{ + "backurl":"connect-drcn.hispace.hicloud.com", + "url":"connect-drcn.dbankcloud.cn", + "websocketbackurl":"connect-ws-drcn.hispace.dbankcloud.com", + "websocketurl":"connect-ws-drcn.hispace.dbankcloud.cn" + }, + "agcgw_all":{ + "CN":"connect-drcn.dbankcloud.cn", + "CN_back":"connect-drcn.hispace.hicloud.com", + "DE":"connect-dre.dbankcloud.cn", + "DE_back":"connect-dre.hispace.hicloud.com", + "RU":"connect-drru.dbankcloud.cn", + "RU_back":"connect-drru.hispace.hicloud.com", + "SG":"connect-dra.dbankcloud.cn", + "SG_back":"connect-dra.hispace.hicloud.com" + }, + "client":{ + "cp_id":"2640966000002322881", + "product_id":"736430079244816567", + "client_id":"563735388191982656", + "client_secret":"650C7C799812AFFD53A10C7756CF05FB9F215A7E49032ABA8EBF3E14B77535CF", + "project_id":"736430079244816567", + "app_id":"102857389", + "api_key":"CgB6e3x9DJzMgRCmnT6dyUEkp6UsIfddb6l3w0ZEXzeiRMHEFi3400Z5fJ5qaHneU0OrAI/JRpk+DMGVs3QpUxlI", + "package_name":"com.ejada.hmg" + }, + "oauth_client":{ + "client_id":"102857389", + "client_type":1 + }, + "app_info":{ + "app_id":"102857389", + "package_name":"com.ejada.hmg" + }, + "service":{ + "analytics":{ + "collector_url":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "collector_url_ru":"datacollector-drru.dt.hicloud.com,datacollector-drru.dt.dbankcloud.cn", + "collector_url_sg":"datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn", + "collector_url_de":"datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn", + "collector_url_cn":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "resource_id":"p1", + "channel_id":"" + }, + "search":{ + "url":"https://search-drcn.cloud.huawei.com" + }, + "cloudstorage":{ + "storage_url":"https://agc-storage-drcn.platform.dbankcloud.cn" + }, + "ml":{ + "mlservice_url":"ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn" + } + }, + "region":"CN", + "configuration_version":"3.0", + "appInfos":[ + { + "package_name":"com.ejada.hmg", + "client":{ + "app_id":"102857389" + }, + "app_info":{ + "package_name":"com.ejada.hmg", + "app_id":"102857389" + }, + "oauth_client":{ + "client_type":1, + "client_id":"102857389" + } + } + ] +} diff --git a/android/app/build.gradle b/android/app/build.gradle new file mode 100644 index 00000000..5136988a --- /dev/null +++ b/android/app/build.gradle @@ -0,0 +1,231 @@ +def localProperties = new Properties() +def localPropertiesFile = rootProject.file('local.properties') +if (localPropertiesFile.exists()) { + localPropertiesFile.withReader('UTF-8') { reader -> + localProperties.load(reader) + } +} + +def flutterRoot = localProperties.getProperty('flutter.sdk') +//if (flutterRoot == null) { +// throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") +//} + +def flutterVersionCode = localProperties.getProperty('flutter.versionCode') +if (flutterVersionCode == null) { + flutterVersionCode = '1' +} + +def flutterVersionName = localProperties.getProperty('flutter.versionName') +if (flutterVersionName == null) { + flutterVersionName = '1.0' +} + +def keystoreProperties = new Properties() +def keystorePropertiesFile = rootProject.file('key.properties') +if (keystorePropertiesFile.exists()) { + keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) +} + +apply plugin: 'com.android.application' +apply plugin: 'com.huawei.agconnect' +apply plugin: 'kotlin-android' +apply plugin: 'com.google.gms.google-services' +//apply plugin: 'com.google.firebase.crashlytics' +apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" + + +configurations.all { + c -> + c.resolutionStrategy.eachDependency { + DependencyResolveDetails dependency -> + println dependency.requested.group + if (dependency.requested.group == 'org.bouncycastle') { + dependency.useTarget 'org.bouncycastle:bcprov-jdk15to18:1.68' + } + } +} + +//configurations.all { +// resolutionStrategy { +// force 'androidx.core:core-ktx:1.6.0' +// } +//} + +android { + compileSdkVersion 34 +// ndkVersion "24.0.8215888" + + buildFeatures { + viewBinding true + dataBinding true + } + + sourceSets { + main.java.srcDirs += 'src/main/kotlin' + } + + lintOptions { + disable 'MissingTranslation' + checkReleaseBuilds false + } + + + defaultConfig { + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). + applicationId "com.ejada.hmg" + minSdkVersion 26 + targetSdkVersion 34 + versionCode flutterVersionCode.toInteger() + versionName flutterVersionName + multiDexEnabled true + } + + sourceSets.main { + jniLibs.srcDir 'src/main/libs' + jni.srcDirs = [] //disable automatic ndk-build call + } + + signingConfigs { + release { + keyAlias keystoreProperties['keyAlias'] + keyPassword keystoreProperties['keyPassword'] + storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null + storePassword keystoreProperties['storePassword'] + } + } + + buildTypes { + debug { + debuggable true + signingConfig signingConfigs.debug + minifyEnabled false + shrinkResources false +// ndk { +// abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64' +// } + } + release { + debuggable false + signingConfig signingConfigs.release + minifyEnabled true + shrinkResources true + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + staging { + // Specifies a sorted list of fallback build types that the + // plugin should try to use when a dependency does not include a + // "staging" build type. You may specify as many fallbacks as you + // like, and the plugin selects the first build type that's + // available in the dependency. + matchingFallbacks = ['debug', 'qa', 'release'] + } + } + + packagingOptions { + exclude 'META-INF/proguard/androidx-annotations.pro' + pickFirst 'lib/x86/libc++_shared.so' + pickFirst 'lib/x86_64/libc++_shared.so' + pickFirst 'lib/armeabi-v7a/libc++_shared.so' + pickFirst 'lib/arm64-v8a/libc++_shared.so' + pickFirst '**/*.so' + } + + + compileOptions { +// coreLibraryDesugaringEnabled true + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } + kotlinOptions { + jvmTarget = '1.8' + } +} + +flutter { + source '../..' +} + +dependencies { +// coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4' + + implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" + implementation "com.google.firebase:firebase-messaging:21.0.0" +// implementation ('com.google.firebase:firebase-inappmessaging-display:19.1.2',{ +// exclude group: 'com.google.protobuf',module: 'protobuf-javalite' +// exclude group: 'com.google.protobuf',module: 'protobuf-lite' +// }) + implementation 'pub.devrel:easypermissions:3.0.0' +// implementation 'com.google.firebase:firebase-inappmessaging-display:17.2.0' + // implementation 'com.google.firebase:firebase-inappmessaging-display:17.2.0' + implementation 'com.google.guava:guava:27.0.1-android' + // Dependency on local binaries + implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation 'com.google.code.gson:gson:2.8.6' + + // Dependency on a remote binary +// implementation 'com.example.android:app-magic:12.3' + + + implementation "us.zoom.videosdk:zoomvideosdk-core:1.10.1" + implementation "us.zoom.videosdk:zoomvideosdk-annotation:1.10.1" + implementation "us.zoom.videosdk:zoomvideosdk-videoeffects:1.10.1" + + // Native Dependency + +// implementation "us.zoom.videosdk:ZoomVideoSDK:1.10.11" +// implementation group: 'us.zoom.videosdk', name: 'zoomvideosdk-core', version: '1.10.11' + +// implementation "us.zoom.videosdk:zoomvideosdk-core:1.10.1" +// implementation "us.zoom.videosdk:zoomvideosdk-annotation:1.10.1" +// implementation "us.zoom.videosdk:zoomvideosdk-videoeffects:1.10.1" + + implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3' + implementation 'com.squareup.retrofit2:retrofit:2.9.0' + implementation 'com.squareup.retrofit2:converter-gson:2.9.0' + implementation 'com.squareup.retrofit2:adapter-java8:2.4.0' + implementation 'com.google.code.gson:gson:2.8.9' + implementation 'com.google.android.gms:play-services-location:21.3.0' + implementation 'com.squareup.okhttp3:okhttp:4.10.0' + implementation 'androidx.test.ext:junit:1.1.5' + implementation 'com.android.volley:volley:1.2.1' + implementation 'androidx.constraintlayout:constraintlayout:2.2.0' + implementation 'androidx.navigation:navigation-fragment-ktx:2.8.5' + implementation 'androidx.navigation:navigation-ui-ktx:2.8.5' + implementation 'androidx.activity:activity:1.9.3' + def room_version = "2.4.0-alpha04" + implementation "androidx.room:room-runtime:$room_version" + annotationProcessor "androidx.room:room-compiler:$room_version" + implementation 'net.zetetic:android-database-sqlcipher:4.5.2' + implementation 'com.intuit.ssp:ssp-android:1.1.0' + implementation 'com.intuit.sdp:sdp-android:1.1.0' + implementation 'com.github.bumptech.glide:glide:4.12.0' + annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0' + +// implementation "com.mapbox.maps:android:10.16.6" + implementation 'com.mapbox.maps:android:11.3.1' + + implementation files('libs/PenNavUI.aar') + implementation files('libs/Penguin.aar') + implementation files('libs/PenguinRenderer.aar') + +// implementation "org.jetbrains.anko:anko-commons:0.10.4" + implementation 'com.github.kittinunf.fuel:fuel:2.3.0' //for JVM + implementation 'com.github.kittinunf.fuel:fuel-android:2.3.0' + implementation 'com.google.android.gms:play-services-location:17.1.0'//for Android + implementation 'com.google.android.gms:play-services-basement:17.5.0' + implementation "com.opentok.android:opentok-android-sdk:2.21.4" + implementation 'com.facebook.stetho:stetho:1.5.1' + implementation 'com.facebook.stetho:stetho-urlconnection:1.5.1' + implementation 'androidx.core:core-ktx:1.6.0' + implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'com.google.android.material:material:1.9.0' + implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.22' + androidTestImplementation "androidx.test:core:1.4.0" +// implementation 'com.airbnb.android:lottie:5.2.0' +// implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.22' + implementation 'com.whatsapp.otp:whatsapp-otp-android-sdk:0.1.0' + + implementation 'com.whatsapp.otp:whatsapp-otp-android-sdk:0.1.0' + +} diff --git a/android/app/google-services.json b/android/app/google-services.json new file mode 100644 index 00000000..3707617c --- /dev/null +++ b/android/app/google-services.json @@ -0,0 +1,47 @@ +{ + "project_info": { + "project_number": "815750722565", + "firebase_url": "https://api-project-815750722565.firebaseio.com", + "project_id": "api-project-815750722565", + "storage_bucket": "api-project-815750722565.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:815750722565:android:62281cd3e5df4063", + "android_client_info": { + "package_name": "com.ejada.hmg" + } + }, + "oauth_client": [ + { + "client_id": "815750722565-3a0gc7neins0eoahdrimrfksk0sqice8.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDZDeWcBlRE3YfJWYt_DCiToVnANfaj8qg" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "815750722565-3a0gc7neins0eoahdrimrfksk0sqice8.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "815750722565-0cq9366orvsk5ipivq6lijcj56u03fr7.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "com.void.demo" + } + } + ] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/android/app/gradle/wrapper/gradle-wrapper.properties b/android/app/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000..a2c20300 --- /dev/null +++ b/android/app/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,7 @@ +#Sun Sep 20 09:53:06 EEST 2020 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip +#distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip diff --git a/android/app/gradlew b/android/app/gradlew new file mode 100644 index 00000000..cccdd3d5 --- /dev/null +++ b/android/app/gradlew @@ -0,0 +1,172 @@ +#!/usr/bin/env sh + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn () { + echo "$*" +} + +die () { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Escape application args +save () { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=$(save "$@") + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong +if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then + cd "$(dirname "$0")" +fi + +exec "$JAVACMD" "$@" diff --git a/android/app/gradlew.bat b/android/app/gradlew.bat new file mode 100644 index 00000000..f9553162 --- /dev/null +++ b/android/app/gradlew.bat @@ -0,0 +1,84 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/android/app/key b/android/app/key new file mode 100644 index 00000000..15b9f5d1 Binary files /dev/null and b/android/app/key differ diff --git a/android/app/keystores/keystore b/android/app/keystores/keystore new file mode 100644 index 00000000..e69de29b diff --git a/android/app/libs/PenNavUI.aar b/android/app/libs/PenNavUI.aar new file mode 100644 index 00000000..d423bc11 Binary files /dev/null and b/android/app/libs/PenNavUI.aar differ diff --git a/android/app/libs/Penguin.aar b/android/app/libs/Penguin.aar new file mode 100644 index 00000000..5c789c6f Binary files /dev/null and b/android/app/libs/Penguin.aar differ diff --git a/android/app/libs/PenguinRenderer.aar b/android/app/libs/PenguinRenderer.aar new file mode 100644 index 00000000..b657ac66 Binary files /dev/null and b/android/app/libs/PenguinRenderer.aar differ diff --git a/android/app/local.properties b/android/app/local.properties new file mode 100644 index 00000000..b29c63c9 --- /dev/null +++ b/android/app/local.properties @@ -0,0 +1,8 @@ +## This file must *NOT* be checked into Version Control Systems, +# as it contains information specific to your local configuration. +# +# Location of the SDK. This is only used by Gradle. +# For customization when using a Version Control System, please read the +# header note. +#Sun Sep 20 09:53:03 EEST 2020 +sdk.dir=/Users/erababah/Library/Android/sdk diff --git a/android/app/proguard-rules.pro b/android/app/proguard-rules.pro new file mode 100644 index 00000000..ab7b2ca4 --- /dev/null +++ b/android/app/proguard-rules.pro @@ -0,0 +1,72 @@ +-keep class tvi.webrtc.** { *; } +-keep class com.twilio.video.** { *; } +-keep class com.twilio.common.** { *; } +-keepattributes InnerClasses + +-keep class com.ejada.** { *; } +-keep class org.webrtc.** { *; } + +-keep class com.builttoroam.devicecalendar.** { *; } + +-ignorewarnings +-keepattributes *Annotation* +-keepattributes Exceptions +-keepattributes InnerClasses +-keepattributes Signature +-keep class com.hianalytics.android.**{*;} +-keep class com.huawei.updatesdk.**{*;} +-keep class com.huawei.hms.**{*;} + +## Flutter wrapper +-keep class io.flutter.app.** { *; } +-keep class io.flutter.plugin.** { *; } +-keep class io.flutter.util.** { *; } +-keep class io.flutter.view.** { *; } +-keep class io.flutter.** { *; } +-keep class io.flutter.plugins.** { *; } +-dontwarn io.flutter.embedding.** +-keep class com.huawei.hms.flutter.** { *; } +-repackageclasses + +## Flutter WebRTC +-keep class com.cloudwebrtc.webrtc.** { *; } +-keep class org.webrtc.** { *; } + +## Flutter OpenTok +-keep class com.opentok.android.** { *; } +-keep class com.opentok.otc.** { *; } +-keep class org.otwebrtc.** { *; } + + +##Flutter Zoom +-keep class us.zoom**{ + *; +} +-keep interface us.zoom**{ + *; +} +-keep class org.webrtc**{ + *; +} +-keep class com.zipow**{ + *; +} + +-dontwarn com.opentok.android.** +-dontwarn com.opentok.otc.** + +-dontwarn penguin.com.pennav.Model.Navigation.NearLandmark + +-keep,includedescriptorclasses class net.sqlcipher.** { *; } +-keep,includedescriptorclasses interface net.sqlcipher.** { *; } + +-keep class retrofit2.** { *; } +-keep class okhttp3.** { *; } +-dontwarn retrofit2.** + +-keep class com.google.gson.** { *; } +-dontwarn com.google.gson.** + +# Penguin classes +-keep class com.peng.pennavmap.models.** { *; } +-keep class com.peng.pennavmap.db.** { *; } \ No newline at end of file diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 00000000..6c937f09 --- /dev/null +++ b/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml new file mode 100644 index 00000000..1775312c --- /dev/null +++ b/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/Application.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/Application.kt new file mode 100644 index 00000000..e179bc6a --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/Application.kt @@ -0,0 +1,59 @@ +//package com.cloud.diplomaticquarterapp +package com.ejada.hmg + +import com.facebook.stetho.Stetho +import io.flutter.app.FlutterApplication +import io.flutter.plugin.common.PluginRegistry +import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback +//import io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService + +class Application : FlutterApplication(), PluginRegistrantCallback { + override fun onCreate() { + super.onCreate() + // FlutterFirebaseMessagingService.setPluginRegistrant(this) + +// Stetho.initializeWithDefaults(this); + // Create an InitializerBuilder + // Create an InitializerBuilder + val initializerBuilder = Stetho.newInitializerBuilder(this) + + + // Enable Chrome DevTools + initializerBuilder.enableWebKitInspector( + Stetho.defaultInspectorModulesProvider(this) + ) + + // Enable command line interface + initializerBuilder.enableDumpapp( + Stetho.defaultDumperPluginsProvider(this) + ) + + + // Use the InitializerBuilder to generate an Initializer + val initializer = initializerBuilder.build() + + + // Initialize Stetho with the Initializer + Stetho.initialize(initializer) + } + + override fun registerWith(registry: PluginRegistry) { + // io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin.registerWith(registry?.registrarFor("io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin")); + } +} + +//import io.flutter.app.FlutterApplication +//import io.flutter.plugin.common.PluginRegistry +//import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback +//import io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService +// +//class Application : FlutterApplication(), PluginRegistrantCallback { +// override fun onCreate() { +// super.onCreate() +// FlutterFirebaseMessagingService.setPluginRegistrant(this) +// } +// +// override fun registerWith(registry: PluginRegistry?) { +// FirebaseCloudMessagingPluginRegistrant.registerWith(registry) +// } +//} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/FirebaseCloudMessagingPluginRegistrant.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/FirebaseCloudMessagingPluginRegistrant.kt new file mode 100644 index 00000000..df471796 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/FirebaseCloudMessagingPluginRegistrant.kt @@ -0,0 +1,25 @@ +//package com.cloud.diplomaticquarterapp +package com.ejada.hmg + +import io.flutter.plugin.common.PluginRegistry +//import io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin + +object FirebaseCloudMessagingPluginRegistrant { + fun registerWith(registry: PluginRegistry?) { + if (alreadyRegisteredWith(registry)) { + return + } + // FirebaseMessagingPlugin.registerWith(registry?.registrarFor("io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin")) + } + + private fun alreadyRegisteredWith(registry: PluginRegistry?): Boolean { + val key: String? = FirebaseCloudMessagingPluginRegistrant::class.java.canonicalName + if (key?.let { registry?.hasPlugin(it) }!!) { + return true + } + if (registry != null) { + registry.registrarFor(key) + } + return false + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/MainActivity.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/MainActivity.kt new file mode 100644 index 00000000..6f47d6be --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/MainActivity.kt @@ -0,0 +1,75 @@ +package com.ejada.hmg +import android.app.PendingIntent +import android.content.Intent +import android.content.pm.PackageManager +import android.os.Build +import android.util.Log +import android.view.WindowManager +import androidx.annotation.NonNull; +import androidx.annotation.RequiresApi +import com.cloud.hmg_patient_app.PenguinInPlatformBridge +import com.cloud.hmg_patient_app.whatsapp.AppSignatureRetriever +import com.ejada.hmg.utils.* +import io.flutter.embedding.android.FlutterFragmentActivity +import io.flutter.embedding.engine.FlutterEngine +import io.flutter.plugins.GeneratedPluginRegistrant +import com.cloud.hmg_patient_app.whatsapp.WhatsApp +import com.cloud.hmg_patient_app.whatsapp.WhatsAppOtpPlatformBridge + + +class MainActivity: FlutterFragmentActivity() { + @RequiresApi(Build.VERSION_CODES.O) + override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) { + GeneratedPluginRegistrant.registerWith(flutterEngine); + // Create Flutter Platform Bridge + this.window.addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED or WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON or WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD or WindowManager.LayoutParams.FLAG_ALLOW_LOCK_WHILE_SCREEN_ON) + + PlatformBridge(flutterEngine, this).create() + OpenTokPlatformBridge(flutterEngine, this).create() + PenguinInPlatformBridge(flutterEngine, this).create() + WhatsAppOtpPlatformBridge(flutterEngine, this).invoke() + AppSignatureRetriever().logSignatures(this) +// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {x +// val mChannel = NotificationChannel("video_call_noti", "video call", NotificationManager.IMPORTANCE_HIGH) +// val soundUri = Uri.parse("android.resource://" + getApplicationContext() +// .getPackageName() + "/" + R.raw.alert) +// System.out.println("soundUri"); +// System.out.println("soundUri: $soundUri"); +// System.out.println("soundUri : ${soundUri.path}"); +// val att = AudioAttributes.Builder() +// .setUsage(AudioAttributes.USAGE_NOTIFICATION) +// .setContentType(AudioAttributes.CONTENT_TYPE_SPEECH) +// .build(); +// mChannel.setSound(soundUri , att) +// mChannel.description = "Video Call Notifications" +// val notificationManager = getSystemService(NOTIFICATION_SERVICE) as NotificationManager +// notificationManager.createNotificationChannel(mChannel) +// } + +// val time = timeToMillis("04:00:00", "HH:mm:ss") + + } + override fun onRequestPermissionsResult( + requestCode: Int, + permissions: Array, + grantResults: IntArray + ) { + super.onRequestPermissionsResult(requestCode, permissions, grantResults) + + val granted = grantResults.all { it == PackageManager.PERMISSION_GRANTED } + val intent = Intent("PERMISSION_RESULT_ACTION").apply { + putExtra("PERMISSION_GRANTED", granted) + } + sendBroadcast(intent) + + // Log the request code and permission results + Log.d("PermissionsResult", "Request Code: $requestCode") + Log.d("PermissionsResult", "Permissions: ${permissions.joinToString()}") + Log.d("PermissionsResult", "Grant Results: ${grantResults.joinToString()}") + + } + + override fun onResume() { + super.onResume() + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PenguinInPlatformBridge.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PenguinInPlatformBridge.kt new file mode 100644 index 00000000..2fd03a5d --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PenguinInPlatformBridge.kt @@ -0,0 +1,53 @@ +package com.cloud.hmg_patient_app + +import com.ejada.hmg.MainActivity +import android.os.Build +import android.util.Log +import androidx.annotation.RequiresApi +import com.cloud.hmg_patient_app.penguin.PenguinView +import io.flutter.embedding.engine.FlutterEngine +import io.flutter.plugin.common.MethodCall +import io.flutter.plugin.common.MethodChannel + +class PenguinInPlatformBridge( + private var flutterEngine: FlutterEngine, + private var mainActivity: MainActivity +) { + + private lateinit var channel: MethodChannel + + companion object { + private const val CHANNEL = "launch_penguin_ui" + } + + @RequiresApi(Build.VERSION_CODES.O) + fun create() { +// openTok = OpenTok(mainActivity, flutterEngine) + channel = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL) + channel.setMethodCallHandler { call: MethodCall, result: MethodChannel.Result -> + when (call.method) { + "launchPenguin" -> { + print("the platform channel is being called") + val args = call.arguments as Map? + Log.d("TAG", "configureFlutterEngine: $args") + println("args") + args?.let { + PenguinView( + mainActivity, + 100, + args, + flutterEngine.dartExecutor.binaryMessenger, + activity = mainActivity, + channel + ) + } + } + + else -> { + result.notImplemented() + } + } + } + } + +} diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PermissionManager/PermissionHelper.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PermissionManager/PermissionHelper.kt new file mode 100644 index 00000000..b308af05 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PermissionManager/PermissionHelper.kt @@ -0,0 +1,28 @@ +package com.cloud.diplomaticquarterapp.PermissionManager + +import android.Manifest +import android.os.Build + +object PermissionHelper { + + fun getRequiredPermissions(): Array { + val permissions = mutableListOf( + Manifest.permission.INTERNET, + Manifest.permission.ACCESS_FINE_LOCATION, + Manifest.permission.ACCESS_COARSE_LOCATION, + Manifest.permission.ACCESS_NETWORK_STATE, + Manifest.permission.BLUETOOTH, + Manifest.permission.BLUETOOTH_ADMIN, +// Manifest.permission.ACTIVITY_RECOGNITION + ) + + // For Android 12 (API level 31) and above, add specific permissions + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) { // Android 12 (API 31) and above + permissions.add(Manifest.permission.BLUETOOTH_SCAN) + permissions.add(Manifest.permission.BLUETOOTH_CONNECT) + permissions.add(Manifest.permission.HIGH_SAMPLING_RATE_SENSORS) + } + + return permissions.toTypedArray() + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PermissionManager/PermissionManager.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PermissionManager/PermissionManager.kt new file mode 100644 index 00000000..81f2a6f0 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PermissionManager/PermissionManager.kt @@ -0,0 +1,50 @@ +package com.cloud.diplomaticquarterapp.PermissionManager + +import android.app.Activity +import android.content.Context +import android.content.pm.PackageManager +import android.os.Build +import androidx.core.app.ActivityCompat +import androidx.core.content.ContextCompat + +class PermissionManager( + private val context: Context, + val listener: PermissionListener, + private val requestCode: Int, + vararg permissions: String +) { + + private val permissionsArray = permissions + + interface PermissionListener { + fun onPermissionGranted() + fun onPermissionDenied() + } + + fun arePermissionsGranted(): Boolean { + return if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { + permissionsArray.all { + ContextCompat.checkSelfPermission(context, it) == PackageManager.PERMISSION_GRANTED + } + } else { + true + } + } + + fun requestPermissions(activity: Activity) { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { + ActivityCompat.requestPermissions(activity, permissionsArray, requestCode) + } + } + + fun handlePermissionsResult(requestCode: Int, permissions: Array, grantResults: IntArray) { + if (this.requestCode == requestCode) { + val allGranted = grantResults.all { it == PackageManager.PERMISSION_GRANTED } + if (allGranted) { + listener.onPermissionGranted() + } else { + listener.onPermissionDenied() + } + } + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PermissionManager/PermissionResultReceiver.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PermissionManager/PermissionResultReceiver.kt new file mode 100644 index 00000000..33765192 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/PermissionManager/PermissionResultReceiver.kt @@ -0,0 +1,15 @@ +package com.cloud.diplomaticquarterapp.PermissionManager + +// PermissionResultReceiver.kt +import android.content.BroadcastReceiver +import android.content.Context +import android.content.Intent + +class PermissionResultReceiver( + private val callback: (Boolean) -> Unit +) : BroadcastReceiver() { + override fun onReceive(context: Context?, intent: Intent?) { + val granted = intent?.getBooleanExtra("PERMISSION_GRANTED", false) ?: false + callback(granted) + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/bkp_files/CustomFlutterHmsMessageService.java b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/bkp_files/CustomFlutterHmsMessageService.java new file mode 100644 index 00000000..c96a60af --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/bkp_files/CustomFlutterHmsMessageService.java @@ -0,0 +1,56 @@ +/* +* --------------- +* Note: Todo +* --------------- +* Need to be place in huawei_push (package com.huawei.hms.flutter.push.hms) and define in huawei_push manifest.xml +* */ + +import android.content.Context; +import android.content.Intent; +import android.content.SharedPreferences; +import android.util.Log; + +import com.huawei.hms.flutter.push.hms.FlutterHmsMessageService; +import com.huawei.hms.flutter.push.utils.ApplicationUtils; + +import org.json.JSONObject; + +//package com.huawei.hms.flutter.push.hms +// +// +//import android.content.Context; +//import android.content.Intent; +//import android.content.SharedPreferences; +// +//import com.huawei.hms.flutter.push.hms.FlutterHmsMessageService; +//import com.huawei.hms.flutter.push.utils.ApplicationUtils; +//import com.huawei.hms.push.RemoteMessage; +// +//import org.json.JSONObject; +// +//public class CustomFlutterHmsMessageService extends FlutterHmsMessageService { +// @Override +// public void onMessageReceived(RemoteMessage remoteMessage) { +// super.onMessageReceived(remoteMessage); +// try { +// String jsonStr = remoteMessage.getData(); +// JSONObject json_data = new JSONObject(jsonStr); +// JSONObject json_data_data = new JSONObject(json_data.getString("data")); +// if(json_data_data.getString("is_call").equalsIgnoreCase("true")){ +// boolean isApplicationInForeground = ApplicationUtils.isApplicationInForeground(this); +// if(!isApplicationInForeground){ +// SharedPreferences preferences = getSharedPreferences("FlutterSharedPreferences", Context.MODE_PRIVATE); +// preferences.edit().putString("flutter.call_data", json_data.getString("data")).apply(); +// +// Intent intent = getPackageManager().getLaunchIntentForPackage(getPackageName()); +// intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); +// startActivity(intent); +// Log.v("onMessageReceived", "startActivity(intent) called"); +// } +// } +// +// } catch (Exception e) { +// e.printStackTrace(); +// } +// } +//} diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/GeoZoneModel.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/GeoZoneModel.kt new file mode 100644 index 00000000..16ed0939 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/GeoZoneModel.kt @@ -0,0 +1,58 @@ +package com.ejada.hmg.geofence + +import com.google.android.gms.location.Geofence +import com.google.gson.Gson +import com.google.gson.reflect.TypeToken + +class GeoZoneModel { + var GEOF_ID:Int = 0 + var Radius:Int = 0 + var Type:Int = 0 + var ProjectID:Int = 0 + + var Description:String? = null + var DescriptionN:String? = null + var Latitude:String? = null + var Longitude:String? = null + var ImageURL:String? = null + var IsCity:String? = null + + fun identifier():String{ + return "$GEOF_ID" + "_hmg" + } + + fun message():String{ + return Description ?: "nil" + } + + fun listFrom(jsonString: String) : List{ + val type = object : TypeToken?>() {}.getType() + return Gson().fromJson(jsonString, type) + } + + fun toGeofence() : Geofence?{ + if (!Latitude.isNullOrEmpty() && !Longitude.isNullOrEmpty() && Radius > 50) { + val lat = Latitude!!.trim().toDoubleOrNull() + val long = Longitude!!.trim().toDoubleOrNull() + val rad = Radius.toFloat() + if(lat != null && long != null){ + + val loiteringDelayMinutes:Int = 2 // in Minutes + return Geofence.Builder() + .setRequestId(identifier()) + .setCircularRegion( + lat, + long, + rad + ) + .setTransitionTypes(GeofenceTransition.ENTER_EXIT.value) + .setNotificationResponsiveness(0) + .setLoiteringDelay(loiteringDelayMinutes * 60 * 1000) + .setExpirationDuration(Geofence.NEVER_EXPIRE) + .build() + } + } + return null + } + +} diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/HMG_Geofence.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/HMG_Geofence.kt new file mode 100644 index 00000000..8452a083 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/HMG_Geofence.kt @@ -0,0 +1,291 @@ +package com.ejada.hmg.geofence + +import android.Manifest +import android.app.PendingIntent +import android.content.Context +import android.content.Intent +import android.content.SharedPreferences +import android.content.pm.PackageManager +import android.location.Location +import androidx.core.content.ContextCompat +import com.ejada.hmg.geofence.intent_receivers.GeofenceBroadcastReceiver +import com.ejada.hmg.geofence.intent_receivers.ReregisterGeofenceJobService +import com.ejada.hmg.utils.* +import com.google.android.gms.location.Geofence +import com.google.android.gms.location.GeofencingClient +import com.google.android.gms.location.GeofencingRequest +import com.google.android.gms.location.LocationServices +import com.google.gson.Gson +import com.google.gson.reflect.TypeToken + +enum class GeofenceTransition(val value: Int) { + ENTER(1), + EXIT(2), + DWELL(4), + + ENTER_EXIT((ENTER.value or EXIT.value)), + DWELL_EXIT((DWELL.value or EXIT.value)); + + companion object { + fun fromInt(value: Int) = GeofenceTransition.values().first { it.value == value } + } + + fun named(): String { + if (value == 1) return "Enter" + if (value == 2) return "Exit" + if (value == 4) return "dWell" + if (value == (ENTER.value or EXIT.value)) return "Enter or Exit" + if (value == (DWELL.value or EXIT.value)) return "DWell or Exit" + return "unknown" + } +} + +class HMG_Geofence { + // https://developer.android.com/training/location/geofencing#java + + private lateinit var context: Context + private lateinit var preferences: SharedPreferences + private val gson = Gson() + + private lateinit var geofencingClient: GeofencingClient + private val geofencePendingIntent: PendingIntent by lazy { + val intent = Intent(context, GeofenceBroadcastReceiver::class.java) + PendingIntent.getBroadcast( + context, + 0, + intent, + PendingIntent.FLAG_IMMUTABLE + ) + } + + companion object { + + var instance: HMG_Geofence? = null + fun shared(context: Context): HMG_Geofence { + if (instance == null) { + instance = HMG_Geofence() + instance?.context = context + instance?.geofencingClient = LocationServices.getGeofencingClient(context) + instance?.preferences = + context.getSharedPreferences(PREFS_STORAGE, Context.MODE_PRIVATE) + } + return instance!! + } + } + + private fun limitize(zones: List): List { + var geoZones_ = zones + if (zones.size > 100) + geoZones_ = zones.subList(0, 99) + return geoZones_ + } + + + fun register(completion: ((Boolean, java.lang.Exception?) -> Unit)) { + unRegisterAll { status, exception -> + val geoZones = getGeoZonesFromPreference(context) + doRegister(geoZones) { status_, error -> + completion.let { it(status_, error) } + } + } + } + + fun unRegisterAll(completion: (status: Boolean, exception: Exception?) -> Unit) { + getActiveGeofences({ success -> + removeActiveGeofences() + if (success.isNotEmpty()) + geofencingClient + .removeGeofences(success) + .addOnSuccessListener { + completion(true, null) + } + .addOnFailureListener { + completion(false, it) + saveLog(context, "error:REMOVE_GEOFENCES", it.localizedMessage) + } + else + completion(true, null) + + }, { failed -> + // Nothing to do with failed geofences. + }) + } + + private fun doRegister( + geoZones: List, + completion: ((Boolean, java.lang.Exception?) -> Unit)? = null + ) { + if (geoZones.isEmpty()) + return + + val geoZones_ = limitize(geoZones) + + fun buildGeofencingRequest(geofences: List): GeofencingRequest { + return GeofencingRequest.Builder() + .setInitialTrigger(GeofencingRequest.INITIAL_TRIGGER_DWELL) + .addGeofences(geofences) + .build() + } + + getActiveGeofences({ active -> + + val geofences = mutableListOf() + geoZones_.forEach { + it.toGeofence()?.let { geof -> + if (!active.contains(geof.requestId)) { // if not already registered then register + geofences.add(geof) + } + } + } + + if (checkPermission() && geofences.isNotEmpty()) { + geofencingClient + .addGeofences(buildGeofencingRequest(geofences), geofencePendingIntent) + .addOnSuccessListener { + Logs.RegisterGeofence.save( + context, + "SUCCESS", + "Successfuly registered the geofences", + Logs.STATUS.SUCCESS + ) + saveActiveGeofence(geofences.map { it.requestId }, listOf()) + completion?.let { it(true, null) } + } + .addOnFailureListener { exc -> + Logs.RegisterGeofence.save( + context, + "FAILED_TO_REGISTER", + "Failed to register geofence", + Logs.STATUS.ERROR + ) + completion?.let { it(false, exc) } + } + + // Schedule the job to register after specified duration (due to: events not calling after long period.. days or days [Needs to register fences again]) + HMGUtils.scheduleJob( + context, + ReregisterGeofenceJobService::class.java, + ReregisterGeofenceJobService.JobID, + ReregisterGeofenceJobService.TriggerIntervalDuration + ) + } + + }, null) + + } + + fun getGeoZonesFromPreference(context: Context): List { + val pref = context.getSharedPreferences(PREFS_STORAGE, Context.MODE_PRIVATE) + val json = pref.getString(PREF_KEY_HMG_ZONES, "[]") + + val geoZones = GeoZoneModel().listFrom(json!!) + return geoZones + } + + fun saveActiveGeofence(success: List, failed: List) { + val jsonSuccess = gson.toJson(success) + val jsonFailure = gson.toJson(failed) + preferences.edit().putString(PREF_KEY_SUCCESS, jsonSuccess).apply() + preferences.edit().putString(PREF_KEY_FAILED, jsonFailure).apply() + } + + fun removeActiveGeofences() { + preferences.edit().putString(PREF_KEY_SUCCESS, "[]").apply() + preferences.edit().putString(PREF_KEY_FAILED, "[]").apply() + } + + fun getActiveGeofences( + success: (success: List) -> Unit, + failure: ((failed: List) -> Unit)? + ) { + val type = object : TypeToken?>() {}.type + + val jsonSuccess = preferences.getString(PREF_KEY_SUCCESS, "[]") + val success = gson.fromJson>(jsonSuccess, type) + success(success) + + if (failure != null) { + val jsonFailure = preferences.getString(PREF_KEY_FAILED, "[]") + val failed = gson.fromJson>(jsonFailure, type) + failure(failed) + } + + } + + private fun checkPermission(): Boolean { + return ContextCompat.checkSelfPermission( + context, + Manifest.permission.ACCESS_FINE_LOCATION + ) == PackageManager.PERMISSION_GRANTED + } + + fun getPatientID(): Int? { + var profileJson = preferences.getString("flutter.imei-user-data", null) + if (profileJson == null) + profileJson = preferences.getString("flutter.user-profile", null) + + val type = object : TypeToken?>() {}.type + return gson.fromJson?>(profileJson, type) + ?.get("PatientID") + .toString() + .toDoubleOrNull() + ?.toInt() + } + + + fun handleEvent( + triggerGeofences: List, + location: Location, + transition: GeofenceTransition + ) { + getPatientID()?.let { patientId -> + getActiveGeofences({ activeGeofences -> + + triggerGeofences.forEach { geofence -> + // Extract PointID from 'geofence.requestId' and find from active geofences + val pointID = + activeGeofences.firstOrNull { it == geofence.requestId }?.split('_') + ?.first() + if (!pointID.isNullOrEmpty() && pointID.toIntOrNull() != null) { + + val body = mutableMapOf( + "PointsID" to pointID.toIntOrNull(), + "GeoType" to transition.value, + "PatientID" to patientId + ) + body.putAll(HMGUtils.defaultHTTPParams(context)) + + httpPost>(API.LOG_GEOFENCE, body, { response -> + saveLog( + context, + "HMG_GEOFENCE_NOTIFY", + "Success: Notified to server\uD83D\uDE0E." + ) + sendNotification( + context, + transition.named(), + geofence.requestId, + "Notified to server.😎" + ) + }, { exception -> + val errorMessage = "${transition.named()}, ${geofence.requestId}" + saveLog( + context, + "HMG_GEOFENCE_NOTIFY", + "failed: $errorMessage | error: ${exception.localizedMessage}" + ) + sendNotification( + context, + transition.named(), + geofence.requestId, + "Failed to notify server😔 -> ${exception.localizedMessage}" + ) + }) + + } + } + + }, null) + } + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceBroadcastReceiver.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceBroadcastReceiver.kt new file mode 100644 index 00000000..2ed2daf4 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceBroadcastReceiver.kt @@ -0,0 +1,71 @@ +package com.ejada.hmg.geofence.intent_receivers + +import android.annotation.SuppressLint +import android.content.BroadcastReceiver +import android.content.Context +import android.content.Intent +import android.util.Log +import com.ejada.hmg.geofence.GeofenceTransition +import com.ejada.hmg.geofence.HMG_Geofence +import com.ejada.hmg.utils.Logs +import com.google.android.gms.location.GeofenceStatusCodes +import com.google.android.gms.location.GeofencingEvent + +class GeofenceBroadcastReceiver : BroadcastReceiver() { + private val LOG_TAG = "GeofenceBroadcastReceiver" + + @SuppressLint("LongLogTag") + override fun onReceive(context: Context, intent: Intent) { + + val geofencingEvent = GeofencingEvent.fromIntent(intent) + if (geofencingEvent != null) { + if (geofencingEvent.hasError()) { + val errorMessage = + GeofenceErrorMessages.getErrorString(context, geofencingEvent.errorCode) + Log.e(LOG_TAG, errorMessage) + + Logs.GeofenceEvent.save( + context, + LOG_TAG, + "Error while triggering geofence event", + Logs.STATUS.ERROR + ) + doReRegisterIfRequired(context, geofencingEvent.errorCode) + + return + } + } + if (geofencingEvent != null) { + Logs.GeofenceEvent.save( + context, + LOG_TAG, + "Geofence event triggered: ${GeofenceTransition.fromInt(geofencingEvent.geofenceTransition).value} for ${geofencingEvent.triggeringGeofences?.map { it.requestId }}", + Logs.STATUS.SUCCESS + ) + geofencingEvent.triggeringLocation?.let { + geofencingEvent.triggeringGeofences?.let { it1 -> + HMG_Geofence.shared(context).handleEvent( + it1, + it, GeofenceTransition.fromInt(geofencingEvent.geofenceTransition) + ) + } + } + }; + + } + + fun doReRegisterIfRequired(context: Context, errorCode: Int) { + val errorRequiredReregister = listOf( + GeofenceStatusCodes.GEOFENCE_NOT_AVAILABLE, + GeofenceStatusCodes.GEOFENCE_TOO_MANY_GEOFENCES, + GeofenceStatusCodes.GEOFENCE_TOO_MANY_PENDING_INTENTS, + GeofenceStatusCodes.GEOFENCE_REQUEST_TOO_FREQUENT + ) + + if (errorRequiredReregister.contains(errorCode)) + HMG_Geofence.shared(context).register() { status, error -> + + } + + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceBroadcastReceiverWithJobService.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceBroadcastReceiverWithJobService.kt new file mode 100644 index 00000000..4e4f19ff --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceBroadcastReceiverWithJobService.kt @@ -0,0 +1,16 @@ + + +package com.ejada.hmg.geofence.intent_receivers + +import android.content.BroadcastReceiver +import android.content.Context +import android.content.Intent +import com.ejada.hmg.geofence.HMG_Geofence +import com.google.android.gms.location.GeofenceStatusCodes + +class GeofenceBroadcastReceiverWithJobService : BroadcastReceiver() { + override fun onReceive(context: Context, intent: Intent) { + GeofenceTransitionsJobIntentService.enqueueWork(context, intent) + } + +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceErrorMessages.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceErrorMessages.kt new file mode 100644 index 00000000..94ceaa3d --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceErrorMessages.kt @@ -0,0 +1,43 @@ + + +package com.ejada.hmg.geofence.intent_receivers + +import android.content.Context +import com.ejada.hmg.R +import com.ejada.hmg.geofence.HMG_Geofence +import com.google.android.gms.common.api.ApiException +import com.google.android.gms.location.GeofenceStatusCodes + +object GeofenceErrorMessages { + fun getErrorString(context: Context, e: Exception): String { + return if (e is ApiException) { + getErrorString(context, e.statusCode) + } else { + context.resources.getString(R.string.geofence_unknown_error) + } + } + + fun getErrorString(context: Context, errorCode: Int): String { + val resources = context.resources + val errorMessage = when (errorCode) { + GeofenceStatusCodes.GEOFENCE_NOT_AVAILABLE -> + resources.getString(R.string.geofence_not_available) + + GeofenceStatusCodes.GEOFENCE_TOO_MANY_GEOFENCES -> + resources.getString(R.string.geofence_too_many_geofences) + + GeofenceStatusCodes.GEOFENCE_TOO_MANY_PENDING_INTENTS -> + resources.getString(R.string.geofence_too_many_pending_intents) + + GeofenceStatusCodes.GEOFENCE_INSUFFICIENT_LOCATION_PERMISSION -> + resources.getString(R.string.GEOFENCE_INSUFFICIENT_LOCATION_PERMISSION) + + GeofenceStatusCodes.GEOFENCE_REQUEST_TOO_FREQUENT -> + resources.getString(R.string.GEOFENCE_REQUEST_TOO_FREQUENT) + + else -> resources.getString(R.string.geofence_unknown_error) + } + + return errorMessage + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceTransitionsJobIntentService.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceTransitionsJobIntentService.kt new file mode 100644 index 00000000..b083e04e --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofenceTransitionsJobIntentService.kt @@ -0,0 +1,97 @@ +/* + * Copyright (c) 2018 Razeware LLC + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * Notwithstanding the foregoing, you may not use, copy, modify, merge, publish, + * distribute, sublicense, create a derivative work, and/or sell copies of the + * Software in any work that is designed, intended, or marketed for pedagogical or + * instructional purposes related to programming, coding, application development, + * or information technology. Permission for such use, copying, modification, + * merger, publication, distribution, sublicensing, creation of derivative works, + * or sale is expressly withheld. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ + + +package com.ejada.hmg.geofence.intent_receivers + +import android.content.Context +import android.content.Intent +import android.util.Log +import androidx.core.app.JobIntentService +import com.ejada.hmg.geofence.GeofenceTransition +import com.ejada.hmg.geofence.HMG_Geofence +import com.ejada.hmg.utils.saveLog +import com.google.android.gms.location.GeofenceStatusCodes +import com.google.android.gms.location.GeofencingEvent + +class GeofenceTransitionsJobIntentService : JobIntentService() { + + companion object { + private const val LOG_TAG = "GeoTrIntentService" + + private const val JOB_ID = 95902 + var context_: Context? = null + fun enqueueWork(context: Context, intent: Intent) { + context_ = context + enqueueWork( + context, + GeofenceTransitionsJobIntentService::class.java, JOB_ID, + intent) + } + } + + override fun onHandleWork(intent: Intent) { + val geofencingEvent = GeofencingEvent.fromIntent(intent) + if (geofencingEvent != null) { + if (geofencingEvent.hasError()) { + val errorMessage = GeofenceErrorMessages.getErrorString(context_!!, geofencingEvent.errorCode) + Log.e(LOG_TAG, errorMessage) + + + saveLog(context_!!,LOG_TAG,errorMessage) + doReRegisterIfRequired(context_!!, geofencingEvent.errorCode) + + return + } + } + + if (geofencingEvent != null) { + geofencingEvent.triggeringGeofences?.let { geofencingEvent.triggeringLocation?.let { it1 -> + HMG_Geofence.shared(context_!!).handleEvent(it, + it1, GeofenceTransition.fromInt(geofencingEvent.geofenceTransition)) + } } + }; + + } + + + fun doReRegisterIfRequired(context: Context, errorCode: Int){ + val errorRequiredReregister = listOf( + GeofenceStatusCodes.GEOFENCE_NOT_AVAILABLE, + GeofenceStatusCodes.GEOFENCE_TOO_MANY_GEOFENCES, + GeofenceStatusCodes.GEOFENCE_TOO_MANY_PENDING_INTENTS, + GeofenceStatusCodes.GEOFENCE_REQUEST_TOO_FREQUENT + ) + + if(errorRequiredReregister.contains(errorCode)) + HMG_Geofence.shared(context).register(){ status, exc -> } + + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofencingRebootBroadcastReceiver.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofencingRebootBroadcastReceiver.kt new file mode 100644 index 00000000..809f92bc --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/GeofencingRebootBroadcastReceiver.kt @@ -0,0 +1,23 @@ + + +package com.ejada.hmg.geofence.intent_receivers + +import android.content.BroadcastReceiver +import android.content.Context +import android.content.Intent +import com.ejada.hmg.geofence.HMG_Geofence +import com.ejada.hmg.utils.PREFS_STORAGE + +class GeofencingRebootBroadcastReceiver : BroadcastReceiver(){ + override fun onReceive(context: Context, intent: Intent) { + + if (Intent.ACTION_BOOT_COMPLETED.equals(intent.action)) { +// if (intent.action.equals("android.intent.action.BOOT_COMPLETE")) { + val pref = context.getSharedPreferences(PREFS_STORAGE, Context.MODE_PRIVATE) + pref.edit().putString("REBOOT_DETECTED","YES").apply() + + HMG_Geofence.shared(context).register(){ status, error -> } + } + } + +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/LocationProviderChangeReceiver.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/LocationProviderChangeReceiver.kt new file mode 100644 index 00000000..8c34dedb --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/LocationProviderChangeReceiver.kt @@ -0,0 +1,25 @@ + + +package com.ejada.hmg.geofence.intent_receivers + +import android.content.BroadcastReceiver +import android.content.Context +import android.content.Intent +import android.location.LocationManager +import com.ejada.hmg.geofence.HMG_Geofence +import com.ejada.hmg.utils.HMGUtils +import com.ejada.hmg.utils.PREFS_STORAGE + +class LocationProviderChangeReceiver : BroadcastReceiver() { + private val LOG_TAG = "LocationProviderChangeReceiver" + override fun onReceive(context: Context, intent: Intent) { + + if (LocationManager.PROVIDERS_CHANGED_ACTION.equals(intent.action)) { + val pref = context.getSharedPreferences(PREFS_STORAGE, Context.MODE_PRIVATE) + pref.edit().putString("LOCATION_PROVIDER_CHANGE","YES").apply() + + HMG_Geofence.shared(context).register(){ s, e -> } + } + } + +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/ReregisterGeofenceJobService.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/ReregisterGeofenceJobService.kt new file mode 100644 index 00000000..e7c0a82d --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/geofence/intent_receivers/ReregisterGeofenceJobService.kt @@ -0,0 +1,24 @@ +package com.ejada.hmg.geofence.intent_receivers + +import android.app.job.JobParameters +import android.app.job.JobService +import com.ejada.hmg.geofence.HMG_Geofence +import com.ejada.hmg.utils.Logs + +class ReregisterGeofenceJobService : JobService(){ + companion object{ + val TriggerIntervalDuration:String = "06:00:00" + val JobID = 918273 + } + override fun onStartJob(params: JobParameters?): Boolean { + Logs.save(applicationContext,"ReregisterGeofenceJobService.onStartJob", "triggered to re-register the geofences after $TriggerIntervalDuration >> [HH:mm:ss]") + HMG_Geofence.shared(applicationContext).register(){ status, error -> + jobFinished(params, true) + } + return true + } + + override fun onStopJob(params: JobParameters?): Boolean { + return true + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/HMG_Guest.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/HMG_Guest.kt new file mode 100644 index 00000000..7b3cc2d1 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/HMG_Guest.kt @@ -0,0 +1,257 @@ +package com.ejada.hmg.hmgwifi + +import android.annotation.SuppressLint +import android.content.Context +import android.content.Intent +import android.net.* +import android.net.wifi.* +import android.os.Build +import android.os.PatternMatcher +import android.provider.Settings +import android.util.Log +import androidx.annotation.RequiresApi +import com.ejada.hmg.MainActivity +import com.ejada.hmg.utils.HMGUtils + + + + + +class HMG_Guest(private var context: MainActivity, ssid: String) { + private val TAG = "HMG_Guest" + private val TEST = false + private var SSID = ssid +// private var SSID = "HMG-MOHEMM" + + val wifiManager = context.applicationContext.getSystemService(Context.WIFI_SERVICE) as WifiManager? + + private lateinit var completionListener: ((status: Boolean, message: String) -> Unit) + + fun completionOnUiThread(status: Boolean, message: String){ + completionListener(status, message) + } + + fun enableWifi(){ + if(Build.VERSION.SDK_INT < Build.VERSION_CODES.Q){ + wifiManager?.setWifiEnabled(true) + HMGUtils.popFlutterText(context,"enablingWifi"); + HMGUtils.timer(2000,false){ + connectApiLessThen29() + } + }else { + val panelIntent = Intent(Settings.Panel.ACTION_WIFI) + context.startActivityForResult(panelIntent, 1) + } + } + /* + * Helpful: + * http://stackoverflow.com/questions/8818290/how-to-connect-to-a-specific-wifi-network-in-android-programmatically + */ + fun connectToHMGGuestNetwork(completion: (status: Boolean, message: String) -> Unit) { + completionListener = completion + wifiManager?.let { wm -> + if (!wm.isWifiEnabled){ + enableWifi() + }else{ + connectWifi() + } + } + + } + + private fun errorConnecting(){ + completionOnUiThread(false, "errorConnectingHmgNetwork") + } + + fun connectWifi(){ + if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q){ + connectApiGreaterThen28() + }else { + connectApiLessThen29() + } + } + + // I }else{f CompileSDK is greater and equals to APILevel 29 + @RequiresApi(Build.VERSION_CODES.Q) + private fun connectApiGreaterThen28(){ + Log.e(TAG, "connection wifi with Android Q+") + + val networkRequest: NetworkRequest = NetworkRequest.Builder() + .addTransportType(NetworkCapabilities.TRANSPORT_WIFI) + .addCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) + .removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) //removeCapability added for hotspots without internet + .setNetworkSpecifier( + WifiNetworkSpecifier.Builder() + .setSsid(SSID) + .build() + + ).build() + + val connectivityManager = context.getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager + val networkCallback = object : ConnectivityManager.NetworkCallback() { + override fun onAvailable(network: Network) { + super.onAvailable(network) + connectivityManager.bindProcessToNetwork(network) + HMGUtils.timer(2000,false){ + completionListener(true, "Success") + } + Log.e(TAG, "onAvailable") + } + + override fun onLosing(network: Network, maxMsToLive: Int) { + super.onLosing(network, maxMsToLive) + Log.e(TAG, "onLosing") + completionListener(false, "fail") + } + + override fun onLost(network: Network) { + super.onLost(network) + Log.e(TAG, "onLosing") + Log.e(TAG, "losing active connection") + completionListener(false, "fail") + } + + override fun onUnavailable() { + super.onUnavailable() + Log.e(TAG, "onUnavailable") + completionListener(false, "fail") + } + + } + + //timeout add because "No devices found" wasn't handled correct and doesn't throw Unavailable + connectivityManager.requestNetwork(networkRequest, networkCallback, 30000) + } + + + + fun connectApiLessThen29(){ + val wifi = WifiConfiguration() + wifi.SSID = """"$SSID"""" + wifi.status = WifiConfiguration.Status.ENABLED + wifi.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE) + + wifi.networkId = ssidToNetworkId(wifi.SSID) + if (wifi.networkId == -1) { + wifiManager?.addNetwork(wifi) + } else { + Log.v(TAG, "WiFi found - updating it.\n") + wifiManager?.updateNetwork(wifi) + } + + Log.v(TAG, "saving config.\n") + wifiManager?.saveConfiguration() + + wifi.networkId = ssidToNetworkId(wifi.SSID) + + Log.v(TAG, "wifi ID in device = " + wifi.networkId) + + var supState: SupplicantState + val networkIdToConnect = wifi.networkId + if (networkIdToConnect >= 0) { + Log.v(TAG, "Start connecting...\n") + + // We disable the network before connecting, because if this was the last connection before + // a disconnect(), this will not reconnect. + wifiManager?.disableNetwork(networkIdToConnect) + wifiManager?.enableNetwork(networkIdToConnect, true) + + val wifiInfo: WifiInfo = wifiManager!!.connectionInfo + + HMGUtils.timer(5000,false){ + supState = wifiInfo.supplicantState + Log.i(TAG, "Done connect to network : status = $supState") + val successStates = listOf(SupplicantState.COMPLETED, SupplicantState.ASSOCIATED) + if (successStates.contains(supState)) + completionListener(true,"Connected to internet Wifi") + else + completionListener(false,"errorConnectingHmgNetwork") + } + + } else { + Log.v(TAG, "WifiWizard: cannot connect to network") + completionListener(false,"errorConnectingHmgNetwork") + } + +// val wifi = WifiConfiguration() +// wifi.SSID = SSID +// wifi.status = WifiConfiguration.Status.ENABLED +// wifi.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); +// +// wifi.networkId = ssidToNetworkId(SSID) +// +// // Set network to highest priority (deprecated in API >= 26) +// if(Build.VERSION.SDK_INT < 26) { +// wifi.priority = getMaxWifiPriority(wifiManager!!) + 1; +// } +// +// // After processing authentication types, add or update network +// if(wifi.networkId == -1) { // -1 means SSID configuration does not exist yet +// +// val newNetId = wifiManager?.addNetwork(wifi)!! +// if( newNetId > -1 ){ +// completionListener(true,"Success") +// } else { +// completionListener(false, "ERROR_ADDING_NETWORK" ) +// } +// +// } else { +// +// var updatedNetID = wifiManager?.updateNetwork(wifi) +// +// if(updatedNetID == -1) +// updatedNetID = wifiManager?.addNetwork(wifi) +// +// if(updatedNetID > -1) { +// callbackContext.success( updatedNetID ) +// } else { +// callbackContext.error("ERROR_UPDATING_NETWORK") +// } +// +// } +// +// // WifiManager configurations are presistent for API 26+ +// if(Build.VERSION.SDK_INT < 26) { +// wifiManager?.saveConfiguration(); // Call saveConfiguration for older < 26 API +// } + } + + + /** + * This method takes a given String, searches the current list of configured WiFi + * networks, and returns the networkId for the network if the SSID matches. If not, + * it returns -1. + */ + @SuppressLint("MissingPermission") + private fun ssidToNetworkId(ssid: String): Int { + val currentNetworks = wifiManager!!.configuredNetworks + var networkId = -1 + + // For each network in the list, compare the SSID with the given one + for (test in currentNetworks) { + if (test.SSID == ssid) { + networkId = test.networkId + break + } + } + return networkId + } + + companion object{ + + /** + * Figure out what the highest priority network in the network list is and return that priority + */ + @RequiresApi(Build.VERSION_CODES.S) + fun getMaxWifiPriority(wifiManager:WifiManager) : Int { + val configurations = wifiManager.callerConfiguredNetworks + var maxPriority = 0 + configurations.forEach { + if (it.priority > maxPriority) { + maxPriority = it.priority; + } + } + return maxPriority; + } + } +} diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/HMG_Internet.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/HMG_Internet.kt new file mode 100644 index 00000000..dcfa5488 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/HMG_Internet.kt @@ -0,0 +1,120 @@ +package com.ejada.hmg.hmgwifi + +import android.annotation.SuppressLint +import com.ejada.hmg.utils.API +import com.ejada.hmg.MainActivity +import com.github.kittinunf.fuel.core.extensions.jsonBody +import com.github.kittinunf.fuel.httpGet +import com.github.kittinunf.fuel.httpPost +import org.json.JSONObject +import java.util.* + + +@SuppressLint("MissingPermission") +class HMG_Internet(flutterMainActivity: MainActivity) { + private val TAG = "HMG_Wifi" + private val TEST = true + + private var context = flutterMainActivity; + + private lateinit var completionListener: ((status: Boolean, message: String) -> Unit) + + private var SSID = "GUEST-POC" + + fun completionOnUiThread(status: Boolean, message: String){ + completionListener(status, message) +// context.runOnUiThread { +// .with(message){localized -> +// completionListener(status, localized) +// } +// } + } + + /* + * Helpful: + * http://stackoverflow.com/questions/8818290/how-to-connect-to-a-specific-wifi-network-in-android-programmatically + */ + fun connectToHMGGuestNetwork(username: String, password: String, completion: (status: Boolean, message: String) -> Unit): HMG_Internet { + completionListener = completion + WpaEnterprise(context,SSID).connect(username,username) { status, message -> + completionOnUiThread(status,message) + } + return this + } + + private fun haveInternet(completion: ((status: Boolean) -> Unit)){ + if (TEST) + completion(true) + + "https://captive.apple.com".httpGet().response { request, response, result -> + result.fold(success = { + val html = String(it).toLowerCase(Locale.ENGLISH) + .replace(" ", "", true) + .replace("\n","",true) + val have = html.contains("success", true) + completion(have) + + },failure = { + completion(false) + }) + } + } + + private fun getWifiCredentials(patientId:String, success: ((String?,String?) -> Unit)){ + if (TEST){ + SSID = "GUEST-POC" + success("2300", "0000") + return + } + + val jsonBody = """{ + "PatientID":$patientId + "VersionID": 8.8, + "Channel": 3, + "LanguageID": 2, + "IPAdress": "10.20.10.20", + "generalid": "Cs2020@2016$2958", + "PatientOutSA": 0, + "SessionID": "@admin", + "isDentalAllowedBackend": false, + "DeviceTypeID": 2, + "TokenID": "@admin", + "PatientTypeID": 1, + "PatientType": 1 + }""".trimMargin() + API.WIFI_CREDENTIALS. + httpPost() + .jsonBody(jsonBody, Charsets.UTF_8) + .response { request, response, result -> + + result.fold(success = { data -> + val jsonString = String(data) + val jsonObject = JSONObject(jsonString) + if(!jsonObject.getString("ErrorMessage").equals("null")){ + val errorMsg = jsonObject.getString("ErrorMessage") + completionOnUiThread(false, errorMsg) + + }else{ + jsonObject.getJSONArray("Hmg_SMS_Get_By_ProjectID_And_PatientIDList").let { array -> + array.getJSONObject(0).let { object_ -> + if (object_.has("UserName") && object_.has("UserName")){ + try { + val userName = object_.getString("UserName") + val password = object_.getString("Password") + success(userName, password) + }catch (e:Exception){ + success(null, null) + } + }else{ + completionOnUiThread(false, "somethingWentWrong") + } + } + } + } + + },failure = { error -> + completionOnUiThread(false, "somethingWentWrong" ) + }) + } + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/WPA.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/WPA.kt new file mode 100644 index 00000000..61cc4f9f --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/WPA.kt @@ -0,0 +1,105 @@ +package com.ejada.hmg.hmgwifi + +import android.annotation.SuppressLint +import android.content.Context +import android.net.ConnectivityManager +import android.net.wifi.* +import android.net.wifi.SupplicantState.ASSOCIATED +import android.net.wifi.SupplicantState.COMPLETED +import android.util.Log +import com.ejada.hmg.MainActivity +import com.ejada.hmg.utils.HMGUtils + +class WPA(mainActivity: MainActivity, SSID:String) { + private var TAG = "WPA" + private var SSID = "GUEST-POC" + private var wifiManager_: WifiManager? = null + private var connectivityManager_: ConnectivityManager? = null + + init { + wifiManager_ = mainActivity.applicationContext.getSystemService(Context.WIFI_SERVICE) as WifiManager? + connectivityManager_ = mainActivity.applicationContext.getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager? + } + + fun connect(identity:String, password:String, completion: (status: Boolean, message: String) -> Unit) { + if(wifiManager_ == null || connectivityManager_ == null){ + completion(false,"errorConnectingHmgNetwork") + return + } + + val wifiManager = wifiManager_!! + val connectivityManager = connectivityManager_!! + + // Initialize the WifiConfiguration object + val enterpriseConfig = WifiEnterpriseConfig() + val wifi = WifiConfiguration() + wifi.SSID = """"$SSID"""" + wifi.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP) + wifi.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X) + enterpriseConfig.eapMethod = WifiEnterpriseConfig.Eap.PEAP + enterpriseConfig.identity = identity + enterpriseConfig.password = password + wifi.enterpriseConfig = enterpriseConfig + wifi.networkId = ssidToNetworkId(wifi.SSID) + if (wifi.networkId == -1) { + wifiManager.addNetwork(wifi) + } else { + Log.v(TAG, "WiFi found - updating it.\n") + wifiManager.updateNetwork(wifi) + } + Log.v(TAG, "saving config.\n") + wifiManager.saveConfiguration() + wifi.networkId = ssidToNetworkId(wifi.SSID) + + Log.v(TAG, "wifi ID in device = " + wifi.networkId) + + var supState: SupplicantState + val networkIdToConnect = wifi.networkId + if (networkIdToConnect >= 0) { + Log.v(TAG, "Start connecting...\n") + + // We disable the network before connecting, because if this was the last connection before + // a disconnect(), this will not reconnect. + wifiManager.disableNetwork(networkIdToConnect) + wifiManager.enableNetwork(networkIdToConnect, true) + + val wifiInfo: WifiInfo = wifiManager.connectionInfo + + HMGUtils.timer(5000,false){ + supState = wifiInfo.supplicantState + Log.i(TAG, "WifiWizard: Done connect to network : status = $supState") + val successStates = listOf(COMPLETED, ASSOCIATED) + if (successStates.contains(COMPLETED /*supState*/)) + + completion(true,"Connected to internet Wifi") + + else + completion(false,"errorConnectingHmgNetwork") + } + + } else { + Log.v(TAG, "WifiWizard: cannot connect to network") + completion(false,"errorConnectingHmgNetwork") + } + } + + /** + * This method takes a given String, searches the current list of configured WiFi + * networks, and returns the networkId for the network if the SSID matches. If not, + * it returns -1. + */ + @SuppressLint("MissingPermission") + private fun ssidToNetworkId(ssid: String): Int { + val currentNetworks = wifiManager_!!.configuredNetworks + var networkId = -1 + + // For each network in the list, compare the SSID with the given one + for (test in currentNetworks) { + if (test.SSID == ssid) { + networkId = test.networkId + break + } + } + return networkId + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/WpaEnterprise.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/WpaEnterprise.kt new file mode 100644 index 00000000..e8e39344 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/hmgwifi/WpaEnterprise.kt @@ -0,0 +1,166 @@ +package com.ejada.hmg.hmgwifi + +import android.annotation.SuppressLint +import android.content.Context +import android.net.ConnectivityManager +import android.net.Network +import android.net.NetworkCapabilities +import android.net.NetworkRequest +import android.net.wifi.* +import android.net.wifi.SupplicantState.ASSOCIATED +import android.net.wifi.SupplicantState.COMPLETED +import android.os.Build +import android.util.Log +import androidx.annotation.RequiresApi +import com.ejada.hmg.MainActivity +import com.ejada.hmg.utils.HMGUtils +import java.security.cert.X509Certificate + +class WpaEnterprise(private val mainActivity: MainActivity, private var SSID: String) { + private var TAG = "WpaEnterprise" + + private lateinit var identity:String + private lateinit var password:String + private lateinit var completion:((status: Boolean, message: String) -> Unit) + + fun connect(identity:String, password:String, completion: (status: Boolean, message: String) -> Unit) { + this.password = password + this.identity = identity + this.completion = completion + + if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q){ + apiGreaterThen28() + }else if(Build.VERSION.SDK_INT < Build.VERSION_CODES.Q){ + apiLessThen29() + } + } + + @RequiresApi(Build.VERSION_CODES.LOLLIPOP) + fun apiLessThen29(){ + val wifiManager = mainActivity.applicationContext.getSystemService(Context.WIFI_SERVICE) as WifiManager + + val wifi = WifiConfiguration() + wifi.SSID = """"$SSID"""" + wifi.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_EAP) + wifi.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.IEEE8021X) + wifi.enterpriseConfig = enterpriseConfig() + wifi.networkId = ssidToNetworkId(wifi.SSID, wifiManager) + if (wifi.networkId == -1) { + wifiManager.addNetwork(wifi) + } else { + Log.v(TAG, "WiFi found - updating it.\n") + wifiManager.updateNetwork(wifi) + } + Log.v(TAG, "saving config.\n") + wifiManager.saveConfiguration() + wifi.networkId = ssidToNetworkId(wifi.SSID, wifiManager) + + Log.v(TAG, "wifi ID in device = " + wifi.networkId) + + var supState: SupplicantState + val networkIdToConnect = wifi.networkId + if (networkIdToConnect >= 0) { + Log.v(TAG, "Start connecting...\n") + + // We disable the network before connecting, because if this was the last connection before + // a disconnect(), this will not reconnect. + wifiManager.disableNetwork(networkIdToConnect) + wifiManager.enableNetwork(networkIdToConnect, true) + + val wifiInfo: WifiInfo = wifiManager.connectionInfo + + HMGUtils.timer(5000,false){ + supState = wifiInfo.supplicantState + Log.i(TAG, "Done connect to network : status = $supState") + val successStates = listOf(COMPLETED, ASSOCIATED) + if (successStates.contains(supState)) + completion(true,"Connected to internet Wifi") + else + completion(false,"errorConnectingHmgNetwork") + } + + } else { + Log.v(TAG, "WifiWizard: cannot connect to network") + completion(false,"errorConnectingHmgNetwork") + } + } + + /** + * This method takes a given String, searches the current list of configured WiFi + * networks, and returns the networkId for the network if the SSID matches. If not, + * it returns -1. + */ + @SuppressLint("MissingPermission") + private fun ssidToNetworkId(ssid: String, wifiManager: WifiManager): Int { + val currentNetworks = wifiManager.configuredNetworks + var networkId = -1 + // For each network in the list, compare the SSID with the given one + for (test in currentNetworks) { + if (test.SSID == ssid) { + networkId = test.networkId + break + } + } + return networkId + } + + + @RequiresApi(Build.VERSION_CODES.Q) + fun apiGreaterThen28(){ + val connectivityManager = mainActivity.applicationContext.getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager + + Log.e(TAG, "connection wifi with Android Q+") + val wifiNetworkSpecifier: WifiNetworkSpecifier = WifiNetworkSpecifier.Builder() + .setSsid(SSID) + .setWpa2EnterpriseConfig(enterpriseConfig()) + .build() + + val networkRequest: NetworkRequest = NetworkRequest.Builder() + .addTransportType(NetworkCapabilities.TRANSPORT_WIFI) + .setNetworkSpecifier(wifiNetworkSpecifier) + .removeCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET) //removeCapability added for hotspots without internet + .build() + + val networkCallback = object : ConnectivityManager.NetworkCallback() { + override fun onAvailable(network: Network) { + super.onAvailable(network) + connectivityManager.bindProcessToNetwork(network) + completion(true, "200") + Log.e(TAG, "onAvailable") + } + + override fun onLosing(network: Network, maxMsToLive: Int) { + super.onLosing(network, maxMsToLive) + Log.e(TAG, "onLosing") + } + + override fun onLost(network: Network) { + super.onLost(network) + Log.e(TAG, "onLosing") + Log.e(TAG, "losing active connection") + } + + override fun onUnavailable() { + super.onUnavailable() + completion(false, "401") + Log.e(TAG, "onUnavailable") + } + + } + + //timeout add because "No devices found" wasn't handled correct and doesn't throw Unavailable + connectivityManager.requestNetwork(networkRequest, networkCallback, 30000) + } + + fun enterpriseConfig() : WifiEnterpriseConfig{ + // Initialize the WifiConfiguration object + val enterpriseConfig = WifiEnterpriseConfig() + enterpriseConfig.eapMethod = WifiEnterpriseConfig.Eap.PEAP + enterpriseConfig.identity = identity + enterpriseConfig.password = password + enterpriseConfig.phase2Method = WifiEnterpriseConfig.Phase2.NONE +// enterpriseConfig.caCertificates = WifiEnterpriseConfig.Phase2. + return enterpriseConfig; + } + +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/opentok/LocalVideo.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/opentok/LocalVideo.kt new file mode 100644 index 00000000..cfebfe65 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/opentok/LocalVideo.kt @@ -0,0 +1,58 @@ +package com.ejada.hmg.opentok + +import android.content.Context +import android.util.AttributeSet +import android.view.LayoutInflater +import android.view.View +import android.widget.FrameLayout +import android.widget.LinearLayout +import com.ejada.hmg.R +import io.flutter.plugin.common.StandardMessageCodec +import io.flutter.plugin.platform.PlatformView +import io.flutter.plugin.platform.PlatformViewFactory + +class LocalVideoFactory : PlatformViewFactory(StandardMessageCodec.INSTANCE) { + + companion object { + private lateinit var view: LocalVideoPlatformView + + fun getViewInstance(context: Context): LocalVideoPlatformView { + if(!this::view.isInitialized) { + view = LocalVideoPlatformView(context) + } + + return view + } + } + + override fun create(context: Context, viewId: Int, args: Any?): PlatformView { + return getViewInstance(context) + } +} + +class LocalVideoPlatformView(context: Context) : PlatformView { + private val videoContainer: LocalVideoContainer = LocalVideoContainer(context) + + val container get() = videoContainer.publisherContainer + + override fun getView(): View { + return videoContainer + } + + override fun dispose() {} +} + +class LocalVideoContainer @JvmOverloads constructor( + context: Context, + attrs: AttributeSet? = null, + defStyle: Int = 0, + defStyleRes: Int = 0 +) : LinearLayout(context, attrs, defStyle, defStyleRes) { + + var publisherContainer: FrameLayout private set + + init { + val view = LayoutInflater.from(context).inflate(R.layout.local_video, this, true) + publisherContainer = view.findViewById(R.id.publisher_container) + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/opentok/OpenTok.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/opentok/OpenTok.kt new file mode 100644 index 00000000..5142702a --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/opentok/OpenTok.kt @@ -0,0 +1,181 @@ +package com.ejada.hmg.opentok + +import android.content.Context +import android.os.Handler +import android.os.Looper +import android.util.Log +import android.view.ViewGroup +import com.facebook.stetho.urlconnection.StethoURLConnectionManager +import com.opentok.android.* +import io.flutter.embedding.engine.FlutterEngine +import io.flutter.embedding.engine.plugins.util.GeneratedPluginRegister +import io.flutter.plugin.common.MethodCall +import io.flutter.plugin.common.MethodChannel + + +enum class OpenTokSDKState { + LOGGED_OUT, + LOGGED_IN, + WAIT, + ERROR +} + +class OpenTok(private var context: Context, private var flutterEngine: FlutterEngine){ + private lateinit var remoteVideoPlatformView: RemoteVideoPlatformView + private lateinit var localVideoPlatformView: LocalVideoPlatformView + + init { + remoteVideoPlatformView = RemoteVideoFactory.getViewInstance(context) + flutterEngine + .platformViewsController + .registry + .registerViewFactory("remote-video-container", RemoteVideoFactory()) + + localVideoPlatformView = LocalVideoFactory.getViewInstance(context) + flutterEngine + .platformViewsController + .registry + .registerViewFactory("local-video-container", LocalVideoFactory()) + } + + private var session: Session? = null + private var publisher: Publisher? = null + private var subscriber: Subscriber? = null + + + + private val sessionListener: Session.SessionListener = object: Session.SessionListener { + override fun onConnected(session: Session) { + // Connected to session + Log.d("MainActivity", "Connected to session ${session.sessionId}") + + publisher = Publisher.Builder(context).build().apply { + setPublisherListener(publisherListener) + renderer?.setStyle(BaseVideoRenderer.STYLE_VIDEO_SCALE, BaseVideoRenderer.STYLE_VIDEO_FILL) + + view.layoutParams = ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT) + localVideoPlatformView.container.addView(view) + } + + notifyFlutter(OpenTokSDKState.LOGGED_IN) + session.publish(publisher) + } + + override fun onDisconnected(session: Session) { + notifyFlutter(OpenTokSDKState.LOGGED_OUT) + } + + override fun onStreamReceived(session: Session, stream: Stream) { + Log.d( + "MainActivity", + "onStreamReceived: New Stream Received " + stream.streamId + " in session: " + session.sessionId + ) + if (subscriber == null) { + subscriber = Subscriber.Builder(context, stream).build().apply { + renderer?.setStyle(BaseVideoRenderer.STYLE_VIDEO_SCALE, BaseVideoRenderer.STYLE_VIDEO_FILL) + setSubscriberListener(subscriberListener) + session.subscribe(this) + + remoteVideoPlatformView.container.addView(view) + } + } + } + + override fun onStreamDropped(session: Session, stream: Stream) { + Log.d( + "MainActivity", + "onStreamDropped: Stream Dropped: " + stream.streamId + " in session: " + session.sessionId + ) + + if (subscriber != null) { + subscriber = null + + remoteVideoPlatformView.container.removeAllViews() + } + } + + override fun onError(session: Session, opentokError: OpentokError) { + Log.d("MainActivity", "Session error: " + opentokError.message) + notifyFlutter(OpenTokSDKState.ERROR) + } + } + + private val publisherListener: PublisherKit.PublisherListener = object : PublisherKit.PublisherListener { + override fun onStreamCreated(publisherKit: PublisherKit, stream: Stream) { + Log.d("MainActivity", "onStreamCreated: Publisher Stream Created. Own stream " + stream.streamId) + } + + override fun onStreamDestroyed(publisherKit: PublisherKit, stream: Stream) { + Log.d("MainActivity", "onStreamDestroyed: Publisher Stream Destroyed. Own stream " + stream.streamId) + } + + override fun onError(publisherKit: PublisherKit, opentokError: OpentokError) { + Log.d("MainActivity", "PublisherKit onError: " + opentokError.message) + notifyFlutter(OpenTokSDKState.ERROR) + } + } + + var subscriberListener: SubscriberKit.SubscriberListener = object : SubscriberKit.SubscriberListener { + override fun onConnected(subscriberKit: SubscriberKit) { + Log.d("MainActivity", "onConnected: Subscriber connected. Stream: " + subscriberKit.stream.streamId) + } + + override fun onDisconnected(subscriberKit: SubscriberKit) { + Log.d("MainActivity", "onDisconnected: Subscriber disconnected. Stream: " + subscriberKit.stream.streamId) + notifyFlutter(OpenTokSDKState.LOGGED_OUT) + } + + override fun onError(subscriberKit: SubscriberKit, opentokError: OpentokError) { + Log.d("MainActivity", "SubscriberKit onError: " + opentokError.message) + notifyFlutter(OpenTokSDKState.ERROR) + } + } + + fun initSession(call: MethodCall, result: MethodChannel.Result) { + + val apiKey = requireNotNull(call.argument("apiKey")) + val sessionId = requireNotNull(call.argument("sessionId")) + val token = requireNotNull(call.argument("token")) + + notifyFlutter(OpenTokSDKState.WAIT) + session = Session.Builder(context, apiKey, sessionId).build() + session?.setSessionListener(sessionListener) + session?.connect(token) + result.success("") + } + + fun swapCamera(call: MethodCall, result: MethodChannel.Result) { + publisher?.cycleCamera() + result.success(true) + } + + fun toggleAudio(call: MethodCall, result: MethodChannel.Result) { + if (publisher != null) { + publisher?.publishAudio = !(publisher!!.publishAudio) + result.success(true) + }else{ + result.success(false) + } + } + + fun toggleVideo(call: MethodCall, result: MethodChannel.Result) { + if (publisher != null) { + publisher?.publishVideo = !(publisher!!.publishVideo) + result.success(true) + }else{ + result.success(false) + } + } + + fun hangupCall(call: MethodCall, result: MethodChannel.Result) { + session?.disconnect() + result.success(true) + } + + private fun notifyFlutter(state: OpenTokSDKState) { + Handler(Looper.getMainLooper()).post { + MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "OpenTok-Platform-Bridge") + .invokeMethod("updateState", state.toString()) + } + } +} diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/opentok/RemoteVideo.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/opentok/RemoteVideo.kt new file mode 100644 index 00000000..9116a1e8 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/opentok/RemoteVideo.kt @@ -0,0 +1,58 @@ +package com.ejada.hmg.opentok + +import android.content.Context +import android.util.AttributeSet +import android.view.LayoutInflater +import android.view.View +import android.widget.FrameLayout +import android.widget.LinearLayout +import com.ejada.hmg.R +import io.flutter.plugin.common.StandardMessageCodec +import io.flutter.plugin.platform.PlatformView +import io.flutter.plugin.platform.PlatformViewFactory + +class RemoteVideoFactory : PlatformViewFactory(StandardMessageCodec.INSTANCE) { + + companion object { + private lateinit var view: RemoteVideoPlatformView + + fun getViewInstance(context: Context): RemoteVideoPlatformView { + if(!this::view.isInitialized) { + view = RemoteVideoPlatformView(context) + } + + return view + } + } + + override fun create(context: Context, viewId: Int, args: Any?): PlatformView { + return getViewInstance(context) + } +} + +class RemoteVideoPlatformView(context: Context) : PlatformView { + private val videoContainer: RemoteVideoContainer = RemoteVideoContainer(context) + + val container get() = videoContainer.subscriberContainer + + override fun getView(): View { + return videoContainer + } + + override fun dispose() {} +} + +class RemoteVideoContainer @JvmOverloads constructor( + context: Context, + attrs: AttributeSet? = null, + defStyle: Int = 0, + defStyleRes: Int = 0 +) : LinearLayout(context, attrs, defStyle, defStyleRes) { + + var subscriberContainer: FrameLayout private set + + init { + val view = LayoutInflater.from(context).inflate(R.layout.remote_video, this, true) + subscriberContainer = view.findViewById(R.id.subscriber_container) + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/penguin/PenguinMethod.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/penguin/PenguinMethod.kt new file mode 100644 index 00000000..c76f9784 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/penguin/PenguinMethod.kt @@ -0,0 +1,13 @@ +package com.cloud.diplomaticquarterapp.penguin + +enum class PenguinMethod { + // initializePenguin("initializePenguin"), + // configurePenguin("configurePenguin"), + // showPenguinUI("showPenguinUI"), + // onPenNavUIDismiss("onPenNavUIDismiss"), + // onReportIssue("onReportIssue"), + // onPenNavSuccess("onPenNavSuccess"), + onPenNavInitializationError // onLocationOffCampus("onLocationOffCampus"), + // navigateToPOI("navigateToPOI"), + // openSharedLocation("openSharedLocation"); +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/penguin/PenguinNavigator.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/penguin/PenguinNavigator.kt new file mode 100644 index 00000000..98245cc9 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/penguin/PenguinNavigator.kt @@ -0,0 +1,97 @@ +package com.cloud.diplomaticquarterapp.penguin + +import android.content.Context +import com.google.gson.Gson +import com.peng.pennavmap.PlugAndPlaySDK +import com.peng.pennavmap.connections.ApiController +import com.peng.pennavmap.interfaces.RefIdDelegate +import com.peng.pennavmap.models.TokenModel +import com.peng.pennavmap.models.postmodels.PostToken +import com.peng.pennavmap.utils.AppSharedData +import okhttp3.ResponseBody +import retrofit2.Call +import retrofit2.Callback +import retrofit2.Response +import android.util.Log + + +class PenguinNavigator() { + + fun navigateTo(mContext: Context, refID: String, delegate: RefIdDelegate,clientID : String,clientKey : String ) { + val postToken = PostToken(clientID, clientKey) + getToken(mContext, postToken, object : RefIdDelegate { + override fun onRefByIDSuccess(PoiId: String?) { + Log.e("navigateTo", "PoiId is+++++++ $PoiId") + + PlugAndPlaySDK.navigateTo(mContext, refID, object : RefIdDelegate { + override fun onRefByIDSuccess(PoiId: String?) { + Log.e("navigateTo", "PoiId 2is+++++++ $PoiId") + + delegate.onRefByIDSuccess(refID) + + } + + override fun onGetByRefIDError(error: String?) { + delegate.onRefByIDSuccess(error) + } + + }) + + + } + + override fun onGetByRefIDError(error: String?) { + delegate.onRefByIDSuccess(error) + } + + }) + + } + + fun getToken(mContext: Context, postToken: PostToken?, apiTokenCallBack: RefIdDelegate) { + try { + // Create the API call + val purposesCall: Call = ApiController.getInstance(mContext) + .apiMethods + .getToken(postToken) + + // Enqueue the call for asynchronous execution + purposesCall.enqueue(object : Callback { + override fun onResponse( + call: Call, + response: Response + ) { + if (response.isSuccessful() && response.body() != null) { + try { + response.body()?.use { responseBody -> + val responseBodyString: String = responseBody.string() // Use `string()` to get the actual response content + if (responseBodyString.isNotEmpty()) { + val tokenModel = Gson().fromJson(responseBodyString, TokenModel::class.java) + if (tokenModel != null && tokenModel.token != null) { + AppSharedData.apiToken = tokenModel.token + apiTokenCallBack.onRefByIDSuccess(tokenModel.token) + } else { + apiTokenCallBack.onGetByRefIDError("Failed to parse token model") + } + } else { + apiTokenCallBack.onGetByRefIDError("Response body is empty") + } + } + } catch (e: Exception) { + apiTokenCallBack.onGetByRefIDError("An error occurred: ${e.message}") + } + } else { + apiTokenCallBack.onGetByRefIDError("Unsuccessful response: " + response.code()) + } + } + + override fun onFailure(call: Call, t: Throwable) { + apiTokenCallBack.onGetByRefIDError(t.message) + } + }) + } catch (error: Exception) { + apiTokenCallBack.onGetByRefIDError("Exception during API call: $error") + } + } + +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/penguin/PenguinView.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/penguin/PenguinView.kt new file mode 100644 index 00000000..9f74103f --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/penguin/PenguinView.kt @@ -0,0 +1,321 @@ +package com.cloud.diplomaticquarterapp.penguin + +import android.app.Activity +import android.content.Context +import android.content.Context.RECEIVER_EXPORTED +import android.content.IntentFilter +import android.graphics.Color +import android.os.Build +import android.util.Log +import android.view.View +import android.view.ViewGroup +import android.widget.RelativeLayout +import android.widget.Toast +import androidx.annotation.RequiresApi +import com.cloud.diplomaticquarterapp.PermissionManager.PermissionHelper +import com.cloud.diplomaticquarterapp.PermissionManager.PermissionManager +import com.cloud.diplomaticquarterapp.PermissionManager.PermissionResultReceiver +import com.ejada.hmg.MainActivity +import com.peng.pennavmap.PlugAndPlayConfiguration +import com.peng.pennavmap.PlugAndPlaySDK +import com.peng.pennavmap.enums.InitializationErrorType +import com.peng.pennavmap.interfaces.PenNavUIDelegate +import com.peng.pennavmap.utils.Languages +import io.flutter.plugin.common.BinaryMessenger +import io.flutter.plugin.common.MethodCall +import io.flutter.plugin.common.MethodChannel +import io.flutter.plugin.platform.PlatformView +import com.cloud.diplomaticquarterapp.penguin.PenguinNavigator +import com.peng.pennavmap.interfaces.PIEventsDelegate +import com.peng.pennavmap.interfaces.PILocationDelegate +import com.peng.pennavmap.interfaces.RefIdDelegate +import com.peng.pennavmap.models.PIReportIssue +/** + * Custom PlatformView for displaying Penguin UI components within a Flutter app. + * Implements `PlatformView` for rendering the view, `MethodChannel.MethodCallHandler` for handling method calls, + * and `PenNavUIDelegate` for handling SDK events. + */ +@RequiresApi(Build.VERSION_CODES.O) +internal class PenguinView( + context: Context, + id: Int, + val creationParams: Map, + messenger: BinaryMessenger, + activity: MainActivity, + val channel: MethodChannel +) : PlatformView, MethodChannel.MethodCallHandler, PenNavUIDelegate { + // The layout for displaying the Penguin UI + private val mapLayout: RelativeLayout = RelativeLayout(context) + private val _context: Context = context + + private val permissionResultReceiver: PermissionResultReceiver + private val permissionIntentFilter = IntentFilter("PERMISSION_RESULT_ACTION") + + private companion object { + const val PERMISSIONS_REQUEST_CODE = 1 + } + + private lateinit var permissionManager: PermissionManager + + // Reference to the main activity + private var _activity: Activity = activity + + private lateinit var mContext: Context + + lateinit var navigator: PenguinNavigator + + init { + // Set layout parameters for the mapLayout + mapLayout.layoutParams = ViewGroup.LayoutParams( + ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT + ) + + mContext = context + + + permissionResultReceiver = PermissionResultReceiver { granted -> + if (granted) { + onPermissionsGranted() + } else { + onPermissionsDenied() + } + } + if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { + mContext.registerReceiver( + permissionResultReceiver, + permissionIntentFilter, + RECEIVER_EXPORTED + ) + } else { + mContext.registerReceiver( + permissionResultReceiver, + permissionIntentFilter, + ) + } + + // Set the background color of the layout + mapLayout.setBackgroundColor(Color.RED) + + permissionManager = PermissionManager( + context = mContext, + listener = object : PermissionManager.PermissionListener { + override fun onPermissionGranted() { + // Handle permissions granted + onPermissionsGranted() + } + + override fun onPermissionDenied() { + // Handle permissions denied + onPermissionsDenied() + } + }, + requestCode = PERMISSIONS_REQUEST_CODE, + *PermissionHelper.getRequiredPermissions() + ) + + if (!permissionManager.arePermissionsGranted()) { + permissionManager.requestPermissions(_activity) + } else { + // Permissions already granted + permissionManager.listener.onPermissionGranted() + } + + + } + + private fun onPermissionsGranted() { + // Handle the actions when permissions are granted + Log.d("PermissionsResult", "onPermissionsGranted") + // Register the platform view factory for creating custom views + + // Initialize the Penguin SDK + initPenguin() + + + } + + private fun onPermissionsDenied() { + // Handle the actions when permissions are denied + Log.d("PermissionsResult", "onPermissionsDenied") + + } + + /** + * Returns the view associated with this PlatformView. + * + * @return The main view for this PlatformView. + */ + override fun getView(): View { + return mapLayout + } + + /** + * Cleans up resources associated with this PlatformView. + */ + override fun dispose() { + // Cleanup code if needed + } + + /** + * Handles method calls from Dart code. + * + * @param call The method call from Dart. + * @param result The result callback to send responses back to Dart. + */ + override fun onMethodCall(call: MethodCall, result: MethodChannel.Result) { + // Handle method calls from Dart code here + } + + /** + * Initializes the Penguin SDK with custom configuration and delegates. + */ + private fun initPenguin() { + navigator = PenguinNavigator() + // Configure the PlugAndPlaySDK + val language = when (creationParams["languageCode"] as String) { + "ar" -> Languages.ar + "en" -> Languages.en + else -> { + Languages.en + } + } + Log.d( + "TAG", + "initPenguin: ${Languages.getLanguageEnum(creationParams["languageCode"] as String)}" + ) + PlugAndPlaySDK.configuration = PlugAndPlayConfiguration.Builder() + .setBaseUrl( + creationParams["dataURL"] as String, + creationParams["positionURL"] as String + ) + .setServiceName( + creationParams["dataServiceName"] as String, + creationParams["positionServiceName"] as String + ) + .setClientData( + creationParams["clientID"] as String, + creationParams["clientKey"] as String + ) + .setUserName(creationParams["username"] as String) +// .setLanguageID(Languages.en) + .setLanguageID(language) + .setSimulationModeEnabled(creationParams["isSimulationModeEnabled"] as Boolean) + .setEnableBackButton(true) +// .setDeepLinkData("deeplink") + .setCustomizeColor("#2CA0AF") + .setDeepLinkSchema("") + .setIsEnableReportIssue(true) + .build() + + // Set location delegate to handle location updates +// PlugAndPlaySDK.setPiLocationDelegate { + // Example code to handle location updates + // Uncomment and modify as needed + // if (location.size() > 0) + // Toast.makeText(_context, "Location Info Latitude: ${location[0]}, Longitude: ${location[1]}", Toast.LENGTH_SHORT).show() +// } + + // Set events delegate for reporting issues +// PlugAndPlaySDK.setPiEventsDelegate(new PIEventsDelegate() { +// @Override +// public void onReportIssue(PIReportIssue issue) { +// Log.e("Issue Reported: ", issue.getReportType()); +// } +// // Implement issue reporting logic here } +// @Override +// public void onSharedLocation(String link) { +// // Implement Shared location logic here +// } +// }) + + // Start the Penguin SDK + PlugAndPlaySDK.start(mContext, this) + } + + + /** + * Navigates to the specified reference ID. + * + * @param refID The reference ID to navigate to. + */ + fun navigateTo(refID: String) { + try { + if (refID.isBlank()) { + Log.e("navigateTo", "Invalid refID: The reference ID is blank.") + } +// referenceId = refID + navigator.navigateTo(mContext, refID,object : RefIdDelegate { + override fun onRefByIDSuccess(PoiId: String?) { + Log.e("navigateTo", "PoiId is penguin view+++++++ $PoiId") + +// channelFlutter.invokeMethod( +// PenguinMethod.navigateToPOI.name, +// "navigateTo Success" +// ) + } + + override fun onGetByRefIDError(error: String?) { + Log.e("navigateTo", "error is penguin view+++++++ $error") + +// channelFlutter.invokeMethod( +// PenguinMethod.navigateToPOI.name, +// "navigateTo Failed: Invalid refID" +// ) + } + } , creationParams["clientID"] as String, creationParams["clientKey"] as String ) + + } catch (e: Exception) { + Log.e("navigateTo", "Exception occurred during navigation: ${e.message}", e) +// channelFlutter.invokeMethod( +// PenguinMethod.navigateToPOI.name, +// "Failed: Exception - ${e.message}" +// ) + } + } + + /** + * Called when Penguin UI setup is successful. + * + * @param warningCode Optional warning code received from the SDK. + */ + override fun onPenNavSuccess(warningCode: String?) { + val clinicId = creationParams["clinicID"] as String + + if(clinicId.isEmpty()) return + + navigateTo(clinicId) + } + + /** + * Called when there is an initialization error with Penguin UI. + * + * @param description Description of the error. + * @param errorType Type of initialization error. + */ + override fun onPenNavInitializationError( + description: String?, + errorType: InitializationErrorType? + ) { + val arguments: Map = mapOf( + "description" to description, + "type" to errorType?.name + ) + + channel.invokeMethod(PenguinMethod.onPenNavInitializationError.name, arguments) + Toast.makeText(mContext, "Navigation Error: $description", Toast.LENGTH_SHORT).show() + } + + /** + * Called when Penguin UI is dismissed. + */ + override fun onPenNavUIDismiss() { + // Handle UI dismissal if needed + try { + mContext.unregisterReceiver(permissionResultReceiver) + dispose(); + } catch (e: IllegalArgumentException) { + Log.e("PenguinView", "Receiver not registered: $e") + } + } +} + diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/API.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/API.kt new file mode 100644 index 00000000..18338e23 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/API.kt @@ -0,0 +1,11 @@ +package com.ejada.hmg.utils + +class API { + companion object{ + private val BASE = "https://hmgwebservices.com" + private val SERVICE = "Services/Patients.svc/REST" + + val WIFI_CREDENTIALS = "$BASE/$SERVICE/Hmg_SMS_Get_By_ProjectID_And_PatientID" + val LOG_GEOFENCE = "$BASE/$SERVICE/GeoF_InsertPatientFileInfo" + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/Constants.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/Constants.kt new file mode 100644 index 00000000..86df85f4 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/Constants.kt @@ -0,0 +1,8 @@ +package com.ejada.hmg.utils + + +const val PREFS_STORAGE = "FlutterSharedPreferences" +const val PREF_KEY_SUCCESS = "HMG_GEOFENCE_SUCCESS" +const val PREF_KEY_FAILED = "HMG_GEOFENCE_FAILED" +const val PREF_KEY_HMG_ZONES = "flutter.hmg-geo-fences" +const val PREF_KEY_LANGUAGE = "flutter.language" \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/FlutterText.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/FlutterText.kt new file mode 100644 index 00000000..1a650074 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/FlutterText.kt @@ -0,0 +1,36 @@ +package com.ejada.hmg.utils + +import io.flutter.plugin.common.MethodChannel +import io.flutter.plugin.common.MethodChannel.Result + +class FlutterText{ + + companion object{ + fun with(key:String, completion:(String)->Unit){ + HMGUtils.getPlatformChannel().invokeMethod("localizedValue",key, object:MethodChannel.Result{ + override fun success(result: Any?) { + val localized = result as String? + if (localized != null){ + completion(localized) + }else{ + completion(key) + } + } + + override fun error(errorCode: String, errorMessage: String?, errorDetails: Any?) { + completion(key) + require(false){ + "'localizedValue' $errorMessage" + } + } + + override fun notImplemented() { + require(false){ + "'localizedValue' method not implemented at flutter" + } + } + + }) + } + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/HMGUtils.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/HMGUtils.kt new file mode 100644 index 00000000..57da2eb8 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/HMGUtils.kt @@ -0,0 +1,224 @@ +package com.ejada.hmg.utils + +import android.app.NotificationChannel +import android.app.NotificationManager +import android.app.PendingIntent +import android.app.job.JobInfo +import android.app.job.JobScheduler +import android.content.ComponentName +import android.content.Context +import android.content.Intent +import android.os.Build +import android.widget.Toast +import androidx.annotation.Nullable +import androidx.core.app.NotificationCompat +import androidx.core.app.TaskStackBuilder +import com.ejada.hmg.BuildConfig +import com.ejada.hmg.MainActivity +import com.ejada.hmg.R +import com.ejada.hmg.geofence.GeoZoneModel +import com.github.kittinunf.fuel.core.extensions.jsonBody +import com.github.kittinunf.fuel.httpPost +import com.google.gson.Gson +import com.google.gson.reflect.TypeToken +import io.flutter.plugin.common.MethodChannel +//import org.jetbrains.anko.doAsyncResult +import org.json.JSONArray +import org.json.JSONException +import org.json.JSONObject +import java.text.SimpleDateFormat +import java.util.* +import kotlin.concurrent.timerTask + + +class HMGUtils { + + companion object{ + private lateinit var platformChannel: MethodChannel + fun getPlatformChannel():MethodChannel{ + return platformChannel + } + fun setPlatformChannel(channel: MethodChannel){ + platformChannel = channel + } + + fun timer(delay: Long, repeat: Boolean, tick: (Timer) -> Unit) : Timer{ + val timer = Timer() + if(repeat) + timer.schedule(timerTask { + tick(timer) + }, delay, delay) + else + timer.schedule(timerTask { + tick(timer) + }, delay) + + return timer + } + + fun popMessage(context: MainActivity, message: String){ + context.runOnUiThread { + Toast.makeText(context, message, Toast.LENGTH_LONG).show() + } + } + + fun popFlutterText(context: MainActivity, key: String){ + context.runOnUiThread { + FlutterText.with(key){ + Toast.makeText(context, it, Toast.LENGTH_LONG).show() + } + } + } + + fun getLanguageCode(context: Context) : Int { + val pref = context.getSharedPreferences(PREFS_STORAGE, Context.MODE_PRIVATE) + val lang = pref.getString(PREF_KEY_LANGUAGE, "ar") + return if (lang == "ar") 2 else 1 + } + + fun defaultHTTPParams(context: Context) : Map{ + return mapOf( + "ZipCode" to "966", + "VersionID" to 5.8, + "Channel" to 3, + "LanguageID" to getLanguageCode(context), + "IPAdress" to "10.20.10.20", + "generalid" to "Cs2020@2016$2958", + "PatientOutSA" to 0, + "SessionID" to null, + "isDentalAllowedBackend" to false, + "DeviceTypeID" to 2) + } + + + fun scheduleJob(context: Context, pendingIntentClassType:Class, jobId:Int, intervalDuration:String, deadlineMillis:Long = (30 * 1000)) { // default deadline: 30 Seconds + if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.M) { + val jobScheduler: JobScheduler = context.getSystemService(JobScheduler::class.java) + + val serviceComponent = ComponentName(context, pendingIntentClassType) + val builder = JobInfo.Builder(jobId, serviceComponent) + builder.setPersisted(true) + builder.setBackoffCriteria(30000, JobInfo.BACKOFF_POLICY_LINEAR) + + val intervalMillis = timeToMillis(intervalDuration,"HH:mm:ss") + builder.setMinimumLatency(intervalMillis) // wait at least + builder.setOverrideDeadline((intervalMillis + deadlineMillis)) // maximum delay + if (jobScheduler.schedule(builder.build()) == JobScheduler.RESULT_SUCCESS){ + Logs.save(context,"ScheduleJob", "${pendingIntentClassType.simpleName}: Job scheduled to trigger after duration $intervalDuration >> HH:mm:ss --('MinimumLatency:$intervalMillis Deadline:${(intervalMillis + deadlineMillis)}')--",Logs.STATUS.SUCCESS) + }else{ + Logs.save(context,"ScheduleJob", "${pendingIntentClassType.simpleName}: Failed to scheduled Job",Logs.STATUS.ERROR) + } + + } else { + Logs.save(context,"ScheduleJob", "${pendingIntentClassType.simpleName}: Failed to scheduled Job on VERSION.SDK_INT < ${android.os.Build.VERSION_CODES.M}",Logs.STATUS.ERROR) + } + } + + } + +} + + +private const val NOTIFICATION_CHANNEL_ID = BuildConfig.APPLICATION_ID + ".channel" + + +fun timeToMillis(time:String, format:String):Long{ + val sdf = SimpleDateFormat(format, Locale.US) + val millis = sdf.parse(time).time + TimeZone.getDefault().rawOffset + return millis +} + +fun sendNotification(context: Context, title: String, @Nullable subtitle: String?, message: String?) { + val notificationManager = context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager + + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O + && notificationManager.getNotificationChannel(NOTIFICATION_CHANNEL_ID) == null) { + val name = context.getString(R.string.app_name) + val channel = NotificationChannel(NOTIFICATION_CHANNEL_ID, + name, + NotificationManager.IMPORTANCE_DEFAULT) + + notificationManager.createNotificationChannel(channel) + } + + val intent = Intent(context, MainActivity::class.java) + + val stackBuilder = TaskStackBuilder.create(context) + .addParentStack(MainActivity::class.java) + .addNextIntent(intent) + val notificationPendingIntent = stackBuilder.getPendingIntent(getUniqueId(), PendingIntent.FLAG_UPDATE_CURRENT) + + val notification = NotificationCompat.Builder(context, NOTIFICATION_CHANNEL_ID) + .setSmallIcon(R.mipmap.ic_launcher_local) + .setContentIntent(notificationPendingIntent) + .setAutoCancel(true) + .setContentTitle(title) + + subtitle.let { notification.setContentText(it) } + message.let { notification.setSubText(it) } + + notificationManager.notify(getUniqueId(), notification.build()) +} + +//------------------------- +// Open Helper Methods +//------------------------- +fun getUniqueId() = ((System.currentTimeMillis() % 10000).toInt()) + +object DateUtils { + @JvmStatic + fun dateTimeNow() : String { + val format = SimpleDateFormat("dd-MMM-yyy hh:mm:ss") + return format.format(Date()) + } +} + +fun isJSONValid(jsonString: String?): Boolean { + try { JSONObject(jsonString) } catch (ex: JSONException) { + try { JSONArray(jsonString) } catch (ex1: JSONException) { + return false + } + } + return true +} + +fun saveLog(context: Context, tag: String, message: String){ + val pref = context.getSharedPreferences(PREFS_STORAGE, Context.MODE_PRIVATE) + var logs = pref.getString("LOGS", "") + logs += "$tag -> $message \n" + pref.edit().putString("LOGS", logs).apply(); +} + +fun getLogs(context: Context) : String?{ + val pref = context.getSharedPreferences(PREFS_STORAGE, Context.MODE_PRIVATE) + return pref.getString("LOGS", "") +} + +class HTTPResponse(data: T){ + final var data:T = data +} + +fun httpPost(url: String, body: Map, onSuccess: (response: HTTPResponse) -> Unit, onError: (error: Exception) -> Unit){ + val gson = Gson() + val type = object : TypeToken() {}.type + val jsonBody = gson.toJson(body) + url.httpPost() + .jsonBody(jsonBody, Charsets.UTF_8) + .timeout(10000) + .header("Content-Type", "application/json") + .header("Allow", "*/*") + .response { request, response, result -> + result.fold({ data -> + val dataString = String(data) + if (isJSONValid(dataString)) { + val responseData = gson.fromJson(dataString, type) + onSuccess(HTTPResponse(responseData)) + } else { + onError(Exception("Invalid response from server (Not a valid JSON)")) + } + }, { + onError(it) + }) + + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/HMG_Wifi_.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/HMG_Wifi_.kt new file mode 100644 index 00000000..c01bb96a --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/HMG_Wifi_.kt @@ -0,0 +1,351 @@ +//package com.ejada.hmg.utils +// +//import android.annotation.SuppressLint +//import android.content.Context +//import android.net.ConnectivityManager +//import android.net.Network +//import android.net.NetworkCapabilities +//import android.net.NetworkRequest +//import android.net.wifi.ScanResult +//import android.net.wifi.WifiConfiguration +//import android.net.wifi.WifiManager +//import android.util.Log +//import com.ejada.hmg.utils.API +//import com.ejada.hmg.FlutterMainActivity +//import com.github.kittinunf.fuel.core.extensions.jsonBody +//import com.github.kittinunf.fuel.httpGet +//import com.github.kittinunf.fuel.httpPost +//import org.json.JSONObject +//import java.util.* +// +// +//@SuppressLint("MissingPermission") +//class HMG_Wifi_(flutterMainActivity: FlutterMainActivity) { +// val TAG = "WIFI" +// val TEST = true +// +// var context = flutterMainActivity; +// var completionListener: ((status: Boolean, message: String) -> Unit)? = null +// +// +// private var SSID = "HMG-GUEST" +// private var USER_NAME = "" +// private var PASSWORD = "" +// var NETWORK_ID = -1 // HMG-GUEST Assigned Network ID by Android +// private lateinit var PATIENT_ID:String +// /* +// * Helpful: +// * http://stackoverflow.com/questions/5452940/how-can-i-get-android-wifi-scan-results-into-a-list +// */ +// fun triggerWifiScan(context: Context) { +// val wifi = context.getSystemService(Context.WIFI_SERVICE) as WifiManager +// wifi.startScan() +// } +// +// /* +// * Helpful: +// * http://stackoverflow.com/questions/8818290/how-to-connect-to-a-specific-wifi-network-in-android-programmatically +// */ +// fun connectToWifiNetworkWith(patientId: String): HMG_Wifi_ { +// +// val connectivityManager = context.applicationContext.getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager +// +// PATIENT_ID = patientId +// +// val security = "OPEN" +// val networkPass = "" +// Log.d(TAG, "Connecting to SSID \"$SSID\" with password \"$networkPass\" and with security \"$security\" ...") +// +// // You need to create WifiConfiguration instance like this: +// val conf = WifiConfiguration() +// conf.SSID = "\"" + SSID + "\"" +// +// if (security == "OPEN") { +// conf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE) +// } else if (security == "WEP") { +// conf.wepKeys[0] = "\"" + networkPass + "\"" +// conf.wepTxKeyIndex = 0 +// conf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE) +// conf.allowedGroupCiphers.set(WifiConfiguration.GroupCipher.WEP40) +// } else { +// conf.preSharedKey = "\"" + networkPass + "\"" +// } +// +// // Then, you need to add it to Android wifi manager settings: +// val wifiManager = context.applicationContext.getSystemService(Context.WIFI_SERVICE) as WifiManager +// +// NETWORK_ID = wifiManager.addNetwork(conf) +// Log.d(TAG, "Network ID: $NETWORK_ID") +// +// //wifiManager.disconnect(); +// val result = wifiManager.enableNetwork(NETWORK_ID, true) +// //wifiManager.reconnect(); +// wifiManager.saveConfiguration() +// +// if(result == true){ +// authNetworkConnection(NETWORK_ID); +// }else{ +// completionListener?.let { it(false, "Error connecting to HMG network") } +// } +// return this +// } +// +// private var authTimer:Timer? = null +// fun authNetworkConnection(networkId: Int){ +// authTimer = Timer() +// authTimer?.scheduleAtFixedRate(object : TimerTask() { +// override fun run() { +// if (connectedNetworkId() == networkId && connectedNetworkIPAddress() > 0) { +// authServerCall() +// authTimer?.cancel() +// } +// } +// +// }, 2000, 1000) +// +// // If wifi not connected in 5 sec terminate with fail status +// Timer().schedule(object : TimerTask() { +// override fun run() { +// if (null != authTimer) { +// authTimer?.cancel() +// completionListener?.let { it(false, "Error connecting to HMG network") } +// } +// } +// }, 5000) +// +// } +// +// fun authServerCall(){ +// +// fun call(){ +// +// forceNetworkCallOverWifi() +// +// val params = listOf("cmd" to "authenticate", "password" to PASSWORD, "user" to USER_NAME) +// val serverUrl = "https://captiveportal-login.hmg.com/cgi-bin/login" +//// val serverUrl = "http://192.168.102.223/cgi-bin/login" +// serverUrl +// .httpPost(params) +// .timeout(10000) +// .response { request, response, result -> +// Log.v(TAG, response.statusCode.toString()) +// +// haveInternet { have -> +// if(have){ +// Log.v(TAG, "Connected to internet via $SSID network at HMG") +// completionListener?.let { it(true, "Successfully connected to the internet") } +// }else{ +// Log.e(TAG, "failed to connect to internet via $SSID network at HMG") +// completionListener?.let { it(false, "Authentication failed or you are already using your credentials on another device") } +// } +// } +// } +// } +// +// haveInternet { has -> +// if (has){ +// getAuthCredentials { +// call() +// } +// }else{ +// completionListener?.let { it(false, "You must have active internet connection to connect with HMG Network") } +// } +// } +// } +// +// fun haveInternet(completion: ((status: Boolean) -> Unit)){ +// if (TEST) +// completion(true) +// +// "https://captive.apple.com".httpGet().response { request, response, result -> +// val have = response.statusCode == 200 && String(response.data).contains("Success", true) +// completion(have) +// } +// } +// +// fun getAuthCredentials(completion: (() -> Unit)){ +// if (TEST){ +// USER_NAME = "2300" +// PASSWORD = "1820" +// completion() +// return +// } +// +// val jsonBody = """{"PatientID":$PATIENT_ID}""" +// API.WIFI_CREDENTIALS +// .httpPost() +// .jsonBody(jsonBody, Charsets.UTF_8) +// .response { request, response, result -> +// val jsonString = String(response.data) +// Log.d(TAG, "JSON $jsonString") +// +// if (response.statusCode == 200){ +// +// val jsonObject = JSONObject(jsonString) +// if(!jsonObject.getString("ErrorMessage").equals("null")){ +// val errorMsg = jsonObject.getString("ErrorMessage") +// completionListener?.let { it(false, errorMsg) } +// +// }else{ +// jsonObject.getJSONArray("Hmg_SMS_Get_By_ProjectID_And_PatientIDList").let { array -> +// array.getJSONObject(0).let { object_ -> +// if (object_.has("UserName") && object_.has("UserName")){ +// USER_NAME = object_.getString("UserName") +// PASSWORD = object_.getString("Password") +// completion() +// }else{ +// completionListener?.let { it(false, "Failed to get your internet credentials") } +// } +// } +// } +// } +// +// }else{ +// completionListener?.let { it(false, "Failed to get your internet credentials") } +// } +// } +// } +// +// fun forceNetworkCallOverWifi(){ +// val connectivityManager = context.applicationContext.getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager +//// val network = Network +//// connectivityManager.activeNetwork +// // Exit app if Network disappears. +// // Exit app if Network disappears. +//// val networkCapabilities: NetworkCapabilities = ConnectivityManager.from(context).getNetworkCapabilities(network) +//// val networkCapabilities: NetworkCapabilities = connectivityManager.getNetworkCapabilities(network) +// +//// if (networkCapabilities == null) { +//// return +//// } +// +// val mNetworkCallback = object : ConnectivityManager.NetworkCallback() { +// override fun onLost(lostNetwork: Network?) { +//// if (network.equals(lostNetwork)){ +//// //GlyphLayout.done(false) +//// } +// } +// } +// val builder: NetworkRequest.Builder = NetworkRequest.Builder() +//// for (transportType in networkCapabilities.getTransportTypes()) { +//// builder.addTransportType(transportType) +//// } +// connectivityManager.registerNetworkCallback(builder.build(), mNetworkCallback) +// } +// +// /* +// * Helpful: +// * http://stackoverflow.com/questions/6517314/android-wifi-connection-programmatically +// */ +// fun getScanResultSecurity(result: ScanResult): String? { +// val capabilities: String = result.capabilities +// val securityModes = arrayOf("WEP", "PSK", "EAP") +// for (securityMode in securityModes) { +// if (capabilities.contains(securityMode)) { +// return securityMode +// } +// } +// return "OPEN" +// } +// +// //connects to the given ssid +// fun connectToWPAWiFi(ssid: String, password: String){ +// +// WifiUtils.withContext(context) +// .connectWith(ssid, "") +// .setTimeout(40000) +// .onConnectionResult(object : ConnectionSuccessListener { +// override fun success() { +// Log.v(TAG,"Success") +// } +// +// override fun failed(@NonNull errorCode: ConnectionErrorCode) { +// Log.v(TAG,"Failed") +// } +// }) +// .start() +// if(isConnectedTo(ssid)){ //see if we are already connected to the given ssid +// return +// } +// +// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) { +// Log.e(TAG, "connection wifi Q") +// +// val wifiNetworkSpecifier: WifiNetworkSpecifier = WifiNetworkSpecifier.Builder() +// .setSsid(ssid) +// .setWpa2Passphrase(password) +// .build() +// +// val networkRequest: NetworkRequest = NetworkRequest.Builder() +// .addTransportType(NetworkCapabilities.TRANSPORT_WIFI) +// .setNetworkSpecifier(wifiNetworkSpecifier) +// .build() +// +// var connectivityManager = context.getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager +// var networkCallback = object : ConnectivityManager.NetworkCallback() { +// override fun onAvailable(network: Network) { +// super.onAvailable(network) +// connectivityManager.bindProcessToNetwork(network) +// Log.e(TAG, "onAvailable") +// } +// +// override fun onLosing(network: Network, maxMsToLive: Int) { +// super.onLosing(network, maxMsToLive) +// Log.e(TAG, "onLosing") +// } +// +// override fun onLost(network: Network) { +// super.onLost(network) +// Log.e(TAG, "onLosing") +// Log.e(TAG, "losing active connection") +// } +// +// override fun onUnavailable() { +// super.onUnavailable() +// Log.e(TAG, "onUnavailable") +// } +// } +// connectivityManager.requestNetwork(networkRequest, networkCallback) +// +// }else{ +// +// try { +// val wm:WifiManager= context.applicationContext.getSystemService(Context.WIFI_SERVICE) as WifiManager +// +// Log.e(TAG, "connection wifi pre Q") +// +// var netId: Int = wm.addNetwork(getWifiConfig(ssid)) +// if (netId == -1) netId = getExistingNetworkId(ssid); +// wm.saveConfiguration() +// if(wm.enableNetwork(netId, true)){ +// Log.v(TAG,"HMG-GUEST Connected") +// }else{ +// Log.v(TAG,"HMG-GUEST failed to connect") +// } +// } catch (e: Exception) { +// e.printStackTrace() +// Log.v(TAG,"HMG-GUEST failed to connect") +// } +// } +// +// } +// +// fun connectedNetworkId():Int{ +// val wm:WifiManager= context.applicationContext.getSystemService(Context.WIFI_SERVICE) as WifiManager +// return wm.connectionInfo.networkId +// } +// +// fun connectedNetworkIPAddress():Int{ +// val wm:WifiManager= context.applicationContext.getSystemService(Context.WIFI_SERVICE) as WifiManager +// return wm.connectionInfo.ipAddress +// } +// +// fun isConnectedTo(bssid: String):Boolean{ +// val wm:WifiManager= context.applicationContext.getSystemService(Context.WIFI_SERVICE) as WifiManager +// if(wm.connectionInfo.bssid == bssid){ +// return true +// } +// return false +// } +// +//} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/Logs.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/Logs.kt new file mode 100644 index 00000000..d9dc209e --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/Logs.kt @@ -0,0 +1,145 @@ +package com.ejada.hmg.utils + +import android.content.Context +import android.content.SharedPreferences +import android.os.Build +import com.ejada.hmg.BuildConfig +import com.google.gson.Gson + +class Logs { + + enum class STATUS{ + SUCCESS, + ERROR; + } + class GeofenceEvent{ + companion object{ + fun save(context: Context, tag:String, message:String, status:Logs.STATUS = STATUS.SUCCESS){ + Logs.Common.save(context,"GeofenceEvent", tag, message, status) + } + + fun list(context: Context, tag:String? = null, status:Logs.STATUS? = null):List{ + return Logs.Common.list(context,"GeofenceEvent", tag, status) + } + + fun raw(context: Context):String{ + return Logs.Common.raw(context,"GeofenceEvent") + } + } + } + + class RegisterGeofence{ + companion object{ + fun save(context: Context, tag:String, message:String, status:Logs.STATUS = STATUS.SUCCESS){ + Logs.Common.save(context,"RegisterGeofence", tag, message, status) + } + + fun list(context: Context, tag:String? = null, status:Logs.STATUS? = null):List{ + return Logs.Common.list(context,"RegisterGeofence", tag, status) + } + + fun raw(context: Context):String{ + return Logs.Common.raw(context,"RegisterGeofence"); + } + } + } + + + companion object{ + private var pref:SharedPreferences? = null + fun save(context: Context, tag:String, message:String, status:Logs.STATUS = STATUS.SUCCESS){ + Logs.Common.save(context,"Logs", tag, message, status) + } + + fun list(context: Context, tag:String? = null, status:Logs.STATUS? = null):List{ + return Logs.Common.list(context,"Logs", tag, status) + } + + fun raw(context: Context):String{ + return Logs.Common.raw(context,"Logs"); + } + + private fun storage(context: Context):SharedPreferences{ + if(pref == null) { + pref = context.getSharedPreferences(PREFS_STORAGE, Context.MODE_PRIVATE) + } + return pref!! + } + } + + private class Common{ + companion object{ + private val gson = Gson() + + fun save(context: Context, key:String, tag:String, message:String, status:Logs.STATUS = STATUS.SUCCESS){ + if(!BuildConfig.DEBUG) + return + + val pref = Logs.storage(context) + + val string = pref.getString(key,"{}") + val json = gson.fromJson(string,LogsContainerModel::class.java) + json.add( + LogModel().apply { + this.TAG = tag + this.MESSAGE = message + this.STATUS = status.name + this.DATE = DateUtils.dateTimeNow() + } + ) + + pref.edit().putString(key,gson.toJson(json)).apply() + } + + fun list(context: Context, key:String, tag:String? = null, status:Logs.STATUS? = null):List{ + val pref = Logs.storage(context) + val string = pref.getString(key,"{}") + val json = gson.fromJson(string,LogsContainerModel::class.java) + if(tag == null && status == null) { + return json.LOGS + }else if(tag != null && status != null){ + return json.LOGS.filter { (it.TAG == tag && it.STATUS == status.name) } + }else if(tag != null){ + return json.LOGS.filter { (it.TAG == tag) } + }else if(status != null){ + return json.LOGS.filter { (it.STATUS == status.name) } + } + return listOf() + } + + fun raw(context: Context, key:String):String{ + val pref = Logs.storage(context) + val string = pref.getString(key,"{}") + return string!! + } + + } + } + + class LogModel{ + lateinit var TAG:String + lateinit var MESSAGE:String + lateinit var STATUS:String + lateinit var DATE:String + + companion object{ + fun with(tag:String, message:String, status:String):LogModel{ + return LogModel().apply { + this.TAG = tag + this.MESSAGE = message + this.STATUS = status + this.DATE = DateUtils.dateTimeNow() + } + } + } + } + + class LogsContainerModel{ + var LOGS = mutableListOf() + fun add(log:LogModel){ + LOGS.add(log) + } + } + + +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/OpenTokPlatformBridge.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/OpenTokPlatformBridge.kt new file mode 100644 index 00000000..ebb04456 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/OpenTokPlatformBridge.kt @@ -0,0 +1,45 @@ +package com.ejada.hmg.utils + +import com.ejada.hmg.MainActivity +import com.ejada.hmg.opentok.OpenTok +import io.flutter.embedding.engine.FlutterEngine +import io.flutter.plugin.common.MethodCall +import io.flutter.plugin.common.MethodChannel + +class OpenTokPlatformBridge(private var flutterEngine: FlutterEngine, private var mainActivity: MainActivity) { + + private lateinit var channel: MethodChannel + private lateinit var openTok: OpenTok + + companion object { + private const val CHANNEL = "OpenTok-Platform-Bridge" + } + + fun create(){ + openTok = OpenTok(mainActivity, flutterEngine) + channel = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL) + channel.setMethodCallHandler { call: MethodCall, result: MethodChannel.Result -> + when (call.method) { + "initSession" -> { + openTok.initSession(call, result) + } + "swapCamera" -> { + openTok.swapCamera(call, result) + } + "toggleAudio" -> { + openTok.toggleAudio(call, result) + } + "toggleVideo" -> { + openTok.toggleVideo(call, result) + } + "hangupCall" -> { + openTok.hangupCall(call, result) + } + else -> { + result.notImplemented() + } + } + } + } + +} diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/PlatformBridge.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/PlatformBridge.kt new file mode 100644 index 00000000..9a66f4b3 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/utils/PlatformBridge.kt @@ -0,0 +1,199 @@ +package com.ejada.hmg.utils + +import android.content.Context +import android.content.Intent +import android.content.Intent.getIntent +import android.net.Uri +import android.os.Build +import android.os.Bundle +import android.provider.Settings +import android.widget.Toast +import androidx.core.app.ActivityCompat.startActivityForResult +import android.net.wifi.WifiManager +import android.util.Log +import com.ejada.hmg.MainActivity +import com.ejada.hmg.hmgwifi.HMG_Guest +import com.ejada.hmg.geofence.GeoZoneModel +import com.ejada.hmg.geofence.HMG_Geofence +import com.ejada.hmg.hmgwifi.WpaEnterprise +import io.flutter.embedding.engine.FlutterEngine +import io.flutter.plugin.common.MethodCall +import io.flutter.plugin.common.MethodChannel + +class PlatformBridge(private var flutterEngine: FlutterEngine, private var mainActivity: MainActivity) { + + private lateinit var channel: MethodChannel + + companion object { + private const val CHANNEL = "HMG-Platform-Bridge" + private const val HMG_INTERNET_WIFI_CONNECT_METHOD = "connectHMGInternetWifi" + private const val HMG_GUEST_WIFI_CONNECT_METHOD = "connectHMGGuestWifi" + private const val ENABLE_WIFI_IF_NOT = "enableWifiIfNot" + private const val REGISTER_HMG_GEOFENCES = "registerHmgGeofences" + private const val UN_REGISTER_HMG_GEOFENCES = "unRegisterHmgGeofences" + private const val IS_DRAW_OVER_APPS_PERMISSION_ALLOWED = "isDrawOverAppsPermissionAllowed" + private const val ASK_DRAW_OVER_APPS_PERMISSION = "askDrawOverAppsPermission" + private const val GET_INTENT = "getIntent" + } + + fun create() { + channel = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL) + HMGUtils.setPlatformChannel(channel) + channel.setMethodCallHandler { methodCall: MethodCall, result: MethodChannel.Result -> + + if (methodCall.method == HMG_INTERNET_WIFI_CONNECT_METHOD) { + connectHMGInternetWifi(methodCall, result) + + } else if (methodCall.method == HMG_GUEST_WIFI_CONNECT_METHOD) { + connectHMGGuestWifi(methodCall, result) + + } else if (methodCall.method == ENABLE_WIFI_IF_NOT) { + enableWifiIfNot(methodCall, result) + } else if (methodCall.method == REGISTER_HMG_GEOFENCES) { + registerHmgGeofences(methodCall, result) + } else if (methodCall.method == UN_REGISTER_HMG_GEOFENCES) { + unRegisterHmgGeofences(methodCall, result) + } else if (methodCall.method == IS_DRAW_OVER_APPS_PERMISSION_ALLOWED) { + isDrawOverAppsPermissionAllowed(methodCall, result) + } else if (methodCall.method == ASK_DRAW_OVER_APPS_PERMISSION) { + askDrawOverAppsPermission(methodCall, result) + } else if (methodCall.method == GET_INTENT) { + getIntentData(methodCall, result) + } else { + result.notImplemented() + } + + } + + val res = channel.invokeMethod("localizedValue", "errorConnectingHmgNetwork") + + } + + private fun connectHMGInternetWifi(methodCall: MethodCall, result: MethodChannel.Result) { + (methodCall.arguments as ArrayList<*>).let { + require(it.size == 3 && (it[0] is String) && (it[1] is String), lazyMessage = { + "Missing or invalid arguments (Must have three argument of 'String'" + }) + + val ssid = it[0].toString() + val username = it[1].toString() + val password = it[2].toString() + + WpaEnterprise(mainActivity,ssid).connect(username,password) { status, message -> + HMGUtils.timer(2000,false){ + mainActivity.runOnUiThread { + if(status) + result.success(if (status) 1 else 0) + else + result.error(message, null, null) + } + } + } + +// HMG_Internet(mainActivity) +// .connectToHMGGuestNetwork(username, password) { status, message -> +// mainActivity.runOnUiThread { +// result.success(if (status) 1 else 0) +// +// HMGUtils.popFlutterText(mainActivity, message) +// Log.v(this.javaClass.simpleName, "$status | $message") +// } +// +// } + } + } + + + private fun connectHMGGuestWifi(methodCall: MethodCall, result: MethodChannel.Result) { + (methodCall.arguments as ArrayList<*>).let { + require(it.size == 1 && (it[0] is String), lazyMessage = { + "Missing or invalid arguments (Must have one argument 'String at 0'" + }) + + val ssid = it[0].toString() + HMG_Guest(mainActivity, ssid).connectToHMGGuestNetwork { status, message -> + mainActivity.runOnUiThread { + result.success(if (status) 1 else 0) + + HMGUtils.popFlutterText(mainActivity, message) + Log.v(this.javaClass.simpleName, "$status | $message") + } + } + } + } + + private fun enableWifiIfNot(methodCall: MethodCall, result: MethodChannel.Result) { + val wm = mainActivity.applicationContext.getSystemService(Context.WIFI_SERVICE) as WifiManager? + if (wm != null) { + if (!wm.isWifiEnabled) + wm.isWifiEnabled = true + result.success(true) + } else + result.error("101", "Error while opening wifi, Please try to open wifi yourself and try again", "'WifiManager' service failed"); + } + + + private fun registerHmgGeofences(methodCall: MethodCall, result: MethodChannel.Result) { + + channel.invokeMethod("getGeoZones", null, object : MethodChannel.Result { + override fun success(result: Any?) { + if (result is String) { + val geoZones = GeoZoneModel().listFrom(result) + HMG_Geofence.shared(mainActivity).register() { s, e -> } + } + } + + override fun error(errorCode: String, errorMessage: String?, errorDetails: Any?) {} + override fun notImplemented() {} + }) + + } + + private fun unRegisterHmgGeofences(methodCall: MethodCall, result: MethodChannel.Result) { + HMG_Geofence.shared(mainActivity).unRegisterAll { status, exception -> + if (status) + result.success(true) + else + result.error("101", exception?.localizedMessage, exception); + } + } + + private fun isDrawOverAppsPermissionAllowed(methodCall: MethodCall, result: MethodChannel.Result) { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { + if ( + Settings.canDrawOverlays(mainActivity) + ) { + result.success(true) + } else { + result.success(false) + } + } else { + result.success(false) + } + } + + private fun askDrawOverAppsPermission(methodCall: MethodCall, result: MethodChannel.Result) { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { + val intent = Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION) + val uri = Uri.parse("package:" + mainActivity.getPackageName()) + intent.setData(uri) + startActivityForResult(mainActivity, intent, 102, null) + result.success(true) + } else { + result.success(false) + } + } + + private fun getIntentData(methodCall: MethodCall, result: MethodChannel.Result) { + + val bundle: Bundle? = getIntent("").extras + if (bundle != null) { + val message = bundle.getString("notification") // 1 + System.out.println("BundleExtra:" + message) + Toast.makeText(this.mainActivity, message + "", Toast.LENGTH_SHORT).show() + } else { + Toast.makeText(this.mainActivity, "Bundle Null", Toast.LENGTH_SHORT).show(); + } + result.success(true); + } +} diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/AppSignatureRetriever.java b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/AppSignatureRetriever.java new file mode 100644 index 00000000..dc65e990 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/AppSignatureRetriever.java @@ -0,0 +1,81 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +package com.cloud.hmg_patient_app.whatsapp; + +import static java.sql.DriverManager.println; + +import android.content.Context; +import android.content.ContextWrapper; +import android.content.pm.PackageManager; +import android.content.pm.Signature; +import android.util.Base64; +import java.nio.charset.StandardCharsets; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; +import java.util.Arrays; +import java.util.Collection; +import java.util.stream.Collectors; + +public class AppSignatureRetriever { + + private static final String HASH_TYPE = "SHA-256"; + public static final int NUM_HASHED_BYTES = 9; + public static final int NUM_BASE64_CHAR = 11; + + + public void logSignatures(Context context) { + Collection appSignatures = getAppSignatures(context); + appSignatures.forEach(signature -> println("Signature: " + signature)); + } + + /** + * Get all the app signatures for the current package. + * + * @return signatures for current app + */ + public Collection getAppSignatures(Context context) { + try { + // Get all package signatures for the current package + String packageName = context.getPackageName(); + println("Package name: " + packageName); + PackageManager packageManager = context.getPackageManager(); + Signature[] signatures = packageManager.getPackageInfo(packageName, + PackageManager.GET_SIGNATURES).signatures; + + // For each signature create a compatible hash + Collection appCodes = Arrays.stream(signatures) + .map(signature -> hash(packageName, signature.toCharsString())) + .collect(Collectors.toList()); + return appCodes; + } catch (PackageManager.NameNotFoundException e) { + println("Unable to find package to obtain hash."); + throw new RuntimeException("Unable to find package to obtain hash.", e); + } + + } + + private String hash(String packageName, String signature) { + String appInfo = packageName + " " + signature; + try { + MessageDigest messageDigest = MessageDigest.getInstance(HASH_TYPE); + messageDigest.update(appInfo.getBytes(StandardCharsets.UTF_8)); + byte[] hashSignature = messageDigest.digest(); + + // truncated into NUM_HASHED_BYTES + hashSignature = Arrays.copyOfRange(hashSignature, 0, NUM_HASHED_BYTES); + // encode into Base64 + String base64Hash = Base64.encodeToString(hashSignature, Base64.NO_PADDING | Base64.NO_WRAP); + base64Hash = base64Hash.substring(0, NUM_BASE64_CHAR); + + println(String.format("pkg: %s -- hash: %s", packageName, base64Hash)); + return base64Hash; + } catch (NoSuchAlgorithmException e) { + throw new RuntimeException("Unable to generate hash for application", e); + } + } +} diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/WhatsApp.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/WhatsApp.kt new file mode 100644 index 00000000..4c74a02d --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/WhatsApp.kt @@ -0,0 +1,31 @@ + +package com.cloud.hmg_patient_app.whatsapp + +import android.content.Context +import android.content.Intent +import com.whatsapp.otp.android.sdk.WhatsAppOtpHandler +import com.whatsapp.otp.android.sdk.WhatsAppOtpIncomingIntentHandler +import java.lang.ref.WeakReference + +object WhatsApp { + val whatsAppOtpHandler = WhatsAppOtpHandler() + inline fun handleOTP ( intent: Intent, crossinline validateOTP:(code: String )-> Unit) = + WhatsAppOtpIncomingIntentHandler().processOtpCode( + intent, + // call your function to validate + {code -> validateOTP(code) }, + {error,exception-> + println("the error is ${error.name}") + println("the exception stacktrace is ${exception.message}") + println("the exception is cause ${exception.cause}") + }) + + + fun performHandShake(context : WeakReference) = whatsAppOtpHandler.sendOtpIntentToWhatsApp(context.get()!!) + + + + fun isWhatsAppInstalled(context : WeakReference) : Boolean = whatsAppOtpHandler.isWhatsAppInstalled(context.get()!!) + + +} diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/WhatsAppCodeActivity.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/WhatsAppCodeActivity.kt new file mode 100644 index 00000000..c1024dd6 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/WhatsAppCodeActivity.kt @@ -0,0 +1,17 @@ +package com.cloud.hmg_patient_app.whatsapp +import android.app.PendingIntent +import android.content.Intent +import android.os.Bundle +import com.cloud.diplomaticquarterapp.whatsapp.WhatsApp +import com.cloud.diplomaticquarterapp.whatsapp.WhatsAppOtpPlatformBridge +import io.flutter.embedding.android.FlutterFragmentActivity + +class WhatsAppCodeActivity : FlutterFragmentActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + WhatsApp.handleOTP(intent){code -> + WhatsAppOtpPlatformBridge.result?.success(code); + finish() + } + } +} \ No newline at end of file diff --git a/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/WhatsAppOtpPlatformBridge.kt b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/WhatsAppOtpPlatformBridge.kt new file mode 100644 index 00000000..843b63f2 --- /dev/null +++ b/android/app/src/main/kotlin/com/cloud/hmg_patient_app/whatsapp/WhatsAppOtpPlatformBridge.kt @@ -0,0 +1,48 @@ +package com.cloud.hmg_patient_app.whatsapp + +import com.ejada.hmg.MainActivity +import io.flutter.embedding.engine.FlutterEngine +import io.flutter.plugin.common.MethodCall +import io.flutter.plugin.common.MethodChannel +import java.lang.ref.WeakReference + +class WhatsAppOtpPlatformBridge( + private var flutterEngine: FlutterEngine, + private var mainActivity: MainActivity +) { + + + private lateinit var channel: MethodChannel + + companion object { + private const val CHANNEL = "whats_app_otp" + var result: MethodChannel.Result? = null + } + + fun invoke() { + channel = MethodChannel(flutterEngine.dartExecutor.binaryMessenger, CHANNEL) + channel.setMethodCallHandler { call: MethodCall, result: MethodChannel.Result -> + when (call.method) { + "isWhatsAppInstalled" -> { + val isAppInstalled = + WhatsApp.isWhatsAppInstalled(WeakReference(mainActivity)) + result.success(isAppInstalled) + } + + "performHandShake" -> { + WhatsApp.performHandShake(WeakReference(mainActivity)) + } + + + "startListening" -> { + WhatsAppOtpPlatformBridge.result = result + } + + else -> { + result.notImplemented() + } + + } + } + } +} \ No newline at end of file diff --git a/android/app/src/main/res/drawable/app_icon.png b/android/app/src/main/res/drawable/app_icon.png new file mode 100755 index 00000000..2d394f83 Binary files /dev/null and b/android/app/src/main/res/drawable/app_icon.png differ diff --git a/android/app/src/main/res/drawable/food.png b/android/app/src/main/res/drawable/food.png new file mode 100644 index 00000000..41b394d3 Binary files /dev/null and b/android/app/src/main/res/drawable/food.png differ diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 00000000..304732f8 --- /dev/null +++ b/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/android/app/src/main/res/drawable/me.png b/android/app/src/main/res/drawable/me.png new file mode 100644 index 00000000..ba75bc55 Binary files /dev/null and b/android/app/src/main/res/drawable/me.png differ diff --git a/android/app/src/main/res/drawable/sample_large_icon.png b/android/app/src/main/res/drawable/sample_large_icon.png new file mode 100644 index 00000000..f354ca23 Binary files /dev/null and b/android/app/src/main/res/drawable/sample_large_icon.png differ diff --git a/android/app/src/main/res/drawable/secondary_icon.png b/android/app/src/main/res/drawable/secondary_icon.png new file mode 100644 index 00000000..9de9ff41 Binary files /dev/null and b/android/app/src/main/res/drawable/secondary_icon.png differ diff --git a/android/app/src/main/res/layout/activity_whats_app_code.xml b/android/app/src/main/res/layout/activity_whats_app_code.xml new file mode 100644 index 00000000..3cd824c9 --- /dev/null +++ b/android/app/src/main/res/layout/activity_whats_app_code.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/android/app/src/main/res/layout/local_video.xml b/android/app/src/main/res/layout/local_video.xml new file mode 100644 index 00000000..f47c48cd --- /dev/null +++ b/android/app/src/main/res/layout/local_video.xml @@ -0,0 +1,14 @@ + + + + + \ No newline at end of file diff --git a/android/app/src/main/res/layout/remote_video.xml b/android/app/src/main/res/layout/remote_video.xml new file mode 100644 index 00000000..cfdbeb0d --- /dev/null +++ b/android/app/src/main/res/layout/remote_video.xml @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher_local.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher_local.png new file mode 100644 index 00000000..348b5116 Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher_local.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher_local.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher_local.png new file mode 100644 index 00000000..410b1b1e Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher_local.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher_local.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_local.png new file mode 100644 index 00000000..bb9943af Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher_local.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_local.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_local.png new file mode 100644 index 00000000..0b9d9359 Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_local.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_local.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_local.png new file mode 100644 index 00000000..aaa9808d Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_local.png differ diff --git a/android/app/src/main/res/raw/keep.xml b/android/app/src/main/res/raw/keep.xml new file mode 100644 index 00000000..944a7ace --- /dev/null +++ b/android/app/src/main/res/raw/keep.xml @@ -0,0 +1,3 @@ + + \ No newline at end of file diff --git a/android/app/src/main/res/raw/slow_spring_board.mp3 b/android/app/src/main/res/raw/slow_spring_board.mp3 new file mode 100644 index 00000000..60dbf979 Binary files /dev/null and b/android/app/src/main/res/raw/slow_spring_board.mp3 differ diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml new file mode 100644 index 00000000..6c4ac3df --- /dev/null +++ b/android/app/src/main/res/values/strings.xml @@ -0,0 +1,23 @@ + + HMG Patient App + + + Unknown error: the Geofence service is not available now. + + + Geofence service is not available now. Go to Settings>Location>Mode and choose High accuracy. + + + Your app has registered too many geofences. + + + You have provided too many PendingIntents to the addGeofences() call. + + + App do not have permission to access location service. + + + Geofence requests happened too frequently. + + sk.eyJ1IjoicndhaWQiLCJhIjoiY2x6NWo0bTMzMWZodzJrcGZpemYzc3Z4dSJ9.uSSZuwNSGCcCdPAiORECmg + diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml new file mode 100644 index 00000000..1f83a33f --- /dev/null +++ b/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml new file mode 100644 index 00000000..ab5e631b --- /dev/null +++ b/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/android/build.gradle b/android/build.gradle new file mode 100644 index 00000000..1849765a --- /dev/null +++ b/android/build.gradle @@ -0,0 +1,98 @@ +buildscript { + ext.kotlin_version = '1.8.0' + +// if (System.properties['os.arch'] == "aarch64") { +// // For M1 Users we need to use the NDK 24 which added support for aarch64 +// ndkVersion = "24.0.8215888" +// } else { +// // Otherwise we default to the side-by-side NDK version from AGP. +// ndkVersion = "21.4.7075529" +// } + + repositories { + google() + jcenter() + mavenCentral() + maven { url 'https://developer.huawei.com/repo/' } + maven { + url 'https://api.mapbox.com/downloads/v2/releases/maven' + + credentials { + username = 'mapbox' + password = "sk.eyJ1IjoicndhaWQiLCJhIjoiY2x6NWo0bTMzMWZodzJrcGZpemYzc3Z4dSJ9.uSSZuwNSGCcCdPAiORECmg" +// password = "pk.eyJ1IjoicndhaWQiLCJhIjoiY2x5cGo4aHNjMGNsbTJyc2djempobGQxaSJ9.RCaC6WrUt4A4YnZNfxnONQ" + if (password == null || password == "") { + throw new GradleException("MAPBOX_DOWNLOADS_TOKEN isn't set. Set it to the project properties or to the enviroment variables.") + } + } + authentication { + basic(BasicAuthentication) + } + } + +// maven { +// url "https://dl.bintray.com/kotlin/kotlin-eap/" +// } + } + + dependencies { + classpath 'com.android.tools.build:gradle:7.1.3' +// classpath 'com.android.tools.build:gradle:8.2.1' + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" + classpath 'com.google.gms:google-services:4.3.8' +// classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1' + classpath 'com.huawei.agconnect:agcp:1.5.2.300' + classpath("com.android.tools:r8:8.2.42") + classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.12' + classpath "com.mapbox.gradle.plugins:access-token:0.4.0" + } +} + +allprojects { + repositories { + google() +// jcenter() + mavenCentral() + flatDir { + dirs 'libs' + } + maven { + url 'https://developer.huawei.com/repo/' + } + maven { + url "https://artifactory.ess-dev.com/artifactory/gradle-dev-local" + } + maven { + url 'https://api.mapbox.com/downloads/v2/releases/maven' + + credentials { + username = 'mapbox' + password = "sk.eyJ1IjoicndhaWQiLCJhIjoiY2x6NWo0bTMzMWZodzJrcGZpemYzc3Z4dSJ9.uSSZuwNSGCcCdPAiORECmg" + if (password == null || password == "") { + throw new GradleException("MAPBOX_DOWNLOADS_TOKEN isn't set. Set it to the project properties or to the enviroment variables.") + } + } + authentication { + basic(BasicAuthentication) + } + } + } +} + +rootProject.buildDir = '../build' +subprojects { + project.buildDir = "${rootProject.buildDir}/${project.name}" +} +subprojects { + project.evaluationDependsOn(':app') +} + +tasks.register("clean", Delete) { + delete rootProject.buildDir +} + +configurations.all { + resolutionStrategy { + force 'androidx.core:core-ktx:1.6.0' + } +} diff --git a/android/google-services.json b/android/google-services.json new file mode 100644 index 00000000..3707617c --- /dev/null +++ b/android/google-services.json @@ -0,0 +1,47 @@ +{ + "project_info": { + "project_number": "815750722565", + "firebase_url": "https://api-project-815750722565.firebaseio.com", + "project_id": "api-project-815750722565", + "storage_bucket": "api-project-815750722565.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:815750722565:android:62281cd3e5df4063", + "android_client_info": { + "package_name": "com.ejada.hmg" + } + }, + "oauth_client": [ + { + "client_id": "815750722565-3a0gc7neins0eoahdrimrfksk0sqice8.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDZDeWcBlRE3YfJWYt_DCiToVnANfaj8qg" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "815750722565-3a0gc7neins0eoahdrimrfksk0sqice8.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "815750722565-0cq9366orvsk5ipivq6lijcj56u03fr7.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "com.void.demo" + } + } + ] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/android/gradle.properties b/android/gradle.properties new file mode 100644 index 00000000..9efff7ab --- /dev/null +++ b/android/gradle.properties @@ -0,0 +1,8 @@ +org.gradle.jvmargs=-Xmx4096m +#android.enableR8=true +android.useAndroidX=true +android.enableJetifier=true +android.suppressUnsupportedCompileSdk=33 +MAPBOX_USER_NAME = "mapbox" +MAPBOX_DOWNLOADS_TOKEN="sk.eyJ1IjoicndhaWQiLCJhIjoiY2x6NWo0bTMzMWZodzJrcGZpemYzc3Z4dSJ9.uSSZuwNSGCcCdPAiORECmg" +#MAPBOX_DOWNLOADS_TOKEN="pk.eyJ1IjoicndhaWQiLCJhIjoiY2x5cGo4aHNjMGNsbTJyc2djempobGQxaSJ9.RCaC6WrUt4A4YnZNfxnONQ" \ No newline at end of file diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00000000..f0c638fd --- /dev/null +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Wed Jul 14 15:55:18 AST 2021 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip diff --git a/android/settings.gradle b/android/settings.gradle new file mode 100644 index 00000000..4c1c588e --- /dev/null +++ b/android/settings.gradle @@ -0,0 +1,17 @@ +include ':app' +include ':vital-sign-engine' +project(':vital-sign-engine').projectDir = new File('/Users/mohamedmekawy/Documents/Work/DiplomaticQuarter_3.16/packages/vital_sign_camera/android/libs') + +def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() + +def plugins = new Properties() +def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') +if (pluginsFile.exists()) { + pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } +} + +plugins.each { name, path -> + def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() + include ":$name" + project(":$name").projectDir = pluginDirectory +} diff --git a/android/settings_aar.gradle b/android/settings_aar.gradle new file mode 100644 index 00000000..e7b4def4 --- /dev/null +++ b/android/settings_aar.gradle @@ -0,0 +1 @@ +include ':app' diff --git a/assets/images/DQ/doctor_information_icon.svg b/assets/images/DQ/doctor_information_icon.svg new file mode 100644 index 00000000..0d0fe955 --- /dev/null +++ b/assets/images/DQ/doctor_information_icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/DQ/doctor_qualification_icon.svg b/assets/images/DQ/doctor_qualification_icon.svg new file mode 100644 index 00000000..ab4723c4 --- /dev/null +++ b/assets/images/DQ/doctor_qualification_icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/DQ/medical_card_bg.svg b/assets/images/DQ/medical_card_bg.svg new file mode 100644 index 00000000..389559af --- /dev/null +++ b/assets/images/DQ/medical_card_bg.svg @@ -0,0 +1,314 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/call_down.svg b/assets/images/call_down.svg new file mode 100644 index 00000000..bd4f7f61 --- /dev/null +++ b/assets/images/call_down.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/call_on.svg b/assets/images/call_on.svg new file mode 100644 index 00000000..2f54c0e8 --- /dev/null +++ b/assets/images/call_on.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new-design/HMG_logo.svg b/assets/images/new-design/HMG_logo.svg new file mode 100644 index 00000000..0e4895c3 --- /dev/null +++ b/assets/images/new-design/HMG_logo.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/images/new-design/alert_icon.svg b/assets/images/new-design/alert_icon.svg new file mode 100644 index 00000000..51bc9f3c --- /dev/null +++ b/assets/images/new-design/alert_icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new-design/allow.svg b/assets/images/new-design/allow.svg new file mode 100644 index 00000000..a38817f2 --- /dev/null +++ b/assets/images/new-design/allow.svg @@ -0,0 +1,6 @@ + + + + ✓ + + diff --git a/assets/images/new-design/applepay.svg b/assets/images/new-design/applepay.svg new file mode 100644 index 00000000..8e0df8c7 --- /dev/null +++ b/assets/images/new-design/applepay.svg @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new-design/calendar_reminder_red_icon.svg b/assets/images/new-design/calendar_reminder_red_icon.svg new file mode 100644 index 00000000..a4116252 --- /dev/null +++ b/assets/images/new-design/calendar_reminder_red_icon.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new-design/check_icon.svg b/assets/images/new-design/check_icon.svg new file mode 100644 index 00000000..911df584 --- /dev/null +++ b/assets/images/new-design/check_icon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new-design/covid-19-car.svg b/assets/images/new-design/covid-19-car.svg new file mode 100644 index 00000000..b5c9cb85 --- /dev/null +++ b/assets/images/new-design/covid-19-car.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new-design/delete.svg b/assets/images/new-design/delete.svg new file mode 100644 index 00000000..49b4d9d9 --- /dev/null +++ b/assets/images/new-design/delete.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new-design/ic_schedule.svg b/assets/images/new-design/ic_schedule.svg new file mode 100644 index 00000000..c6fe44a1 --- /dev/null +++ b/assets/images/new-design/ic_schedule.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/images/new-design/ionic-ios-checkmark-circle.svg b/assets/images/new-design/ionic-ios-checkmark-circle.svg new file mode 100644 index 00000000..e38612b7 --- /dev/null +++ b/assets/images/new-design/ionic-ios-checkmark-circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new-design/liveCare_logo_icon.svg b/assets/images/new-design/liveCare_logo_icon.svg new file mode 100644 index 00000000..15bdcff8 --- /dev/null +++ b/assets/images/new-design/liveCare_logo_icon.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new-design/liveCare_logo_icon_white.svg b/assets/images/new-design/liveCare_logo_icon_white.svg new file mode 100644 index 00000000..52bce9b5 --- /dev/null +++ b/assets/images/new-design/liveCare_logo_icon_white.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new-design/liveCare_logo_icon_white_check.svg b/assets/images/new-design/liveCare_logo_icon_white_check.svg new file mode 100644 index 00000000..52bce9b5 --- /dev/null +++ b/assets/images/new-design/liveCare_logo_icon_white_check.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new-design/liveCare_mobile_care.svg b/assets/images/new-design/liveCare_mobile_care.svg new file mode 100644 index 00000000..6167aa3e --- /dev/null +++ b/assets/images/new-design/liveCare_mobile_care.svg @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Online Consultation + + + + + + + + + + + + + + + + diff --git a/assets/images/new-design/passport.svg b/assets/images/new-design/passport.svg new file mode 100644 index 00000000..1e45f593 --- /dev/null +++ b/assets/images/new-design/passport.svg @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new-design/reject.svg b/assets/images/new-design/reject.svg new file mode 100644 index 00000000..d2e9b868 --- /dev/null +++ b/assets/images/new-design/reject.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new-design/switch.svg b/assets/images/new-design/switch.svg new file mode 100644 index 00000000..2283d4a2 --- /dev/null +++ b/assets/images/new-design/switch.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/new-design/track_icon.svg b/assets/images/new-design/track_icon.svg new file mode 100644 index 00000000..a4aa9a0f --- /dev/null +++ b/assets/images/new-design/track_icon.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/images/new-design/update_rocket_image.svg b/assets/images/new-design/update_rocket_image.svg new file mode 100644 index 00000000..6ce85004 --- /dev/null +++ b/assets/images/new-design/update_rocket_image.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new-design/video_icon_green_right.svg b/assets/images/new-design/video_icon_green_right.svg new file mode 100644 index 00000000..7f35ea42 --- /dev/null +++ b/assets/images/new-design/video_icon_green_right.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/Boo_ Appointment.svg b/assets/images/new/Boo_ Appointment.svg new file mode 100644 index 00000000..c25652c3 --- /dev/null +++ b/assets/images/new/Boo_ Appointment.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/CS/Family_Files.svg b/assets/images/new/CS/Family_Files.svg new file mode 100644 index 00000000..ce47d959 --- /dev/null +++ b/assets/images/new/CS/Family_Files.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/CS/Help.svg b/assets/images/new/CS/Help.svg new file mode 100644 index 00000000..31d49e71 --- /dev/null +++ b/assets/images/new/CS/Help.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/CS/My_File.svg b/assets/images/new/CS/My_File.svg new file mode 100644 index 00000000..fc5c0096 --- /dev/null +++ b/assets/images/new/CS/My_File.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/CS/Todo.svg b/assets/images/new/CS/Todo.svg new file mode 100644 index 00000000..98232af9 --- /dev/null +++ b/assets/images/new/CS/Todo.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/CS/emergency_request_CS.svg b/assets/images/new/CS/emergency_request_CS.svg new file mode 100644 index 00000000..1796a80c --- /dev/null +++ b/assets/images/new/CS/emergency_request_CS.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/CS/home_health_care_CS.svg b/assets/images/new/CS/home_health_care_CS.svg new file mode 100644 index 00000000..8cf044b1 --- /dev/null +++ b/assets/images/new/CS/home_health_care_CS.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/assets/images/new/CS/livecare_CS.svg b/assets/images/new/CS/livecare_CS.svg new file mode 100644 index 00000000..8af91e8a --- /dev/null +++ b/assets/images/new/CS/livecare_CS.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/new/CS/pharmacy_CS.svg b/assets/images/new/CS/pharmacy_CS.svg new file mode 100644 index 00000000..a3ad2b0c --- /dev/null +++ b/assets/images/new/CS/pharmacy_CS.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/assets/images/new/Comprehensive checkup.svg b/assets/images/new/Comprehensive checkup.svg new file mode 100644 index 00000000..b3f2feb1 --- /dev/null +++ b/assets/images/new/Comprehensive checkup.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/CoronaIcon.svg b/assets/images/new/CoronaIcon.svg new file mode 100644 index 00000000..c02f907b --- /dev/null +++ b/assets/images/new/CoronaIcon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/new/DriveThru.svg b/assets/images/new/DriveThru.svg new file mode 100644 index 00000000..faa727b7 --- /dev/null +++ b/assets/images/new/DriveThru.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/new/E_Referral.svg b/assets/images/new/E_Referral.svg new file mode 100644 index 00000000..fb6b8591 --- /dev/null +++ b/assets/images/new/E_Referral.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/HHC.svg b/assets/images/new/HHC.svg new file mode 100644 index 00000000..692623c2 --- /dev/null +++ b/assets/images/new/HHC.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/InPatient.svg b/assets/images/new/InPatient.svg new file mode 100644 index 00000000..d865a66c --- /dev/null +++ b/assets/images/new/InPatient.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/assets/images/new/Indoor_nav_appo.svg b/assets/images/new/Indoor_nav_appo.svg new file mode 100644 index 00000000..81bf654d --- /dev/null +++ b/assets/images/new/Indoor_nav_appo.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/Live Care.svg b/assets/images/new/Live Care.svg new file mode 100644 index 00000000..b5a367d7 --- /dev/null +++ b/assets/images/new/Live Care.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/images/new/Live_Care.svg b/assets/images/new/Live_Care.svg new file mode 100644 index 00000000..b5a367d7 --- /dev/null +++ b/assets/images/new/Live_Care.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/images/new/NFC_Hold.svg b/assets/images/new/NFC_Hold.svg new file mode 100644 index 00000000..fbfa19ea --- /dev/null +++ b/assets/images/new/NFC_Hold.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/Pharmacy.svg b/assets/images/new/Pharmacy.svg new file mode 100644 index 00000000..bdb101e5 --- /dev/null +++ b/assets/images/new/Pharmacy.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/Saudi_Riyal_Symbol.svg b/assets/images/new/Saudi_Riyal_Symbol.svg new file mode 100644 index 00000000..d57d83a1 --- /dev/null +++ b/assets/images/new/Saudi_Riyal_Symbol.svg @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/assets/images/new/WalkIn.svg b/assets/images/new/WalkIn.svg new file mode 100644 index 00000000..c60829cb --- /dev/null +++ b/assets/images/new/WalkIn.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/new/add-to-cart.svg b/assets/images/new/add-to-cart.svg new file mode 100644 index 00000000..f01f6033 --- /dev/null +++ b/assets/images/new/add-to-cart.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/add_to_cart.svg b/assets/images/new/add_to_cart.svg new file mode 100644 index 00000000..f01f6033 --- /dev/null +++ b/assets/images/new/add_to_cart.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/ancillary.svg b/assets/images/new/ancillary.svg new file mode 100644 index 00000000..bde8d0e1 --- /dev/null +++ b/assets/images/new/ancillary.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/app_setting.svg b/assets/images/new/app_setting.svg new file mode 100644 index 00000000..d97a11ac --- /dev/null +++ b/assets/images/new/app_setting.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/appointment-rating/1.svg b/assets/images/new/appointment-rating/1.svg new file mode 100644 index 00000000..8c732769 --- /dev/null +++ b/assets/images/new/appointment-rating/1.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/appointment-rating/2.svg b/assets/images/new/appointment-rating/2.svg new file mode 100644 index 00000000..60ae2909 --- /dev/null +++ b/assets/images/new/appointment-rating/2.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/appointment-rating/3.svg b/assets/images/new/appointment-rating/3.svg new file mode 100644 index 00000000..324918df --- /dev/null +++ b/assets/images/new/appointment-rating/3.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/appointment-rating/4.svg b/assets/images/new/appointment-rating/4.svg new file mode 100644 index 00000000..a983815e --- /dev/null +++ b/assets/images/new/appointment-rating/4.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/appointment-rating/5.svg b/assets/images/new/appointment-rating/5.svg new file mode 100644 index 00000000..4600b411 --- /dev/null +++ b/assets/images/new/appointment-rating/5.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/blood donation.svg b/assets/images/new/blood donation.svg new file mode 100644 index 00000000..95d0904f --- /dev/null +++ b/assets/images/new/blood donation.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/blood.svg b/assets/images/new/blood.svg new file mode 100644 index 00000000..7b1f2d0f --- /dev/null +++ b/assets/images/new/blood.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/images/new/blood_pressure.svg b/assets/images/new/blood_pressure.svg new file mode 100644 index 00000000..22cf1a2f --- /dev/null +++ b/assets/images/new/blood_pressure.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/body_parts/female/cheeks.svg b/assets/images/new/body_parts/female/cheeks.svg new file mode 100644 index 00000000..6305ce65 --- /dev/null +++ b/assets/images/new/body_parts/female/cheeks.svg @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/female/chin.svg b/assets/images/new/body_parts/female/chin.svg new file mode 100644 index 00000000..37da45b4 --- /dev/null +++ b/assets/images/new/body_parts/female/chin.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/female/ears.svg b/assets/images/new/body_parts/female/ears.svg new file mode 100644 index 00000000..758a69e6 --- /dev/null +++ b/assets/images/new/body_parts/female/ears.svg @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/female/eyebrows.svg b/assets/images/new/body_parts/female/eyebrows.svg new file mode 100644 index 00000000..9657daa7 --- /dev/null +++ b/assets/images/new/body_parts/female/eyebrows.svg @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/female/full_neck.svg b/assets/images/new/body_parts/female/full_neck.svg new file mode 100644 index 00000000..f73f07f8 --- /dev/null +++ b/assets/images/new/body_parts/female/full_neck.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/female/half_neck.svg b/assets/images/new/body_parts/female/half_neck.svg new file mode 100644 index 00000000..78e4cfab --- /dev/null +++ b/assets/images/new/body_parts/female/half_neck.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/female/hydra_facial.svg b/assets/images/new/body_parts/female/hydra_facial.svg new file mode 100644 index 00000000..6a468211 --- /dev/null +++ b/assets/images/new/body_parts/female/hydra_facial.svg @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/female/side_burn.svg b/assets/images/new/body_parts/female/side_burn.svg new file mode 100644 index 00000000..123216e7 --- /dev/null +++ b/assets/images/new/body_parts/female/side_burn.svg @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/female/upper_lips.svg b/assets/images/new/body_parts/female/upper_lips.svg new file mode 100644 index 00000000..72043376 --- /dev/null +++ b/assets/images/new/body_parts/female/upper_lips.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/male/back.svg b/assets/images/new/body_parts/male/back.svg new file mode 100644 index 00000000..7d9aeb46 --- /dev/null +++ b/assets/images/new/body_parts/male/back.svg @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/male/cheek.svg b/assets/images/new/body_parts/male/cheek.svg new file mode 100644 index 00000000..984a59f8 --- /dev/null +++ b/assets/images/new/body_parts/male/cheek.svg @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/male/chin.svg b/assets/images/new/body_parts/male/chin.svg new file mode 100644 index 00000000..9fdee93e --- /dev/null +++ b/assets/images/new/body_parts/male/chin.svg @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/male/ears.svg b/assets/images/new/body_parts/male/ears.svg new file mode 100644 index 00000000..1c9600c3 --- /dev/null +++ b/assets/images/new/body_parts/male/ears.svg @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/male/eyebrows.svg b/assets/images/new/body_parts/male/eyebrows.svg new file mode 100644 index 00000000..ea385230 --- /dev/null +++ b/assets/images/new/body_parts/male/eyebrows.svg @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/male/full_neck.svg b/assets/images/new/body_parts/male/full_neck.svg new file mode 100644 index 00000000..33b755e8 --- /dev/null +++ b/assets/images/new/body_parts/male/full_neck.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/new/body_parts/male/half_neck.svg b/assets/images/new/body_parts/male/half_neck.svg new file mode 100644 index 00000000..26b6bc32 --- /dev/null +++ b/assets/images/new/body_parts/male/half_neck.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/new/body_parts/male/hydra_facial.svg b/assets/images/new/body_parts/male/hydra_facial.svg new file mode 100644 index 00000000..10516304 --- /dev/null +++ b/assets/images/new/body_parts/male/hydra_facial.svg @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/male/side_burn.svg b/assets/images/new/body_parts/male/side_burn.svg new file mode 100644 index 00000000..156b30f1 --- /dev/null +++ b/assets/images/new/body_parts/male/side_burn.svg @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/body_parts/male/upper_lips.svg b/assets/images/new/body_parts/male/upper_lips.svg new file mode 100644 index 00000000..b7ae6e0f --- /dev/null +++ b/assets/images/new/body_parts/male/upper_lips.svg @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/book appointment.svg b/assets/images/new/book appointment.svg new file mode 100644 index 00000000..590ea8de --- /dev/null +++ b/assets/images/new/book appointment.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/bottom_nav/family_files.svg b/assets/images/new/bottom_nav/family_files.svg new file mode 100644 index 00000000..ce47d959 --- /dev/null +++ b/assets/images/new/bottom_nav/family_files.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/bottom_nav/help.svg b/assets/images/new/bottom_nav/help.svg new file mode 100644 index 00000000..31d49e71 --- /dev/null +++ b/assets/images/new/bottom_nav/help.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/bottom_nav/home.svg b/assets/images/new/bottom_nav/home.svg new file mode 100644 index 00000000..b363bbc0 --- /dev/null +++ b/assets/images/new/bottom_nav/home.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/bottom_nav/my_file.svg b/assets/images/new/bottom_nav/my_file.svg new file mode 100644 index 00000000..fc5c0096 --- /dev/null +++ b/assets/images/new/bottom_nav/my_file.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/bottom_nav/todo.svg b/assets/images/new/bottom_nav/todo.svg new file mode 100644 index 00000000..98232af9 --- /dev/null +++ b/assets/images/new/bottom_nav/todo.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/car_icon.svg b/assets/images/new/car_icon.svg new file mode 100644 index 00000000..f6062e65 --- /dev/null +++ b/assets/images/new/car_icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/cart.svg b/assets/images/new/cart.svg new file mode 100644 index 00000000..334b86ba --- /dev/null +++ b/assets/images/new/cart.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/cart_old.svg b/assets/images/new/cart_old.svg new file mode 100644 index 00000000..334b86ba --- /dev/null +++ b/assets/images/new/cart_old.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/child vaccines.svg b/assets/images/new/child vaccines.svg new file mode 100644 index 00000000..d3f38a5e --- /dev/null +++ b/assets/images/new/child vaccines.svg @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/cloud_logo.svg b/assets/images/new/cloud_logo.svg new file mode 100644 index 00000000..4cf9e0cd --- /dev/null +++ b/assets/images/new/cloud_logo.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/cloudy.svg b/assets/images/new/cloudy.svg new file mode 100644 index 00000000..88ccdf85 --- /dev/null +++ b/assets/images/new/cloudy.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/images/new/comprehensive_checkup.svg b/assets/images/new/comprehensive_checkup.svg new file mode 100644 index 00000000..b3f2feb1 --- /dev/null +++ b/assets/images/new/comprehensive_checkup.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/copy.svg b/assets/images/new/copy.svg new file mode 100644 index 00000000..c34c96d4 --- /dev/null +++ b/assets/images/new/copy.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/assets/images/new/covid drive thru.svg b/assets/images/new/covid drive thru.svg new file mode 100644 index 00000000..563de151 --- /dev/null +++ b/assets/images/new/covid drive thru.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/covid_test_drive_thru.svg b/assets/images/new/covid_test_drive_thru.svg new file mode 100644 index 00000000..563de151 --- /dev/null +++ b/assets/images/new/covid_test_drive_thru.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/direction.svg b/assets/images/new/direction.svg new file mode 100644 index 00000000..05d10bc2 --- /dev/null +++ b/assets/images/new/direction.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/download_1.svg b/assets/images/new/download_1.svg new file mode 100644 index 00000000..ea1aabff --- /dev/null +++ b/assets/images/new/download_1.svg @@ -0,0 +1,5 @@ + + + diff --git a/assets/images/new/drive-thru.svg b/assets/images/new/drive-thru.svg new file mode 100644 index 00000000..3bbb8368 --- /dev/null +++ b/assets/images/new/drive-thru.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/ear.svg b/assets/images/new/ear.svg new file mode 100644 index 00000000..c5146029 --- /dev/null +++ b/assets/images/new/ear.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/email.svg b/assets/images/new/email.svg new file mode 100644 index 00000000..642db68a --- /dev/null +++ b/assets/images/new/email.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/emergency.svg b/assets/images/new/emergency.svg new file mode 100644 index 00000000..a1a0178a --- /dev/null +++ b/assets/images/new/emergency.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/emergency_services.svg b/assets/images/new/emergency_services.svg new file mode 100644 index 00000000..ab63f29b --- /dev/null +++ b/assets/images/new/emergency_services.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/emergency_services_back.svg b/assets/images/new/emergency_services_back.svg new file mode 100644 index 00000000..13d9f2d2 --- /dev/null +++ b/assets/images/new/emergency_services_back.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/empty.svg b/assets/images/new/empty.svg new file mode 100644 index 00000000..6a0ddab4 --- /dev/null +++ b/assets/images/new/empty.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/new/family_files.svg b/assets/images/new/family_files.svg new file mode 100644 index 00000000..ce3c5c84 --- /dev/null +++ b/assets/images/new/family_files.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/h2o.svg b/assets/images/new/h2o.svg new file mode 100644 index 00000000..cab6a705 --- /dev/null +++ b/assets/images/new/h2o.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/head.svg b/assets/images/new/head.svg new file mode 100644 index 00000000..50da3a8d --- /dev/null +++ b/assets/images/new/head.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/health calculator.svg b/assets/images/new/health calculator.svg new file mode 100644 index 00000000..ac73e868 --- /dev/null +++ b/assets/images/new/health calculator.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/assets/images/new/health converter.svg b/assets/images/new/health converter.svg new file mode 100644 index 00000000..961adc51 --- /dev/null +++ b/assets/images/new/health converter.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/assets/images/new/heart_rate.svg b/assets/images/new/heart_rate.svg new file mode 100644 index 00000000..fe476c3c --- /dev/null +++ b/assets/images/new/heart_rate.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/height.svg b/assets/images/new/height.svg new file mode 100644 index 00000000..6ee1bef1 --- /dev/null +++ b/assets/images/new/height.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/hmg_icon.svg b/assets/images/new/hmg_icon.svg new file mode 100644 index 00000000..e09967e2 --- /dev/null +++ b/assets/images/new/hmg_icon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/hospital-visit.svg b/assets/images/new/hospital-visit.svg new file mode 100644 index 00000000..df4d481a --- /dev/null +++ b/assets/images/new/hospital-visit.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/hourglass.svg b/assets/images/new/hourglass.svg new file mode 100644 index 00000000..564ff289 --- /dev/null +++ b/assets/images/new/hourglass.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/ic_zoom.svg b/assets/images/new/ic_zoom.svg new file mode 100644 index 00000000..f7449eeb --- /dev/null +++ b/assets/images/new/ic_zoom.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/indoor_nav_home.svg b/assets/images/new/indoor_nav_home.svg new file mode 100644 index 00000000..bfe32eec --- /dev/null +++ b/assets/images/new/indoor_nav_home.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/images/new/inpatient/admission.svg b/assets/images/new/inpatient/admission.svg new file mode 100644 index 00000000..3c946928 --- /dev/null +++ b/assets/images/new/inpatient/admission.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/inpatient/admission_notice.svg b/assets/images/new/inpatient/admission_notice.svg new file mode 100644 index 00000000..befcf08f --- /dev/null +++ b/assets/images/new/inpatient/admission_notice.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/assets/images/new/inpatient/advance_payment.svg b/assets/images/new/inpatient/advance_payment.svg new file mode 100644 index 00000000..fe41e6ef --- /dev/null +++ b/assets/images/new/inpatient/advance_payment.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/new/inpatient/birth_notification.svg b/assets/images/new/inpatient/birth_notification.svg new file mode 100644 index 00000000..7e0c720e --- /dev/null +++ b/assets/images/new/inpatient/birth_notification.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/images/new/inpatient/general_instructions.svg b/assets/images/new/inpatient/general_instructions.svg new file mode 100644 index 00000000..9f42040d --- /dev/null +++ b/assets/images/new/inpatient/general_instructions.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/inpatient/help_pro.svg b/assets/images/new/inpatient/help_pro.svg new file mode 100644 index 00000000..90b7f300 --- /dev/null +++ b/assets/images/new/inpatient/help_pro.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/inpatient/meal_plan.svg b/assets/images/new/inpatient/meal_plan.svg new file mode 100644 index 00000000..e5fd1e58 --- /dev/null +++ b/assets/images/new/inpatient/meal_plan.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/images/new/inpatient/medical_instructions.svg b/assets/images/new/inpatient/medical_instructions.svg new file mode 100644 index 00000000..dc060b34 --- /dev/null +++ b/assets/images/new/inpatient/medical_instructions.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/inpatient/receive_prescription.svg b/assets/images/new/inpatient/receive_prescription.svg new file mode 100644 index 00000000..21cadf7c --- /dev/null +++ b/assets/images/new/inpatient/receive_prescription.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/latest news.svg b/assets/images/new/latest news.svg new file mode 100644 index 00000000..5b9cd805 --- /dev/null +++ b/assets/images/new/latest news.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/logo.svg b/assets/images/new/logo.svg new file mode 100644 index 00000000..e777d9ee --- /dev/null +++ b/assets/images/new/logo.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/logout.svg b/assets/images/new/logout.svg new file mode 100644 index 00000000..b767fbff --- /dev/null +++ b/assets/images/new/logout.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/mass/health_BMI.svg b/assets/images/new/mass/health_BMI.svg new file mode 100644 index 00000000..081110d8 --- /dev/null +++ b/assets/images/new/mass/health_BMI.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/medical file.svg b/assets/images/new/medical file.svg new file mode 100644 index 00000000..0849b7a0 --- /dev/null +++ b/assets/images/new/medical file.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/medical_file.svg b/assets/images/new/medical_file.svg new file mode 100644 index 00000000..7130396a --- /dev/null +++ b/assets/images/new/medical_file.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/medical_instructions.svg b/assets/images/new/medical_instructions.svg new file mode 100644 index 00000000..dc060b34 --- /dev/null +++ b/assets/images/new/medical_instructions.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/menu.svg b/assets/images/new/menu.svg new file mode 100644 index 00000000..05654cdb --- /dev/null +++ b/assets/images/new/menu.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/my family.svg b/assets/images/new/my family.svg new file mode 100644 index 00000000..41d0b8a9 --- /dev/null +++ b/assets/images/new/my family.svg @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/national_id.svg b/assets/images/new/national_id.svg new file mode 100644 index 00000000..a76fd982 --- /dev/null +++ b/assets/images/new/national_id.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/not_found.svg b/assets/images/new/not_found.svg new file mode 100644 index 00000000..80aed53a --- /dev/null +++ b/assets/images/new/not_found.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/notifications.svg b/assets/images/new/notifications.svg new file mode 100644 index 00000000..5866a81b --- /dev/null +++ b/assets/images/new/notifications.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/parking details.svg b/assets/images/new/parking details.svg new file mode 100644 index 00000000..dc25eb0e --- /dev/null +++ b/assets/images/new/parking details.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/passport.svg b/assets/images/new/passport.svg new file mode 100644 index 00000000..883287fb --- /dev/null +++ b/assets/images/new/passport.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/assets/images/new/payment.svg b/assets/images/new/payment.svg new file mode 100644 index 00000000..c49fee35 --- /dev/null +++ b/assets/images/new/payment.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/payment/Apple_Pay.svg b/assets/images/new/payment/Apple_Pay.svg new file mode 100755 index 00000000..0c6ecafe --- /dev/null +++ b/assets/images/new/payment/Apple_Pay.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/payment/instalmt.svg b/assets/images/new/payment/instalmt.svg new file mode 100644 index 00000000..76fe7a0a --- /dev/null +++ b/assets/images/new/payment/instalmt.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/images/new/pendingPayment.svg b/assets/images/new/pendingPayment.svg new file mode 100644 index 00000000..79f29f05 --- /dev/null +++ b/assets/images/new/pendingPayment.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/pharma.svg b/assets/images/new/pharma.svg new file mode 100644 index 00000000..c3071ac4 --- /dev/null +++ b/assets/images/new/pharma.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/images/new/pharmaicon.svg b/assets/images/new/pharmaicon.svg new file mode 100644 index 00000000..af0f0e29 --- /dev/null +++ b/assets/images/new/pharmaicon.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/images/new/qr_code.svg b/assets/images/new/qr_code.svg new file mode 100644 index 00000000..a8674f00 --- /dev/null +++ b/assets/images/new/qr_code.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/reach us.svg b/assets/images/new/reach us.svg new file mode 100644 index 00000000..b4634170 --- /dev/null +++ b/assets/images/new/reach us.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/reach_us.svg b/assets/images/new/reach_us.svg new file mode 100644 index 00000000..b4634170 --- /dev/null +++ b/assets/images/new/reach_us.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/red-star.svg b/assets/images/new/red-star.svg new file mode 100644 index 00000000..12631b05 --- /dev/null +++ b/assets/images/new/red-star.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + image/svg+xml + + + + + Openclipart + + + red star + 2010-12-31T17:15:10 + + https://openclipart.org/detail/102793/red-star-by-worker + + + worker + + + + + red + revolution + socialism + star + + + + + + + + + + + diff --git a/assets/images/new/referral.svg b/assets/images/new/referral.svg new file mode 100644 index 00000000..fb6b8591 --- /dev/null +++ b/assets/images/new/referral.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/respiration_rate.svg b/assets/images/new/respiration_rate.svg new file mode 100644 index 00000000..f544f547 --- /dev/null +++ b/assets/images/new/respiration_rate.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/services/active_medication.svg b/assets/images/new/services/active_medication.svg new file mode 100644 index 00000000..aa6eeaea --- /dev/null +++ b/assets/images/new/services/active_medication.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/services/add_reminder.svg b/assets/images/new/services/add_reminder.svg new file mode 100644 index 00000000..5866a81b --- /dev/null +++ b/assets/images/new/services/add_reminder.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/services/allergies_diagnosed.svg b/assets/images/new/services/allergies_diagnosed.svg new file mode 100644 index 00000000..258658c8 --- /dev/null +++ b/assets/images/new/services/allergies_diagnosed.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/services/ancillary.svg b/assets/images/new/services/ancillary.svg new file mode 100644 index 00000000..bde8d0e1 --- /dev/null +++ b/assets/images/new/services/ancillary.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/services/appointment_list.svg b/assets/images/new/services/appointment_list.svg new file mode 100644 index 00000000..40f61dea --- /dev/null +++ b/assets/images/new/services/appointment_list.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/services/ask_doctor.svg b/assets/images/new/services/ask_doctor.svg new file mode 100644 index 00000000..90b7f300 --- /dev/null +++ b/assets/images/new/services/ask_doctor.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/services/balance_credit.svg b/assets/images/new/services/balance_credit.svg new file mode 100644 index 00000000..268f284f --- /dev/null +++ b/assets/images/new/services/balance_credit.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/assets/images/new/services/bmi.svg b/assets/images/new/services/bmi.svg new file mode 100644 index 00000000..ce3be188 --- /dev/null +++ b/assets/images/new/services/bmi.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/services/bmr_calc.svg b/assets/images/new/services/bmr_calc.svg new file mode 100644 index 00000000..991cdd08 --- /dev/null +++ b/assets/images/new/services/bmr_calc.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/services/body_fat_calc.svg b/assets/images/new/services/body_fat_calc.svg new file mode 100644 index 00000000..552715b9 --- /dev/null +++ b/assets/images/new/services/body_fat_calc.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/services/calories_calc.svg b/assets/images/new/services/calories_calc.svg new file mode 100644 index 00000000..2d4de2fa --- /dev/null +++ b/assets/images/new/services/calories_calc.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/assets/images/new/services/carbs_proteitn_fat.svg b/assets/images/new/services/carbs_proteitn_fat.svg new file mode 100644 index 00000000..ba1c7005 --- /dev/null +++ b/assets/images/new/services/carbs_proteitn_fat.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/services/chatbot.svg b/assets/images/new/services/chatbot.svg new file mode 100644 index 00000000..cf2a5092 --- /dev/null +++ b/assets/images/new/services/chatbot.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/services/cholesterol.svg b/assets/images/new/services/cholesterol.svg new file mode 100644 index 00000000..e5686e15 --- /dev/null +++ b/assets/images/new/services/cholesterol.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/services/contactless.svg b/assets/images/new/services/contactless.svg new file mode 100644 index 00000000..4eb2d478 --- /dev/null +++ b/assets/images/new/services/contactless.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/new/services/delivery.svg b/assets/images/new/services/delivery.svg new file mode 100644 index 00000000..2b350b8b --- /dev/null +++ b/assets/images/new/services/delivery.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/services/eye_measurement.svg b/assets/images/new/services/eye_measurement.svg new file mode 100644 index 00000000..563329c5 --- /dev/null +++ b/assets/images/new/services/eye_measurement.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/assets/images/new/services/fat.svg b/assets/images/new/services/fat.svg new file mode 100644 index 00000000..552715b9 --- /dev/null +++ b/assets/images/new/services/fat.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/services/hosp_location.svg b/assets/images/new/services/hosp_location.svg new file mode 100644 index 00000000..4d55f56b --- /dev/null +++ b/assets/images/new/services/hosp_location.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/services/ideal_weight_calc.svg b/assets/images/new/services/ideal_weight_calc.svg new file mode 100644 index 00000000..60d7ecbe --- /dev/null +++ b/assets/images/new/services/ideal_weight_calc.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/services/insurance_approval.svg b/assets/images/new/services/insurance_approval.svg new file mode 100644 index 00000000..f6a5885f --- /dev/null +++ b/assets/images/new/services/insurance_approval.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/services/insurance_card.svg b/assets/images/new/services/insurance_card.svg new file mode 100644 index 00000000..81d91b5e --- /dev/null +++ b/assets/images/new/services/insurance_card.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/images/new/services/internet_connection.svg b/assets/images/new/services/internet_connection.svg new file mode 100644 index 00000000..09176400 --- /dev/null +++ b/assets/images/new/services/internet_connection.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/services/invoice_list.svg b/assets/images/new/services/invoice_list.svg new file mode 100644 index 00000000..18fe134f --- /dev/null +++ b/assets/images/new/services/invoice_list.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/services/lab_result.svg b/assets/images/new/services/lab_result.svg new file mode 100644 index 00000000..e8507595 --- /dev/null +++ b/assets/images/new/services/lab_result.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/services/location.svg b/assets/images/new/services/location.svg new file mode 100644 index 00000000..e727476f --- /dev/null +++ b/assets/images/new/services/location.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/new/services/medical_instructions.svg b/assets/images/new/services/medical_instructions.svg new file mode 100644 index 00000000..dc060b34 --- /dev/null +++ b/assets/images/new/services/medical_instructions.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/services/medical_report.svg b/assets/images/new/services/medical_report.svg new file mode 100644 index 00000000..186af7a6 --- /dev/null +++ b/assets/images/new/services/medical_report.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/new/services/medicine_prescription.svg b/assets/images/new/services/medicine_prescription.svg new file mode 100644 index 00000000..21cadf7c --- /dev/null +++ b/assets/images/new/services/medicine_prescription.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/services/monthly_report.svg b/assets/images/new/services/monthly_report.svg new file mode 100644 index 00000000..d218855a --- /dev/null +++ b/assets/images/new/services/monthly_report.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/new/services/my_doc.svg b/assets/images/new/services/my_doc.svg new file mode 100644 index 00000000..8bec48a5 --- /dev/null +++ b/assets/images/new/services/my_doc.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/services/online_payment.svg b/assets/images/new/services/online_payment.svg new file mode 100644 index 00000000..238417d8 --- /dev/null +++ b/assets/images/new/services/online_payment.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/services/ovulation.svg b/assets/images/new/services/ovulation.svg new file mode 100644 index 00000000..29650a70 --- /dev/null +++ b/assets/images/new/services/ovulation.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/services/pendingPayment.svg b/assets/images/new/services/pendingPayment.svg new file mode 100644 index 00000000..79f29f05 --- /dev/null +++ b/assets/images/new/services/pendingPayment.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/services/qr_code.svg b/assets/images/new/services/qr_code.svg new file mode 100644 index 00000000..55b70919 --- /dev/null +++ b/assets/images/new/services/qr_code.svg @@ -0,0 +1,2 @@ + + diff --git a/assets/images/new/services/radiology.svg b/assets/images/new/services/radiology.svg new file mode 100644 index 00000000..8f1d8a46 --- /dev/null +++ b/assets/images/new/services/radiology.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/services/raise_comp.svg b/assets/images/new/services/raise_comp.svg new file mode 100644 index 00000000..74a87bae --- /dev/null +++ b/assets/images/new/services/raise_comp.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/services/reminder_icon.svg b/assets/images/new/services/reminder_icon.svg new file mode 100644 index 00000000..9d73af2d --- /dev/null +++ b/assets/images/new/services/reminder_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/new/services/reschedule.svg b/assets/images/new/services/reschedule.svg new file mode 100644 index 00000000..28dbc920 --- /dev/null +++ b/assets/images/new/services/reschedule.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/services/sick_leave.svg b/assets/images/new/services/sick_leave.svg new file mode 100644 index 00000000..4d8eea5d --- /dev/null +++ b/assets/images/new/services/sick_leave.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/services/smart_watch.svg b/assets/images/new/services/smart_watch.svg new file mode 100644 index 00000000..236f64b4 --- /dev/null +++ b/assets/images/new/services/smart_watch.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/images/new/services/sugar-blood-level.svg b/assets/images/new/services/sugar-blood-level.svg new file mode 100644 index 00000000..f1c103f7 --- /dev/null +++ b/assets/images/new/services/sugar-blood-level.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/new/services/survey.svg b/assets/images/new/services/survey.svg new file mode 100644 index 00000000..69fb7ad0 --- /dev/null +++ b/assets/images/new/services/survey.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/images/new/services/tracker.svg b/assets/images/new/services/tracker.svg new file mode 100644 index 00000000..7d727cee --- /dev/null +++ b/assets/images/new/services/tracker.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/new/services/vaccine_list.svg b/assets/images/new/services/vaccine_list.svg new file mode 100644 index 00000000..7096feb3 --- /dev/null +++ b/assets/images/new/services/vaccine_list.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/services/vital_signs.svg b/assets/images/new/services/vital_signs.svg new file mode 100644 index 00000000..fe476c3c --- /dev/null +++ b/assets/images/new/services/vital_signs.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/new/smart watch.svg b/assets/images/new/smart watch.svg new file mode 100644 index 00000000..0667e31d --- /dev/null +++ b/assets/images/new/smart watch.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/images/new/strips.svg b/assets/images/new/strips.svg new file mode 100644 index 00000000..d93430bc --- /dev/null +++ b/assets/images/new/strips.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/new/tap.svg b/assets/images/new/tap.svg new file mode 100644 index 00000000..cf73ddde --- /dev/null +++ b/assets/images/new/tap.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/temperature.svg b/assets/images/new/temperature.svg new file mode 100644 index 00000000..3330c310 --- /dev/null +++ b/assets/images/new/temperature.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/images/new/todo.svg b/assets/images/new/todo.svg new file mode 100644 index 00000000..be869c1d --- /dev/null +++ b/assets/images/new/todo.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/tooth.svg b/assets/images/new/tooth.svg new file mode 100644 index 00000000..2b2e3430 --- /dev/null +++ b/assets/images/new/tooth.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/new/ultrasound.svg b/assets/images/new/ultrasound.svg new file mode 100644 index 00000000..bc434530 --- /dev/null +++ b/assets/images/new/ultrasound.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/images/new/update insurance card.svg b/assets/images/new/update insurance card.svg new file mode 100644 index 00000000..0139e27d --- /dev/null +++ b/assets/images/new/update insurance card.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new/verify_face.svg b/assets/images/new/verify_face.svg new file mode 100644 index 00000000..e50d1a60 --- /dev/null +++ b/assets/images/new/verify_face.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/verify_sms.svg b/assets/images/new/verify_sms.svg new file mode 100644 index 00000000..ae5fa9f7 --- /dev/null +++ b/assets/images/new/verify_sms.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/assets/images/new/verify_thumb.svg b/assets/images/new/verify_thumb.svg new file mode 100644 index 00000000..e626bafc --- /dev/null +++ b/assets/images/new/verify_thumb.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/verify_whatsapp.svg b/assets/images/new/verify_whatsapp.svg new file mode 100644 index 00000000..09ac85c9 --- /dev/null +++ b/assets/images/new/verify_whatsapp.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/images/new/virtual tour.svg b/assets/images/new/virtual tour.svg new file mode 100644 index 00000000..733f433e --- /dev/null +++ b/assets/images/new/virtual tour.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/images/new/virtual.svg b/assets/images/new/virtual.svg new file mode 100644 index 00000000..d0819a89 --- /dev/null +++ b/assets/images/new/virtual.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/images/new/waitingAppo.svg b/assets/images/new/waitingAppo.svg new file mode 100644 index 00000000..c9bd0096 --- /dev/null +++ b/assets/images/new/waitingAppo.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/new/weight.svg b/assets/images/new/weight.svg new file mode 100644 index 00000000..013e6450 --- /dev/null +++ b/assets/images/new/weight.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/new/workplace-icon.svg b/assets/images/new/workplace-icon.svg new file mode 100644 index 00000000..4a2c73a0 --- /dev/null +++ b/assets/images/new/workplace-icon.svg @@ -0,0 +1 @@ +workplace \ No newline at end of file diff --git a/assets/images/nfc/contactless.svg b/assets/images/nfc/contactless.svg new file mode 100644 index 00000000..4eb2d478 --- /dev/null +++ b/assets/images/nfc/contactless.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/images/pharmacy/arrow_left.svg b/assets/images/pharmacy/arrow_left.svg new file mode 100644 index 00000000..00fa7556 --- /dev/null +++ b/assets/images/pharmacy/arrow_left.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/pharmacy/arrow_right.svg b/assets/images/pharmacy/arrow_right.svg new file mode 100644 index 00000000..b4243287 --- /dev/null +++ b/assets/images/pharmacy/arrow_right.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/pharmacy/call.svg b/assets/images/pharmacy/call.svg new file mode 100644 index 00000000..677d4123 --- /dev/null +++ b/assets/images/pharmacy/call.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/images/pharmacy/check_icon.svg b/assets/images/pharmacy/check_icon.svg new file mode 100644 index 00000000..cfa4f441 --- /dev/null +++ b/assets/images/pharmacy/check_icon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/pharmacy/contact_us_icon.svg b/assets/images/pharmacy/contact_us_icon.svg new file mode 100644 index 00000000..fa591d47 --- /dev/null +++ b/assets/images/pharmacy/contact_us_icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/pharmacy/credit_card_icon.svg b/assets/images/pharmacy/credit_card_icon.svg new file mode 100644 index 00000000..9ba6c2bf --- /dev/null +++ b/assets/images/pharmacy/credit_card_icon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/pharmacy/empty_box.svg b/assets/images/pharmacy/empty_box.svg new file mode 100644 index 00000000..05816608 --- /dev/null +++ b/assets/images/pharmacy/empty_box.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/assets/images/pharmacy/lakum_icon.svg b/assets/images/pharmacy/lakum_icon.svg new file mode 100644 index 00000000..e2b223de --- /dev/null +++ b/assets/images/pharmacy/lakum_icon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/pharmacy/location.svg b/assets/images/pharmacy/location.svg new file mode 100644 index 00000000..a52cc72e --- /dev/null +++ b/assets/images/pharmacy/location.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/pharmacy/medication_refill_icon.svg b/assets/images/pharmacy/medication_refill_icon.svg new file mode 100644 index 00000000..d5951130 --- /dev/null +++ b/assets/images/pharmacy/medication_refill_icon.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/pharmacy/mobile_number_icon.svg b/assets/images/pharmacy/mobile_number_icon.svg new file mode 100644 index 00000000..d98aaf29 --- /dev/null +++ b/assets/images/pharmacy/mobile_number_icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/pharmacy/my_family_icon.svg b/assets/images/pharmacy/my_family_icon.svg new file mode 100644 index 00000000..838b357e --- /dev/null +++ b/assets/images/pharmacy/my_family_icon.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/pharmacy/my_prescription_icon.svg b/assets/images/pharmacy/my_prescription_icon.svg new file mode 100644 index 00000000..bda0e22e --- /dev/null +++ b/assets/images/pharmacy/my_prescription_icon.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/pharmacy/orders_icon.svg b/assets/images/pharmacy/orders_icon.svg new file mode 100644 index 00000000..f09ae19d --- /dev/null +++ b/assets/images/pharmacy/orders_icon.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/pharmacy/our_locations_icon.svg b/assets/images/pharmacy/our_locations_icon.svg new file mode 100644 index 00000000..2be16631 --- /dev/null +++ b/assets/images/pharmacy/our_locations_icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/assets/images/pharmacy/quote_end.svg b/assets/images/pharmacy/quote_end.svg new file mode 100644 index 00000000..083ff39a --- /dev/null +++ b/assets/images/pharmacy/quote_end.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/pharmacy/quote_start.svg b/assets/images/pharmacy/quote_start.svg new file mode 100644 index 00000000..74216f14 --- /dev/null +++ b/assets/images/pharmacy/quote_start.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/images/pharmacy/review_icon.svg b/assets/images/pharmacy/review_icon.svg new file mode 100644 index 00000000..bb826f21 --- /dev/null +++ b/assets/images/pharmacy/review_icon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/pharmacy/shipping_addresses_icon.svg b/assets/images/pharmacy/shipping_addresses_icon.svg new file mode 100644 index 00000000..ebb8692f --- /dev/null +++ b/assets/images/pharmacy/shipping_addresses_icon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/pharmacy/shipping_mark_icon.svg b/assets/images/pharmacy/shipping_mark_icon.svg new file mode 100644 index 00000000..5cf9606b --- /dev/null +++ b/assets/images/pharmacy/shipping_mark_icon.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/assets/images/pharmacy/shipping_truck_icon.svg b/assets/images/pharmacy/shipping_truck_icon.svg new file mode 100644 index 00000000..8ffda974 --- /dev/null +++ b/assets/images/pharmacy/shipping_truck_icon.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/pharmacy/success_review_icon.svg b/assets/images/pharmacy/success_review_icon.svg new file mode 100644 index 00000000..f6951456 --- /dev/null +++ b/assets/images/pharmacy/success_review_icon.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/pharmacy/whatsapp.svg b/assets/images/pharmacy/whatsapp.svg new file mode 100644 index 00000000..ee18370c --- /dev/null +++ b/assets/images/pharmacy/whatsapp.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/images/pharmacy/wishlist_icon.svg b/assets/images/pharmacy/wishlist_icon.svg new file mode 100644 index 00000000..910a3ab8 --- /dev/null +++ b/assets/images/pharmacy/wishlist_icon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/images/svg/HMC.svg b/assets/images/svg/HMC.svg new file mode 100644 index 00000000..a127cd98 --- /dev/null +++ b/assets/images/svg/HMC.svg @@ -0,0 +1,8 @@ + + + + diff --git a/assets/images/svg/HMG.svg b/assets/images/svg/HMG.svg new file mode 100644 index 00000000..7b199bf5 --- /dev/null +++ b/assets/images/svg/HMG.svg @@ -0,0 +1,8 @@ + + + + diff --git a/assets/images/svg/location.svg b/assets/images/svg/location.svg new file mode 100644 index 00000000..19b8bd30 --- /dev/null +++ b/assets/images/svg/location.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/assets/images/svg/robort_svg.svg b/assets/images/svg/robort_svg.svg new file mode 100644 index 00000000..8b4875a1 --- /dev/null +++ b/assets/images/svg/robort_svg.svg @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/svg/success.svg b/assets/images/svg/success.svg new file mode 100644 index 00000000..343589bd --- /dev/null +++ b/assets/images/svg/success.svg @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/svg/tamara.svg b/assets/images/svg/tamara.svg new file mode 100644 index 00000000..714a8083 --- /dev/null +++ b/assets/images/svg/tamara.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ios/.gitignore b/ios/.gitignore new file mode 100644 index 00000000..04b5cf29 --- /dev/null +++ b/ios/.gitignore @@ -0,0 +1,33 @@ +*.mode1v3 +*.mode2v3 +*.moved-aside +*.pbxuser +*.perspectivev3 +**/*sync/ +.sconsign.dblite +.tags* +**/.vagrant/ +**/DerivedData/ +Icon? +**/Pods/ +**/.symlinks/ +profile +xcuserdata +**/.generated/ +Flutter/App.framework +Flutter/Flutter.framework +Flutter/Flutter.podspec +Flutter/Generated.xcconfig +Flutter/app.flx +Flutter/app.zip +Flutter/flutter_assets/ +Flutter/flutter_export_environment.sh +ServiceDefinitions.json +Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!default.mode1v3 +!default.mode2v3 +!default.pbxuser +!default.perspectivev3 +/Flutter/.last_build_id diff --git a/ios/Flutter/AppFrameworkInfo.plist b/ios/Flutter/AppFrameworkInfo.plist new file mode 100644 index 00000000..c5ff5d37 --- /dev/null +++ b/ios/Flutter/AppFrameworkInfo.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + App + CFBundleIdentifier + io.flutter.flutter.app + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + App + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + MinimumOSVersion + 13.0 + + diff --git a/ios/Flutter/Debug.xcconfig b/ios/Flutter/Debug.xcconfig new file mode 100644 index 00000000..e8efba11 --- /dev/null +++ b/ios/Flutter/Debug.xcconfig @@ -0,0 +1,2 @@ +#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" +#include "Generated.xcconfig" diff --git a/ios/Flutter/Release.xcconfig b/ios/Flutter/Release.xcconfig new file mode 100644 index 00000000..399e9340 --- /dev/null +++ b/ios/Flutter/Release.xcconfig @@ -0,0 +1,2 @@ +#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" +#include "Generated.xcconfig" diff --git a/ios/Flutter/ephemeral/flutter_lldb_helper.py b/ios/Flutter/ephemeral/flutter_lldb_helper.py new file mode 100644 index 00000000..a88caf99 --- /dev/null +++ b/ios/Flutter/ephemeral/flutter_lldb_helper.py @@ -0,0 +1,32 @@ +# +# Generated file, do not edit. +# + +import lldb + +def handle_new_rx_page(frame: lldb.SBFrame, bp_loc, extra_args, intern_dict): + """Intercept NOTIFY_DEBUGGER_ABOUT_RX_PAGES and touch the pages.""" + base = frame.register["x0"].GetValueAsAddress() + page_len = frame.register["x1"].GetValueAsUnsigned() + + # Note: NOTIFY_DEBUGGER_ABOUT_RX_PAGES will check contents of the + # first page to see if handled it correctly. This makes diagnosing + # misconfiguration (e.g. missing breakpoint) easier. + data = bytearray(page_len) + data[0:8] = b'IHELPED!' + + error = lldb.SBError() + frame.GetThread().GetProcess().WriteMemory(base, data, error) + if not error.Success(): + print(f'Failed to write into {base}[+{page_len}]', error) + return + +def __lldb_init_module(debugger: lldb.SBDebugger, _): + target = debugger.GetDummyTarget() + # Caveat: must use BreakpointCreateByRegEx here and not + # BreakpointCreateByName. For some reasons callback function does not + # get carried over from dummy target for the later. + bp = target.BreakpointCreateByRegex("^NOTIFY_DEBUGGER_ABOUT_RX_PAGES$") + bp.SetScriptCallbackFunction('{}.handle_new_rx_page'.format(__name__)) + bp.SetAutoContinue(True) + print("-- LLDB integration loaded --") diff --git a/ios/Flutter/ephemeral/flutter_lldbinit b/ios/Flutter/ephemeral/flutter_lldbinit new file mode 100644 index 00000000..e3ba6fbe --- /dev/null +++ b/ios/Flutter/ephemeral/flutter_lldbinit @@ -0,0 +1,5 @@ +# +# Generated file, do not edit. +# + +command script import --relative-to-command-file flutter_lldb_helper.py diff --git a/ios/GoogleService-Info.plist b/ios/GoogleService-Info.plist new file mode 100644 index 00000000..633037cb --- /dev/null +++ b/ios/GoogleService-Info.plist @@ -0,0 +1,38 @@ + + + + + CLIENT_ID + 815750722565-da8p56le8bd6apsbm9eft0jjl1rtpgkt.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.815750722565-da8p56le8bd6apsbm9eft0jjl1rtpgkt + ANDROID_CLIENT_ID + 815750722565-m14h8mkosm7cnq6uh6rhqr54dn02d705.apps.googleusercontent.com + API_KEY + AIzaSyDiXnCO00li4V7Ioa2YZ_M4ECxRsu_P9tA + GCM_SENDER_ID + 815750722565 + PLIST_VERSION + 1 + BUNDLE_ID + com.HMG.HMG-Smartphone + PROJECT_ID + api-project-815750722565 + STORAGE_BUCKET + api-project-815750722565.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:815750722565:ios:328ec247a81a2ca23c186c + DATABASE_URL + https://api-project-815750722565.firebaseio.com + + \ No newline at end of file diff --git a/ios/Podfile b/ios/Podfile new file mode 100644 index 00000000..8706dcdb --- /dev/null +++ b/ios/Podfile @@ -0,0 +1,102 @@ +# Uncomment this line to define a global platform for your project +platform :ios, '14.0' + +# CocoaPods analytics sends network stats synchronously affecting flutter build latency. +ENV['COCOAPODS_DISABLE_STATS'] = 'true' +# use_frameworks! :linkage => :static +project 'Runner', { + 'Debug' => :debug, + 'Profile' => :release, + 'Release' => :release, +} + +def flutter_root + generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) + unless File.exist?(generated_xcode_build_settings_path) + raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" + end + + File.foreach(generated_xcode_build_settings_path) do |line| + matches = line.match(/FLUTTER_ROOT\=(.*)/) + return matches[1].strip if matches + end + raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" +end + +require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) + +flutter_ios_podfile_setup + +target 'Runner' do + use_frameworks! + use_modular_headers! + + pod 'OpenTok', '~> 2.22.0' + pod 'VTO2Lib' + pod 'MapboxMaps', '10.19.0' + pod 'MapboxNavigation', '2.19.0' + pod 'FLAnimatedImage' + + flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) +end + +post_install do |installer| + installer.pods_project.targets.each do |target| + flutter_additional_ios_build_settings(target) + target.build_configurations.each do |build_configuration| + build_configuration.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [ + '$(inherited)', + ## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse] + 'PERMISSION_LOCATION=1', + 'PERMISSION_CAMERA=1', + 'PERMISSION_MICROPHONE=1', + ## dart: PermissionGroup.calendar + 'PERMISSION_EVENTS_FULL_ACCESS=1', + ## dart: PermissionGroup.reminders + 'PERMISSION_REMINDERS=1', + ] + build_configuration.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64 i386' + build_configuration.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' + build_configuration.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' + xcconfig_path = build_configuration.base_configuration_reference.real_path + xcconfig = File.read(xcconfig_path) + xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR") + File.open(xcconfig_path, "w") { |file| file << xcconfig_mod } + + if build_configuration.build_settings['WRAPPER_EXTENSION'] == 'bundle' + build_configuration.build_settings['DEVELOPMENT_TEAM'] = '3A359E86ZF' + end + if target.name == 'MapboxMobileEvents' + `xcrun -sdk iphoneos bitcode_strip -r Pods/MapboxMobileEvents/MapboxMobileEvents.xcframework/ios-arm64_armv7/MapboxMobileEvents.framework/MapboxMobileEvents -o Pods/MapboxMobileEvents/MapboxMobileEvents.xcframework/ios-arm64_armv7/MapboxMobileEvents.framework/MapboxMobileEvents` + end + + if target.name == 'MapboxCommon' + `xcrun -sdk iphoneos bitcode_strip -r Pods/MapboxCommon/MapboxCommon.xcframework/ios-arm64/MapboxCommon.framework/MapboxCommon -o Pods/MapboxCommon/MapboxCommon.xcframework/ios-arm64/MapboxCommon.framework/MapboxCommon` + end + + if target.name == 'MapboxCoreMaps' + `xcrun -sdk iphoneos bitcode_strip -r Pods/MapboxCoreMaps/MapboxCoreMaps.xcframework/ios-arm64/MapboxCoreMaps.framework/MapboxCoreMaps -o Pods/MapboxCoreMaps/MapboxCoreMaps.xcframework/ios-arm64/MapboxCoreMaps.framework/MapboxCoreMaps` + end + end + end +end + +post_integrate do |installer| + compiler_flags_key = 'COMPILER_FLAGS' + project_path = 'Pods/Pods.xcodeproj' + + project = Xcodeproj::Project.open(project_path) + project.targets.each do |target| + target.build_phases.each do |build_phase| + if build_phase.is_a?(Xcodeproj::Project::Object::PBXSourcesBuildPhase) + build_phase.files.each do |file| + if !file.settings.nil? && file.settings.key?(compiler_flags_key) + compiler_flags = file.settings[compiler_flags_key] + file.settings[compiler_flags_key] = compiler_flags.gsub(/-DOS_OBJECT_USE_OBJC=0\s*/, '') + end + end + end + end + end + project.save() +end \ No newline at end of file diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj new file mode 100644 index 00000000..a0e392a9 --- /dev/null +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -0,0 +1,842 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 54; + objects = { + +/* Begin PBXBuildFile section */ + 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; + 29631B9E2C96C7F600DF5916 /* PenguinNavigator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 29631B9D2C96C7F600DF5916 /* PenguinNavigator.swift */; }; + 301C79AE27200D9F0016307B /* OpenTokRemoteVideoFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 301C79AD27200D9F0016307B /* OpenTokRemoteVideoFactory.swift */; }; + 301C79B027200DED0016307B /* OpenTokLocalVideoFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 301C79AF27200DED0016307B /* OpenTokLocalVideoFactory.swift */; }; + 306FE6C8271D790C002D6EFC /* OpenTokPlatformBridge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 306FE6C7271D790C002D6EFC /* OpenTokPlatformBridge.swift */; }; + 306FE6CB271D8B73002D6EFC /* OpenTok.swift in Sources */ = {isa = PBXBuildFile; fileRef = 306FE6CA271D8B73002D6EFC /* OpenTok.swift */; }; + 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; + 3DB328A4BC3A43F45E064B43 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E19F7CAE4CB09D1D186CB8A0 /* Pods_Runner.framework */; }; + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; + 762D738E274E42650063CE73 /* ring_30Sec.caf in Resources */ = {isa = PBXBuildFile; fileRef = 762D738C274E42650063CE73 /* ring_30Sec.caf */; }; + 762D738F274E42650063CE73 /* ring_30Sec.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = 762D738D274E42650063CE73 /* ring_30Sec.mp3 */; }; + 7651B82F2D3E9CA40066B33A /* PenguinINRenderer.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7651B82C2D3E9CA40066B33A /* PenguinINRenderer.xcframework */; }; + 7651B8302D3E9CA40066B33A /* PenguinINRenderer.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7651B82C2D3E9CA40066B33A /* PenguinINRenderer.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 7651B8312D3E9CA40066B33A /* Penguin.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7651B82D2D3E9CA40066B33A /* Penguin.xcframework */; }; + 7651B8322D3E9CA40066B33A /* Penguin.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7651B82D2D3E9CA40066B33A /* Penguin.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 7651B8332D3E9CA40066B33A /* PenNavUI.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7651B82E2D3E9CA40066B33A /* PenNavUI.xcframework */; }; + 7651B8342D3E9CA40066B33A /* PenNavUI.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7651B82E2D3E9CA40066B33A /* PenNavUI.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 76815B27275F381C00E66E94 /* HealthKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76815B26275F381C00E66E94 /* HealthKit.framework */; }; + 76962ECE28AE5C10004EAE09 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 76962ECD28AE5C10004EAE09 /* GoogleService-Info.plist */; }; + 76D71B672C6B7F9C00DAFB84 /* HMGPenguinInPlatformBridge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76D71B662C6B7F9C00DAFB84 /* HMGPenguinInPlatformBridge.swift */; }; + 76D71B6A2C6B819000DAFB84 /* PenguinModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76D71B692C6B819000DAFB84 /* PenguinModel.swift */; }; + 76D71B6C2C6B81B300DAFB84 /* PenguinView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76D71B6B2C6B81B300DAFB84 /* PenguinView.swift */; }; + 76D71B6E2C6B81CC00DAFB84 /* PenguinPlugin.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76D71B6D2C6B81CC00DAFB84 /* PenguinPlugin.swift */; }; + 76D71B702C6B81EA00DAFB84 /* PenguinViewFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76D71B6F2C6B81EA00DAFB84 /* PenguinViewFactory.swift */; }; + 76F2556127F1FFED0062C1CD /* PassKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 76F2556027F1FFED0062C1CD /* PassKit.framework */; }; + 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; + 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; + 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; + E91B5396256AAA6500E96549 /* GlobalHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = E91B538D256AAA6500E96549 /* GlobalHelper.swift */; }; + E91B5397256AAA6500E96549 /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = E91B538E256AAA6500E96549 /* Extensions.swift */; }; + E91B5398256AAA6500E96549 /* API.swift in Sources */ = {isa = PBXBuildFile; fileRef = E91B538F256AAA6500E96549 /* API.swift */; }; + E91B539A256AAA6500E96549 /* MainFlutterVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = E91B5392256AAA6500E96549 /* MainFlutterVC.swift */; }; + E91B539B256AAA6500E96549 /* HMG_Internet.swift in Sources */ = {isa = PBXBuildFile; fileRef = E91B5394256AAA6500E96549 /* HMG_Internet.swift */; }; + E91B539C256AAA6500E96549 /* HMG_GUEST_bkp.swift in Sources */ = {isa = PBXBuildFile; fileRef = E91B5395256AAA6500E96549 /* HMG_GUEST_bkp.swift */; }; + E91B539F256AAC1400E96549 /* GuestPOC_Certificate.p12 in Resources */ = {isa = PBXBuildFile; fileRef = E91B539D256AAC1400E96549 /* GuestPOC_Certificate.p12 */; }; + E91B53A0256AAC1400E96549 /* GuestPOC_Certificate.cer in Resources */ = {isa = PBXBuildFile; fileRef = E91B539E256AAC1400E96549 /* GuestPOC_Certificate.cer */; }; + E91B53A3256AAD8200E96549 /* Main_Custom.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E91B53A1256AAD8200E96549 /* Main_Custom.storyboard */; }; + E923EFD225863FDF00E3E751 /* GeoZoneModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = E923EFD125863FDF00E3E751 /* GeoZoneModel.swift */; }; + E923EFD4258645C100E3E751 /* HMG_Geofence.swift in Sources */ = {isa = PBXBuildFile; fileRef = E923EFD3258645C100E3E751 /* HMG_Geofence.swift */; }; + E923EFD62587443800E3E751 /* HMGPlatformBridge.swift in Sources */ = {isa = PBXBuildFile; fileRef = E923EFD52587443800E3E751 /* HMGPlatformBridge.swift */; }; + E923EFD82588D17700E3E751 /* gpx.gpx in Resources */ = {isa = PBXBuildFile; fileRef = E923EFD72588D17700E3E751 /* gpx.gpx */; }; + E9620805255C2ED100D3A35D /* NetworkExtension.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9620804255C2ED100D3A35D /* NetworkExtension.framework */; }; + E9C8C136256BACDA00EFFB62 /* HMG_Guest.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9C8C135256BACDA00EFFB62 /* HMG_Guest.swift */; }; + E9E27168256E3A4000F49B69 /* LocalizedFromFlutter.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9E27167256E3A4000F49B69 /* LocalizedFromFlutter.swift */; }; + E9F7623B25922BCE00FB5CCF /* FlutterConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = E9F7623A25922BCE00FB5CCF /* FlutterConstants.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 7651B8352D3E9CA50066B33A /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 12; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 7651B8322D3E9CA40066B33A /* Penguin.xcframework in Embed Frameworks */, + 7651B8302D3E9CA40066B33A /* PenguinINRenderer.xcframework in Embed Frameworks */, + 7651B8342D3E9CA40066B33A /* PenNavUI.xcframework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; + 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; + 29631B9D2C96C7F600DF5916 /* PenguinNavigator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PenguinNavigator.swift; sourceTree = ""; }; + 301C79AD27200D9F0016307B /* OpenTokRemoteVideoFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OpenTokRemoteVideoFactory.swift; sourceTree = ""; }; + 301C79AF27200DED0016307B /* OpenTokLocalVideoFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OpenTokLocalVideoFactory.swift; sourceTree = ""; }; + 306FE6C7271D790C002D6EFC /* OpenTokPlatformBridge.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OpenTokPlatformBridge.swift; sourceTree = ""; }; + 306FE6CA271D8B73002D6EFC /* OpenTok.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OpenTok.swift; sourceTree = ""; }; + 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; + 54B166B4DC892AC4907E4EC3 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; + 7289ADA1C0D9050B5D84D72D /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 762D738C274E42650063CE73 /* ring_30Sec.caf */ = {isa = PBXFileReference; lastKnownFileType = file; name = ring_30Sec.caf; path = ../../assets/sounds/ring_30Sec.caf; sourceTree = ""; }; + 762D738D274E42650063CE73 /* ring_30Sec.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; name = ring_30Sec.mp3; path = ../../assets/sounds/ring_30Sec.mp3; sourceTree = ""; }; + 7643E4042BE0D0B400BD2F25 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Main_Custom.strings; sourceTree = ""; }; + 7643E4052BE0D0B400BD2F25 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/Main.strings; sourceTree = ""; }; + 7643E4062BE0D0B400BD2F25 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/LaunchScreen.strings; sourceTree = ""; }; + 7651B82C2D3E9CA40066B33A /* PenguinINRenderer.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = PenguinINRenderer.xcframework; path = Frameworks/PenguinINRenderer.xcframework; sourceTree = ""; }; + 7651B82D2D3E9CA40066B33A /* Penguin.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Penguin.xcframework; path = Frameworks/Penguin.xcframework; sourceTree = ""; }; + 7651B82E2D3E9CA40066B33A /* PenNavUI.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = PenNavUI.xcframework; path = Frameworks/PenNavUI.xcframework; sourceTree = ""; }; + 76815B26275F381C00E66E94 /* HealthKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = HealthKit.framework; path = System/Library/Frameworks/HealthKit.framework; sourceTree = SDKROOT; }; + 76962ECD28AE5C10004EAE09 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; + 76D71B662C6B7F9C00DAFB84 /* HMGPenguinInPlatformBridge.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HMGPenguinInPlatformBridge.swift; sourceTree = ""; }; + 76D71B692C6B819000DAFB84 /* PenguinModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PenguinModel.swift; sourceTree = ""; }; + 76D71B6B2C6B81B300DAFB84 /* PenguinView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PenguinView.swift; sourceTree = ""; }; + 76D71B6D2C6B81CC00DAFB84 /* PenguinPlugin.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PenguinPlugin.swift; sourceTree = ""; }; + 76D71B6F2C6B81EA00DAFB84 /* PenguinViewFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PenguinViewFactory.swift; sourceTree = ""; }; + 76F2556027F1FFED0062C1CD /* PassKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = PassKit.framework; path = System/Library/Frameworks/PassKit.framework; sourceTree = SDKROOT; }; + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; + 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; + 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; + 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + B3049EEB8BADB14F6A5B7CB0 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; + E19F7CAE4CB09D1D186CB8A0 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E91B538D256AAA6500E96549 /* GlobalHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GlobalHelper.swift; sourceTree = ""; }; + E91B538E256AAA6500E96549 /* Extensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Extensions.swift; sourceTree = ""; }; + E91B538F256AAA6500E96549 /* API.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = API.swift; sourceTree = ""; }; + E91B5392256AAA6500E96549 /* MainFlutterVC.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MainFlutterVC.swift; sourceTree = ""; }; + E91B5394256AAA6500E96549 /* HMG_Internet.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HMG_Internet.swift; sourceTree = ""; }; + E91B5395256AAA6500E96549 /* HMG_GUEST_bkp.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HMG_GUEST_bkp.swift; sourceTree = ""; }; + E91B539D256AAC1400E96549 /* GuestPOC_Certificate.p12 */ = {isa = PBXFileReference; lastKnownFileType = file; path = GuestPOC_Certificate.p12; sourceTree = ""; }; + E91B539E256AAC1400E96549 /* GuestPOC_Certificate.cer */ = {isa = PBXFileReference; lastKnownFileType = file; path = GuestPOC_Certificate.cer; sourceTree = ""; }; + E91B53A2256AAD8200E96549 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_Custom.storyboard; sourceTree = ""; }; + E923EFD125863FDF00E3E751 /* GeoZoneModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GeoZoneModel.swift; sourceTree = ""; }; + E923EFD3258645C100E3E751 /* HMG_Geofence.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HMG_Geofence.swift; sourceTree = ""; }; + E923EFD52587443800E3E751 /* HMGPlatformBridge.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HMGPlatformBridge.swift; sourceTree = ""; }; + E923EFD72588D17700E3E751 /* gpx.gpx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = gpx.gpx; sourceTree = ""; }; + E9620803255C2ED100D3A35D /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; }; + E9620804255C2ED100D3A35D /* NetworkExtension.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = NetworkExtension.framework; path = System/Library/Frameworks/NetworkExtension.framework; sourceTree = SDKROOT; }; + E9C8C135256BACDA00EFFB62 /* HMG_Guest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = HMG_Guest.swift; sourceTree = ""; }; + E9E27167256E3A4000F49B69 /* LocalizedFromFlutter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LocalizedFromFlutter.swift; sourceTree = ""; }; + E9F7623A25922BCE00FB5CCF /* FlutterConstants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlutterConstants.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 97C146EB1CF9000F007C117D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7651B8312D3E9CA40066B33A /* Penguin.xcframework in Frameworks */, + 76F2556127F1FFED0062C1CD /* PassKit.framework in Frameworks */, + 76815B27275F381C00E66E94 /* HealthKit.framework in Frameworks */, + E9620805255C2ED100D3A35D /* NetworkExtension.framework in Frameworks */, + 7651B8332D3E9CA40066B33A /* PenNavUI.xcframework in Frameworks */, + 7651B82F2D3E9CA40066B33A /* PenguinINRenderer.xcframework in Frameworks */, + 3DB328A4BC3A43F45E064B43 /* Pods_Runner.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 306FE6C9271D8B54002D6EFC /* OpenTok */ = { + isa = PBXGroup; + children = ( + 306FE6CA271D8B73002D6EFC /* OpenTok.swift */, + 301C79AF27200DED0016307B /* OpenTokLocalVideoFactory.swift */, + 301C79AD27200D9F0016307B /* OpenTokRemoteVideoFactory.swift */, + ); + path = OpenTok; + sourceTree = ""; + }; + 555EAAA626EFB641859EF0BE /* Frameworks */ = { + isa = PBXGroup; + children = ( + 7651B82D2D3E9CA40066B33A /* Penguin.xcframework */, + 7651B82C2D3E9CA40066B33A /* PenguinINRenderer.xcframework */, + 7651B82E2D3E9CA40066B33A /* PenNavUI.xcframework */, + 76F2556027F1FFED0062C1CD /* PassKit.framework */, + 76815B26275F381C00E66E94 /* HealthKit.framework */, + E9620804255C2ED100D3A35D /* NetworkExtension.framework */, + E19F7CAE4CB09D1D186CB8A0 /* Pods_Runner.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 605039E5DDF72C245F9765FE /* Pods */ = { + isa = PBXGroup; + children = ( + 7289ADA1C0D9050B5D84D72D /* Pods-Runner.debug.xcconfig */, + B3049EEB8BADB14F6A5B7CB0 /* Pods-Runner.release.xcconfig */, + 54B166B4DC892AC4907E4EC3 /* Pods-Runner.profile.xcconfig */, + ); + path = Pods; + sourceTree = ""; + }; + 76D71B682C6B817500DAFB84 /* Penguin */ = { + isa = PBXGroup; + children = ( + 76D71B692C6B819000DAFB84 /* PenguinModel.swift */, + 76D71B6B2C6B81B300DAFB84 /* PenguinView.swift */, + 76D71B6D2C6B81CC00DAFB84 /* PenguinPlugin.swift */, + 76D71B6F2C6B81EA00DAFB84 /* PenguinViewFactory.swift */, + 29631B9D2C96C7F600DF5916 /* PenguinNavigator.swift */, + ); + path = Penguin; + sourceTree = ""; + }; + 9740EEB11CF90186004384FC /* Flutter */ = { + isa = PBXGroup; + children = ( + 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, + 9740EEB21CF90195004384FC /* Debug.xcconfig */, + 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, + 9740EEB31CF90195004384FC /* Generated.xcconfig */, + ); + name = Flutter; + sourceTree = ""; + }; + 97C146E51CF9000F007C117D = { + isa = PBXGroup; + children = ( + 76962ECD28AE5C10004EAE09 /* GoogleService-Info.plist */, + E923EFD72588D17700E3E751 /* gpx.gpx */, + 9740EEB11CF90186004384FC /* Flutter */, + 97C146F01CF9000F007C117D /* Runner */, + 97C146EF1CF9000F007C117D /* Products */, + 605039E5DDF72C245F9765FE /* Pods */, + 555EAAA626EFB641859EF0BE /* Frameworks */, + ); + sourceTree = ""; + }; + 97C146EF1CF9000F007C117D /* Products */ = { + isa = PBXGroup; + children = ( + 97C146EE1CF9000F007C117D /* Runner.app */, + ); + name = Products; + sourceTree = ""; + }; + 97C146F01CF9000F007C117D /* Runner */ = { + isa = PBXGroup; + children = ( + 76D71B682C6B817500DAFB84 /* Penguin */, + 762D738C274E42650063CE73 /* ring_30Sec.caf */, + 762D738D274E42650063CE73 /* ring_30Sec.mp3 */, + 306FE6C9271D8B54002D6EFC /* OpenTok */, + E91B539E256AAC1400E96549 /* GuestPOC_Certificate.cer */, + E91B539D256AAC1400E96549 /* GuestPOC_Certificate.p12 */, + E91B5390256AAA6500E96549 /* Controllers */, + E91B538C256AAA6500E96549 /* Helper */, + E91B5393256AAA6500E96549 /* WifiConnect */, + E9620803255C2ED100D3A35D /* Runner.entitlements */, + E91B53A1256AAD8200E96549 /* Main_Custom.storyboard */, + 97C146FA1CF9000F007C117D /* Main.storyboard */, + 97C146FD1CF9000F007C117D /* Assets.xcassets */, + 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, + 97C147021CF9000F007C117D /* Info.plist */, + 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, + 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, + 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, + 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, + ); + path = Runner; + sourceTree = ""; + }; + E91B538C256AAA6500E96549 /* Helper */ = { + isa = PBXGroup; + children = ( + E91B538D256AAA6500E96549 /* GlobalHelper.swift */, + E91B538E256AAA6500E96549 /* Extensions.swift */, + E91B538F256AAA6500E96549 /* API.swift */, + E9E27167256E3A4000F49B69 /* LocalizedFromFlutter.swift */, + E923EFD125863FDF00E3E751 /* GeoZoneModel.swift */, + E923EFD3258645C100E3E751 /* HMG_Geofence.swift */, + E923EFD52587443800E3E751 /* HMGPlatformBridge.swift */, + 306FE6C7271D790C002D6EFC /* OpenTokPlatformBridge.swift */, + E9F7623A25922BCE00FB5CCF /* FlutterConstants.swift */, + 76D71B662C6B7F9C00DAFB84 /* HMGPenguinInPlatformBridge.swift */, + ); + path = Helper; + sourceTree = ""; + }; + E91B5390256AAA6500E96549 /* Controllers */ = { + isa = PBXGroup; + children = ( + E91B5392256AAA6500E96549 /* MainFlutterVC.swift */, + ); + path = Controllers; + sourceTree = ""; + }; + E91B5393256AAA6500E96549 /* WifiConnect */ = { + isa = PBXGroup; + children = ( + E9C8C135256BACDA00EFFB62 /* HMG_Guest.swift */, + E91B5394256AAA6500E96549 /* HMG_Internet.swift */, + E91B5395256AAA6500E96549 /* HMG_GUEST_bkp.swift */, + ); + path = WifiConnect; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 97C146ED1CF9000F007C117D /* Runner */ = { + isa = PBXNativeTarget; + buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; + buildPhases = ( + 60AC8DEBE8BAE4B2EDC244F6 /* [CP] Check Pods Manifest.lock */, + 9740EEB61CF901F6004384FC /* Run Script */, + 97C146EA1CF9000F007C117D /* Sources */, + 97C146EB1CF9000F007C117D /* Frameworks */, + 97C146EC1CF9000F007C117D /* Resources */, + 7651B8352D3E9CA50066B33A /* Embed Frameworks */, + 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + F3C6EFB26D98B53D80BE1D19 /* [CP] Embed Pods Frameworks */, + 5193A841765CF1882FA9CCE8 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Runner; + productName = Runner; + productReference = 97C146EE1CF9000F007C117D /* Runner.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 97C146E61CF9000F007C117D /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 1510; + ORGANIZATIONNAME = ""; + TargetAttributes = { + 97C146ED1CF9000F007C117D = { + CreatedOnToolsVersion = 7.3.1; + LastSwiftMigration = 1100; + }; + }; + }; + buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; + compatibilityVersion = "Xcode 9.3"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ar, + ); + mainGroup = 97C146E51CF9000F007C117D; + productRefGroup = 97C146EF1CF9000F007C117D /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 97C146ED1CF9000F007C117D /* Runner */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 97C146EC1CF9000F007C117D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + E91B53A0256AAC1400E96549 /* GuestPOC_Certificate.cer in Resources */, + 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, + 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, + E923EFD82588D17700E3E751 /* gpx.gpx in Resources */, + E91B539F256AAC1400E96549 /* GuestPOC_Certificate.p12 in Resources */, + 76962ECE28AE5C10004EAE09 /* GoogleService-Info.plist in Resources */, + 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, + E91B53A3256AAD8200E96549 /* Main_Custom.storyboard in Resources */, + 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, + 762D738E274E42650063CE73 /* ring_30Sec.caf in Resources */, + 762D738F274E42650063CE73 /* ring_30Sec.mp3 in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", + ); + name = "Thin Binary"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin\n"; + }; + 5193A841765CF1882FA9CCE8 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 60AC8DEBE8BAE4B2EDC244F6 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + 9740EEB61CF901F6004384FC /* Run Script */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Run Script"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n"; + }; + F3C6EFB26D98B53D80BE1D19 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 97C146EA1CF9000F007C117D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 306FE6C8271D790C002D6EFC /* OpenTokPlatformBridge.swift in Sources */, + 76D71B6E2C6B81CC00DAFB84 /* PenguinPlugin.swift in Sources */, + E923EFD225863FDF00E3E751 /* GeoZoneModel.swift in Sources */, + E91B539A256AAA6500E96549 /* MainFlutterVC.swift in Sources */, + 76D71B672C6B7F9C00DAFB84 /* HMGPenguinInPlatformBridge.swift in Sources */, + E91B539C256AAA6500E96549 /* HMG_GUEST_bkp.swift in Sources */, + E91B5396256AAA6500E96549 /* GlobalHelper.swift in Sources */, + E923EFD4258645C100E3E751 /* HMG_Geofence.swift in Sources */, + E923EFD62587443800E3E751 /* HMGPlatformBridge.swift in Sources */, + 76D71B6C2C6B81B300DAFB84 /* PenguinView.swift in Sources */, + 29631B9E2C96C7F600DF5916 /* PenguinNavigator.swift in Sources */, + 76D71B6A2C6B819000DAFB84 /* PenguinModel.swift in Sources */, + 76D71B702C6B81EA00DAFB84 /* PenguinViewFactory.swift in Sources */, + 301C79AE27200D9F0016307B /* OpenTokRemoteVideoFactory.swift in Sources */, + E9F7623B25922BCE00FB5CCF /* FlutterConstants.swift in Sources */, + 306FE6CB271D8B73002D6EFC /* OpenTok.swift in Sources */, + 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, + E9E27168256E3A4000F49B69 /* LocalizedFromFlutter.swift in Sources */, + 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, + 301C79B027200DED0016307B /* OpenTokLocalVideoFactory.swift in Sources */, + E9C8C136256BACDA00EFFB62 /* HMG_Guest.swift in Sources */, + E91B539B256AAA6500E96549 /* HMG_Internet.swift in Sources */, + E91B5397256AAA6500E96549 /* Extensions.swift in Sources */, + E91B5398256AAA6500E96549 /* API.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXVariantGroup section */ + 97C146FA1CF9000F007C117D /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 97C146FB1CF9000F007C117D /* Base */, + 7643E4052BE0D0B400BD2F25 /* ar */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 97C147001CF9000F007C117D /* Base */, + 7643E4062BE0D0B400BD2F25 /* ar */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; + E91B53A1256AAD8200E96549 /* Main_Custom.storyboard */ = { + isa = PBXVariantGroup; + children = ( + E91B53A2256AAD8200E96549 /* Base */, + 7643E4042BE0D0B400BD2F25 /* ar */, + ); + name = Main_Custom.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 249021D3217E4FDB00AE95B9 /* Profile */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Profile; + }; + 249021D4217E4FDB00AE95B9 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 3A359E86ZF; + ENABLE_BITCODE = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Flutter", + "$(SRCROOT)/Frameworks", + ); + INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Flutter", + ); + MARKETING_VERSION = 4.6.004; + PRODUCT_BUNDLE_IDENTIFIER = "com.HMG.HMG-Smartphone"; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_COMPILATION_MODE = singlefile; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Profile; + }; + 97C147031CF9000F007C117D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 97C147041CF9000F007C117D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 97C147061CF9000F007C117D /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 3A359E86ZF; + ENABLE_BITCODE = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Flutter", + "$(SRCROOT)/Frameworks", + ); + INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Flutter", + ); + MARKETING_VERSION = 4.6.004; + PRODUCT_BUNDLE_IDENTIFIER = "com.HMG.HMG-Smartphone"; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_COMPILATION_MODE = singlefile; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + 97C147071CF9000F007C117D /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 3A359E86ZF; + ENABLE_BITCODE = NO; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Flutter", + "$(SRCROOT)/Frameworks", + ); + INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Flutter", + ); + MARKETING_VERSION = 4.6.004; + PRODUCT_BUNDLE_IDENTIFIER = "com.HMG.HMG-Smartphone"; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; + SWIFT_COMPILATION_MODE = singlefile; + "SWIFT_COMPILATION_MODE[arch=*]" = singlefile; + SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 97C147031CF9000F007C117D /* Debug */, + 97C147041CF9000F007C117D /* Release */, + 249021D3217E4FDB00AE95B9 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 97C147061CF9000F007C117D /* Debug */, + 97C147071CF9000F007C117D /* Release */, + 249021D4217E4FDB00AE95B9 /* Profile */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 97C146E61CF9000F007C117D /* Project object */; +} diff --git a/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..919434a6 --- /dev/null +++ b/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme new file mode 100644 index 00000000..725870e1 --- /dev/null +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Runner.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000..21a3cc14 --- /dev/null +++ b/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 00000000..f9b0d7c5 --- /dev/null +++ b/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift new file mode 100644 index 00000000..16ac97f2 --- /dev/null +++ b/ios/Runner/AppDelegate.swift @@ -0,0 +1,72 @@ +import UIKit +import Flutter +import GoogleMaps + +var userNotificationCenterDelegate:UNUserNotificationCenterDelegate? = nil + +@main +@objc class AppDelegate: FlutterAppDelegate { + let locationManager = CLLocationManager() + var flutterViewController:MainFlutterVC! + + override func application( _ application: UIApplication,didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { + + GMSServices.provideAPIKey("AIzaSyCmevVlr2Bh-c8W1VUzo8gt8JRY7n5PANw") + GeneratedPluginRegistrant.register(with: self) + + initializePlatformChannels() + + if let _ = launchOptions?[.location] { + HMG_Geofence.initGeofencing() + } + + UNUserNotificationCenter.current().delegate = self + return super.application(application, didFinishLaunchingWithOptions: launchOptions) + } + + + func initializePlatformChannels(){ + if let mainViewController = window.rootViewController as? MainFlutterVC{ // platform initialization suppose to be in foreground + flutterViewController = mainViewController + HMGPlatformBridge.initialize(flutterViewController: flutterViewController) + OpenTokPlatformBridge.initialize(flutterViewController: flutterViewController, registrar: self.registrar(forPlugin: "open-tok")) + HMGPenguinInPlatformBridge.initialize(flutterViewController: flutterViewController) + + }else if let mainViewController = initialViewController(){ // platform initialization suppose to be in background + flutterViewController = mainViewController + HMGPlatformBridge.initialize(flutterViewController: flutterViewController) + OpenTokPlatformBridge.initialize(flutterViewController: flutterViewController, registrar: self.registrar(forPlugin: "open-tok")) + HMGPenguinInPlatformBridge.initialize(flutterViewController: flutterViewController) + } + } + + + func initialViewController() -> MainFlutterVC?{ + return nil //UIStoryboard(name: "Main", bundle: .main).instantiateInitialViewController() as? MainFlutterVC + } +} + +extension AppDelegate{ + override func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) { + if (notification.request.content.categoryIdentifier == HmgLocalNotificationCategoryIdentifier){ + completionHandler([.alert,.sound]) + }else{ + super.userNotificationCenter(center, willPresent: notification, withCompletionHandler: completionHandler) + } + } +} + + +/* + let dart = FlutterDartProject(precompiledDartBundle: .main) + let engine = FlutterEngine(name: "com.hmg.cs", project: dart, allowHeadlessExecution: true) + if engine.run(){ + flutterMethodChannel = FlutterMethodChannel(name: "HMG-Platform-Bridge", binaryMessenger: engine.binaryMessenger) + + Timer.scheduledTimer(withTimeInterval: 0.5, repeats: false) { (timer) in + FlutterText.with(key: "alreadyConnectedHmgNetwork"){ localized in + print(localized) + } + } + } + */ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000..1eb27a20 --- /dev/null +++ b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,128 @@ +{ + "images" : [ + { + "filename" : "Icon-App-20x20@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-20x20@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-29x29@1x.png", + "idiom" : "iphone", + "scale" : "1x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-29x29@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-29x29@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-40x40@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "filename" : "Icon-App-40x40@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "filename" : "Icon-App-60x60@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "filename" : "Icon-App-60x60@3x.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "filename" : "Icon-App-20x20@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-20x20@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "filename" : "Icon-App-29x29@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-29x29@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "filename" : "Icon-App-40x40@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "filename" : "Icon-App-40x40@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "filename" : "Icon-App-76x76@1x.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "filename" : "Icon-App-76x76@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "filename" : "Icon-App-83.5x83.5@2x.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "filename" : "icon.jpg", + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + }, + { + "filename" : "Icon-App-76x76@2x.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "76x76" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png new file mode 100644 index 00000000..0e65243a Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png new file mode 100644 index 00000000..2e4c7963 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png new file mode 100644 index 00000000..59435c76 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png new file mode 100644 index 00000000..20855aad Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png new file mode 100644 index 00000000..11d35da4 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png new file mode 100644 index 00000000..93523cbe Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png new file mode 100644 index 00000000..2e4c7963 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png new file mode 100644 index 00000000..00bb8dbd Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png new file mode 100644 index 00000000..3eaa1fb6 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png new file mode 100644 index 00000000..3eaa1fb6 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png new file mode 100644 index 00000000..fd80aa41 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png new file mode 100644 index 00000000..39c7958d Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png new file mode 100644 index 00000000..47a96a43 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ diff --git a/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png new file mode 100644 index 00000000..8c4ca7b0 Binary files /dev/null and b/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json new file mode 100644 index 00000000..0bedcf2f --- /dev/null +++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "LaunchImage.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "LaunchImage@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "LaunchImage@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png new file mode 100644 index 00000000..9da19eac Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png new file mode 100644 index 00000000..9da19eac Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png new file mode 100644 index 00000000..9da19eac Binary files /dev/null and b/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png differ diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md new file mode 100644 index 00000000..89c2725b --- /dev/null +++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md @@ -0,0 +1,5 @@ +# Launch Screen Assets + +You can customize the launch screen with your own desired assets by replacing the image files in this directory. + +You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. \ No newline at end of file diff --git a/ios/Runner/Base.lproj/LaunchScreen.storyboard b/ios/Runner/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 00000000..f2e259c7 --- /dev/null +++ b/ios/Runner/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Runner/Base.lproj/Main.storyboard b/ios/Runner/Base.lproj/Main.storyboard new file mode 100644 index 00000000..8ae1ba59 --- /dev/null +++ b/ios/Runner/Base.lproj/Main.storyboard @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Runner/Base.lproj/Main_Custom.storyboard b/ios/Runner/Base.lproj/Main_Custom.storyboard new file mode 100644 index 00000000..de2d580c --- /dev/null +++ b/ios/Runner/Base.lproj/Main_Custom.storyboard @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/Runner/Controllers/MainFlutterVC.swift b/ios/Runner/Controllers/MainFlutterVC.swift new file mode 100644 index 00000000..4f91d052 --- /dev/null +++ b/ios/Runner/Controllers/MainFlutterVC.swift @@ -0,0 +1,118 @@ +// +// MainFlutterVC.swift +// Runner +// +// Created by ZiKambrani on 25/03/1442 AH. +// + +import UIKit +import Flutter +import NetworkExtension +import SystemConfiguration.CaptiveNetwork + +class MainFlutterVC: FlutterViewController { + + override func viewDidLoad() { + super.viewDidLoad() + +// flutterMethodChannel?.setMethodCallHandler { (methodCall, result) in +// +// if methodCall.method == "connectHMGInternetWifi"{ +// self.connectHMGInternetWifi(methodCall:methodCall, result: result) +// +// }else if methodCall.method == "connectHMGGuestWifi"{ +// self.connectHMGGuestWifi(methodCall:methodCall, result: result) +// +// }else if methodCall.method == "isHMGNetworkAvailable"{ +// self.isHMGNetworkAvailable(methodCall:methodCall, result: result) +// +// }else if methodCall.method == "registerHmgGeofences"{ +// self.registerHmgGeofences(result: result) +// } +// +// print("") +// } +// +// FlutterText.with(key: "errorConnectingHmgNetwork") { (localized) in +// print(localized) +// } + + } + + + // Connect HMG Wifi and Internet + func connectHMGInternetWifi(methodCall:FlutterMethodCall ,result: @escaping FlutterResult){ + + guard let pateintId = (methodCall.arguments as? [Any])?.first as? String + else { return assert(true, "Missing or invalid arguments (Must have one argument 'String at 0'") } + + + HMG_Internet.shared.connect(patientId: pateintId) { (status, message) in + result(status ? 1 : 0) + if status{ + self.showMessage(title:"Congratulations", message:message) + }else{ + self.showMessage(title:"Ooops,", message:message) + } + } + } + + // Connect HMG-Guest for App Access + func connectHMGGuestWifi(methodCall:FlutterMethodCall ,result: @escaping FlutterResult){ + HMG_GUEST.shared.connect() { (status, message) in + result(status ? 1 : 0) + if status{ + self.showMessage(title:"Congratulations", message:message) + }else{ + self.showMessage(title:"Ooops,", message:message) + } + } + } + + func isHMGNetworkAvailable(methodCall:FlutterMethodCall ,result: @escaping FlutterResult) -> Bool{ + guard let ssid = methodCall.arguments as? String else { + assert(true, "Missing or invalid arguments (Must have one argument 'String at 0'") + return false + } + + let queue = DispatchQueue.init(label: "com.hmg.wifilist") + NEHotspotHelper.register(options: nil, queue: queue) { (command) in + print(command) + + if(command.commandType == NEHotspotHelperCommandType.filterScanList) { + if let networkList = command.networkList{ + for network in networkList{ + print(network.ssid) + } + } + } + } + return false + + } + + + // Message Dailog + func showMessage(title:String, message:String){ + DispatchQueue.main.async { + let alert = UIAlertController(title: title, message: message, preferredStyle: .alert ) + alert.addAction(UIAlertAction(title: "OK", style: .destructive, handler: nil)) + self.present(alert, animated: true) { + + } + } + } + + // Register Geofence + func registerHmgGeofences(result: @escaping FlutterResult){ + flutterMethodChannel?.invokeMethod("getGeofencePreferenceKey", arguments: nil){ geoFencesJsonString in + if let jsonString = geoFencesJsonString as? String{ + let allZones = GeoZoneModel.list(from: jsonString) + HMG_Geofence().register(geoZones: allZones) + + }else{ + } + } + } + +} diff --git a/ios/Runner/GoogleService-Info.plist b/ios/Runner/GoogleService-Info.plist new file mode 100644 index 00000000..c179ec60 --- /dev/null +++ b/ios/Runner/GoogleService-Info.plist @@ -0,0 +1,38 @@ + + + + + CLIENT_ID + 815750722565-da8p56le8bd6apsbm9eft0jjl1rtpgkt.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.815750722565-da8p56le8bd6apsbm9eft0jjl1rtpgkt + ANDROID_CLIENT_ID + 815750722565-m14h8mkosm7cnq6uh6rhqr54dn02d705.apps.googleusercontent.com + API_KEY + AIzaSyDiXnCO00li4V7Ioa2YZ_M4ECxRsu_P9tA + GCM_SENDER_ID + 815750722565 + PLIST_VERSION + 1 + BUNDLE_ID + com.HMG.HMG-Smartphone + PROJECT_ID + api-project-815750722565 + STORAGE_BUCKET + api-project-815750722565.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:815750722565:ios:328ec247a81a2ca23c186c + DATABASE_URL + https://api-project-815750722565.firebaseio.com + + diff --git a/ios/Runner/GuestPOC_Certificate.cer b/ios/Runner/GuestPOC_Certificate.cer new file mode 100644 index 00000000..f3804f6e Binary files /dev/null and b/ios/Runner/GuestPOC_Certificate.cer differ diff --git a/ios/Runner/GuestPOC_Certificate.p12 b/ios/Runner/GuestPOC_Certificate.p12 new file mode 100644 index 00000000..8e289212 Binary files /dev/null and b/ios/Runner/GuestPOC_Certificate.p12 differ diff --git a/ios/Runner/Helper/API.swift b/ios/Runner/Helper/API.swift new file mode 100644 index 00000000..b487f033 --- /dev/null +++ b/ios/Runner/Helper/API.swift @@ -0,0 +1,22 @@ +// +// API.swift +// Runner +// +// Created by ZiKambrani on 04/04/1442 AH. +// + +import UIKit + +fileprivate let DOMAIN = "https://uat.hmgwebservices.com" +fileprivate let SERVICE = "Services/Patients.svc/REST" +fileprivate let BASE_URL = "\(DOMAIN)/\(SERVICE)" + +struct API { + static let WIFI_CREDENTIALS = "\(BASE_URL)/Hmg_SMS_Get_By_ProjectID_And_PatientID" +} + + +//struct API { +// static let WIFI_CREDENTIALS = FlutterConstants.WIFI_CREDENTIALS_URL +// static let LOG_GEOFENCE = FlutterConstants.LOG_GEOFENCE_URL +//} diff --git a/ios/Runner/Helper/Extensions.swift b/ios/Runner/Helper/Extensions.swift new file mode 100644 index 00000000..de67f9b9 --- /dev/null +++ b/ios/Runner/Helper/Extensions.swift @@ -0,0 +1,150 @@ +// +// Extensions.swift +// Runner +// +// Created by ZiKambrani on 04/04/1442 AH. +// + +import UIKit + + +extension String{ + func toUrl() -> URL?{ + return URL(string: self) + } + + func removeSpace() -> String?{ + return self.replacingOccurrences(of: " ", with: "") + } +} + +extension Date{ + func toString(format:String) -> String{ + let df = DateFormatter() + df.dateFormat = format + return df.string(from: self) + } +} + +extension Dictionary{ + func merge(dict:[String:Any?]) -> [String:Any?]{ + var self_ = self as! [String:Any?] + dict.forEach { (kv) in + self_.updateValue(kv.value, forKey: kv.key) + } + return self_ + } +} + +extension Bundle { + + func certificate(named name: String) -> SecCertificate { + let cerURL = self.url(forResource: name, withExtension: "cer")! + let cerData = try! Data(contentsOf: cerURL) + let cer = SecCertificateCreateWithData(nil, cerData as CFData)! + return cer + } + + func identity(named name: String, password: String) -> SecIdentity { + let p12URL = self.url(forResource: name, withExtension: "p12")! + let p12Data = try! Data(contentsOf: p12URL) + + var importedCF: CFArray? = nil + let options = [kSecImportExportPassphrase as String: password] + let err = SecPKCS12Import(p12Data as CFData, options as CFDictionary, &importedCF) + precondition(err == errSecSuccess) + let imported = importedCF! as NSArray as! [[String:AnyObject]] + precondition(imported.count == 1) + + return (imported[0][kSecImportItemIdentity as String]!) as! SecIdentity + } + + +} + +extension SecCertificate{ + func trust() -> Bool?{ + var optionalTrust: SecTrust? + let policy = SecPolicyCreateBasicX509() + + let status = SecTrustCreateWithCertificates([self] as AnyObject, + policy, + &optionalTrust) + guard status == errSecSuccess else { return false} + let trust = optionalTrust! + + let stat = optionalTrust?.evaluateAllowing(rootCertificates: [self]) + return stat + } + + func secTrustObject() -> SecTrust?{ + var optionalTrust: SecTrust? + let policy = SecPolicyCreateBasicX509() + + let status = SecTrustCreateWithCertificates([self] as AnyObject, + policy, + &optionalTrust) + return optionalTrust + } +} + + +extension SecTrust { + + func evaluate() -> Bool { + var trustResult: SecTrustResultType = .invalid + let err = SecTrustEvaluate(self, &trustResult) + guard err == errSecSuccess else { return false } + return [.proceed, .unspecified].contains(trustResult) + } + + func evaluateAllowing(rootCertificates: [SecCertificate]) -> Bool { + + // Apply our custom root to the trust object. + + var err = SecTrustSetAnchorCertificates(self, rootCertificates as CFArray) + guard err == errSecSuccess else { return false } + + // Re-enable the system's built-in root certificates. + + err = SecTrustSetAnchorCertificatesOnly(self, false) + guard err == errSecSuccess else { return false } + + // Run a trust evaluation and only allow the connection if it succeeds. + + return self.evaluate() + } +} + + +extension UIView{ + func show(){ + self.alpha = 0.0 + self.isHidden = false + UIView.animate(withDuration: 0.25, animations: { + self.alpha = 1 + }) { (complete) in + + } + } + + func hide(){ + UIView.animate(withDuration: 0.25, animations: { + self.alpha = 0.0 + }) { (complete) in + self.isHidden = true + } + } +} + + +extension UIViewController{ + func showAlert(withTitle: String, message: String){ + let alert = UIAlertController(title: withTitle, message: message, preferredStyle: .alert) + alert.addAction(UIAlertAction(title: "OK", style: .destructive, handler: nil)) + present(alert, animated: true) { + + } + } +} + diff --git a/ios/Runner/Helper/FlutterConstants.swift b/ios/Runner/Helper/FlutterConstants.swift new file mode 100644 index 00000000..f1b3f098 --- /dev/null +++ b/ios/Runner/Helper/FlutterConstants.swift @@ -0,0 +1,36 @@ +// +// FlutterConstants.swift +// Runner +// +// Created by ZiKambrani on 22/12/2020. +// + +import UIKit + +class FlutterConstants{ + static var LOG_GEOFENCE_URL:String? + static var WIFI_CREDENTIALS_URL:String? + static var DEFAULT_HTTP_PARAMS:[String:Any?]? + + class func set(){ + + // (FiX) Take a start with FlutterMethodChannel (kikstart) + /* First call to flutter method is not returning the correct value (Always returning 'NSObject') then after it wroking fine and returning correct value*/ + FlutterText.with(key: "test") { (test) in + + flutterMethodChannel?.invokeMethod("getDefaultHttpParameters", arguments: nil){ (response) in + if let defaultHTTPParams = response as? [String:Any?]{ + DEFAULT_HTTP_PARAMS = defaultHTTPParams + } + + } + + flutterMethodChannel?.invokeMethod("getLogGeofenceFullUrl", arguments:nil){ (response) in + if let url = response as? String{ + LOG_GEOFENCE_URL = url + } + } + + } + } +} diff --git a/ios/Runner/Helper/GeoZoneModel.swift b/ios/Runner/Helper/GeoZoneModel.swift new file mode 100644 index 00000000..e703b64c --- /dev/null +++ b/ios/Runner/Helper/GeoZoneModel.swift @@ -0,0 +1,67 @@ +// +// GeoZoneModel.swift +// Runner +// +// Created by ZiKambrani on 13/12/2020. +// + +import UIKit +import CoreLocation + +class GeoZoneModel{ + var geofenceId:Int = -1 + var description:String = "" + var descriptionN:String? + var latitude:String? + var longitude:String? + var radius:Int? + var type:Int? + var projectID:Int? + var imageURL:String? + var isCity:String? + + func identifier() -> String{ + return "\(geofenceId)_hmg" + } + + func message() -> String{ + return description + } + + func toRegion(locationManager:CLLocationManager) -> CLCircularRegion?{ + if let rad = radius, let lat = latitude?.removeSpace(), let long = longitude?.removeSpace(), + let radius_d = Double("\(rad)"), let lat_d = Double(lat), let long_d = Double(long){ + + let coordinate = CLLocationCoordinate2D(latitude: lat_d, longitude: long_d) + let validatedRadius = min(radius_d, locationManager.maximumRegionMonitoringDistance) + + let region = CLCircularRegion(center: coordinate, radius: validatedRadius, identifier: identifier()) + region.notifyOnExit = true + region.notifyOnEntry = true + return region + } + return nil + } + + class func from(json:[String:Any]) -> GeoZoneModel{ + let model = GeoZoneModel() + model.geofenceId = json["GEOF_ID"] as? Int ?? 0 + model.radius = json["Radius"] as? Int + model.projectID = json["ProjectID"] as? Int + model.type = json["Type"] as? Int + model.description = json["Description"] as? String ?? "" + model.descriptionN = json["DescriptionN"] as? String + model.latitude = json["Latitude"] as? String + model.longitude = json["Longitude"] as? String + model.imageURL = json["ImageURL"] as? String + model.isCity = json["IsCity"] as? String + + return model + } + + class func list(from jsonString:String) -> [GeoZoneModel]{ + let value = dictionaryArray(from: jsonString) + let geoZones = value.map { GeoZoneModel.from(json: $0) } + return geoZones + } +} diff --git a/ios/Runner/Helper/GlobalHelper.swift b/ios/Runner/Helper/GlobalHelper.swift new file mode 100644 index 00000000..37687806 --- /dev/null +++ b/ios/Runner/Helper/GlobalHelper.swift @@ -0,0 +1,119 @@ +// +// GlobalHelper.swift +// Runner +// +// Created by ZiKambrani on 29/03/1442 AH. +// + +import UIKit + +func dictionaryArray(from:String) -> [[String:Any]]{ + if let data = from.data(using: .utf8) { + do { + return try JSONSerialization.jsonObject(with: data, options: []) as? [[String: Any]] ?? [] + } catch { + print(error.localizedDescription) + } + } + return [] + +} + +func dictionary(from:String) -> [String:Any]?{ + if let data = from.data(using: .utf8) { + do { + return try? JSONSerialization.jsonObject(with: data, options: []) as? [String: Any] + } catch { + print(error.localizedDescription) + } + } + return nil + +} + +let HmgLocalNotificationCategoryIdentifier = "hmg.local.notification" +func showNotification(identifier:String? = nil, title:String?, subtitle:String?, message:String?, sound:UNNotificationSound = UNNotificationSound.default, categoryIdentifier:String = HmgLocalNotificationCategoryIdentifier){ + DispatchQueue.main.async { + let notificationContent = UNMutableNotificationContent() + notificationContent.categoryIdentifier = categoryIdentifier + + if identifier != nil { notificationContent.categoryIdentifier = identifier! } + if title != nil { notificationContent.title = title! } + if subtitle != nil { notificationContent.body = message! } + if message != nil { notificationContent.subtitle = subtitle! } + + notificationContent.sound = UNNotificationSound.default + let trigger = UNTimeIntervalNotificationTrigger(timeInterval: 1, repeats: false) + let request = UNNotificationRequest(identifier: "\(Date().timeIntervalSinceNow)", content: notificationContent, trigger: trigger) + + + UNUserNotificationCenter.current().add(request) { error in + if let error = error { + print("Error: \(error)") + } + } + } +} + +func appLanguageCode() -> Int{ + let lang = UserDefaults.standard.string(forKey: "language") ?? "ar" + return lang == "ar" ? 2 : 1 +} + +func userProfile() -> [String:Any?]?{ + var userProf = UserDefaults.standard.string(forKey: "flutter.imei-user-data") + if(userProf == nil){ + userProf = UserDefaults.standard.string(forKey: "flutter.user-profile") + } + return dictionary(from: userProf ?? "{}") +} + +fileprivate let defaultHTTPParams:[String : Any?] = [ + "ZipCode" : "966", + "VersionID" : 5.8, + "Channel" : 3, + "LanguageID" : appLanguageCode(), + "IPAdress" : "10.20.10.20", + "generalid" : "Cs2020@2016$2958", + "PatientOutSA" : 0, + "SessionID" : nil, + "isDentalAllowedBackend" : false, + "DeviceTypeID" : 2 +] + +func httpPostRequest(urlString:String, jsonBody:[String:Any?], completion:((Bool,[String:Any]?)->Void)?){ + var json: [String: Any?] = jsonBody + json = json.merge(dict: defaultHTTPParams) + let jsonData = try? JSONSerialization.data(withJSONObject: json) + + // create post request + let url = URL(string: urlString)! + var request = URLRequest(url: url) + request.addValue("application/json", forHTTPHeaderField: "Content-Type") + request.addValue("*/*", forHTTPHeaderField: "Accept") + request.httpMethod = "POST" + request.httpBody = jsonData + + let task = URLSession.shared.dataTask(with: request) { data, response, error in + guard let data = data, error == nil else { + print(error?.localizedDescription ?? "No data") + return + } + + let responseJSON = try? JSONSerialization.jsonObject(with: data, options: []) + if let responseJSON = responseJSON as? [String: Any], let status = responseJSON["MessageStatus"] as? Int{ + print(responseJSON) + if status == 1{ + completion?(true,responseJSON) + }else{ + completion?(false,responseJSON) + } + + }else{ + completion?(false,nil) + } + } + + task.resume() + +} diff --git a/ios/Runner/Helper/HMGPenguinInPlatformBridge.swift b/ios/Runner/Helper/HMGPenguinInPlatformBridge.swift new file mode 100644 index 00000000..c4a44243 --- /dev/null +++ b/ios/Runner/Helper/HMGPenguinInPlatformBridge.swift @@ -0,0 +1,94 @@ +import Foundation +import FLAnimatedImage + + +var flutterMethodChannelPenguinIn:FlutterMethodChannel? = nil +fileprivate var mainViewController:MainFlutterVC! + +class HMGPenguinInPlatformBridge{ + + private let channelName = "launch_penguin_ui" + private static var shared_:HMGPenguinInPlatformBridge? + + class func initialize(flutterViewController:MainFlutterVC){ + shared_ = HMGPenguinInPlatformBridge() + mainViewController = flutterViewController + shared_?.openChannel() + } + + func shared() -> HMGPenguinInPlatformBridge{ + assert((HMGPenguinInPlatformBridge.shared_ != nil), "HMGPenguinInPlatformBridge is not initialized, call initialize(mainViewController:MainFlutterVC) function first.") + return HMGPenguinInPlatformBridge.shared_! + } + + private func openChannel(){ + flutterMethodChannelPenguinIn = FlutterMethodChannel(name: channelName, binaryMessenger: mainViewController.binaryMessenger) + + flutterMethodChannelPenguinIn?.setMethodCallHandler { (methodCall, result) in + print("Called function \(methodCall.method)") + + if let arguments = methodCall.arguments as Any? { + if methodCall.method == "launchPenguin"{ + print("====== launchPenguinView Launched =========") + self.launchPenguinView(arguments: arguments, result: result) + } + } else { + result(FlutterError(code: "INVALID_ARGUMENT", message: "Storyboard name is required", details: nil)) + } + } + } + + private func launchPenguinView(arguments: Any, result: @escaping FlutterResult) { + + let penguinView = PenguinView( + frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height), + viewIdentifier: 0, + arguments: arguments, + binaryMessenger: mainViewController.binaryMessenger + ) + + let penguinUIView = penguinView.view() + penguinUIView.frame = mainViewController.view.bounds + penguinUIView.autoresizingMask = [.flexibleWidth, .flexibleHeight] + + mainViewController.view.addSubview(penguinUIView) + + guard let args = arguments as? [String: Any], + let loaderImageData = args["loaderImage"] as? FlutterStandardTypedData else { + print("loaderImage data not found in arguments") + result(FlutterError(code: "ARGUMENT_ERROR", message: "Missing loaderImage data", details: nil)) + return + } + + let loadingOverlay = UIView(frame: UIScreen.main.bounds) + loadingOverlay.backgroundColor = UIColor.black.withAlphaComponent(0.5) // Semi-transparent overlay + loadingOverlay.autoresizingMask = [.flexibleWidth, .flexibleHeight] + + // Display the GIF using FLAnimatedImage + let animatedImage = FLAnimatedImage(animatedGIFData: loaderImageData.data) + let gifImageView = FLAnimatedImageView() + gifImageView.animatedImage = animatedImage + gifImageView.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height) + gifImageView.center = loadingOverlay.center + gifImageView.contentMode = .scaleAspectFit + loadingOverlay.addSubview(gifImageView) + + + if let window = UIApplication.shared.windows.first { + window.addSubview(loadingOverlay) + + } else { + print("Error: Main window not found") + } + + penguinView.onSuccess = { + // Hide and remove the loader + DispatchQueue.main.async { + loadingOverlay.removeFromSuperview() + + } + } + + result(nil) + } +} diff --git a/ios/Runner/Helper/HMGPlatformBridge.swift b/ios/Runner/Helper/HMGPlatformBridge.swift new file mode 100644 index 00000000..fd9fb401 --- /dev/null +++ b/ios/Runner/Helper/HMGPlatformBridge.swift @@ -0,0 +1,140 @@ +// +// HMGPlatformBridge.swift +// Runner +// +// Created by ZiKambrani on 14/12/2020. +// + +import UIKit +import NetworkExtension +import SystemConfiguration.CaptiveNetwork + +var flutterMethodChannel:FlutterMethodChannel? = nil +fileprivate var mainViewController:MainFlutterVC! + +class HMGPlatformBridge{ + private let channelName = "HMG-Platform-Bridge" + private static var shared_:HMGPlatformBridge? + + class func initialize(flutterViewController:MainFlutterVC){ + shared_ = HMGPlatformBridge() + mainViewController = flutterViewController + shared_?.openChannel() + } + + func shared() -> HMGPlatformBridge{ + assert((HMGPlatformBridge.shared_ != nil), "HMGPlatformBridge is not initialized, call initialize(mainViewController:MainFlutterVC) function first.") + return HMGPlatformBridge.shared_! + } + + private func openChannel(){ + flutterMethodChannel = FlutterMethodChannel(name: channelName, binaryMessenger: mainViewController.binaryMessenger) + flutterMethodChannel?.setMethodCallHandler { (methodCall, result) in + print("Called function \(methodCall.method)") + if methodCall.method == "connectHMGInternetWifi"{ + self.connectHMGInternetWifi(methodCall:methodCall, result: result) + + }else if methodCall.method == "connectHMGGuestWifi"{ + self.connectHMGGuestWifi(methodCall:methodCall, result: result) + + }else if methodCall.method == "isHMGNetworkAvailable"{ + self.isHMGNetworkAvailable(methodCall:methodCall, result: result) + + }else if methodCall.method == "registerHmgGeofences"{ + self.registerHmgGeofences(result: result) + + }else if methodCall.method == "unRegisterHmgGeofences"{ + self.unRegisterHmgGeofences(result: result) + } + + print("") + } + Timer.scheduledTimer(withTimeInterval: 0.1, repeats: false) { (timer) in + FlutterConstants.set() + } + } + + + + // Connect HMG Wifi and Internet + func connectHMGInternetWifi(methodCall:FlutterMethodCall ,result: @escaping FlutterResult){ + + guard let pateintId = (methodCall.arguments as? [Any])?.first as? String + else { return assert(true, "Missing or invalid arguments (Must have one argument 'String at 0'") } + + + HMG_Internet.shared.connect(patientId: pateintId) { (status, message) in + result(status ? 1 : 0) + if status{ + self.showMessage(title:"Congratulations", message:message) + }else{ + self.showMessage(title:"Ooops,", message:message) + } + } + } + + // Connect HMG-Guest for App Access + func connectHMGGuestWifi(methodCall:FlutterMethodCall ,result: @escaping FlutterResult){ + HMG_GUEST.shared.connect() { (status, message) in + result(status ? 1 : 0) + if status{ + self.showMessage(title:"Congratulations", message:message) + }else{ + self.showMessage(title:"Ooops,", message:message) + } + } + } + + func isHMGNetworkAvailable(methodCall:FlutterMethodCall ,result: @escaping FlutterResult) -> Bool{ + guard let ssid = methodCall.arguments as? String else { + assert(true, "Missing or invalid arguments (Must have one argument 'String at 0'") + return false + } + + let queue = DispatchQueue.init(label: "com.hmg.wifilist") + NEHotspotHelper.register(options: nil, queue: queue) { (command) in + print(command) + + if(command.commandType == NEHotspotHelperCommandType.filterScanList) { + if let networkList = command.networkList{ + for network in networkList{ + print(network.ssid) + } + } + } + } + return false + + } + + + // Message Dailog + func showMessage(title:String, message:String){ + DispatchQueue.main.async { + let alert = UIAlertController(title: title, message: message, preferredStyle: .alert ) + alert.addAction(UIAlertAction(title: "OK", style: .destructive, handler: nil)) + mainViewController.present(alert, animated: true) { + + } + } + } + + // Register Geofence + func registerHmgGeofences(result: @escaping FlutterResult){ + flutterMethodChannel?.invokeMethod("getGeoZones", arguments: nil){ geoFencesJsonString in + if let jsonString = geoFencesJsonString as? String{ + let allZones = GeoZoneModel.list(from: jsonString) + HMG_Geofence.shared().register(geoZones: allZones) + result(true) + }else{ + } + } + } + + // Register Geofence + func unRegisterHmgGeofences(result: @escaping FlutterResult){ + HMG_Geofence.shared().unRegisterAll() + result(true) + } + +} diff --git a/ios/Runner/Helper/HMG_Geofence.swift b/ios/Runner/Helper/HMG_Geofence.swift new file mode 100644 index 00000000..47454d3e --- /dev/null +++ b/ios/Runner/Helper/HMG_Geofence.swift @@ -0,0 +1,183 @@ +// +// HMG_Geofence.swift +// Runner +// +// Created by ZiKambrani on 13/12/2020. +// + +import UIKit +import CoreLocation + +fileprivate var df = DateFormatter() +fileprivate var transition = "" + +enum Transition:Int { + case entry = 1 + case exit = 2 + func name() -> String{ + return self.rawValue == 1 ? "Enter" : "Exit" + } +} + +class HMG_Geofence:NSObject{ + + var geoZones:[GeoZoneModel]? + var locationManager:CLLocationManager!{ + didSet{ + // https://developer.apple.com/documentation/corelocation/cllocationmanager/1423531-startmonitoringsignificantlocati + + locationManager.allowsBackgroundLocationUpdates = true + locationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters + locationManager.activityType = .other + locationManager.delegate = self + locationManager.requestAlwaysAuthorization() + // locationManager.distanceFilter = 500 + // locationManager.startMonitoringSignificantLocationChanges() + } + } + + private static var shared_:HMG_Geofence? + class func shared() -> HMG_Geofence{ + if HMG_Geofence.shared_ == nil{ + HMG_Geofence.initGeofencing() + } + return shared_! + } + + class func initGeofencing(){ + shared_ = HMG_Geofence() + shared_?.locationManager = CLLocationManager() + } + + func register(geoZones:[GeoZoneModel]){ + + self.geoZones = geoZones + + let monitoredRegions_ = monitoredRegions() + self.geoZones?.forEach({ (zone) in + if let region = zone.toRegion(locationManager: locationManager){ + if let already = monitoredRegions_.first(where: {$0.identifier == zone.identifier()}){ + debugPrint("Already monitering region: \(already)") + }else{ + startMonitoring(region: region) + } + }else{ + debugPrint("Invalid region: \(zone.latitude ?? "invalid_latitude"),\(zone.longitude ?? "invalid_longitude"),r\(zone.radius ?? 0) | \(zone.identifier())") + } + }) + } + + func monitoredRegions() -> Set{ + return locationManager.monitoredRegions + } + + func unRegisterAll(){ + for region in locationManager.monitoredRegions { + locationManager.stopMonitoring(for: region) + } + } + +} + +// CLLocationManager Delegates +extension HMG_Geofence : CLLocationManagerDelegate{ + + func startMonitoring(region: CLCircularRegion) { + if !CLLocationManager.isMonitoringAvailable(for: CLCircularRegion.self) { + return + } + + if CLLocationManager.authorizationStatus() != .authorizedAlways { + let message = """ + Your geotification is saved but will only be activated once you grant + HMG permission to access the device location. + """ + debugPrint(message) + } + + locationManager.startMonitoring(for: region) + locationManager.requestState(for: region) + debugPrint("Starts monitering region: \(region)") + } + + func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) { + debugPrint("didEnterRegion: \(region)") + if region is CLCircularRegion { + handleEvent(for: region,transition: .entry, location: manager.location) + } + } + + func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) { + debugPrint("didExitRegion: \(region)") + if region is CLCircularRegion { + handleEvent(for: region,transition: .exit, location: manager.location) + } + } + + func locationManager(_ manager: CLLocationManager, didDetermineState state: CLRegionState, for region: CLRegion) { + debugPrint("didDetermineState: \(state)") + } + + func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) { + debugPrint("didUpdateLocations: \(locations)") + } + + +} + +// Helpers +extension HMG_Geofence{ + + func handleEvent(for region: CLRegion!, transition:Transition, location:CLLocation?) { + if let userProfile = userProfile(){ + notifyUser(forRegion: region, transition: transition, location: locationManager.location, userProfile: userProfile) + notifyServer(forRegion: region, transition: transition, location: locationManager.location, userProfile: userProfile) + } + } + + func geoZone(by id: String) -> GeoZoneModel? { + var zone:GeoZoneModel? = nil + if let zones_ = geoZones{ + zone = zones_.first(where: { $0.identifier() == id}) + }else{ + // let jsonArray = UserDefaults.standard.string(forKey: "hmg-geo-fences") + } + return zone + } + + + func notifyUser(forRegion:CLRegion, transition:Transition, location:CLLocation?, userProfile:[String:Any?]){ + if let patientId = userProfile["PatientID"] as? Int{ + + } + } + + func notifyServer(forRegion:CLRegion, transition:Transition, location:CLLocation?, userProfile:[String:Any?]){ + if let patientId = userProfile["PatientID"] as? Int{ + + if let idString = forRegion.identifier.split(separator: "_").first, let idInt = Int(idString){ + let body:[String:Any] = [ + "PointsID":idInt, + "GeoType":transition.rawValue, + "PatientID":patientId + ] + + var logs = UserDefaults.init(suiteName: "GeoFenceLog")?.dictionary(forKey: "GEOFENCE_LOGS") ?? [:] + var geo = (logs[forRegion.identifier] as? [String]) ?? [] + + let url = "https://hmgwebservices.com/Services/Patients.svc/REST/GeoF_InsertPatientFileInfo" + httpPostRequest(urlString: url, jsonBody: body){ (status,json) in + let status_ = status ? "Notified successfully:" : "Failed to notify:" + showNotification(title: transition.name(), subtitle: forRegion.identifier, message: status_) + + + geo.append("\(status_) \(transition.name()) at \(Date().toString(format: "dd/MMM/yyy hh:mm:ss"))") + logs.updateValue( geo, forKey: forRegion.identifier) + + UserDefaults.init(suiteName: "GeoFenceLog")?.set(logs, forKey: "GEOFENCE_LOGS") + } + } + } + } +} + diff --git a/ios/Runner/Helper/LocalizedFromFlutter.swift b/ios/Runner/Helper/LocalizedFromFlutter.swift new file mode 100644 index 00000000..88530649 --- /dev/null +++ b/ios/Runner/Helper/LocalizedFromFlutter.swift @@ -0,0 +1,22 @@ +// +// LocalizedFromFlutter.swift +// Runner +// +// Created by ZiKambrani on 10/04/1442 AH. +// + +import UIKit + +class FlutterText{ + + class func with(key:String,completion: @escaping (String)->Void){ + flutterMethodChannel?.invokeMethod("localizedValue", arguments: key, result: { (result) in + if let localized = result as? String{ + completion(localized) + }else{ + completion(key) + } + }) + } + +} diff --git a/ios/Runner/Helper/OpenTokPlatformBridge.swift b/ios/Runner/Helper/OpenTokPlatformBridge.swift new file mode 100644 index 00000000..4da39dc4 --- /dev/null +++ b/ios/Runner/Helper/OpenTokPlatformBridge.swift @@ -0,0 +1,61 @@ +// +// HMGPlatformBridge.swift +// Runner +// +// Created by ZiKambrani on 14/12/2020. +// + +import UIKit +import NetworkExtension +import SystemConfiguration.CaptiveNetwork + + +fileprivate var openTok:OpenTok? + +class OpenTokPlatformBridge : NSObject{ + private var methodChannel:FlutterMethodChannel? = nil + private var mainViewController:MainFlutterVC! + private static var shared_:OpenTokPlatformBridge? + + class func initialize(flutterViewController:MainFlutterVC, registrar:FlutterPluginRegistrar?){ + shared_ = OpenTokPlatformBridge() + shared_?.mainViewController = flutterViewController + + shared_?.openChannel() + openTok = OpenTok(mainViewController: flutterViewController, registrar: registrar) + } + + func shared() -> OpenTokPlatformBridge{ + assert((OpenTokPlatformBridge.shared_ != nil), "OpenTokPlatformBridge is not initialized, call initialize(mainViewController:MainFlutterVC) function first.") + return OpenTokPlatformBridge.shared_! + } + + private func openChannel(){ + methodChannel = FlutterMethodChannel(name: "OpenTok-Platform-Bridge", binaryMessenger: mainViewController.binaryMessenger) + methodChannel?.setMethodCallHandler { (call, result) in + print("Called function \(call.method)") + + switch(call.method) { + case "initSession": + openTok?.initSession(call: call, result: result) + + case "swapCamera": + openTok?.swapCamera(call: call, result: result) + + case "toggleAudio": + openTok?.toggleAudio(call: call, result: result) + + case "toggleVideo": + openTok?.toggleVideo(call: call, result: result) + + case "hangupCall": + openTok?.hangupCall(call: call, result: result) + + default: + result(FlutterMethodNotImplemented) + } + + print("") + } + } +} diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist new file mode 100644 index 00000000..a67c0647 --- /dev/null +++ b/ios/Runner/Info.plist @@ -0,0 +1,126 @@ + + + + + CADisableMinimumFrameDurationOnPhone + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Dr. Alhabib + CFBundlePackageType + APPL + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + FIVKIconName + AppIcon-VoIPKit + FIVKLocalizedName + VoIP-Kit + FIVKSkipRecallScreen + + FIVKSupportVideo + + LSApplicationQueriesSchemes + + comgooglemaps + baidumap + iosamap + + LSRequiresIPhoneOS + + MinimumOSVersion + 13.0 + NFCReaderUsageDescription + This app requires NFC Usage access to allow for Online CheckIn for appointments. + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + NSAllowsArbitraryLoadsForMedia + + NSAllowsArbitraryLoadsInWebContent + + + NSAppleMusicUsageDescription + Required by another plugin, Please let us know if you find this functionality anywhere in the app. + NSBluetoothAlwaysUsageDescription + This App requires access to Bluetooth to connect blood pressure & blood sugar devices with the app to analyze the data. + NSBluetoothPeripheralUsageDescription + This App requires access to Bluetooth to connect blood pressure & blood sugar devices with the app to analyze the data. + NSCalendarsUsageDescription + This app requires calendar access to set reminders for Virtual & Normal Appointments. + NSCalendarsWriteOnlyAccessUsageDescription + This app requires calendar access to set reminders for Virtual & Normal Appointments. + NSCalendarsFullAccessUsageDescription + This app requires calendar access to set reminders for Virtual & Normal Appointments. + NSCameraUsageDescription + This app requires camera access to enable virtual consultation between patient & doctor + NSContactsUsageDescription + This app requires contacts access to show incoming virtual consultation request. + NSFaceIDUsageDescription + This app requires Face ID to allow biometric authentication for app login. + NSHealthShareUsageDescription + This App need access to HealthKit to read heart rate & other data from your smart watch. + NSHealthUpdateUsageDescription + This App need access to HealthKit to read heart rate & other data from your smart watch. + NSLocationAlwaysAndWhenInUseUsageDescription + This App requires access to your location to show the nearest hospitals & ER Locations from your location. + NSLocationAlwaysUsageDescription + This App requires access to your location to show the nearest hospitals from your location. + NSLocationWhenInUseUsageDescription + This App requires access to your location to show the nearest hospitals from your location. + NSMicrophoneUsageDescription + This app requires microphone access to enable virtual consultation between patient & doctor + NSMotionUsageDescription + This app requires motion detection access to function properly. + NSPhotoLibraryUsageDescription + This app requires photo library access to select image as document & upload it. + NSRemindersUsageDescription + This app requires calendar access to set reminders for Virtual & Normal Appointments. + NSSpeechRecognitionUsageDescription + This app requires speech recognition access to access voice command features. + NSUserActivityTypes + + UIBackgroundModes + + audio + fetch + location + remote-notification + voip + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + io.flutter.embedded_views_preview + + UIApplicationSupportsIndirectInputEvents + + MBXAccessToken + pk.eyJ1IjoicndhaWQiLCJhIjoiY2x5cGo4aHNjMGNsbTJyc2djempobGQxaSJ9.RCaC6WrUt4A4YnZNfxnONQ + + diff --git a/ios/Runner/OpenTok/OpenTok.swift b/ios/Runner/OpenTok/OpenTok.swift new file mode 100644 index 00000000..34d13bb1 --- /dev/null +++ b/ios/Runner/OpenTok/OpenTok.swift @@ -0,0 +1,180 @@ +// +// OpenTok.swift +// Runner +// +// Created by Zohaib Iqbal Kambrani on 18/10/2021. +// + +import Foundation +import OpenTok +import UIKit + +enum SdkState: String { + case loggedOut = "LOGGED_OUT" + case loggedIn = "LOGGED_IN" + case wait = "WAIT" + case error = "ERROR" +} + +class OpenTok : NSObject{ + + private var mainViewController:MainFlutterVC! + private var registrar:FlutterPluginRegistrar? + var methodChannel: FlutterMethodChannel? + + init(mainViewController:MainFlutterVC, registrar:FlutterPluginRegistrar?){ + self.mainViewController = mainViewController + self.methodChannel = FlutterMethodChannel(name: "OpenTok-Platform-Bridge", binaryMessenger: mainViewController.binaryMessenger) + self.registrar = registrar + + let remoteVDOFactory = OpenTokRemoteVideoFactory(messenger: registrar!.messenger()) + registrar?.register(remoteVDOFactory, withId: "remote-video-container") + + let localVDOFactory = OpenTokLocalVideoFactory(messenger: registrar!.messenger()) + registrar?.register(localVDOFactory, withId: "local-video-container") + } + + var otSession: OTSession? + + var subscriber: OTSubscriber? + lazy var publisher: OTPublisher = { + let settings = OTPublisherSettings() + settings.name = UIDevice.current.name + return OTPublisher(delegate: self, settings: settings)! + }() + + func initSession(call:FlutterMethodCall, result: @escaping FlutterResult){ + if let arguments = call.arguments as? [String: String], + let apiKey = arguments["apiKey"], + let sessionId = arguments["sessionId"], + let token = arguments["token"]{ + + var error: OTError? + defer { + // todo + } + + notifyFlutter(state: SdkState.wait) + otSession = OTSession(apiKey: apiKey, sessionId: sessionId, delegate: self)! + otSession?.connect(withToken: token, error: &error) + + result("") + }else{ + + } + + } + + + func swapCamera(call:FlutterMethodCall, result: @escaping FlutterResult) { + if publisher.cameraPosition == .front { + publisher.cameraPosition = .back + } else { + publisher.cameraPosition = .front + } + result("") + } + + func toggleAudio(call:FlutterMethodCall, result: @escaping FlutterResult) { + publisher.publishAudio = !publisher.publishAudio + result("") + } + + func toggleVideo(call:FlutterMethodCall, result: @escaping FlutterResult) { + publisher.publishVideo = !publisher.publishVideo + result("") + } + + func hangupCall(call:FlutterMethodCall, result: @escaping FlutterResult) { + var error:OTError? + otSession?.disconnect(&error) + result(error == nil) + } + + + func notifyFlutter(state: SdkState) { + methodChannel?.invokeMethod("updateState", arguments: state.rawValue) + } + +} + +extension OpenTok: OTSessionDelegate { + func sessionDidConnect(_ sessionDelegate: OTSession) { + print("The client connected to the session.") + notifyFlutter(state: SdkState.loggedIn) + + var error: OTError? + defer { + // todo + } + + self.otSession?.publish(self.publisher, error: &error) + + if let pubView = self.publisher.view { + pubView.frame = CGRect(x: 0, y: 0, width: 200, height: 300) + + if OpenTokLocalVideoFactory.view == nil { + OpenTokLocalVideoFactory.viewToAddPub = pubView + } else { + OpenTokLocalVideoFactory.view?.addPublisherView(pubView) + } + } + } + + func sessionDidDisconnect(_ session: OTSession) { + print("The client disconnected from the session.") + notifyFlutter(state: SdkState.loggedOut) + } + + func session(_ session: OTSession, didFailWithError error: OTError) { + print("The client failed to connect to the session: \(error).") + } + + func session(_ session: OTSession, streamCreated stream: OTStream) { + print("A stream was created in the session.") + var error: OTError? + defer { + // todo + } + subscriber = OTSubscriber(stream: stream, delegate: self) + + session.subscribe(subscriber!, error: &error) + } + + func session(_ session: OTSession, streamDestroyed stream: OTStream) { + print("A stream was destroyed in the session.") + } +} + +extension OpenTok: OTPublisherDelegate { + func publisher(_ publisher: OTPublisherKit, streamCreated stream: OTStream) { + } + + func publisher(_ publisher: OTPublisherKit, streamDestroyed stream: OTStream) { + } + + func publisher(_ publisher: OTPublisherKit, didFailWithError error: OTError) { + print("Publisher failed: \(error.localizedDescription)") + } +} + +extension OpenTok: OTSubscriberDelegate { + func subscriberDidConnect(toStream subscriberKit: OTSubscriberKit) { + print("Subscriber connected") + + if let subView = self.subscriber?.view { + subView.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: UIScreen.main.bounds.height) + + if OpenTokRemoteVideoFactory.view == nil { + OpenTokRemoteVideoFactory.viewToAddSub = subView + } else { + OpenTokRemoteVideoFactory.view?.addSubscriberView(subView) + } + } + } + + func subscriber(_ subscriber: OTSubscriberKit, didFailWithError error: OTError) { + print("Subscriber failed: \(error.localizedDescription)") + } + +} diff --git a/ios/Runner/OpenTok/OpenTokLocalVideoFactory.swift b/ios/Runner/OpenTok/OpenTokLocalVideoFactory.swift new file mode 100644 index 00000000..361b482d --- /dev/null +++ b/ios/Runner/OpenTok/OpenTokLocalVideoFactory.swift @@ -0,0 +1,91 @@ +// +// OpenTokLocalVideoFactory.swift +// Runner +// +// Created by Zohaib Iqbal Kambrani on 20/10/2021. +// + +import Foundation + +class OpenTokLocalVideoFactory: NSObject, FlutterPlatformViewFactory { + static var view: LocalVideoPlatformView? + + static var viewToAddPub: UIView? + + static func getViewInstance( + frame: CGRect, + viewId: Int64, + args: Any?, + messenger: FlutterBinaryMessenger? + ) -> LocalVideoPlatformView{ + if(view == nil) { + view = LocalVideoPlatformView() + if viewToAddPub != nil { + view?.addPublisherView(viewToAddPub!) + } + } + + return view! + } + + private var messenger: FlutterBinaryMessenger + + init(messenger: FlutterBinaryMessenger) { + self.messenger = messenger + super.init() + } + + func create( + withFrame frame: CGRect, + viewIdentifier viewId: Int64, + arguments args: Any? + ) -> FlutterPlatformView { + return OpenTokLocalVideoFactory.getViewInstance( + frame: frame, + viewId: viewId, + args: args, + messenger: messenger) + } +} + +class LocalVideoPlatformView: NSObject, FlutterPlatformView { + private let videoContainer: LocalVideoContainer + + override init() { + videoContainer = LocalVideoContainer() + super.init() + } + + public func addPublisherView(_ view: UIView) { + videoContainer.addPublisherView(view) + } + + func view() -> UIView { + return videoContainer + } +} + +final class LocalVideoContainer: UIView { + private let publisherContainer = UIView() + + init() { + super.init(frame: .zero) + addSubview(publisherContainer) + } + + public func addPublisherView(_ view: UIView) { + publisherContainer.addSubview(view) + } + + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + override func layoutSubviews() { + super.layoutSubviews() + let width = frame.width + let height = frame.height + + publisherContainer.frame = CGRect(x: 0, y: 0, width: width, height: height) + } +} diff --git a/ios/Runner/OpenTok/OpenTokRemoteVideoFactory.swift b/ios/Runner/OpenTok/OpenTokRemoteVideoFactory.swift new file mode 100644 index 00000000..50dcf695 --- /dev/null +++ b/ios/Runner/OpenTok/OpenTokRemoteVideoFactory.swift @@ -0,0 +1,91 @@ +// +// OpenTokRemoteVideoFactory.swift +// Runner +// +// Created by Zohaib Iqbal Kambrani on 20/10/2021. +// + +import Foundation + +class OpenTokRemoteVideoFactory: NSObject, FlutterPlatformViewFactory { + static var view: RemoteVideoPlatformView? + + static var viewToAddSub: UIView? + + static func getViewInstance( + frame: CGRect, + viewId: Int64, + args: Any?, + messenger: FlutterBinaryMessenger? + ) -> RemoteVideoPlatformView{ + if(view == nil) { + view = RemoteVideoPlatformView() + if viewToAddSub != nil { + view?.addSubscriberView(viewToAddSub!) + } + } + + return view! + } + + private var messenger: FlutterBinaryMessenger + + init(messenger: FlutterBinaryMessenger) { + self.messenger = messenger + super.init() + } + + func create( + withFrame frame: CGRect, + viewIdentifier viewId: Int64, + arguments args: Any? + ) -> FlutterPlatformView { + return OpenTokRemoteVideoFactory.getViewInstance( + frame: frame, + viewId: viewId, + args: args, + messenger: messenger) + } +} + +class RemoteVideoPlatformView: NSObject, FlutterPlatformView { + private let videoContainer: RemoteVideoContainer + + override init() { + videoContainer = RemoteVideoContainer() + super.init() + } + + public func addSubscriberView(_ view: UIView) { + videoContainer.addSubscriberView(view) + } + + func view() -> UIView { + return videoContainer + } +} + +final class RemoteVideoContainer: UIView { + private let subscriberContainer = UIView() + + init() { + super.init(frame: .zero) + addSubview(subscriberContainer) + } + + + public func addSubscriberView(_ view: UIView) { + subscriberContainer.addSubview(view) + } + + required init?(coder: NSCoder) { + fatalError("init(coder:) has not been implemented") + } + + override func layoutSubviews() { + super.layoutSubviews() + let width = frame.width + let height = frame.height + subscriberContainer.frame = CGRect(x: 0, y: 0, width: width, height: height) + } +} diff --git a/ios/Runner/Penguin/PenguinModel.swift b/ios/Runner/Penguin/PenguinModel.swift new file mode 100644 index 00000000..e41979d6 --- /dev/null +++ b/ios/Runner/Penguin/PenguinModel.swift @@ -0,0 +1,76 @@ +// +// PenguinModel.swift +// Runner +// +// Created by Amir on 06/08/2024. +// + +import Foundation + +// Define the model class +struct PenguinModel { + let baseURL: String + let dataURL: String + let dataServiceName: String + let positionURL: String + let clientKey: String + let storyboardName: String + let mapBoxKey: String + let clientID: String + let positionServiceName: String + let username: String + let isSimulationModeEnabled: Bool + let isShowUserName: Bool + let isUpdateUserLocationSmoothly: Bool + let isEnableReportIssue: Bool + let languageCode: String + let clinicID: String + let patientID: String + let projectID: String + + // Initialize the model from a dictionary + init?(from dictionary: [String: Any]) { + guard + let baseURL = dictionary["baseURL"] as? String, + let dataURL = dictionary["dataURL"] as? String, + let dataServiceName = dictionary["dataServiceName"] as? String, + let positionURL = dictionary["positionURL"] as? String, + let clientKey = dictionary["clientKey"] as? String, + let storyboardName = dictionary["storyboardName"] as? String, + let mapBoxKey = dictionary["mapBoxKey"] as? String, + let clientID = dictionary["clientID"] as? String, + let positionServiceName = dictionary["positionServiceName"] as? String, + let username = dictionary["username"] as? String, + let isSimulationModeEnabled = dictionary["isSimulationModeEnabled"] as? Bool, + let isShowUserName = dictionary["isShowUserName"] as? Bool, + let isUpdateUserLocationSmoothly = dictionary["isUpdateUserLocationSmoothly"] as? Bool, + let isEnableReportIssue = dictionary["isEnableReportIssue"] as? Bool, + let languageCode = dictionary["languageCode"] as? String, + let clinicID = dictionary["clinicID"] as? String, + let patientID = dictionary["patientID"] as? String, + let projectID = dictionary["projectID"] as? String + else { + print("Initialization failed due to missing or invalid keys.") + return nil + } + + self.baseURL = baseURL + self.dataURL = dataURL + self.dataServiceName = dataServiceName + self.positionURL = positionURL + self.clientKey = clientKey + self.storyboardName = storyboardName + self.mapBoxKey = mapBoxKey + self.clientID = clientID + self.positionServiceName = positionServiceName + self.username = username + self.isSimulationModeEnabled = isSimulationModeEnabled + self.isShowUserName = isShowUserName + self.isUpdateUserLocationSmoothly = isUpdateUserLocationSmoothly + self.isEnableReportIssue = isEnableReportIssue + self.languageCode = languageCode + self.clinicID = clinicID + self.patientID = patientID + self.projectID = projectID + } +} diff --git a/ios/Runner/Penguin/PenguinNavigator.swift b/ios/Runner/Penguin/PenguinNavigator.swift new file mode 100644 index 00000000..e7ce55b4 --- /dev/null +++ b/ios/Runner/Penguin/PenguinNavigator.swift @@ -0,0 +1,57 @@ +import PenNavUI +import UIKit + +class PenguinNavigator { + private var config: PenguinModel + + init(config: PenguinModel) { + self.config = config + } + + private func logError(_ message: String) { + // Centralized logging function + print("PenguinSDKNavigator Error: \(message)") + } + + func navigateToPOI( referenceId:String,completion: @escaping (Bool, String?) -> Void) { + PenNavUIManager.shared.getToken(clientID: config.clientID, clientKey: config.clientKey) { [weak self] token, error in + + if let error = error { + let errorMessage = "Token error while getting the for Navigate to method" + completion(false, "Failed to get token: \(errorMessage)") + + print("Failed to get token: \(errorMessage)") + return + } + + guard let token = token else { + completion(false, "Token is nil") + print("Token is nil") + return + } + print("Token Generated") + print(token); + + + } + } + + private func handleNavigation(referenceId: String, token: String, completion: @escaping (Bool, String?) -> Void) { + DispatchQueue.main.async { + PenNavUIManager.shared.setToken(token: token) + + PenNavUIManager.shared.navigate(to: referenceId) { [weak self] _, navError in + guard let self = self else { return } + + if let navError = navError { + self.logError("Navigation error: Reference ID invalid") + completion(false, "Navigation error: \(navError.localizedDescription)") + return + } + + // Navigation successful + completion(true, nil) + } + } + } +} diff --git a/ios/Runner/Penguin/PenguinPlugin.swift b/ios/Runner/Penguin/PenguinPlugin.swift new file mode 100644 index 00000000..029bec35 --- /dev/null +++ b/ios/Runner/Penguin/PenguinPlugin.swift @@ -0,0 +1,31 @@ +// +// BlueGpsPlugin.swift +// Runner +// +// Created by Penguin . +// + +//import Foundation +//import Flutter +// +///** +// * A Flutter plugin for integrating Penguin SDK functionality. +// * This class registers a view factory with the Flutter engine to create native views. +// */ +//class PenguinPlugin: NSObject, FlutterPlugin { +// +// /** +// * Registers the plugin with the Flutter engine. +// * +// * @param registrar The [FlutterPluginRegistrar] used to register the plugin. +// * This method is called when the plugin is initialized, and it sets up the communication +// * between Flutter and native code. +// */ +// public static func register(with registrar: FlutterPluginRegistrar) { +// // Create an instance of PenguinViewFactory with the binary messenger from the registrar +// let factory = PenguinViewFactory(messenger: registrar.messenger()) +// +// // Register the view factory with a unique ID for use in Flutter code +// registrar.register(factory, withId: "penguin_native") +// } +//} diff --git a/ios/Runner/Penguin/PenguinView.swift b/ios/Runner/Penguin/PenguinView.swift new file mode 100644 index 00000000..b5161eb0 --- /dev/null +++ b/ios/Runner/Penguin/PenguinView.swift @@ -0,0 +1,445 @@ +// + +// BlueGpsView.swift + +// Runner + +// + +// Created by Penguin. + +// + + + +import Foundation +import UIKit +import Flutter +import PenNavUI + +import Foundation +import Flutter +import UIKit + + + +/** + + * A custom Flutter platform view for displaying Penguin UI components. + + * This class integrates with the Penguin navigation SDK and handles UI events. + + */ + +class PenguinView: NSObject, FlutterPlatformView, PIEventsDelegate, PenNavInitializationDelegate + +{ + // The main view displayed within the platform view + + private var _view: UIView + + private var model: PenguinModel? + + private var methodChannel: FlutterMethodChannel + + var onSuccess: (() -> Void)? + + + + + + + + /** + + * Initializes the PenguinView with the provided parameters. + + * + + * @param frame The frame of the view, specifying its size and position. + + * @param viewId A unique identifier for this view instance. + + * @param args Optional arguments provided for creating the view. + + * @param messenger The [FlutterBinaryMessenger] used for communication with Dart. + + */ + + init( + + frame: CGRect, + + viewIdentifier viewId: Int64, + + arguments args: Any?, + + binaryMessenger messenger: FlutterBinaryMessenger? + + ) { + + _view = UIView() + + methodChannel = FlutterMethodChannel(name: "launch_penguin_ui", binaryMessenger: messenger!) + + + + super.init() + + + + // Get the screen's width and height to set the view's frame + + let screenWidth = UIScreen.main.bounds.width + + let screenHeight = UIScreen.main.bounds.height + + + + // Uncomment to set the background color of the view + + // _view.backgroundColor = UIColor.red + + + + // Set the frame of the view to cover the entire screen + + _view.frame = CGRect(x: 0, y: 0, width: screenWidth, height: screenHeight) + + print("========Inside Penguin View ========") + + print(args) + + guard let arguments = args as? [String: Any] else { + + print("Error: Arguments are not in the expected format.") + + return + + } + + print("===== i got tha Args=======") + + + + // Initialize the model from the arguments + + if let penguinModel = PenguinModel(from: arguments) { + + self.model = penguinModel + + initPenguin(args: penguinModel) + + } else { + + print("Error: Failed to initialize PenguinModel from arguments ") + + } + + // Initialize the Penguin SDK with required configurations + + // initPenguin( arguments: args) + + } + + + + /** + + * Initializes the Penguin SDK with custom configuration settings. + + */ + + func initPenguin(args: PenguinModel) { + +// Set the initialization delegate to handle SDK initialization events + + PenNavUIManager.shared.initializationDelegate = self + + // Configure the Penguin SDK with necessary parameters + + PenNavUIManager.shared + + .setClientKey(args.clientKey) + + .setClientID(args.clientID) + + .setUsername(args.username) + + .setSimulationModeEnabled(isEnable: args.isSimulationModeEnabled) + + .setBaseURL(dataURL: args.dataURL, positionURL: args.positionURL) + + .setServiceName(dataServiceName: args.dataServiceName, positionServiceName: args.positionServiceName) + + .setIsShowUserName(args.isShowUserName) + + .setIsUpdateUserLocationSmoothly(args.isUpdateUserLocationSmoothly) + + .setEnableReportIssue(enable: args.isEnableReportIssue) + + .setLanguage(args.languageCode) + + .setBackButtonVisibility(true) + + .build() + + } + + + + + + /** + + * Returns the main view associated with this platform view. + + * + + * @return The UIView instance that represents this platform view. + + */ + + func view() -> UIView { + + return _view + + } + + + + // MARK: - PIEventsDelegate Methods + + + + + + + + + + /** + + * Called when the Penguin UI is dismissed. + + */ + + func onPenNavUIDismiss() { + + // Handle UI dismissal if needed + + print("====== onPenNavUIDismiss =========") + + + + + + self.view().removeFromSuperview() + + } + + + + /** + + * Called when a report issue is generated. + + * + + * @param issue The type of issue reported. + + */ + + func onReportIssue(_ issue: PenNavUI.IssueType) { + + // Handle report issue events if needed + + print("====== onReportIssueError =========") + + methodChannel.invokeMethod("onReportIssue", arguments: ["issueType": issue]) + + + + } + + + + /** + + * Called when the Penguin UI setup is successful. + + */ + + func onPenNavSuccess() { + + print("====== onPenNavSuccess =========") + + onSuccess?() + + methodChannel.invokeMethod("onPenNavSuccess", arguments: nil) + + // Obtain the FlutterViewController instance + + let controller: FlutterViewController = UIApplication.shared.windows.first?.rootViewController as! FlutterViewController + + + + print("====== after controller onPenNavSuccess =========") + + + + // Set the events delegate to handle SDK events + + PenNavUIManager.shared.eventsDelegate = self + + + + print("====== after eventsDelegate onPenNavSuccess =========") + + + + // Present the Penguin UI on top of the Flutter view controller + + PenNavUIManager.shared.present(root: controller, view: _view) + + + + + + print("====== after present onPenNavSuccess =========") + + print(model?.clinicID) + + print("====== after present onPenNavSuccess =========") + + + + guard let config = self.model else { + + print("Error: Config Model is nil") + + return + + } + + + + guard let clinicID = self.model?.clinicID, + + let clientID = self.model?.clientID, !clientID.isEmpty else { + + print("Error: Config Client ID is nil or empty") + + return + + } + + + + let navigator = PenguinNavigator(config: config) + + + + PenNavUIManager.shared.getToken(clientID: config.clientID, clientKey: config.clientKey) { [weak self] token, error in + + if let error = error { + + let errorMessage = "Token error while getting the for Navigate to method" + + print("Failed to get token: \(errorMessage)") + + return + + } + + + + guard let token = token else { + + print("Token is nil") + + return + + } + + print("Token Generated") + + print(token); + + + + self?.handleNavigation(clinicID: clinicID, token: token) { success, errorMessage in + + if success { + + print("Navigation successful") + + } else { + + print("Navigation failed: \(errorMessage ?? "Unknown error")") + + } + + + + } + + + + print("====== after Token onPenNavSuccess =========") + + } + + + + } + + + + + + + + private func handleNavigation(clinicID: String, token: String, completion: @escaping (Bool, String?) -> Void) { + + DispatchQueue.main.async { + + PenNavUIManager.shared.setToken(token: token) + + PenNavUIManager.shared.navigate(to: clinicID) + + completion(true,nil) + + } + + } + + + + + + + + + + /** + + * Called when there is an initialization error with the Penguin UI. + + * + + * @param errorType The type of initialization error. + + * @param errorDescription A description of the error. + + */ + + func onPenNavInitializationError(errorType: PenNavUI.PenNavUIError, errorDescription: String) { + + // Handle initialization errors if needed + + print("onPenNavInitializationErrorType: \(errorType.rawValue)") + + print("onPenNavInitializationError: \(errorDescription)") + } +} diff --git a/ios/Runner/Penguin/PenguinViewFactory.swift b/ios/Runner/Penguin/PenguinViewFactory.swift new file mode 100644 index 00000000..a88bb5d0 --- /dev/null +++ b/ios/Runner/Penguin/PenguinViewFactory.swift @@ -0,0 +1,59 @@ +// +// BlueGpsViewFactory.swift +// Runner +// +// Created by Penguin . +// + +import Foundation +import Flutter + +/** + * A factory class for creating instances of [PenguinView]. + * This class implements `FlutterPlatformViewFactory` to create and manage native views. + */ +class PenguinViewFactory: NSObject, FlutterPlatformViewFactory { + + // The binary messenger used for communication with the Flutter engine + private var messenger: FlutterBinaryMessenger + + /** + * Initializes the PenguinViewFactory with the given messenger. + * + * @param messenger The [FlutterBinaryMessenger] used to communicate with Dart code. + */ + init(messenger: FlutterBinaryMessenger) { + self.messenger = messenger + super.init() + } + + /** + * Creates a new instance of [PenguinView]. + * + * @param frame The frame of the view, specifying its size and position. + * @param viewId A unique identifier for this view instance. + * @param args Optional arguments provided for creating the view. + * @return An instance of [PenguinView] configured with the provided parameters. + */ + func create( + withFrame frame: CGRect, + viewIdentifier viewId: Int64, + arguments args: Any? + ) -> FlutterPlatformView { + return PenguinView( + frame: frame, + viewIdentifier: viewId, + arguments: args, + binaryMessenger: messenger) + } + + /** + * Returns the codec used for encoding and decoding method channel arguments. + * This method is required when `arguments` in `create` is not `nil`. + * + * @return A [FlutterMessageCodec] instance used for serialization. + */ + public func createArgsCodec() -> FlutterMessageCodec & NSObjectProtocol { + return FlutterStandardMessageCodec.sharedInstance() + } +} diff --git a/ios/Runner/Runner-Bridging-Header.h b/ios/Runner/Runner-Bridging-Header.h new file mode 100644 index 00000000..308a2a56 --- /dev/null +++ b/ios/Runner/Runner-Bridging-Header.h @@ -0,0 +1 @@ +#import "GeneratedPluginRegistrant.h" diff --git a/ios/Runner/Runner.entitlements b/ios/Runner/Runner.entitlements new file mode 100644 index 00000000..44ce1b68 --- /dev/null +++ b/ios/Runner/Runner.entitlements @@ -0,0 +1,30 @@ + + + + + aps-environment + development + com.apple.developer.healthkit + + com.apple.developer.healthkit.access + + com.apple.developer.in-app-payments + + merchant.com.hmgwebsersives + merchant.com.hmgwebservices.uat + merchant.com.hmgwebservices + + com.apple.developer.networking.HotspotConfiguration + + com.apple.developer.networking.wifi-info + + com.apple.developer.nfc.readersession.formats + + TAG + + com.apple.developer.pass-type-identifiers + + $(TeamIdentifierPrefix)* + + + diff --git a/ios/Runner/WifiConnect/GoogleService-Info.plist b/ios/Runner/WifiConnect/GoogleService-Info.plist new file mode 100644 index 00000000..633037cb --- /dev/null +++ b/ios/Runner/WifiConnect/GoogleService-Info.plist @@ -0,0 +1,38 @@ + + + + + CLIENT_ID + 815750722565-da8p56le8bd6apsbm9eft0jjl1rtpgkt.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.815750722565-da8p56le8bd6apsbm9eft0jjl1rtpgkt + ANDROID_CLIENT_ID + 815750722565-m14h8mkosm7cnq6uh6rhqr54dn02d705.apps.googleusercontent.com + API_KEY + AIzaSyDiXnCO00li4V7Ioa2YZ_M4ECxRsu_P9tA + GCM_SENDER_ID + 815750722565 + PLIST_VERSION + 1 + BUNDLE_ID + com.HMG.HMG-Smartphone + PROJECT_ID + api-project-815750722565 + STORAGE_BUCKET + api-project-815750722565.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:815750722565:ios:328ec247a81a2ca23c186c + DATABASE_URL + https://api-project-815750722565.firebaseio.com + + \ No newline at end of file diff --git a/ios/Runner/WifiConnect/HMG_GUEST.swift b/ios/Runner/WifiConnect/HMG_GUEST.swift new file mode 100644 index 00000000..ad6d3922 --- /dev/null +++ b/ios/Runner/WifiConnect/HMG_GUEST.swift @@ -0,0 +1,77 @@ +// +// HMG_GUEST.swift +// HMG-iOS-Wifi +// +// Created by ZiKambrani on 23/03/1442 AH. +// Copyright © 1442 ZiKambrani. All rights reserved. +// + +import UIKit +import NetworkExtension +import SystemConfiguration.CaptiveNetwork + +fileprivate let SSID = "HMG-MobileApp" + +class HMG_GUEST{ + static let shared = HMG_GUEST() + + private var complete:((_ status:Bool, _ message:String) -> Void)! + func connect(completion:@escaping ((_ status:Bool, _ message:String) -> Void)){ + complete = completion + + if isAlreadyConnected() { + FlutterText.with(key: "alreadyConnectedHmgNetwork") { (localized) in + self.complete(true, localized ) + } + }else{ + connect() + } + } + + private func connect() { + + let hotspotConfig = NEHotspotConfiguration(ssid: "\(SSID)") + hotspotConfig.joinOnce = false + NEHotspotConfigurationManager.shared.apply(hotspotConfig) {[weak self] (error) in + guard let self = self else { return; } + + if let error = error { + FlutterText.with(key: "errorConnectingHmgNetwork") { (localized) in + self.complete(false, localized ) + } + }else{ + _ = Timer.scheduledTimer(withTimeInterval: 10, repeats: false) { (timer) in + let connected = self.isAlreadyConnected() + let message = connected ? "successConnectingHmgNetwork" : "failedConnectingHmgNetwork" + FlutterText.with(key: message) { (localized) in + self.complete(false, localized ) + } + } + } + } + + +// NSMutableURLRequest(url: URL(string: "www.google.com")!).bind(to: command) +// NEHotspotHelper.register(options: [:], queue: DispatchQueue.global()) { (command) in +// command +// print(command) +// } + + } + + private func isAlreadyConnected() -> Bool{ + var currentSSID: String? + if let interfaces = CNCopySupportedInterfaces() as NSArray? { + for interface in interfaces { + if let interfaceInfo = CNCopyCurrentNetworkInfo(interface as! CFString) as NSDictionary? { + currentSSID = interfaceInfo[kCNNetworkInfoKeySSID as String] as? String + break + } + } + } + + print("CurrentConnectedSSID: \(currentSSID)") + return currentSSID == SSID + } + +} diff --git a/ios/Runner/WifiConnect/HMG_GUEST_bkp.swift b/ios/Runner/WifiConnect/HMG_GUEST_bkp.swift new file mode 100644 index 00000000..e3dfd468 --- /dev/null +++ b/ios/Runner/WifiConnect/HMG_GUEST_bkp.swift @@ -0,0 +1,129 @@ +//// +//// HMG_GUEST.swift +//// HMG-iOS-Wifi +//// +//// Created by ZiKambrani on 23/03/1442 AH. +//// Copyright © 1442 ZiKambrani. All rights reserved. +//// +// +//import UIKit +//import NetworkExtension +//import SystemConfiguration.CaptiveNetwork +// +// +//class HMG_GUEST{ +// static let shared = HMG_GUEST() +// private let SSID = "GUEST-POC" +// private let USER = "1301" +// private let PASS = "8928" +// +// var complete:((_ status:Bool, _ message:String) -> Void)! +// func connect(completion:@escaping ((_ status:Bool, _ message:String) -> Void)){ +// complete = completion +// +// if isAlreadyConnected() { +// hasInternet { (has) in +// if has == true{ +// self.complete(true, "You already connected to internet") +// return +// }else{ +// self.authenticate() +// } +// } +// }else{ +// connect() +// } +// } +// +// private func connect() { +// let hotspotConfig = NEHotspotConfiguration(ssid: SSID) +// hotspotConfig.joinOnce = true +// +// NEHotspotConfigurationManager.shared.apply(hotspotConfig) {[weak self] (error) in +// guard let self = self else { return; } +// +// if let error = error { +// self.complete(false, error.localizedDescription ?? "Error connecting to HMG wifi network" ) +// }else{ +// _ = Timer.scheduledTimer(withTimeInterval: 2, repeats: false) { (timer) in +// self.authenticate() +// } +// } +// } +// } +// +// func authenticate(){ +// +// func callLogin(){ +// +// let parameters = "Login=Log%20In&cmd=authenticate&password=1820&user=2300" +// let postData = parameters.data(using: .utf8) +// +// var request = URLRequest(url: URL(string: "https://captiveportal-login.hmg.com/cgi-bin/login")!,timeoutInterval: 5) +// request.addValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type") +// +// request.httpMethod = "POST" +// request.httpBody = postData +// +// let task = URLSession.shared.dataTask(with: request) { data, response, error in +// // guard let data = data else { +// // self.complete(false, "Error at authentication") +// // return +// // } +// +// self.hasInternet { (has) in +// self.complete(has, has ? "Successfully connected to the internet" : "Authentication failed or you are already using your credentials on another device") +// } +// } +// task.resume() +// +// } +// +// self.hasInternet { (has) in +// if has == true{ +// self.complete(true, "Your internet account is already authenticated") +// }else{ +// callLogin() +// } +// } +// +// } +// +// private func isAlreadyConnected() -> Bool{ +// var currentSSID: String? +// if let interfaces = CNCopySupportedInterfaces() as NSArray? { +// for interface in interfaces { +// if let interfaceInfo = CNCopyCurrentNetworkInfo(interface as! CFString) as NSDictionary? { +// currentSSID = interfaceInfo[kCNNetworkInfoKeySSID as String] as? String +// break +// } +// } +// } +// +// print("CurrentConnectedSSID: \(currentSSID)") +// return currentSSID == SSID +// } +// +// +// func hasInternet( completion:@escaping ((Bool)->Void)){ +// +// let testUrl = "https://captive.apple.com" +// var request = URLRequest(url: URL(string: testUrl)!,timeoutInterval: 5) +// request.httpMethod = "GET" +// let task = URLSession.shared.dataTask(with: request) { data, response, error in +// guard let data = data else { +// completion(false) +// return +// } +// let resp = String(data: data, encoding: .utf8)! +// if resp.contains("Success"){ +// completion(true) +// }else{ +// completion(false) +// } +// +// } +// task.resume() +// } +// +//} diff --git a/ios/Runner/WifiConnect/HMG_Internet.swift b/ios/Runner/WifiConnect/HMG_Internet.swift new file mode 100644 index 00000000..00ac172f --- /dev/null +++ b/ios/Runner/WifiConnect/HMG_Internet.swift @@ -0,0 +1,193 @@ +// +// HMG_GUEST.swift +// HMG-iOS-Wifi +// +// Created by ZiKambrani on 23/03/1442 AH. +// Copyright © 1442 ZiKambrani. All rights reserved. +// + +import UIKit +import NetworkExtension +import SystemConfiguration.SCNetworkConnection + +fileprivate var TEST = false +fileprivate let SSID = "GUEST-POC" +fileprivate var USER = "" +fileprivate var PASS = "" + +fileprivate func supportedEAPTypes() -> [NSNumber]{ + let peap = NEHotspotEAPSettings.EAPType.EAPPEAP.rawValue + let fast = NEHotspotEAPSettings.EAPType.EAPFAST.rawValue + let tls = NEHotspotEAPSettings.EAPType.EAPTLS.rawValue + let ttls = NEHotspotEAPSettings.EAPType.EAPTTLS.rawValue + return [NSNumber(value: peap), NSNumber(value: fast), NSNumber(value: tls), NSNumber(value: ttls)] +} + +class HMG_Internet{ + static let shared = HMG_Internet() + + private var complete:((_ status:Bool, _ message:String) -> Void)! + func connect(patientId:String, completion:@escaping ((_ status:Bool, _ message:String) -> Void)){ + complete = completion + + if isAlreadyConnected() { + hasInternet { (has) in + if has == true{ + FlutterText.with(key: "alreadyConnectedHmgNetwork"){ localized in + self.complete(true, localized) + } + return + }else{ + FlutterText.with(key: "connectedToHmgNetworkWithNoInternet"){ localized in + self.complete(false, localized) + } + } + } + }else{ + connect(patientId: patientId) + } + } + + private func connect(patientId:String) { + + getWifiCredentials(patientId: patientId) { + let trust_cert = Bundle.main.certificate(named: "GuestPOC_Certificate") + guard trust_cert.trust() == true else{ + FlutterText.with(key: "notConnectedToHmgNetworkSecurityIssue"){ localized in + self.complete(false,localized) + } + return + } + + let eapSettings = NEHotspotEAPSettings() + eapSettings.username = USER + eapSettings.password = PASS + eapSettings.trustedServerNames = ["*.hmg.com","onboard.hmg.com","hmg.com"] + eapSettings.supportedEAPTypes = [supportedEAPTypes().first!] +// eapSettings.isTLSClientCertificateRequired = true +// eapSettings.ttlsInnerAuthenticationType = .eapttlsInnerAuthenticationMSCHAPv2 // MSCHAPv2 +// eapSettings.setIdentity(Bundle.main.identity(named: "GuestPOC_Certificate", password: "1")) +// eapSettings.setTrustedServerCertificates([trust_cert]) + + let hotspotConfig = NEHotspotConfiguration(ssid: SSID, eapSettings: eapSettings) + NEHotspotConfigurationManager.shared.apply(hotspotConfig) {[weak self] (error) in + guard let self = self else { return; } + + if let error = error { + + FlutterText.with(key: "errorConnectingHmgNetwork"){ localized in + self.complete(false,localized) + } + + }else{ + _ = Timer.scheduledTimer(withTimeInterval: 5, repeats: false) { (timer) in + self.hasInternet { (has) in + if has == true{ + FlutterText.with(key: "connectedHmgNetworkWithInternet"){ localized in + self.complete(true,localized) + } + return + }else{ + FlutterText.with(key: "connectedToHmgNetworkWithNoInternet"){ localized in + self.complete(false,localized) + } + } + } + } + } + } + + } + } + + private func isAlreadyConnected() -> Bool{ + var currentSSID: String? + if let interfaces = CNCopySupportedInterfaces() as NSArray? { + for interface in interfaces { + if let interfaceInfo = CNCopyCurrentNetworkInfo(interface as! CFString) as NSDictionary? { + currentSSID = interfaceInfo[kCNNetworkInfoKeySSID as String] as? String + break + } + } + } + print("CurrentConnectedSSID: \(currentSSID)") + return currentSSID == SSID + } + + + private func getWifiCredentials(patientId:String, success: @escaping (() -> Void)){ + if TEST { + success() + return + } + + guard let url = API.WIFI_CREDENTIALS.toUrl() else { return assert(true, "Invalid URL: \(API.WIFI_CREDENTIALS)") } + + // JSON Body for HTTP Request + let json: [String: Any] = ["PatientID": patientId] + let jsonData = try? JSONSerialization.data(withJSONObject: json) + + var request = URLRequest(url: url, timeoutInterval: 20) + request.httpMethod = "POST" + request.setValue("application/json", forHTTPHeaderField: "Content-Type") + request.httpBody = jsonData + + let task = URLSession.shared.dataTask(with: request) { data, response, error in + guard let data = data else { + self.somethingWentWrong() + return + } + + if let responseJSON = try? JSONSerialization.jsonObject(with: data, options: []) as? [String: Any]{ + if let requiredData = (responseJSON["Hmg_SMS_Get_By_ProjectID_And_PatientIDList"] as? [[String:Any]])?.first, + let userName = requiredData["UserName"] as? String, let password = requiredData["Password"] as? String{ + + USER = userName + PASS = password + success() + + }else if let errorMessage = responseJSON["ErrorMessage"] as? String{ + self.complete(false, errorMessage) + }else{ + self.somethingWentWrong() + } + }else{ + self.somethingWentWrong() + } + + } + task.resume() + + } + + private func somethingWentWrong(){ + FlutterText.with(key: "somethingWentWrong") { (localized) in + self.complete(false, localized) + } + } + + + func hasInternet( completion:@escaping ((Bool)->Void)){ + + let testUrl = "https://captive.apple.com" + var request = URLRequest(url: URL(string: testUrl)!,timeoutInterval: 5) + request.httpMethod = "GET" + let task = URLSession.shared.dataTask(with: request) { data, response, error in + guard let data = data else { + completion(false) + return + } + + completion( + String(data: data, encoding: .utf8)! + .replacingOccurrences(of: " ", with: "") + .replacingOccurrences(of: "\n", with: "") + .lowercased() + .contains("success") + ) + + } + task.resume() + } + +} diff --git a/ios/Runner/WifiConnect/HMG_Wifi.swift b/ios/Runner/WifiConnect/HMG_Wifi.swift new file mode 100644 index 00000000..1335f766 --- /dev/null +++ b/ios/Runner/WifiConnect/HMG_Wifi.swift @@ -0,0 +1,172 @@ +// +// HMG_GUEST.swift +// HMG-iOS-Wifi +// +// Created by ZiKambrani on 23/03/1442 AH. +// Copyright © 1442 ZiKambrani. All rights reserved. +// + +import UIKit +import NetworkExtension +import SystemConfiguration.CaptiveNetwork + +fileprivate var TEST = true +fileprivate let SSID = "GUEST-POC" +fileprivate var USER = "0696" +fileprivate var PASS = "0000" + +fileprivate func supportedEAPTypes() -> [NSNumber]{ + let peap = NEHotspotEAPSettings.EAPType.EAPPEAP.rawValue + let fast = NEHotspotEAPSettings.EAPType.EAPFAST.rawValue + let tls = NEHotspotEAPSettings.EAPType.EAPTLS.rawValue + let ttls = NEHotspotEAPSettings.EAPType.EAPTTLS.rawValue + return [NSNumber(value: peap), NSNumber(value: fast), NSNumber(value: tls), NSNumber(value: ttls)] +} + +class HMG_Internet{ + static let shared = HMG_Wifi() + + private var complete:((_ status:Bool, _ message:String) -> Void)! + func connect(patientId:String, completion:@escaping ((_ status:Bool, _ message:String) -> Void)){ + complete = completion + + if isAlreadyConnected() { + hasInternet { (has) in + if has == true{ + self.complete(true, "You already connected to HMG network to access internet") + return + }else{ + self.complete(false, "You are connected to HMG network but it have no internet access") + } + } + }else{ + connect(patientId: patientId) + } + } + + private func connect(patientId:String) { + + getWifiCredentials(patientId: patientId) { + let trust_cert = Bundle.main.certificate(named: "GuestPOC_Certificate") + guard trust_cert.trust() == true else{ + self.complete(false,"We are not able to connect you to HMG network due to security certificate") + return + } + + let eapSettings = NEHotspotEAPSettings() + eapSettings.username = USER + eapSettings.password = PASS + eapSettings.trustedServerNames = ["*.hmg.com","onboard.hmg.com","hmg.com"] + eapSettings.supportedEAPTypes = [supportedEAPTypes().first!] +// eapSettings.isTLSClientCertificateRequired = true +// eapSettings.ttlsInnerAuthenticationType = .eapttlsInnerAuthenticationMSCHAPv2 // MSCHAPv2 +// eapSettings.setIdentity(Bundle.main.identity(named: "GuestPOC_Certificate", password: "1")) +// eapSettings.setTrustedServerCertificates([trust_cert]) + + let hotspotConfig = NEHotspotConfiguration(ssid: SSID, eapSettings: eapSettings) + NEHotspotConfigurationManager.shared.apply(hotspotConfig) {[weak self] (error) in + guard let self = self else { return; } + + if let error = error { + self.complete(false, "Error connecting to HMG network" /*error.localizedDescription*/ ) + }else{ + _ = Timer.scheduledTimer(withTimeInterval: 3, repeats: false) { (timer) in + self.hasInternet { (has) in + if has == true{ + self.complete(true, "Successfully connected to the HMG network to access internet") + return + }else{ + self.complete(false, "Successfully connected to the HMG network but it have no internet access") + } + } + } + } + } + + } + } + + private func isAlreadyConnected() -> Bool{ + var currentSSID: String? + if let interfaces = CNCopySupportedInterfaces() as NSArray? { + for interface in interfaces { + if let interfaceInfo = CNCopyCurrentNetworkInfo(interface as! CFString) as NSDictionary? { + currentSSID = interfaceInfo[kCNNetworkInfoKeySSID as String] as? String + break + } + } + } + + print("CurrentConnectedSSID: \(currentSSID)") + return currentSSID == SSID + } + + + private func getWifiCredentials(patientId:String, completion: @escaping (() -> Void)){ + if TEST { + completion() + return + } + + guard let url = API.WIFI_CREDENTIALS.toUrl() else { return assert(true, "Invalid URL: \(API.WIFI_CREDENTIALS)") } + + // JSON Body for HTTP Request + let json: [String: Any] = ["PatientID": patientId] + let jsonData = try? JSONSerialization.data(withJSONObject: json) + + var request = URLRequest(url: url, timeoutInterval: 20) + request.httpMethod = "POST" + request.setValue("application/json", forHTTPHeaderField: "Content-Type") + request.httpBody = jsonData + + let task = URLSession.shared.dataTask(with: request) { data, response, error in + guard let data = data else { + self.complete(false, "Failed to get your internet credentials") + return + } + + if let responseJSON = try? JSONSerialization.jsonObject(with: data, options: []) as? [String: Any]{ + if let requiredData = responseJSON["Hmg_SMS_Get_By_ProjectID_And_PatientIDList"] as? [String:Any], + let userName = requiredData["UserName"] as? String, let password = requiredData["Password"] as? String{ + + USER = userName + PASS = password + completion() + + }else if let errorMessage = responseJSON["ErrorMessage"] as? String{ + self.complete(false, errorMessage) + } + }else{ + self.complete(false, "Failed to get your internet credentials") + } + + } + task.resume() + + } + + + func hasInternet( completion:@escaping ((Bool)->Void)){ + + let testUrl = "https://captive.apple.com" + var request = URLRequest(url: URL(string: testUrl)!,timeoutInterval: 5) + request.httpMethod = "GET" + let task = URLSession.shared.dataTask(with: request) { data, response, error in + guard let data = data else { + completion(false) + return + } + + completion( + String(data: data, encoding: .utf8)! + .replacingOccurrences(of: " ", with: "") + .replacingOccurrences(of: "\n", with: "") + .lowercased() + .contains("success") + ) + + } + task.resume() + } + +} diff --git a/ios/Runner/ar.lproj/LaunchScreen.strings b/ios/Runner/ar.lproj/LaunchScreen.strings new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/ios/Runner/ar.lproj/LaunchScreen.strings @@ -0,0 +1 @@ + diff --git a/ios/Runner/ar.lproj/Main.strings b/ios/Runner/ar.lproj/Main.strings new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/ios/Runner/ar.lproj/Main.strings @@ -0,0 +1 @@ + diff --git a/ios/Runner/ar.lproj/Main_Custom.strings b/ios/Runner/ar.lproj/Main_Custom.strings new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/ios/Runner/ar.lproj/Main_Custom.strings @@ -0,0 +1 @@ + diff --git a/ios/gpx.gpx b/ios/gpx.gpx new file mode 100644 index 00000000..ed8e9be6 --- /dev/null +++ b/ios/gpx.gpx @@ -0,0 +1 @@ + Sverrir Sigmundarson 608.26 620.97 617.77 643.86 \ No newline at end of file diff --git a/lib/analytics/analytic-events.dart b/lib/analytics/analytic-events.dart index 8f524173..192143c8 100644 --- a/lib/analytics/analytic-events.dart +++ b/lib/analytics/analytic-events.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; class _Event { String? name; diff --git a/lib/analytics/flows/app_nav.dart b/lib/analytics/flows/app_nav.dart index cc1d8f98..f877ebdc 100644 --- a/lib/analytics/flows/app_nav.dart +++ b/lib/analytics/flows/app_nav.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; class AppNav{ final name = 'app_nav'; diff --git a/lib/analytics/flows/appointments.dart b/lib/analytics/flows/appointments.dart index 594c9179..9d2fec9a 100644 --- a/lib/analytics/flows/appointments.dart +++ b/lib/analytics/flows/appointments.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DentalChiefComplaintsModel.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Clinics/ClinicListResponse.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DentalChiefComplaintsModel.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Clinics/ClinicListResponse.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; diff --git a/lib/analytics/flows/hamburger_menu.dart b/lib/analytics/flows/hamburger_menu.dart index 404cdbcf..45dfed21 100644 --- a/lib/analytics/flows/hamburger_menu.dart +++ b/lib/analytics/flows/hamburger_menu.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; class HamburgerMenu{ final hamburger_menu = 'hamburger_menu'; diff --git a/lib/analytics/flows/todo_list.dart b/lib/analytics/flows/todo_list.dart index a3ff21f2..00176199 100644 --- a/lib/analytics/flows/todo_list.dart +++ b/lib/analytics/flows/todo_list.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; import '../google-analytics.dart'; diff --git a/lib/analytics/google-analytics.dart b/lib/analytics/google-analytics.dart index 46ae7f80..d29bce6e 100644 --- a/lib/analytics/google-analytics.dart +++ b/lib/analytics/google-analytics.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/analytics/analytic-events.dart'; -import 'package:diplomaticquarterapp/analytics/flows/advance_payments.dart'; -import 'package:diplomaticquarterapp/analytics/flows/appointments.dart'; -import 'package:diplomaticquarterapp/analytics/flows/error_tracking.dart'; -import 'package:diplomaticquarterapp/analytics/flows/hamburger_menu.dart'; -import 'package:diplomaticquarterapp/analytics/flows/live_care.dart'; -import 'package:diplomaticquarterapp/analytics/flows/login_registration.dart'; -import 'package:diplomaticquarterapp/analytics/flows/offers_promotions.dart'; -import 'package:diplomaticquarterapp/analytics/flows/todo_list.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/analytic-events.dart'; +import 'package:hmg_patient_app/analytics/flows/advance_payments.dart'; +import 'package:hmg_patient_app/analytics/flows/appointments.dart'; +import 'package:hmg_patient_app/analytics/flows/error_tracking.dart'; +import 'package:hmg_patient_app/analytics/flows/hamburger_menu.dart'; +import 'package:hmg_patient_app/analytics/flows/live_care.dart'; +import 'package:hmg_patient_app/analytics/flows/login_registration.dart'; +import 'package:hmg_patient_app/analytics/flows/offers_promotions.dart'; +import 'package:hmg_patient_app/analytics/flows/todo_list.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:firebase_analytics/firebase_analytics.dart'; import 'package:firebase_analytics/observer.dart'; import 'package:flutter/material.dart'; diff --git a/lib/config/config.dart b/lib/config/config.dart index 8d75daae..fb64f682 100644 --- a/lib/config/config.dart +++ b/lib/config/config.dart @@ -1,8 +1,8 @@ import 'dart:io'; import 'package:amazon_payfort/amazon_payfort.dart'; -import 'package:diplomaticquarterapp/models/Request.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/models/Request.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; var MAX_SMALL_SCREEN = 660; final OPENTOK_API_KEY = '46209962'; diff --git a/lib/core/enum/Ambulate.dart b/lib/core/enum/Ambulate.dart index e4714cb2..c15410a3 100644 --- a/lib/core/enum/Ambulate.dart +++ b/lib/core/enum/Ambulate.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/cupertino.dart'; enum Ambulate { Wheelchair, Walker, Stretcher, None } diff --git a/lib/core/model/active_medications/ActivePrescriptionReport.dart b/lib/core/model/active_medications/ActivePrescriptionReport.dart index 50e3d45a..43fe413a 100644 --- a/lib/core/model/active_medications/ActivePrescriptionReport.dart +++ b/lib/core/model/active_medications/ActivePrescriptionReport.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class ActivePrescriptionReport { dynamic address; diff --git a/lib/core/model/blooddonation/blood_groub_details.dart b/lib/core/model/blooddonation/blood_groub_details.dart index 77c2d944..f8df02ec 100644 --- a/lib/core/model/blooddonation/blood_groub_details.dart +++ b/lib/core/model/blooddonation/blood_groub_details.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class List_BloodGroupDetailsModel { int? iD; int? patientID; diff --git a/lib/core/model/childvaccines/List_BabyInformationModel.dart b/lib/core/model/childvaccines/List_BabyInformationModel.dart index cce3e248..9ce705bb 100644 --- a/lib/core/model/childvaccines/List_BabyInformationModel.dart +++ b/lib/core/model/childvaccines/List_BabyInformationModel.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class List_BabyInformationModel { int? alertBy; int? babyID; diff --git a/lib/core/model/contactus/get_patientI_cprojects.dart b/lib/core/model/contactus/get_patientI_cprojects.dart index 72a1968c..c5970e9b 100644 --- a/lib/core/model/contactus/get_patientI_cprojects.dart +++ b/lib/core/model/contactus/get_patientI_cprojects.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class GetPatientICProjectsModel { int? id; diff --git a/lib/core/model/doctor/patient_doctor_appointment.dart b/lib/core/model/doctor/patient_doctor_appointment.dart index 9ee31e04..f6c3ad78 100644 --- a/lib/core/model/doctor/patient_doctor_appointment.dart +++ b/lib/core/model/doctor/patient_doctor_appointment.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class PatientDoctorAppointment { String? setupID; diff --git a/lib/core/model/er/PatientER.dart b/lib/core/model/er/PatientER.dart index f8248956..2ac64f56 100644 --- a/lib/core/model/er/PatientER.dart +++ b/lib/core/model/er/PatientER.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/enum/Ambulate.dart'; +import 'package:hmg_patient_app/core/enum/Ambulate.dart'; import 'get_all_transportation_method_list_model.dart'; diff --git a/lib/core/model/er/PatientER_RC.dart b/lib/core/model/er/PatientER_RC.dart index cd4d8d5d..230bfa76 100644 --- a/lib/core/model/er/PatientER_RC.dart +++ b/lib/core/model/er/PatientER_RC.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/er/get_all_transportation_method_list_model.dart'; +import 'package:hmg_patient_app/core/model/er/get_all_transportation_method_list_model.dart'; class PatientER_RC { double? versionID; diff --git a/lib/core/model/er/TriageInformationRequest.dart b/lib/core/model/er/TriageInformationRequest.dart index 53d4bfb0..cfda9f37 100644 --- a/lib/core/model/er/TriageInformationRequest.dart +++ b/lib/core/model/er/TriageInformationRequest.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; class TriageInformationRequest { double? versionID; diff --git a/lib/core/model/eye/AppoimentAllHistoryResult.dart b/lib/core/model/eye/AppoimentAllHistoryResult.dart index fb62f3f5..ac1e2d1e 100644 --- a/lib/core/model/eye/AppoimentAllHistoryResult.dart +++ b/lib/core/model/eye/AppoimentAllHistoryResult.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class AppoimentAllHistoryResultList { String? setupID; diff --git a/lib/core/model/geofencing/responses/GeoZonesResponseModel.dart b/lib/core/model/geofencing/responses/GeoZonesResponseModel.dart index eaf89db5..1f9a5609 100644 --- a/lib/core/model/geofencing/responses/GeoZonesResponseModel.dart +++ b/lib/core/model/geofencing/responses/GeoZonesResponseModel.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; -import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; +import 'package:hmg_patient_app/generated/json/base/json_convert_content.dart'; +import 'package:hmg_patient_app/generated/json/base/json_field.dart'; class GeoZonesResponseModel extends JsonConvert { @JSONField(name: "GEOF_ID") diff --git a/lib/core/model/geofencing/responses/LogGeoZoneResponseModel.dart b/lib/core/model/geofencing/responses/LogGeoZoneResponseModel.dart index e27633a4..83828974 100644 --- a/lib/core/model/geofencing/responses/LogGeoZoneResponseModel.dart +++ b/lib/core/model/geofencing/responses/LogGeoZoneResponseModel.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; -import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; +import 'package:hmg_patient_app/generated/json/base/json_convert_content.dart'; +import 'package:hmg_patient_app/generated/json/base/json_field.dart'; class LogGeoZoneResponseModel extends JsonConvert { @JSONField(name: "LanguageID") diff --git a/lib/core/model/labs/patient_lab_orders.dart b/lib/core/model/labs/patient_lab_orders.dart index 2f3b1629..749d284f 100644 --- a/lib/core/model/labs/patient_lab_orders.dart +++ b/lib/core/model/labs/patient_lab_orders.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class PatientLabOrders { int? actualDoctorRate; diff --git a/lib/core/model/my_balance/AdvanceModel.dart b/lib/core/model/my_balance/AdvanceModel.dart index a186f9f6..59f3c41d 100644 --- a/lib/core/model/my_balance/AdvanceModel.dart +++ b/lib/core/model/my_balance/AdvanceModel.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/model/blooddonation/get_all_cities.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/get_all_cities.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; class AdvanceModel { String? fileNumber; diff --git a/lib/core/model/my_trakers/blood_pressur/BloodPressureResult.dart b/lib/core/model/my_trakers/blood_pressur/BloodPressureResult.dart index 1528c5f7..f6c0719b 100644 --- a/lib/core/model/my_trakers/blood_pressur/BloodPressureResult.dart +++ b/lib/core/model/my_trakers/blood_pressur/BloodPressureResult.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class BloodPressureResult { int? patientID; diff --git a/lib/core/model/my_trakers/blood_pressur/WeekBloodPressureResultAverage.dart b/lib/core/model/my_trakers/blood_pressur/WeekBloodPressureResultAverage.dart index b3fd4b7f..2a0c50c2 100644 --- a/lib/core/model/my_trakers/blood_pressur/WeekBloodPressureResultAverage.dart +++ b/lib/core/model/my_trakers/blood_pressur/WeekBloodPressureResultAverage.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class WeekBloodPressureResultAverage { int? dailySystolicePressureAverageResult; diff --git a/lib/core/model/my_trakers/blood_pressur/YearBloodPressureResultAverage.dart b/lib/core/model/my_trakers/blood_pressur/YearBloodPressureResultAverage.dart index bd78d04c..297deb36 100644 --- a/lib/core/model/my_trakers/blood_pressur/YearBloodPressureResultAverage.dart +++ b/lib/core/model/my_trakers/blood_pressur/YearBloodPressureResultAverage.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class YearBloodPressureResultAverage { int? monthSystolicePressureAverageResult; diff --git a/lib/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart b/lib/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart index 62decb02..64bebb84 100644 --- a/lib/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart +++ b/lib/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class DiabtecPatientResult { String? chartMonth; diff --git a/lib/core/model/my_trakers/blood_sugar/WeekDiabtectResultAverage.dart b/lib/core/model/my_trakers/blood_sugar/WeekDiabtectResultAverage.dart index 4d7c7952..50f92937 100644 --- a/lib/core/model/my_trakers/blood_sugar/WeekDiabtectResultAverage.dart +++ b/lib/core/model/my_trakers/blood_sugar/WeekDiabtectResultAverage.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class WeekDiabtectResultAverage { dynamic dailyAverageResult; diff --git a/lib/core/model/my_trakers/blood_sugar/YearDiabtecResultAverage.dart b/lib/core/model/my_trakers/blood_sugar/YearDiabtecResultAverage.dart index 8521e011..98da04d9 100644 --- a/lib/core/model/my_trakers/blood_sugar/YearDiabtecResultAverage.dart +++ b/lib/core/model/my_trakers/blood_sugar/YearDiabtecResultAverage.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class YearDiabtecResultAverage { dynamic monthAverageResult; diff --git a/lib/core/model/my_trakers/weight/WeekWeightMeasurementResultAverage.dart b/lib/core/model/my_trakers/weight/WeekWeightMeasurementResultAverage.dart index 1c3566a9..3bd23f20 100644 --- a/lib/core/model/my_trakers/weight/WeekWeightMeasurementResultAverage.dart +++ b/lib/core/model/my_trakers/weight/WeekWeightMeasurementResultAverage.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class WeekWeightMeasurementResultAverage { dynamic dailyAverageResult; diff --git a/lib/core/model/my_trakers/weight/WeightMeasurementResult.dart b/lib/core/model/my_trakers/weight/WeightMeasurementResult.dart index 7436eccc..2a92359e 100644 --- a/lib/core/model/my_trakers/weight/WeightMeasurementResult.dart +++ b/lib/core/model/my_trakers/weight/WeightMeasurementResult.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class WeightMeasurementResult { int? patientID; diff --git a/lib/core/model/my_trakers/weight/YearWeightMeasurementResultAverage.dart b/lib/core/model/my_trakers/weight/YearWeightMeasurementResultAverage.dart index a8d64423..bb681d44 100644 --- a/lib/core/model/my_trakers/weight/YearWeightMeasurementResultAverage.dart +++ b/lib/core/model/my_trakers/weight/YearWeightMeasurementResultAverage.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class YearWeightMeasurementResultAverage { dynamic monthAverageResult; diff --git a/lib/core/model/packages_offers/requests/CreateCustomerRequestModel.dart b/lib/core/model/packages_offers/requests/CreateCustomerRequestModel.dart index 58161886..625317f9 100644 --- a/lib/core/model/packages_offers/requests/CreateCustomerRequestModel.dart +++ b/lib/core/model/packages_offers/requests/CreateCustomerRequestModel.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; import 'package:flutter/cupertino.dart'; class PackagesCustomerRequestModel { diff --git a/lib/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart b/lib/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart index 31350efb..9d160717 100644 --- a/lib/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart +++ b/lib/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; class PackagesCartItemsResponseModel { int? _quantity; diff --git a/lib/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart b/lib/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart index 7db2b736..112a7b79 100644 --- a/lib/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart +++ b/lib/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; -import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; +import 'package:hmg_patient_app/generated/json/base/json_convert_content.dart'; +import 'package:hmg_patient_app/generated/json/base/json_field.dart'; class PackagesCategoriesResponseModel extends JsonConvert { int? id; diff --git a/lib/core/model/packages_offers/responses/PackagesResponseModel.dart b/lib/core/model/packages_offers/responses/PackagesResponseModel.dart index 90feacfa..d7c46a85 100644 --- a/lib/core/model/packages_offers/responses/PackagesResponseModel.dart +++ b/lib/core/model/packages_offers/responses/PackagesResponseModel.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/generated/json/base/json_convert_content.dart'; -import 'package:diplomaticquarterapp/generated/json/base/json_field.dart'; +import 'package:hmg_patient_app/generated/json/base/json_convert_content.dart'; +import 'package:hmg_patient_app/generated/json/base/json_field.dart'; class PackagesResponseModel extends JsonConvert { int? id; diff --git a/lib/core/model/packages_offers/responses/order_response_model.dart b/lib/core/model/packages_offers/responses/order_response_model.dart index aea27a86..ba22f97b 100644 --- a/lib/core/model/packages_offers/responses/order_response_model.dart +++ b/lib/core/model/packages_offers/responses/order_response_model.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCustomerResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCustomerResponseModel.dart'; import 'PackagesCartItemsResponseModel.dart'; diff --git a/lib/core/model/pharmacies/Customer.dart b/lib/core/model/pharmacies/Customer.dart index 5d3e49c3..bace6ba4 100644 --- a/lib/core/model/pharmacies/Customer.dart +++ b/lib/core/model/pharmacies/Customer.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/BillingAddress.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/BillingAddress.dart'; class Customer { BillingAddress? billingAddress; diff --git a/lib/core/model/pharmacies/PharmacyProduct.dart b/lib/core/model/pharmacies/PharmacyProduct.dart index 3656aac8..24197755 100644 --- a/lib/core/model/pharmacies/PharmacyProduct.dart +++ b/lib/core/model/pharmacies/PharmacyProduct.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/Specifications.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Specifications.dart'; import 'PharmacyImageObject.dart'; import 'Reviews.dart'; diff --git a/lib/core/model/pharmacies/ShoppingCart.dart b/lib/core/model/pharmacies/ShoppingCart.dart index 09629352..00b3604e 100644 --- a/lib/core/model/pharmacies/ShoppingCart.dart +++ b/lib/core/model/pharmacies/ShoppingCart.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/Customer.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Customer.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; class ShoppingCart { int? languageId; diff --git a/lib/core/model/pharmacies/ShoppingCartResponse.dart b/lib/core/model/pharmacies/ShoppingCartResponse.dart index ff0ed1ae..8015fa06 100644 --- a/lib/core/model/pharmacies/ShoppingCartResponse.dart +++ b/lib/core/model/pharmacies/ShoppingCartResponse.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCart.dart'; import 'package:flutter/material.dart'; class ShoppingCartResponse { diff --git a/lib/core/model/pharmacies/order_detail.dart b/lib/core/model/pharmacies/order_detail.dart index d6a6dd70..4648c6c3 100644 --- a/lib/core/model/pharmacies/order_detail.dart +++ b/lib/core/model/pharmacies/order_detail.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/BillingAddress.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/Customer.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/BillingAddress.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Customer.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCart.dart'; class OrderDetailModel { String? id; diff --git a/lib/core/model/pharmacies/order_model.dart b/lib/core/model/pharmacies/order_model.dart index 005d9337..26deab2d 100644 --- a/lib/core/model/pharmacies/order_model.dart +++ b/lib/core/model/pharmacies/order_model.dart @@ -1,6 +1,6 @@ import 'dart:convert'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyImageObject.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyImageObject.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; List orderModelFromJson(String str) => List.from(json.decode(str).map((x) => OrderModel.fromJson(x))); diff --git a/lib/core/model/pharmacies/payment-checkout-data.dart b/lib/core/model/pharmacies/payment-checkout-data.dart index 60cd7b23..fdd5d892 100644 --- a/lib/core/model/pharmacies/payment-checkout-data.dart +++ b/lib/core/model/pharmacies/payment-checkout-data.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; import 'package:flutter/material.dart'; import 'ShippingOption.dart'; diff --git a/lib/core/model/prescriptions/Prescriptions.dart b/lib/core/model/prescriptions/Prescriptions.dart index 6e63bdad..3109186f 100644 --- a/lib/core/model/prescriptions/Prescriptions.dart +++ b/lib/core/model/prescriptions/Prescriptions.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class Prescriptions { String? setupID; diff --git a/lib/core/model/prescriptions/prescriptions_order.dart b/lib/core/model/prescriptions/prescriptions_order.dart index 1241ea15..7072f06c 100644 --- a/lib/core/model/prescriptions/prescriptions_order.dart +++ b/lib/core/model/prescriptions/prescriptions_order.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; class PrescriptionsOrder { int? iD; diff --git a/lib/core/model/prescriptions/request_send_prescription_email.dart b/lib/core/model/prescriptions/request_send_prescription_email.dart index ccb522cf..49e2ee57 100644 --- a/lib/core/model/prescriptions/request_send_prescription_email.dart +++ b/lib/core/model/prescriptions/request_send_prescription_email.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_inp.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_inp.dart'; class RequestSendPrescriptionEmail { String? appointmentDate; diff --git a/lib/core/model/radiology/final_radiology.dart b/lib/core/model/radiology/final_radiology.dart index 44a5883f..82f2bf94 100644 --- a/lib/core/model/radiology/final_radiology.dart +++ b/lib/core/model/radiology/final_radiology.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class FinalRadiology { String? setupID; diff --git a/lib/core/model/reports/Reports.dart b/lib/core/model/reports/Reports.dart index 9e3d59f0..18fab667 100644 --- a/lib/core/model/reports/Reports.dart +++ b/lib/core/model/reports/Reports.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class Reports { int? status; diff --git a/lib/core/model/sick_leave/sick_leave.dart b/lib/core/model/sick_leave/sick_leave.dart index d089366f..fff60e5a 100644 --- a/lib/core/model/sick_leave/sick_leave.dart +++ b/lib/core/model/sick_leave/sick_leave.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class SickLeave { String? setupID; diff --git a/lib/core/model/vital_sign/vital_sign_res_model.dart b/lib/core/model/vital_sign/vital_sign_res_model.dart index 53b385fe..6c29c192 100644 --- a/lib/core/model/vital_sign/vital_sign_res_model.dart +++ b/lib/core/model/vital_sign/vital_sign_res_model.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class VitalSignResModel { var transNo; diff --git a/lib/core/service/AlHabibMedicalService/H2O_service.dart b/lib/core/service/AlHabibMedicalService/H2O_service.dart index 6c17a750..a63e0fbe 100644 --- a/lib/core/service/AlHabibMedicalService/H2O_service.dart +++ b/lib/core/service/AlHabibMedicalService/H2O_service.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/insert_user_activity_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_detail_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_detail_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_progress_for_month_data_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_progress_for_today_data_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_progress_for_week_data_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_progress_request_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/insert_user_activity_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_detail_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_detail_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_progress_for_month_data_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_progress_for_today_data_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_progress_for_week_data_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_progress_request_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class H2OService extends BaseService { List userProgressForTodayDataList = []; diff --git a/lib/core/service/AlHabibMedicalService/cmc_service.dart b/lib/core/service/AlHabibMedicalService/cmc_service.dart index 4def8cb1..bdccffe4 100644 --- a/lib/core/service/AlHabibMedicalService/cmc_service.dart +++ b/lib/core/service/AlHabibMedicalService/cmc_service.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/enum/OrderService.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/get_cmc_service_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/get_cmc_service_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_hHC_all_pres_orders_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/enum/OrderService.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/get_cmc_service_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/get_cmc_service_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_hHC_all_pres_orders_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; import '../base_service.dart'; diff --git a/lib/core/service/AlHabibMedicalService/customer_addresses_service.dart b/lib/core/service/AlHabibMedicalService/customer_addresses_service.dart index 7f8a92a9..6dcd4ee4 100644 --- a/lib/core/service/AlHabibMedicalService/customer_addresses_service.dart +++ b/lib/core/service/AlHabibMedicalService/customer_addresses_service.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/add_new_address_Request_Model.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/add_new_address_Request_Model.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; import 'package:intl/intl.dart'; import '../base_service.dart'; diff --git a/lib/core/service/AlHabibMedicalService/e_referral_service.dart b/lib/core/service/AlHabibMedicalService/e_referral_service.dart index ba488d14..b574345e 100644 --- a/lib/core/service/AlHabibMedicalService/e_referral_service.dart +++ b/lib/core/service/AlHabibMedicalService/e_referral_service.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/check_activation_code_for_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/get_all_relationship_types_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/search_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/search_e_referral_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/send_activation_code_for_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/check_activation_code_for_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/get_all_relationship_types_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/search_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/search_e_referral_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/send_activation_code_for_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; import 'package:flutter/material.dart'; class EReferralService extends BaseService { diff --git a/lib/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart b/lib/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart index 336a632d..bf1ca7f1 100644 --- a/lib/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart +++ b/lib/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HealthCalculator/ClinicCategory.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HealthCalculator/DiseasesByClinic.dart'; -import 'package:diplomaticquarterapp/core/model/health_calcolator/get_doctor_by_time_model.dart'; -import 'package:diplomaticquarterapp/core/model/health_calcolator/get_doctor_list_calcolation_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HealthCalculator/ClinicCategory.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HealthCalculator/DiseasesByClinic.dart'; +import 'package:hmg_patient_app/core/model/health_calcolator/get_doctor_by_time_model.dart'; +import 'package:hmg_patient_app/core/model/health_calcolator/get_doctor_list_calcolation_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; import 'package:flutter/cupertino.dart'; import '../../../../uitl/app_toast.dart'; diff --git a/lib/core/service/AlHabibMedicalService/home_health_care_service.dart b/lib/core/service/AlHabibMedicalService/home_health_care_service.dart index 41418060..53bde045 100644 --- a/lib/core/service/AlHabibMedicalService/home_health_care_service.dart +++ b/lib/core/service/AlHabibMedicalService/home_health_care_service.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/enum/OrderService.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_request_modle.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_hHC_all_pres_orders_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_hhc_all_pres_orders_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/main.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/enum/OrderService.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_request_modle.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_hHC_all_pres_orders_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_hhc_all_pres_orders_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/main.dart'; import '../base_service.dart'; diff --git a/lib/core/service/AuthenticatedUserObject.dart b/lib/core/service/AuthenticatedUserObject.dart index 5f73c5e8..37f68867 100644 --- a/lib/core/service/AuthenticatedUserObject.dart +++ b/lib/core/service/AuthenticatedUserObject.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; class AuthenticatedUserObject { AuthenticatedUser user = AuthenticatedUser(); diff --git a/lib/core/service/PrescriptionDeliveryService.dart b/lib/core/service/PrescriptionDeliveryService.dart index 15825de4..877b4a98 100644 --- a/lib/core/service/PrescriptionDeliveryService.dart +++ b/lib/core/service/PrescriptionDeliveryService.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class PrescriptionDeliveryService extends BaseService { Future insertDeliveryOrder({int? lineItemNo, double? latitude, double? longitude, int? appointmentNo, int? createdBy, int? dischargeID}) async { diff --git a/lib/core/service/ancillary_orders_service.dart b/lib/core/service/ancillary_orders_service.dart index 99babdfd..24eb3297 100644 --- a/lib/core/service/ancillary_orders_service.dart +++ b/lib/core/service/ancillary_orders_service.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/anicllary-orders/ancillary_order_list_model.dart'; -import 'package:diplomaticquarterapp/models/anicllary-orders/ancillary_order_proc_model.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/anicllary-orders/ancillary_order_list_model.dart'; +import 'package:hmg_patient_app/models/anicllary-orders/ancillary_order_proc_model.dart'; class AncillaryOrdersService extends BaseService { List _ancillaryLists =[]; diff --git a/lib/core/service/appointment_rate_service.dart b/lib/core/service/appointment_rate_service.dart index 0f14a038..a10321df 100644 --- a/lib/core/service/appointment_rate_service.dart +++ b/lib/core/service/appointment_rate_service.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/rate/appointment_details.dart'; -import 'package:diplomaticquarterapp/core/model/rate/appointment_rate.dart'; -import 'package:diplomaticquarterapp/core/model/rate/appoitment_rated.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/rate/appointment_details.dart'; +import 'package:hmg_patient_app/core/model/rate/appointment_rate.dart'; +import 'package:hmg_patient_app/core/model/rate/appoitment_rated.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class AppointmentRateService extends BaseService { List appointmentRatedList =[]; diff --git a/lib/core/service/base_service.dart b/lib/core/service/base_service.dart index 2b8ec3d3..9745d2d1 100644 --- a/lib/core/service/base_service.dart +++ b/lib/core/service/base_service.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'AuthenticatedUserObject.dart'; import 'client/base_app_client.dart'; diff --git a/lib/core/service/blood/blood_details_servies.dart b/lib/core/service/blood/blood_details_servies.dart index eb490086..9bbd38dc 100644 --- a/lib/core/service/blood/blood_details_servies.dart +++ b/lib/core/service/blood/blood_details_servies.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/blooddonation/blood_groub_details.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/blood_groub_details.dart'; import '../base_service.dart'; diff --git a/lib/core/service/blood/blood_donation_service.dart b/lib/core/service/blood/blood_donation_service.dart index 39c776b6..35e3d768 100644 --- a/lib/core/service/blood/blood_donation_service.dart +++ b/lib/core/service/blood/blood_donation_service.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/blooddonation/get_all_cities.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/get_all_cities.dart'; import '../base_service.dart'; diff --git a/lib/core/service/childvaccines/add_new_child_service.dart b/lib/core/service/childvaccines/add_new_child_service.dart index 98cf9638..6c0ac1e3 100644 --- a/lib/core/service/childvaccines/add_new_child_service.dart +++ b/lib/core/service/childvaccines/add_new_child_service.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/add_newchild_model.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/create_new_user_model.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/user_information_model.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/add_newchild_model.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/create_new_user_model.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/user_information_model.dart'; import '../base_service.dart'; diff --git a/lib/core/service/childvaccines/child_vaccines_service.dart b/lib/core/service/childvaccines/child_vaccines_service.dart index df3934df..8447a884 100644 --- a/lib/core/service/childvaccines/child_vaccines_service.dart +++ b/lib/core/service/childvaccines/child_vaccines_service.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/List_BabyInformationModel.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/user_information_model.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/List_BabyInformationModel.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/user_information_model.dart'; import '../base_service.dart'; diff --git a/lib/core/service/childvaccines/delete_baby_service.dart b/lib/core/service/childvaccines/delete_baby_service.dart index 494c92fc..1033e811 100644 --- a/lib/core/service/childvaccines/delete_baby_service.dart +++ b/lib/core/service/childvaccines/delete_baby_service.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/add_newchild_model.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/create_new_user_model.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/delete_baby_model.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/user_information_model.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/add_newchild_model.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/create_new_user_model.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/delete_baby_model.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/user_information_model.dart'; import '../base_service.dart'; diff --git a/lib/core/service/childvaccines/get_vaccinations_item_services.dart b/lib/core/service/childvaccines/get_vaccinations_item_services.dart index 0cf19e9d..ab137f77 100644 --- a/lib/core/service/childvaccines/get_vaccinations_item_services.dart +++ b/lib/core/service/childvaccines/get_vaccinations_item_services.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/get_vacainations_itemsmodel.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/get_vacainations_itemsmodel.dart'; import '../base_service.dart'; diff --git a/lib/core/service/childvaccines/user_information_service.dart b/lib/core/service/childvaccines/user_information_service.dart index bdb086d8..aa42ea5b 100644 --- a/lib/core/service/childvaccines/user_information_service.dart +++ b/lib/core/service/childvaccines/user_information_service.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/user_information_model.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/user_information_model.dart'; import '../base_service.dart'; diff --git a/lib/core/service/childvaccines/vaccination_table_service.dart b/lib/core/service/childvaccines/vaccination_table_service.dart index 330384a9..fbde4c18 100644 --- a/lib/core/service/childvaccines/vaccination_table_service.dart +++ b/lib/core/service/childvaccines/vaccination_table_service.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/List_BabyInformationModel.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/create_vaccination_table.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/List_BabyInformationModel.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/create_vaccination_table.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; import '../base_service.dart'; diff --git a/lib/core/service/client/base_app_client.dart b/lib/core/service/client/base_app_client.dart index 805a8bd3..532a4670 100644 --- a/lib/core/service/client/base_app_client.dart +++ b/lib/core/service/client/base_app_client.dart @@ -2,19 +2,19 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io' show Platform; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/medical/vital_sign_service.dart'; -import 'package:diplomaticquarterapp/core/service/packages_offers/PackagesOffersServices.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/pages/appUpdatePage/app_update_page.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/navigation_service.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/medical/vital_sign_service.dart'; +import 'package:hmg_patient_app/core/service/packages_offers/PackagesOffersServices.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/pages/appUpdatePage/app_update_page.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/navigation_service.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; import 'package:provider/provider.dart'; diff --git a/lib/core/service/contactus/finadus_service.dart b/lib/core/service/contactus/finadus_service.dart index 4c3f5877..3ce3cb52 100644 --- a/lib/core/service/contactus/finadus_service.dart +++ b/lib/core/service/contactus/finadus_service.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/contactus/get_hmg_locations.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/contactus/get_hmg_locations.dart'; import '../base_service.dart'; diff --git a/lib/core/service/contactus/livechat_service.dart b/lib/core/service/contactus/livechat_service.dart index 0b8402af..41cc2f35 100644 --- a/lib/core/service/contactus/livechat_service.dart +++ b/lib/core/service/contactus/livechat_service.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/contactus/get_patientI_cprojects.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/contactus/get_patientI_cprojects.dart'; import '../base_service.dart'; diff --git a/lib/core/service/dashboard_service.dart b/lib/core/service/dashboard_service.dart index 4db1fd6a..3d0c590f 100644 --- a/lib/core/service/dashboard_service.dart +++ b/lib/core/service/dashboard_service.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class DashboardService extends BaseService { diff --git a/lib/core/service/er/EdOnlineServices.dart b/lib/core/service/er/EdOnlineServices.dart index 71beec0b..6ee1b4e4 100644 --- a/lib/core/service/er/EdOnlineServices.dart +++ b/lib/core/service/er/EdOnlineServices.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/er/ErPatientShareModel.dart'; -import 'package:diplomaticquarterapp/core/model/er/TriageQuestionsModel.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/er/ErPatientShareModel.dart'; +import 'package:hmg_patient_app/core/model/er/TriageQuestionsModel.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'package:flutter/cupertino.dart'; class EdOnlineServices extends BaseService { diff --git a/lib/core/service/er/am_service.dart b/lib/core/service/er/am_service.dart index 69c494d2..5b5ab7d6 100644 --- a/lib/core/service/er/am_service.dart +++ b/lib/core/service/er/am_service.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/enum/OrderService.dart'; -import 'package:diplomaticquarterapp/core/model/er/AmbulanceRequestOrdersModel.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientAllPresOrders.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER_RC.dart'; -import 'package:diplomaticquarterapp/core/model/er/PickUpRequestPresOrder.dart'; -import 'package:diplomaticquarterapp/core/model/er/get_all_transportation_method_list_model.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/enum/OrderService.dart'; +import 'package:hmg_patient_app/core/model/er/AmbulanceRequestOrdersModel.dart'; +import 'package:hmg_patient_app/core/model/er/PatientAllPresOrders.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER_RC.dart'; +import 'package:hmg_patient_app/core/model/er/PickUpRequestPresOrder.dart'; +import 'package:hmg_patient_app/core/model/er/get_all_transportation_method_list_model.dart'; import 'package:flutter/cupertino.dart'; import '../base_service.dart'; diff --git a/lib/core/service/er/er_service.dart b/lib/core/service/er/er_service.dart index f1aa6c3c..24d0c0e2 100644 --- a/lib/core/service/er/er_service.dart +++ b/lib/core/service/er/er_service.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/er/projectavgerwaitingtime.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/er/projectavgerwaitingtime.dart'; import '../base_service.dart'; diff --git a/lib/core/service/feedback/feedback_service.dart b/lib/core/service/feedback/feedback_service.dart index a6ca0cb0..89e0d111 100644 --- a/lib/core/service/feedback/feedback_service.dart +++ b/lib/core/service/feedback/feedback_service.dart @@ -1,12 +1,12 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/feedback/COC_items.dart'; -import 'package:diplomaticquarterapp/core/model/feedback/request_insert_coc_item.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/feedback/COC_items.dart'; +import 'package:hmg_patient_app/core/model/feedback/request_insert_coc_item.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; class FeedbackService extends BaseService { List cOCItemList =[]; diff --git a/lib/core/service/geofencing/GeofencingServices.dart b/lib/core/service/geofencing/GeofencingServices.dart index ef565ac6..8e1e044d 100644 --- a/lib/core/service/geofencing/GeofencingServices.dart +++ b/lib/core/service/geofencing/GeofencingServices.dart @@ -1,13 +1,13 @@ import 'dart:convert'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/geofencing/requests/GeoZonesRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/geofencing/requests/LogGeoZoneRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/geofencing/responses/GeoZonesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/geofencing/responses/LogGeoZoneResponseModel.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/geofencing/requests/GeoZonesRequestModel.dart'; +import 'package:hmg_patient_app/core/model/geofencing/requests/LogGeoZoneRequestModel.dart'; +import 'package:hmg_patient_app/core/model/geofencing/responses/GeoZonesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/geofencing/responses/LogGeoZoneResponseModel.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'package:flutter/foundation.dart'; class GeofencingServices extends BaseService { diff --git a/lib/core/service/hospital_service.dart b/lib/core/service/hospital_service.dart index 7d724e54..70a92fc1 100644 --- a/lib/core/service/hospital_service.dart +++ b/lib/core/service/hospital_service.dart @@ -1,12 +1,12 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; import 'package:flutter/material.dart'; import 'package:geolocator/geolocator.dart'; diff --git a/lib/core/service/insurance_service.dart b/lib/core/service/insurance_service.dart index 9920f8f4..7286d23a 100644 --- a/lib/core/service/insurance_service.dart +++ b/lib/core/service/insurance_service.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/insurance/Insurance_card_details.dart'; -import 'package:diplomaticquarterapp/core/model/insurance/ReauestInsuranceApprovalModel.dart'; -import 'package:diplomaticquarterapp/core/model/insurance/insuranceManualUpdateRequest.dart'; -import 'package:diplomaticquarterapp/core/model/insurance/insurance_approval.dart'; -import 'package:diplomaticquarterapp/core/model/insurance/insurance_card.dart'; -import 'package:diplomaticquarterapp/core/model/insurance/insurance_card_update_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordsByStatusReq.dart'; -import 'package:diplomaticquarterapp/services/family_files/family_files_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/insurance/Insurance_card_details.dart'; +import 'package:hmg_patient_app/core/model/insurance/ReauestInsuranceApprovalModel.dart'; +import 'package:hmg_patient_app/core/model/insurance/insuranceManualUpdateRequest.dart'; +import 'package:hmg_patient_app/core/model/insurance/insurance_approval.dart'; +import 'package:hmg_patient_app/core/model/insurance/insurance_card.dart'; +import 'package:hmg_patient_app/core/model/insurance/insurance_card_update_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordsByStatusReq.dart'; +import 'package:hmg_patient_app/services/family_files/family_files_provider.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; class InsuranceCardService extends BaseService { diff --git a/lib/core/service/medical/ActiveMedicationsService.dart b/lib/core/service/medical/ActiveMedicationsService.dart index eac538bf..f06afd7b 100644 --- a/lib/core/service/medical/ActiveMedicationsService.dart +++ b/lib/core/service/medical/ActiveMedicationsService.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/active_medications/ActivePrescriptionReport.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/active_medications/ActivePrescriptionReport.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class ActiveMedicationsService extends BaseService{ diff --git a/lib/core/service/medical/AllergiesService.dart b/lib/core/service/medical/AllergiesService.dart index 698f2f48..f99dbcc0 100644 --- a/lib/core/service/medical/AllergiesService.dart +++ b/lib/core/service/medical/AllergiesService.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/Allergy/Allergy.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/Allergy/Allergy.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class AllergiesService extends BaseService { List allergies =[]; diff --git a/lib/core/service/medical/BloodPressureService.dart b/lib/core/service/medical/BloodPressureService.dart index 33a0beeb..5fde07ad 100644 --- a/lib/core/service/medical/BloodPressureService.dart +++ b/lib/core/service/medical/BloodPressureService.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_pressur/BloodPressureResult.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_pressur/MonthBloodPressureResultAverage.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_pressur/WeekBloodPressureResultAverage.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_pressur/YearBloodPressureResultAverage.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_pressur/BloodPressureResult.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_pressur/MonthBloodPressureResultAverage.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_pressur/WeekBloodPressureResultAverage.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_pressur/YearBloodPressureResultAverage.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class BloodPressureService extends BaseService { List monthDiabtectResultAverageList =[]; diff --git a/lib/core/service/medical/BloodSugarService.dart b/lib/core/service/medical/BloodSugarService.dart index 2cdae441..c94c46f2 100644 --- a/lib/core/service/medical/BloodSugarService.dart +++ b/lib/core/service/medical/BloodSugarService.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/MonthDiabtectResultAverage.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/WeekDiabtectResultAverage.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/YearDiabtecResultAverage.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/MonthDiabtectResultAverage.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/WeekDiabtectResultAverage.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/YearDiabtecResultAverage.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class BloodSugarService extends BaseService { List monthDiabtectResultAverageList =[]; diff --git a/lib/core/service/medical/EyeService.dart b/lib/core/service/medical/EyeService.dart index 40ae1b08..213c3905 100644 --- a/lib/core/service/medical/EyeService.dart +++ b/lib/core/service/medical/EyeService.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/eye/AppoimentAllHistoryResult.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/eye/AppoimentAllHistoryResult.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; class EyeService extends BaseService { List appoimentAllHistoryResultList = []; diff --git a/lib/core/service/medical/PatientSickLeaveService.dart b/lib/core/service/medical/PatientSickLeaveService.dart index 0b177ec7..937f1617 100644 --- a/lib/core/service/medical/PatientSickLeaveService.dart +++ b/lib/core/service/medical/PatientSickLeaveService.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/sick_leave/sick_leave.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/sick_leave/sick_leave.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class PatientSickLeaveService extends BaseService { List sickLeaveList = []; diff --git a/lib/core/service/medical/WeightPressureService.dart b/lib/core/service/medical/WeightPressureService.dart index 7246bfbe..cd00718a 100644 --- a/lib/core/service/medical/WeightPressureService.dart +++ b/lib/core/service/medical/WeightPressureService.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/weight/MonthWeightMeasurementResultAverage.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/weight/WeekWeightMeasurementResultAverage.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/weight/WeightMeasurementResult.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/weight/YearWeightMeasurementResultAverage.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/weight/MonthWeightMeasurementResultAverage.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/weight/WeekWeightMeasurementResultAverage.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/weight/WeightMeasurementResult.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/weight/YearWeightMeasurementResultAverage.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class WeightService extends BaseService { ///Average diff --git a/lib/core/service/medical/ask_doctor_services.dart b/lib/core/service/medical/ask_doctor_services.dart index 95597955..02b067d1 100644 --- a/lib/core/service/medical/ask_doctor_services.dart +++ b/lib/core/service/medical/ask_doctor_services.dart @@ -1,11 +1,11 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/ask_doctor/AskDoctorReqTypes.dart'; -import 'package:diplomaticquarterapp/core/model/ask_doctor/DoctorResponse.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/ask_doctor/AskDoctorReqTypes.dart'; +import 'package:hmg_patient_app/core/model/ask_doctor/DoctorResponse.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class AskDoctorService extends BaseService { List askDoctorReqTypes =[]; diff --git a/lib/core/service/medical/labs_service.dart b/lib/core/service/medical/labs_service.dart index 3f83a493..61b82c44 100644 --- a/lib/core/service/medical/labs_service.dart +++ b/lib/core/service/medical/labs_service.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/labs/LabOrderResult.dart'; -import 'package:diplomaticquarterapp/core/model/labs/lab_result.dart'; -import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart'; -import 'package:diplomaticquarterapp/core/model/labs/patient_lab_special_result.dart'; -import 'package:diplomaticquarterapp/core/model/labs/request_patient_lab_special_result.dart'; -import 'package:diplomaticquarterapp/core/model/labs/request_send_lab_report_email.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/labs/LabOrderResult.dart'; +import 'package:hmg_patient_app/core/model/labs/lab_result.dart'; +import 'package:hmg_patient_app/core/model/labs/patient_lab_orders.dart'; +import 'package:hmg_patient_app/core/model/labs/patient_lab_special_result.dart'; +import 'package:hmg_patient_app/core/model/labs/request_patient_lab_special_result.dart'; +import 'package:hmg_patient_app/core/model/labs/request_send_lab_report_email.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; class LabsService extends BaseService { List patientLabOrdersList = []; diff --git a/lib/core/service/medical/medical_service.dart b/lib/core/service/medical/medical_service.dart index 445f5ab6..1fafa1c1 100644 --- a/lib/core/service/medical/medical_service.dart +++ b/lib/core/service/medical/medical_service.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/DoctorScheduleResponse.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/DoctorScheduleResponse.dart'; import 'package:flutter/cupertino.dart'; class MedicalService extends BaseService { diff --git a/lib/core/service/medical/my_balance_service.dart b/lib/core/service/medical/my_balance_service.dart index e3b44586..f8388f66 100644 --- a/lib/core/service/medical/my_balance_service.dart +++ b/lib/core/service/medical/my_balance_service.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/blooddonation/blood_groub_details.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/AdvanceModel.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_advance_balance_amount.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_info.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_info_and_mobile_number.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordsByStatusReq.dart'; -import 'package:diplomaticquarterapp/services/family_files/family_files_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/blood_groub_details.dart'; +import 'package:hmg_patient_app/core/model/my_balance/AdvanceModel.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_advance_balance_amount.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_info.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_info_and_mobile_number.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordsByStatusReq.dart'; +import 'package:hmg_patient_app/services/family_files/family_files_provider.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; class MyBalanceService extends BaseService { List patientAdvanceBalanceAmountList =[]; diff --git a/lib/core/service/medical/my_doctor_service.dart b/lib/core/service/medical/my_doctor_service.dart index 2f08f07c..5ed43cea 100644 --- a/lib/core/service/medical/my_doctor_service.dart +++ b/lib/core/service/medical/my_doctor_service.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/doctor/doctor_profile.dart'; -import 'package:diplomaticquarterapp/core/model/doctor/doctor_rating.dart'; -import 'package:diplomaticquarterapp/core/model/doctor/reques_patient_doctor_appointmentt.dart'; -import 'package:diplomaticquarterapp/core/model/doctor/request_doctor_profile.dart'; -import 'package:diplomaticquarterapp/core/model/doctor/request_doctor_rating.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/doctor/doctor_profile.dart'; +import 'package:hmg_patient_app/core/model/doctor/doctor_rating.dart'; +import 'package:hmg_patient_app/core/model/doctor/reques_patient_doctor_appointmentt.dart'; +import 'package:hmg_patient_app/core/model/doctor/request_doctor_profile.dart'; +import 'package:hmg_patient_app/core/model/doctor/request_doctor_rating.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; class MyDoctorService extends BaseService { List patientDoctorAppointmentList =[]; diff --git a/lib/core/service/medical/prescriptions_service.dart b/lib/core/service/medical/prescriptions_service.dart index 8becfb7e..3844517b 100644 --- a/lib/core/service/medical/prescriptions_service.dart +++ b/lib/core/service/medical/prescriptions_service.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/Prescriptions.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/perscription_pharmacy.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_info_rc_model.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_enh.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_inp.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescriptions_order.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/request_get_list_pharmacy_for_prescriptions.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/request_prescription_report.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/request_prescription_report_enh.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/request_send_prescription_email.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/Prescriptions.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/perscription_pharmacy.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_info_rc_model.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_enh.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_inp.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescriptions_order.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/request_get_list_pharmacy_for_prescriptions.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/request_prescription_report.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/request_prescription_report_enh.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/request_send_prescription_email.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; import 'package:flutter/cupertino.dart'; class PrescriptionsService extends BaseService { diff --git a/lib/core/service/medical/radiology_service.dart b/lib/core/service/medical/radiology_service.dart index 05016b17..d2c6be86 100644 --- a/lib/core/service/medical/radiology_service.dart +++ b/lib/core/service/medical/radiology_service.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/radiology/final_radiology.dart'; -import 'package:diplomaticquarterapp/core/model/radiology/request_send_rad_report_email.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/radiology/final_radiology.dart'; +import 'package:hmg_patient_app/core/model/radiology/request_send_rad_report_email.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; class RadiologyService extends BaseService { List finalRadiologyList = []; diff --git a/lib/core/service/medical/reports_monthly_service.dart b/lib/core/service/medical/reports_monthly_service.dart index 280a2246..a6ccf231 100644 --- a/lib/core/service/medical/reports_monthly_service.dart +++ b/lib/core/service/medical/reports_monthly_service.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/reports/Reports.dart'; -import 'package:diplomaticquarterapp/core/model/reports/request_reports.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/pages/feedback/appointment_history.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/reports/Reports.dart'; +import 'package:hmg_patient_app/core/model/reports/request_reports.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/pages/feedback/appointment_history.dart'; class ReportsMonthlyService extends BaseService { List reportsList =[]; diff --git a/lib/core/service/medical/reports_service.dart b/lib/core/service/medical/reports_service.dart index bd0b2027..587020b4 100644 --- a/lib/core/service/medical/reports_service.dart +++ b/lib/core/service/medical/reports_service.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/reports/Reports.dart'; -import 'package:diplomaticquarterapp/core/model/reports/admission_for_medical_report.dart'; -import 'package:diplomaticquarterapp/core/model/reports/request_reports.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/pages/feedback/appointment_history.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/reports/Reports.dart'; +import 'package:hmg_patient_app/core/model/reports/admission_for_medical_report.dart'; +import 'package:hmg_patient_app/core/model/reports/request_reports.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/pages/feedback/appointment_history.dart'; class ReportsService extends BaseService { List reportsList = []; diff --git a/lib/core/service/medical/vital_sign_service.dart b/lib/core/service/medical/vital_sign_service.dart index 054843de..2bcaf7eb 100644 --- a/lib/core/service/medical/vital_sign_service.dart +++ b/lib/core/service/medical/vital_sign_service.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/vital_sign/vital_sign_res_model.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/vital_sign/vital_sign_res_model.dart'; import '../base_service.dart'; diff --git a/lib/core/service/notifications_service.dart b/lib/core/service/notifications_service.dart index ad6cbce1..e5b35dce 100644 --- a/lib/core/service/notifications_service.dart +++ b/lib/core/service/notifications_service.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/notifications/get_notifications_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/notifications/get_notifications_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/notifications/mark_message_as_read_request_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/notifications/get_notifications_request_model.dart'; +import 'package:hmg_patient_app/core/model/notifications/get_notifications_response_model.dart'; +import 'package:hmg_patient_app/core/model/notifications/mark_message_as_read_request_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class NotificationService extends BaseService { List notificationsList =[]; diff --git a/lib/core/service/offers_service.dart b/lib/core/service/offers_service.dart index 19b68707..f517d4e5 100644 --- a/lib/core/service/offers_service.dart +++ b/lib/core/service/offers_service.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/offer_products_model.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/offers_model.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/offer_products_model.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/offers_model.dart'; import 'base_service.dart'; diff --git a/lib/core/service/packages_offers/PackagesOffersServices.dart b/lib/core/service/packages_offers/PackagesOffersServices.dart index 5ee27ad1..ec3264cc 100644 --- a/lib/core/service/packages_offers/PackagesOffersServices.dart +++ b/lib/core/service/packages_offers/PackagesOffersServices.dart @@ -1,24 +1,24 @@ import 'dart:convert'; import 'dart:developer'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/ResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/AddProductToCartRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/CreateCustomerRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/OffersCategoriesRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/OffersProductsRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCustomerResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/offers_stores_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/order_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/tamara_payment_option.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/ResponseModel.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/AddProductToCartRequestModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/CreateCustomerRequestModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/OffersCategoriesRequestModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/OffersProductsRequestModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCustomerResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/offers_stores_response_model.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/order_response_model.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/tamara_payment_option.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; import 'package:flutter/cupertino.dart'; Map packagesAuthHeader = {}; diff --git a/lib/core/service/parmacyModule/lacum-registration-service.dart b/lib/core/service/parmacyModule/lacum-registration-service.dart index 8686a9e6..3e809286 100644 --- a/lib/core/service/parmacyModule/lacum-registration-service.dart +++ b/lib/core/service/parmacyModule/lacum-registration-service.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ListUserAgreement.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ListUserAgreement.dart'; import 'lacum-service.dart'; diff --git a/lib/core/service/parmacyModule/lacum-service.dart b/lib/core/service/parmacyModule/lacum-service.dart index 980ed030..8a02bb65 100644 --- a/lib/core/service/parmacyModule/lacum-service.dart +++ b/lib/core/service/parmacyModule/lacum-service.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class LacumService extends BaseService{ bool isFinished = true; diff --git a/lib/core/service/parmacyModule/lacum-transfer-service.dart b/lib/core/service/parmacyModule/lacum-transfer-service.dart index c66f5efe..9f7895d8 100644 --- a/lib/core/service/parmacyModule/lacum-transfer-service.dart +++ b/lib/core/service/parmacyModule/lacum-transfer-service.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart'; import 'lacum-service.dart'; diff --git a/lib/core/service/parmacyModule/order-preview-service.dart b/lib/core/service/parmacyModule/order-preview-service.dart index f205e61b..56f75191 100644 --- a/lib/core/service/parmacyModule/order-preview-service.dart +++ b/lib/core/service/parmacyModule/order-preview-service.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/order_detail.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/payment-checkout-data.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCart.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/order_detail.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/payment-checkout-data.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; class OrderPreviewService extends BaseService { diff --git a/lib/core/service/parmacyModule/parmacy_module_service.dart b/lib/core/service/parmacyModule/parmacy_module_service.dart index 2490f231..12614c87 100644 --- a/lib/core/service/parmacyModule/parmacy_module_service.dart +++ b/lib/core/service/parmacyModule/parmacy_module_service.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/Manufacturer.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyImageObject.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Manufacturer.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyImageObject.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; class PharmacyModuleService extends BaseService { final AppSharedPreferences sharedPref = AppSharedPreferences(); diff --git a/lib/core/service/parmacyModule/prescription_service.dart b/lib/core/service/parmacyModule/prescription_service.dart index ecad3b77..838e13be 100644 --- a/lib/core/service/parmacyModule/prescription_service.dart +++ b/lib/core/service/parmacyModule/prescription_service.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/Prescriptions.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/Prescriptions.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; class PrescriptionService extends BaseService { final AppSharedPreferences sharedPref = AppSharedPreferences(); diff --git a/lib/core/service/parmacyModule/terms-condition-service.dart b/lib/core/service/parmacyModule/terms-condition-service.dart index 7d03c5dc..cf3f3386 100644 --- a/lib/core/service/parmacyModule/terms-condition-service.dart +++ b/lib/core/service/parmacyModule/terms-condition-service.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ListUserAgreement.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ListUserAgreement.dart'; import '../base_service.dart'; diff --git a/lib/core/service/pharmacies_service.dart b/lib/core/service/pharmacies_service.dart index 88235c0e..cda391b7 100644 --- a/lib/core/service/pharmacies_service.dart +++ b/lib/core/service/pharmacies_service.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/pharmacies_list_model.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/pharmacies_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/pharmacies_list_model.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/pharmacies_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; import 'package:geolocator/geolocator.dart'; class PharmacyService extends BaseService { diff --git a/lib/core/service/pharmacy_categorise_service.dart b/lib/core/service/pharmacy_categorise_service.dart index 736c2788..1eeac0e0 100644 --- a/lib/core/service/pharmacy_categorise_service.dart +++ b/lib/core/service/pharmacy_categorise_service.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/categorise_parent_model.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/final_products_model.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/pharmacy_categorise.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/scan_qr_model.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/validators.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/categorise_parent_model.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/final_products_model.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/pharmacy_categorise.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/scan_qr_model.dart'; +import 'package:hmg_patient_app/models/LiveCare/validators.dart'; import 'base_service.dart'; diff --git a/lib/core/service/privilege_service.dart b/lib/core/service/privilege_service.dart index b8b7b771..f00f5c99 100644 --- a/lib/core/service/privilege_service.dart +++ b/lib/core/service/privilege_service.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/HMCProjectListModel.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/PrivilegeModel.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/ProjectDetailListModel.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/VidaPlusProjectListModel.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/main.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/privilege/HMCProjectListModel.dart'; +import 'package:hmg_patient_app/core/model/privilege/PrivilegeModel.dart'; +import 'package:hmg_patient_app/core/model/privilege/ProjectDetailListModel.dart'; +import 'package:hmg_patient_app/core/model/privilege/VidaPlusProjectListModel.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/main.dart'; class PrivilegeService extends BaseService { List privilegeModelList = []; diff --git a/lib/core/service/qr_service.dart b/lib/core/service/qr_service.dart index 5d87a7aa..7d23930a 100644 --- a/lib/core/service/qr_service.dart +++ b/lib/core/service/qr_service.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/qr/qr_parking_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/qr/qr_parking_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class QrService extends BaseService { List qRParkingList =[]; diff --git a/lib/core/service/termsConditionsService.dart b/lib/core/service/termsConditionsService.dart index 1f806e22..f37f2e76 100644 --- a/lib/core/service/termsConditionsService.dart +++ b/lib/core/service/termsConditionsService.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class TermsConditionsService extends BaseService { diff --git a/lib/core/service/vaccine_service.dart b/lib/core/service/vaccine_service.dart index 30cff48d..da60ca22 100644 --- a/lib/core/service/vaccine_service.dart +++ b/lib/core/service/vaccine_service.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/vaccine/my_vaccine.dart'; -import 'package:diplomaticquarterapp/core/model/vaccine/vaccination_item.dart'; -import 'package:diplomaticquarterapp/core/model/vaccine/vaccination_on_hand.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/vaccine/my_vaccine.dart'; +import 'package:hmg_patient_app/core/model/vaccine/vaccination_item.dart'; +import 'package:hmg_patient_app/core/model/vaccine/vaccination_on_hand.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class VaccineService extends BaseService { List _vaccineList =[]; diff --git a/lib/core/service/weather_service.dart b/lib/core/service/weather_service.dart index a94dd9e1..96e56d36 100644 --- a/lib/core/service/weather_service.dart +++ b/lib/core/service/weather_service.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/weahter/weather_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/weahter/weather_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; class WeatherService extends BaseService { List weatherIndicatorData =[]; diff --git a/lib/core/viewModels/AlHabibMedicalService/H2O_view_model.dart b/lib/core/viewModels/AlHabibMedicalService/H2O_view_model.dart index d7df4773..9308af38 100644 --- a/lib/core/viewModels/AlHabibMedicalService/H2O_view_model.dart +++ b/lib/core/viewModels/AlHabibMedicalService/H2O_view_model.dart @@ -1,15 +1,15 @@ import 'dart:math' as math; import 'package:flutter_charts/flutter_charts.dart' as Charts; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/insert_user_activity_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_detail_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_progress_for_month_data_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_progress_for_today_data_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_progress_for_week_data_model.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/H2O_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/widgets/charts/custom_line_chart.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/insert_user_activity_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_detail_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_progress_for_month_data_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_progress_for_today_data_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_progress_for_week_data_model.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/H2O_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/widgets/charts/custom_line_chart.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/AlHabibMedicalService/cmc_view_model.dart b/lib/core/viewModels/AlHabibMedicalService/cmc_view_model.dart index 629f2918..009190c9 100644 --- a/lib/core/viewModels/AlHabibMedicalService/cmc_view_model.dart +++ b/lib/core/viewModels/AlHabibMedicalService/cmc_view_model.dart @@ -1,19 +1,19 @@ -import 'package:diplomaticquarterapp/core/enum/OrderService.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/get_cmc_service_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_hhc_all_pres_orders_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/cmc_service.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/parmacy_module_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/main.dart'; +import 'package:hmg_patient_app/core/enum/OrderService.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_get_items_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/get_cmc_service_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_hhc_all_pres_orders_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/cmc_service.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/parmacy_module_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/main.dart'; import '../../../locator.dart'; import 'add_new_address_Request_Model.dart'; diff --git a/lib/core/viewModels/AlHabibMedicalService/health-calculator/Bariatrics-viewmodel.dart b/lib/core/viewModels/AlHabibMedicalService/health-calculator/Bariatrics-viewmodel.dart index f545caff..dfc0e301 100644 --- a/lib/core/viewModels/AlHabibMedicalService/health-calculator/Bariatrics-viewmodel.dart +++ b/lib/core/viewModels/AlHabibMedicalService/health-calculator/Bariatrics-viewmodel.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HealthCalculator/ClinicCategory.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HealthCalculator/DiseasesByClinic.dart'; -import 'package:diplomaticquarterapp/core/model/health_calcolator/get_doctor_by_time_model.dart'; -import 'package:diplomaticquarterapp/core/model/health_calcolator/get_doctor_list_calcolation_model.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HealthCalculator/ClinicCategory.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HealthCalculator/DiseasesByClinic.dart'; +import 'package:hmg_patient_app/core/model/health_calcolator/get_doctor_by_time_model.dart'; +import 'package:hmg_patient_app/core/model/health_calcolator/get_doctor_list_calcolation_model.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import 'package:flutter/cupertino.dart'; import '../../../../locator.dart'; diff --git a/lib/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart b/lib/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart index 0d617b6a..8545860d 100644 --- a/lib/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart +++ b/lib/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart @@ -1,18 +1,18 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/core/enum/OrderService.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_request_modle.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/PatientERHHCInsertServicesList.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/home_health_care_service.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/parmacy_module_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/OrderService.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_request_modle.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/PatientERHHCInsertServicesList.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/home_health_care_service.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/parmacy_module_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../../locator.dart'; import 'add_new_address_Request_Model.dart'; @@ -143,20 +143,20 @@ class HomeHealthCareViewModel extends BaseViewModel { // import 'dart:async'; // -// import 'package:diplomaticquarterapp/core/enum/OrderService.dart'; -// import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -// import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -// import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_request_modle.dart'; -// import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_response_model.dart'; -// import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/PatientERHHCInsertServicesList.dart'; -// import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; -// import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; -// import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; -// import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -// import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/home_health_care_service.dart'; -// import 'package:diplomaticquarterapp/core/service/parmacyModule/parmacy_module_service.dart'; -// import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -// import 'package:diplomaticquarterapp/main.dart'; +// import 'package:hmg_patient_app/core/enum/OrderService.dart'; +// import 'package:hmg_patient_app/core/enum/viewstate.dart'; +// import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +// import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_request_modle.dart'; +// import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_response_model.dart'; +// import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/PatientERHHCInsertServicesList.dart'; +// import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_order_detail_by_order_iD_response_model.dart'; +// import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; +// import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; +// import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +// import 'package:hmg_patient_app/core/service/AlHabibMedicalService/home_health_care_service.dart'; +// import 'package:hmg_patient_app/core/service/parmacyModule/parmacy_module_service.dart'; +// import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +// import 'package:hmg_patient_app/main.dart'; // // import '../../../locator.dart'; // import 'add_new_address_Request_Model.dart'; diff --git a/lib/core/viewModels/TermsConditionsViewModel.dart b/lib/core/viewModels/TermsConditionsViewModel.dart index f458ce9f..729e5eac 100644 --- a/lib/core/viewModels/TermsConditionsViewModel.dart +++ b/lib/core/viewModels/TermsConditionsViewModel.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/service/termsConditionsService.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/service/termsConditionsService.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../locator.dart'; diff --git a/lib/core/viewModels/all_habib_medical_services/e_referral_view_model.dart b/lib/core/viewModels/all_habib_medical_services/e_referral_view_model.dart index 5e25e3e8..fc01ca07 100644 --- a/lib/core/viewModels/all_habib_medical_services/e_referral_view_model.dart +++ b/lib/core/viewModels/all_habib_medical_services/e_referral_view_model.dart @@ -1,14 +1,14 @@ import 'dart:core'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/check_activation_code_for_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/get_all_relationship_types_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/search_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/search_e_referral_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/send_activation_code_for_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/e_referral_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/check_activation_code_for_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/get_all_relationship_types_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/search_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/search_e_referral_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/send_activation_code_for_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/e_referral_service.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/ancillary_orders_view_model.dart b/lib/core/viewModels/ancillary_orders_view_model.dart index 51b12087..3ed7d621 100644 --- a/lib/core/viewModels/ancillary_orders_view_model.dart +++ b/lib/core/viewModels/ancillary_orders_view_model.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/service/ancillary_orders_service.dart'; -import 'package:diplomaticquarterapp/models/anicllary-orders/ancillary_order_list_model.dart'; -import 'package:diplomaticquarterapp/models/anicllary-orders/ancillary_order_proc_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/service/ancillary_orders_service.dart'; +import 'package:hmg_patient_app/models/anicllary-orders/ancillary_order_list_model.dart'; +import 'package:hmg_patient_app/models/anicllary-orders/ancillary_order_proc_model.dart'; import '../../locator.dart'; import 'base_view_model.dart'; diff --git a/lib/core/viewModels/appointment_rate_view_model.dart b/lib/core/viewModels/appointment_rate_view_model.dart index b3cb666c..80749693 100644 --- a/lib/core/viewModels/appointment_rate_view_model.dart +++ b/lib/core/viewModels/appointment_rate_view_model.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/rate/appointment_details.dart'; -import 'package:diplomaticquarterapp/core/model/rate/appoitment_rated.dart'; -import 'package:diplomaticquarterapp/core/service/appointment_rate_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/rate/appointment_details.dart'; +import 'package:hmg_patient_app/core/model/rate/appoitment_rated.dart'; +import 'package:hmg_patient_app/core/service/appointment_rate_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../locator.dart'; diff --git a/lib/core/viewModels/base_view_model.dart b/lib/core/viewModels/base_view_model.dart index 2efae385..e65e43c2 100644 --- a/lib/core/viewModels/base_view_model.dart +++ b/lib/core/viewModels/base_view_model.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'package:flutter/material.dart'; import '../../locator.dart'; diff --git a/lib/core/viewModels/blooddonation/blood_details_view_model.dart b/lib/core/viewModels/blooddonation/blood_details_view_model.dart index 028be89a..32ce3371 100644 --- a/lib/core/viewModels/blooddonation/blood_details_view_model.dart +++ b/lib/core/viewModels/blooddonation/blood_details_view_model.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/blooddonation/blood_groub_details.dart'; -import 'package:diplomaticquarterapp/core/service/blood/blood_details_servies.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/blood_groub_details.dart'; +import 'package:hmg_patient_app/core/service/blood/blood_details_servies.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/blooddonation/booddonation_view_model.dart b/lib/core/viewModels/blooddonation/booddonation_view_model.dart index 9c765d3e..491da40a 100644 --- a/lib/core/viewModels/blooddonation/booddonation_view_model.dart +++ b/lib/core/viewModels/blooddonation/booddonation_view_model.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/blooddonation/get_all_cities.dart'; -import 'package:diplomaticquarterapp/core/service/blood/blood_donation_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/get_all_cities.dart'; +import 'package:hmg_patient_app/core/service/blood/blood_donation_service.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/child_vaccines/add_new_child_view_model.dart b/lib/core/viewModels/child_vaccines/add_new_child_view_model.dart index c8068a5d..6ca60555 100644 --- a/lib/core/viewModels/child_vaccines/add_new_child_view_model.dart +++ b/lib/core/viewModels/child_vaccines/add_new_child_view_model.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/add_newchild_model.dart'; -import 'package:diplomaticquarterapp/core/service/childvaccines/add_new_child_service.dart'; -import 'package:diplomaticquarterapp/core/service/childvaccines/child_vaccines_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/add_newchild_model.dart'; +import 'package:hmg_patient_app/core/service/childvaccines/add_new_child_service.dart'; +import 'package:hmg_patient_app/core/service/childvaccines/child_vaccines_service.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/child_vaccines/child_vaccines_view_model.dart b/lib/core/viewModels/child_vaccines/child_vaccines_view_model.dart index 6c9aad1b..6eb571d7 100644 --- a/lib/core/viewModels/child_vaccines/child_vaccines_view_model.dart +++ b/lib/core/viewModels/child_vaccines/child_vaccines_view_model.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/List_BabyInformationModel.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/delete_baby_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/List_BabyInformationModel.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/delete_baby_model.dart'; //======== -import 'package:diplomaticquarterapp/core/service/childvaccines/add_new_child_service.dart'; -import 'package:diplomaticquarterapp/core/service/childvaccines/child_vaccines_service.dart'; -import 'package:diplomaticquarterapp/core/service/childvaccines/delete_baby_service.dart'; +import 'package:hmg_patient_app/core/service/childvaccines/add_new_child_service.dart'; +import 'package:hmg_patient_app/core/service/childvaccines/child_vaccines_service.dart'; +import 'package:hmg_patient_app/core/service/childvaccines/delete_baby_service.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/child_vaccines/user_information_view_model.dart b/lib/core/viewModels/child_vaccines/user_information_view_model.dart index 43bbde60..f72c5a81 100644 --- a/lib/core/viewModels/child_vaccines/user_information_view_model.dart +++ b/lib/core/viewModels/child_vaccines/user_information_view_model.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/user_information_model.dart'; -import 'package:diplomaticquarterapp/core/service/childvaccines/user_information_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/user_information_model.dart'; +import 'package:hmg_patient_app/core/service/childvaccines/user_information_service.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/child_vaccines/vaccination_table_view_model.dart b/lib/core/viewModels/child_vaccines/vaccination_table_view_model.dart index f1af0baf..a0ca3126 100644 --- a/lib/core/viewModels/child_vaccines/vaccination_table_view_model.dart +++ b/lib/core/viewModels/child_vaccines/vaccination_table_view_model.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/List_BabyInformationModel.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/create_vaccination_table.dart'; -import 'package:diplomaticquarterapp/core/service/childvaccines/vaccination_table_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/List_BabyInformationModel.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/create_vaccination_table.dart'; +import 'package:hmg_patient_app/core/service/childvaccines/vaccination_table_service.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/contactus/findus_view_model.dart b/lib/core/viewModels/contactus/findus_view_model.dart index f6e1754f..c23a1320 100644 --- a/lib/core/viewModels/contactus/findus_view_model.dart +++ b/lib/core/viewModels/contactus/findus_view_model.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/contactus/get_hmg_locations.dart'; -import 'package:diplomaticquarterapp/core/service/contactus/finadus_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/contactus/get_hmg_locations.dart'; +import 'package:hmg_patient_app/core/service/contactus/finadus_service.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/contactus/livechat_view_model.dart b/lib/core/viewModels/contactus/livechat_view_model.dart index 76b70ab5..4d764206 100644 --- a/lib/core/viewModels/contactus/livechat_view_model.dart +++ b/lib/core/viewModels/contactus/livechat_view_model.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/contactus/get_patientI_cprojects.dart'; -import 'package:diplomaticquarterapp/core/service/contactus/livechat_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/contactus/get_patientI_cprojects.dart'; +import 'package:hmg_patient_app/core/service/contactus/livechat_service.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/dashboard_view_model.dart b/lib/core/viewModels/dashboard_view_model.dart index b3b85269..fe22006f 100644 --- a/lib/core/viewModels/dashboard_view_model.dart +++ b/lib/core/viewModels/dashboard_view_model.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/service/medical/vital_sign_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/service/medical/vital_sign_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../locator.dart'; diff --git a/lib/core/viewModels/er/EdOnlineViewModel.dart b/lib/core/viewModels/er/EdOnlineViewModel.dart index 015d97f4..c9c390aa 100644 --- a/lib/core/viewModels/er/EdOnlineViewModel.dart +++ b/lib/core/viewModels/er/EdOnlineViewModel.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/er/ErPatientShareModel.dart'; -import 'package:diplomaticquarterapp/core/model/er/TriageQuestionsModel.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/service/er/EdOnlineServices.dart'; -import 'package:diplomaticquarterapp/core/service/hospital_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/er/ErPatientShareModel.dart'; +import 'package:hmg_patient_app/core/model/er/TriageQuestionsModel.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/service/er/EdOnlineServices.dart'; +import 'package:hmg_patient_app/core/service/hospital_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/er/am_request_view_model.dart b/lib/core/viewModels/er/am_request_view_model.dart index aa2a01b2..74ee49c0 100644 --- a/lib/core/viewModels/er/am_request_view_model.dart +++ b/lib/core/viewModels/er/am_request_view_model.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/er/AmbulanceRequestOrdersModel.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientAllPresOrders.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER_RC.dart'; -import 'package:diplomaticquarterapp/core/model/er/PickUpRequestPresOrder.dart'; -import 'package:diplomaticquarterapp/core/model/er/get_all_transportation_method_list_model.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/service/er/am_service.dart'; -import 'package:diplomaticquarterapp/core/service/hospital_service.dart'; -import 'package:diplomaticquarterapp/core/service/medical/medical_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/er/AmbulanceRequestOrdersModel.dart'; +import 'package:hmg_patient_app/core/model/er/PatientAllPresOrders.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER_RC.dart'; +import 'package:hmg_patient_app/core/model/er/PickUpRequestPresOrder.dart'; +import 'package:hmg_patient_app/core/model/er/get_all_transportation_method_list_model.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/service/er/am_service.dart'; +import 'package:hmg_patient_app/core/service/hospital_service.dart'; +import 'package:hmg_patient_app/core/service/medical/medical_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; import 'package:flutter/cupertino.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/er/near_hospital_view_model.dart b/lib/core/viewModels/er/near_hospital_view_model.dart index 2f597568..4a4c473b 100644 --- a/lib/core/viewModels/er/near_hospital_view_model.dart +++ b/lib/core/viewModels/er/near_hospital_view_model.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/er/projectavgerwaitingtime.dart'; -import 'package:diplomaticquarterapp/core/service/er/er_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/er/projectavgerwaitingtime.dart'; +import 'package:hmg_patient_app/core/service/er/er_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/er/rrt-view-model.dart b/lib/core/viewModels/er/rrt-view-model.dart index 96c0436d..cdf934cc 100644 --- a/lib/core/viewModels/er/rrt-view-model.dart +++ b/lib/core/viewModels/er/rrt-view-model.dart @@ -1,19 +1,19 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescriptions_order.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/parmacy_module_service.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/rrt/RRTProcedureList.dart'; -import 'package:diplomaticquarterapp/models/rrt/service_price.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/pharmacyAddress_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescriptions_order.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/parmacy_module_service.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/rrt/RRTProcedureList.dart'; +import 'package:hmg_patient_app/models/rrt/service_price.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/pharmacyAddress_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/feedback/feedback_view_model.dart b/lib/core/viewModels/feedback/feedback_view_model.dart index a064b5ea..76179a1d 100644 --- a/lib/core/viewModels/feedback/feedback_view_model.dart +++ b/lib/core/viewModels/feedback/feedback_view_model.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/feedback/COC_items.dart'; -import 'package:diplomaticquarterapp/core/service/feedback/feedback_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/feedback/COC_items.dart'; +import 'package:hmg_patient_app/core/service/feedback/feedback_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/hospital_view_model.dart b/lib/core/viewModels/hospital_view_model.dart index 61957bbd..19b5108f 100644 --- a/lib/core/viewModels/hospital_view_model.dart +++ b/lib/core/viewModels/hospital_view_model.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/service/hospital_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/service/hospital_service.dart'; import '../../locator.dart'; import 'base_view_model.dart'; diff --git a/lib/core/viewModels/insurance_card_View_model.dart b/lib/core/viewModels/insurance_card_View_model.dart index 00997eb5..75190299 100644 --- a/lib/core/viewModels/insurance_card_View_model.dart +++ b/lib/core/viewModels/insurance_card_View_model.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/insurance/insurance_approval.dart'; -import 'package:diplomaticquarterapp/core/model/insurance/insurance_card.dart'; -import 'package:diplomaticquarterapp/core/model/insurance/insurance_card_update_model.dart'; -import 'package:diplomaticquarterapp/core/service/insurance_service.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/insurance/insurance_approval.dart'; +import 'package:hmg_patient_app/core/model/insurance/insurance_card.dart'; +import 'package:hmg_patient_app/core/model/insurance/insurance_card_update_model.dart'; +import 'package:hmg_patient_app/core/service/insurance_service.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; import 'package:flutter/material.dart'; import '../../locator.dart'; diff --git a/lib/core/viewModels/medical/ActiveMedicationsViewModel.dart b/lib/core/viewModels/medical/ActiveMedicationsViewModel.dart index 23a6a33e..9f1147d9 100644 --- a/lib/core/viewModels/medical/ActiveMedicationsViewModel.dart +++ b/lib/core/viewModels/medical/ActiveMedicationsViewModel.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/active_medications/ActivePrescriptionReport.dart'; -import 'package:diplomaticquarterapp/core/service/medical/ActiveMedicationsService.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/active_medications/ActivePrescriptionReport.dart'; +import 'package:hmg_patient_app/core/service/medical/ActiveMedicationsService.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; class ActiveMedicationsViewModel extends BaseViewModel { ActiveMedicationsService _activeMedicationsService = diff --git a/lib/core/viewModels/medical/AllergiesViewModel.dart b/lib/core/viewModels/medical/AllergiesViewModel.dart index f3b19a2c..82fe3f09 100644 --- a/lib/core/viewModels/medical/AllergiesViewModel.dart +++ b/lib/core/viewModels/medical/AllergiesViewModel.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/Allergy/Allergy.dart'; -import 'package:diplomaticquarterapp/core/service/medical/AllergiesService.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/Allergy/Allergy.dart'; +import 'package:hmg_patient_app/core/service/medical/AllergiesService.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/medical/EyeViewModel.dart b/lib/core/viewModels/medical/EyeViewModel.dart index 4c5af31d..be5f62e5 100644 --- a/lib/core/viewModels/medical/EyeViewModel.dart +++ b/lib/core/viewModels/medical/EyeViewModel.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/eye/AppoimentAllHistoryResult.dart'; -import 'package:diplomaticquarterapp/core/model/eye/AppointmentFilter.dart'; -import 'package:diplomaticquarterapp/core/service/medical/EyeService.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/eye/AppoimentAllHistoryResult.dart'; +import 'package:hmg_patient_app/core/model/eye/AppointmentFilter.dart'; +import 'package:hmg_patient_app/core/service/medical/EyeService.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; class EyeViewModel extends BaseViewModel { EyeService _eyeService = locator(); diff --git a/lib/core/viewModels/medical/PrescriptionDeliveryViewModel.dart b/lib/core/viewModels/medical/PrescriptionDeliveryViewModel.dart index d8b59ef7..e9e3c51a 100644 --- a/lib/core/viewModels/medical/PrescriptionDeliveryViewModel.dart +++ b/lib/core/viewModels/medical/PrescriptionDeliveryViewModel.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/service/PrescriptionDeliveryService.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/parmacy_module_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/service/PrescriptionDeliveryService.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/parmacy_module_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/medical/ask_doctor_view_model.dart b/lib/core/viewModels/medical/ask_doctor_view_model.dart index f254c915..423dc1cf 100644 --- a/lib/core/viewModels/medical/ask_doctor_view_model.dart +++ b/lib/core/viewModels/medical/ask_doctor_view_model.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/ask_doctor/AskDoctorReqTypes.dart'; -import 'package:diplomaticquarterapp/core/model/ask_doctor/DoctorResponse.dart'; -import 'package:diplomaticquarterapp/core/service/medical/ask_doctor_services.dart'; -import 'package:diplomaticquarterapp/core/service/medical/my_doctor_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/ask_doctor/AskDoctorReqTypes.dart'; +import 'package:hmg_patient_app/core/model/ask_doctor/DoctorResponse.dart'; +import 'package:hmg_patient_app/core/service/medical/ask_doctor_services.dart'; +import 'package:hmg_patient_app/core/service/medical/my_doctor_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; class AskDoctorViewModel extends BaseViewModel { AskDoctorService _askDoctorService = locator(); diff --git a/lib/core/viewModels/medical/blood_pressure_view_model.dart b/lib/core/viewModels/medical/blood_pressure_view_model.dart index b3c0f8a9..5a190e96 100644 --- a/lib/core/viewModels/medical/blood_pressure_view_model.dart +++ b/lib/core/viewModels/medical/blood_pressure_view_model.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_pressur/BloodPressureResult.dart'; -import 'package:diplomaticquarterapp/core/service/medical/BloodPressureService.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_pressur/BloodPressureResult.dart'; +import 'package:hmg_patient_app/core/service/medical/BloodPressureService.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; import '../../../core/viewModels/base_view_model.dart'; diff --git a/lib/core/viewModels/medical/blood_sugar_view_model.dart b/lib/core/viewModels/medical/blood_sugar_view_model.dart index 5b9c4077..b390daef 100644 --- a/lib/core/viewModels/medical/blood_sugar_view_model.dart +++ b/lib/core/viewModels/medical/blood_sugar_view_model.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart'; -import 'package:diplomaticquarterapp/core/service/medical/BloodSugarService.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart'; +import 'package:hmg_patient_app/core/service/medical/BloodSugarService.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; import '../../../core/viewModels/base_view_model.dart'; diff --git a/lib/core/viewModels/medical/labs_view_model.dart b/lib/core/viewModels/medical/labs_view_model.dart index ea45a312..3652dddb 100644 --- a/lib/core/viewModels/medical/labs_view_model.dart +++ b/lib/core/viewModels/medical/labs_view_model.dart @@ -2,17 +2,17 @@ import 'dart:convert'; import 'dart:io'; import 'dart:typed_data'; -import 'package:diplomaticquarterapp/core/enum/filter_type.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/labs/LabOrderResult.dart'; -import 'package:diplomaticquarterapp/core/model/labs/lab_result.dart'; -import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart'; -import 'package:diplomaticquarterapp/core/model/labs/patient_lab_special_result.dart'; -import 'package:diplomaticquarterapp/core/service/medical/labs_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/core/enum/filter_type.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/labs/LabOrderResult.dart'; +import 'package:hmg_patient_app/core/model/labs/lab_result.dart'; +import 'package:hmg_patient_app/core/model/labs/patient_lab_orders.dart'; +import 'package:hmg_patient_app/core/model/labs/patient_lab_special_result.dart'; +import 'package:hmg_patient_app/core/service/medical/labs_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; import 'package:open_filex/open_filex.dart'; import 'package:path_provider/path_provider.dart'; diff --git a/lib/core/viewModels/medical/medical_view_model.dart b/lib/core/viewModels/medical/medical_view_model.dart index a111b6a5..fba607ec 100644 --- a/lib/core/viewModels/medical/medical_view_model.dart +++ b/lib/core/viewModels/medical/medical_view_model.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/service/medical/medical_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/DoctorScheduleResponse.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/service/medical/medical_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/DoctorScheduleResponse.dart'; class MedicalViewModel extends BaseViewModel { MedicalService _medicalService = locator(); diff --git a/lib/core/viewModels/medical/my_balance_view_model.dart b/lib/core/viewModels/medical/my_balance_view_model.dart index 24e01d18..171d32ca 100644 --- a/lib/core/viewModels/medical/my_balance_view_model.dart +++ b/lib/core/viewModels/medical/my_balance_view_model.dart @@ -1,19 +1,19 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/blooddonation/blood_groub_details.dart'; -import 'package:diplomaticquarterapp/core/model/blooddonation/get_all_cities.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/AdvanceModel.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_advance_balance_amount.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_info.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_info_and_mobile_number.dart'; -import 'package:diplomaticquarterapp/core/service/blood/blood_details_servies.dart'; -import 'package:diplomaticquarterapp/core/service/blood/blood_donation_service.dart'; -import 'package:diplomaticquarterapp/core/service/hospital_service.dart'; -import 'package:diplomaticquarterapp/core/service/medical/my_balance_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/blood_groub_details.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/get_all_cities.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/model/my_balance/AdvanceModel.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_advance_balance_amount.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_info.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_info_and_mobile_number.dart'; +import 'package:hmg_patient_app/core/service/blood/blood_details_servies.dart'; +import 'package:hmg_patient_app/core/service/blood/blood_donation_service.dart'; +import 'package:hmg_patient_app/core/service/hospital_service.dart'; +import 'package:hmg_patient_app/core/service/medical/my_balance_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; class MyBalanceViewModel extends BaseViewModel { MyBalanceService _myBalanceService = locator(); diff --git a/lib/core/viewModels/medical/my_doctor_view_model.dart b/lib/core/viewModels/medical/my_doctor_view_model.dart index da070d17..e46b5f39 100644 --- a/lib/core/viewModels/medical/my_doctor_view_model.dart +++ b/lib/core/viewModels/medical/my_doctor_view_model.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/enum/filter_type.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/doctor/doctor_profile.dart'; -import 'package:diplomaticquarterapp/core/model/doctor/doctor_rating.dart'; -import 'package:diplomaticquarterapp/core/service/medical/my_doctor_service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/core/enum/filter_type.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/doctor/doctor_profile.dart'; +import 'package:hmg_patient_app/core/model/doctor/doctor_rating.dart'; +import 'package:hmg_patient_app/core/service/medical/my_doctor_service.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/medical/patient_sick_leave_view_model.dart b/lib/core/viewModels/medical/patient_sick_leave_view_model.dart index d0390f88..71a308ad 100644 --- a/lib/core/viewModels/medical/patient_sick_leave_view_model.dart +++ b/lib/core/viewModels/medical/patient_sick_leave_view_model.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/sick_leave/sick_leave.dart'; -import 'package:diplomaticquarterapp/core/service/medical/PatientSickLeaveService.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/sick_leave/sick_leave.dart'; +import 'package:hmg_patient_app/core/service/medical/PatientSickLeaveService.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; import 'dart:convert'; import 'dart:io'; diff --git a/lib/core/viewModels/medical/prescriptions_view_model.dart b/lib/core/viewModels/medical/prescriptions_view_model.dart index 82c0282e..0ad266c5 100644 --- a/lib/core/viewModels/medical/prescriptions_view_model.dart +++ b/lib/core/viewModels/medical/prescriptions_view_model.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/perscription_pharmacy.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_info_rc_model.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_enh.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_inp.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescriptions_order.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/perscription_pharmacy.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_info_rc_model.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_enh.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_inp.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescriptions_order.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; import 'package:flutter/cupertino.dart'; import 'package:open_filex/open_filex.dart'; diff --git a/lib/core/viewModels/medical/radiology_view_model.dart b/lib/core/viewModels/medical/radiology_view_model.dart index f64f6937..2ab38b70 100644 --- a/lib/core/viewModels/medical/radiology_view_model.dart +++ b/lib/core/viewModels/medical/radiology_view_model.dart @@ -1,10 +1,10 @@ import "package:collection/collection.dart"; -import 'package:diplomaticquarterapp/core/enum/filter_type.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/radiology/final_radiology.dart'; -import 'package:diplomaticquarterapp/core/service/medical/radiology_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; +import 'package:hmg_patient_app/core/enum/filter_type.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/radiology/final_radiology.dart'; +import 'package:hmg_patient_app/core/service/medical/radiology_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/medical/reports_monthly_view_model.dart b/lib/core/viewModels/medical/reports_monthly_view_model.dart index bbd6916e..297d0964 100644 --- a/lib/core/viewModels/medical/reports_monthly_view_model.dart +++ b/lib/core/viewModels/medical/reports_monthly_view_model.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; import '../../../core/enum/reportfilter_type.dart'; import '../../../core/enum/viewstate.dart'; diff --git a/lib/core/viewModels/medical/reports_view_model.dart b/lib/core/viewModels/medical/reports_view_model.dart index 04f701c5..1ee06816 100644 --- a/lib/core/viewModels/medical/reports_view_model.dart +++ b/lib/core/viewModels/medical/reports_view_model.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/reports/admission_for_medical_report.dart'; -import 'package:diplomaticquarterapp/pages/feedback/appointment_history.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; +import 'package:hmg_patient_app/core/model/reports/admission_for_medical_report.dart'; +import 'package:hmg_patient_app/pages/feedback/appointment_history.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; import '../../../core/enum/reportfilter_type.dart'; import '../../../core/enum/viewstate.dart'; diff --git a/lib/core/viewModels/medical/vital_sign_view_model.dart b/lib/core/viewModels/medical/vital_sign_view_model.dart index 232246d4..69f8972f 100644 --- a/lib/core/viewModels/medical/vital_sign_view_model.dart +++ b/lib/core/viewModels/medical/vital_sign_view_model.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/vital_sign/vital_sign_res_model.dart'; -import 'package:diplomaticquarterapp/core/service/medical/vital_sign_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/vital_sign/vital_sign_res_model.dart'; +import 'package:hmg_patient_app/core/service/medical/vital_sign_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/medical/weight_pressure_view_model.dart b/lib/core/viewModels/medical/weight_pressure_view_model.dart index 8a689786..2d0ac2d1 100644 --- a/lib/core/viewModels/medical/weight_pressure_view_model.dart +++ b/lib/core/viewModels/medical/weight_pressure_view_model.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/weight/WeightMeasurementResult.dart'; -import 'package:diplomaticquarterapp/core/service/medical/WeightPressureService.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/weight/WeightMeasurementResult.dart'; +import 'package:hmg_patient_app/core/service/medical/WeightPressureService.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; import '../../../core/viewModels/base_view_model.dart'; diff --git a/lib/core/viewModels/notifications_view_model.dart b/lib/core/viewModels/notifications_view_model.dart index 98077560..0f011702 100644 --- a/lib/core/viewModels/notifications_view_model.dart +++ b/lib/core/viewModels/notifications_view_model.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/notifications/get_notifications_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/notifications/get_notifications_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/notifications/mark_message_as_read_request_model.dart'; -import 'package:diplomaticquarterapp/core/service/notifications_service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/notifications/get_notifications_request_model.dart'; +import 'package:hmg_patient_app/core/model/notifications/get_notifications_response_model.dart'; +import 'package:hmg_patient_app/core/model/notifications/mark_message_as_read_request_model.dart'; +import 'package:hmg_patient_app/core/service/notifications_service.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/core/viewModels/offers_Categorise_view_model.dart b/lib/core/viewModels/offers_Categorise_view_model.dart index adfca8cd..797d1b95 100644 --- a/lib/core/viewModels/offers_Categorise_view_model.dart +++ b/lib/core/viewModels/offers_Categorise_view_model.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/offer_products_model.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/offers_model.dart'; -import 'package:diplomaticquarterapp/core/service/offers_service.dart'; -import 'package:diplomaticquarterapp/locator.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/offer_products_model.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/offers_model.dart'; +import 'package:hmg_patient_app/core/service/offers_service.dart'; +import 'package:hmg_patient_app/locator.dart'; import 'base_view_model.dart'; diff --git a/lib/core/viewModels/packages_offers/PackagesOffersViewModel.dart b/lib/core/viewModels/packages_offers/PackagesOffersViewModel.dart index 64f76b68..6d3f2617 100644 --- a/lib/core/viewModels/packages_offers/PackagesOffersViewModel.dart +++ b/lib/core/viewModels/packages_offers/PackagesOffersViewModel.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/tamara_payment_option.dart'; -import 'package:diplomaticquarterapp/core/service/packages_offers/PackagesOffersServices.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/tamara_payment_option.dart'; +import 'package:hmg_patient_app/core/service/packages_offers/PackagesOffersServices.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; class OfferCategoriesViewModel extends BaseViewModel{ OffersAndPackagesServices service = locator(); diff --git a/lib/core/viewModels/pharmacies_view_model.dart b/lib/core/viewModels/pharmacies_view_model.dart index f6a763b6..11dfbca4 100644 --- a/lib/core/viewModels/pharmacies_view_model.dart +++ b/lib/core/viewModels/pharmacies_view_model.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/pharmacies_list_model.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/pharmacies_model.dart'; -import 'package:diplomaticquarterapp/core/service/pharmacies_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/pharmacies_list_model.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/pharmacies_model.dart'; +import 'package:hmg_patient_app/core/service/pharmacies_service.dart'; import '../../locator.dart'; import 'base_view_model.dart'; diff --git a/lib/core/viewModels/pharmacyModule/BestSellerViewModel.dart b/lib/core/viewModels/pharmacyModule/BestSellerViewModel.dart index b03ee5b9..9dbfae6a 100644 --- a/lib/core/viewModels/pharmacyModule/BestSellerViewModel.dart +++ b/lib/core/viewModels/pharmacyModule/BestSellerViewModel.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/parmacy_module_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/parmacy_module_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/pharmacyModule/BrandViewModel.dart b/lib/core/viewModels/pharmacyModule/BrandViewModel.dart index c1cdc8bc..59f884b7 100644 --- a/lib/core/viewModels/pharmacyModule/BrandViewModel.dart +++ b/lib/core/viewModels/pharmacyModule/BrandViewModel.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/Manufacturer.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/parmacy_module_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Manufacturer.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/parmacy_module_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/pharmacyModule/LastVisitedViewModel.dart b/lib/core/viewModels/pharmacyModule/LastVisitedViewModel.dart index 568e56f8..42d97d65 100644 --- a/lib/core/viewModels/pharmacyModule/LastVisitedViewModel.dart +++ b/lib/core/viewModels/pharmacyModule/LastVisitedViewModel.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/parmacy_module_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/parmacy_module_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/pharmacyModule/MostViewedViewModel.dart b/lib/core/viewModels/pharmacyModule/MostViewedViewModel.dart index a0f51038..c2f20d77 100644 --- a/lib/core/viewModels/pharmacyModule/MostViewedViewModel.dart +++ b/lib/core/viewModels/pharmacyModule/MostViewedViewModel.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/parmacy_module_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/parmacy_module_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; class MostViewedViewModel extends BaseViewModel { PharmacyModuleService _pharmacyService = locator(); diff --git a/lib/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart b/lib/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart index cd8ae4a2..2f8bfdad 100644 --- a/lib/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart +++ b/lib/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart @@ -1,15 +1,15 @@ import 'dart:convert'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ShippingOption.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCartResponse.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/order_detail.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/payment-checkout-data.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/order-preview-service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ShippingOption.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCart.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCartResponse.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/order_detail.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/payment-checkout-data.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/order-preview-service.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart b/lib/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart index d920f1e3..582c07d6 100644 --- a/lib/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart +++ b/lib/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/Country.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/pharmacyAddress_service.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Country.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/pharmacyAddress_service.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; import 'package:geocoding/geocoding.dart'; import 'package:google_maps_place_picker_mb/google_maps_place_picker.dart'; diff --git a/lib/core/viewModels/pharmacyModule/PrescriptionViewModel.dart b/lib/core/viewModels/pharmacyModule/PrescriptionViewModel.dart index 1d0cda79..fd60f6df 100644 --- a/lib/core/viewModels/pharmacyModule/PrescriptionViewModel.dart +++ b/lib/core/viewModels/pharmacyModule/PrescriptionViewModel.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/Prescriptions.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/prescription_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/Prescriptions.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/prescription_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/pharmacyModule/brand_view_model.dart b/lib/core/viewModels/pharmacyModule/brand_view_model.dart index 78a08ed8..2f5a6313 100644 --- a/lib/core/viewModels/pharmacyModule/brand_view_model.dart +++ b/lib/core/viewModels/pharmacyModule/brand_view_model.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/brandModel.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/topBrandsModel.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/brands_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/models/pharmacy/brandModel.dart'; +import 'package:hmg_patient_app/models/pharmacy/topBrandsModel.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/brands_service.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/pharmacyModule/lacum-registration-viewModel.dart b/lib/core/viewModels/pharmacyModule/lacum-registration-viewModel.dart index d115845b..660ecb5e 100644 --- a/lib/core/viewModels/pharmacyModule/lacum-registration-viewModel.dart +++ b/lib/core/viewModels/pharmacyModule/lacum-registration-viewModel.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ListUserAgreement.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/lacum-registration-service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ListUserAgreement.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/lacum-registration-service.dart'; import '../../../locator.dart'; import 'lacum-viewmodel.dart'; diff --git a/lib/core/viewModels/pharmacyModule/lacum-trasnfer-viewModel.dart b/lib/core/viewModels/pharmacyModule/lacum-trasnfer-viewModel.dart index 84f7910b..3f623841 100644 --- a/lib/core/viewModels/pharmacyModule/lacum-trasnfer-viewModel.dart +++ b/lib/core/viewModels/pharmacyModule/lacum-trasnfer-viewModel.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/lacum-transfer-service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/lacum-transfer-service.dart'; import '../../../locator.dart'; import 'lacum-viewmodel.dart'; diff --git a/lib/core/viewModels/pharmacyModule/lacum-viewmodel.dart b/lib/core/viewModels/pharmacyModule/lacum-viewmodel.dart index aa6f28aa..cce0fa6f 100644 --- a/lib/core/viewModels/pharmacyModule/lacum-viewmodel.dart +++ b/lib/core/viewModels/pharmacyModule/lacum-viewmodel.dart @@ -2,10 +2,10 @@ import 'dart:async'; import 'dart:convert'; import 'dart:typed_data'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/lacum-service.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/lacum-service.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/pharmacyModule/order_model_view_model.dart b/lib/core/viewModels/pharmacyModule/order_model_view_model.dart index 12d79b22..6494d634 100644 --- a/lib/core/viewModels/pharmacyModule/order_model_view_model.dart +++ b/lib/core/viewModels/pharmacyModule/order_model_view_model.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCartResponse.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/order_detail.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/orders_model.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/payment-checkout-data.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/order-preview-service.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/cancelOrder_service.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/orderDetails_service.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/order_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCartResponse.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/order_detail.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/orders_model.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/payment-checkout-data.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/order-preview-service.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/cancelOrder_service.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/orderDetails_service.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/order_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart b/lib/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart index de50b1bc..0769f5be 100644 --- a/lib/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart +++ b/lib/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyImageObject.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/recommendedProduct_model.dart'; - -//import 'package:diplomaticquarterapp/core/model/prescriptions/perscription_pharmacy.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/parmacy_module_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/recommendedProduct_service.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/navigation_service.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyImageObject.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/recommendedProduct_model.dart'; + +//import 'package:hmg_patient_app/core/model/prescriptions/perscription_pharmacy.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/parmacy_module_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/recommendedProduct_service.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/navigation_service.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/pharmacyModule/product_detail_view_model.dart b/lib/core/viewModels/pharmacyModule/product_detail_view_model.dart index de48afd5..a0d87e71 100644 --- a/lib/core/viewModels/pharmacyModule/product_detail_view_model.dart +++ b/lib/core/viewModels/pharmacyModule/product_detail_view_model.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCartResponse.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/Wishlist.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/locationModel.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/productDetailModel.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/specification.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/product_detail_service.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/navigation_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCart.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCartResponse.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/models/pharmacy/Wishlist.dart'; +import 'package:hmg_patient_app/models/pharmacy/locationModel.dart'; +import 'package:hmg_patient_app/models/pharmacy/productDetailModel.dart'; +import 'package:hmg_patient_app/models/pharmacy/specification.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/product_detail_service.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/navigation_service.dart'; import 'package:provider/provider.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/pharmacyModule/review_view_model.dart b/lib/core/viewModels/pharmacyModule/review_view_model.dart index 00fd73fe..d9cf564d 100644 --- a/lib/core/viewModels/pharmacyModule/review_view_model.dart +++ b/lib/core/viewModels/pharmacyModule/review_view_model.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/reviewModel.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/review_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/models/pharmacy/reviewModel.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/review_service.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/pharmacyModule/tems-condition-viewmodel.dart b/lib/core/viewModels/pharmacyModule/tems-condition-viewmodel.dart index f8684092..60f7638c 100644 --- a/lib/core/viewModels/pharmacyModule/tems-condition-viewmodel.dart +++ b/lib/core/viewModels/pharmacyModule/tems-condition-viewmodel.dart @@ -1,8 +1,8 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ListUserAgreement.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/terms-condition-service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ListUserAgreement.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/terms-condition-service.dart'; import '../../../locator.dart'; import '../base_view_model.dart'; diff --git a/lib/core/viewModels/pharmacyModule/wishlist_view_model.dart b/lib/core/viewModels/pharmacyModule/wishlist_view_model.dart index 4f26ad79..626a6069 100644 --- a/lib/core/viewModels/pharmacyModule/wishlist_view_model.dart +++ b/lib/core/viewModels/pharmacyModule/wishlist_view_model.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/Wishlist.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/wishList_service.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/models/pharmacy/Wishlist.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/wishList_service.dart'; import '../../../locator.dart'; diff --git a/lib/core/viewModels/pharmacy_categorise_view_model.dart b/lib/core/viewModels/pharmacy_categorise_view_model.dart index e936ae71..755055aa 100644 --- a/lib/core/viewModels/pharmacy_categorise_view_model.dart +++ b/lib/core/viewModels/pharmacy_categorise_view_model.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/categorise_parent_model.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/pharmacy_categorise.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/scan_qr_model.dart'; -import 'package:diplomaticquarterapp/core/service/pharmacy_categorise_service.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/categorise_parent_model.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/pharmacy_categorise.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/scan_qr_model.dart'; +import 'package:hmg_patient_app/core/service/pharmacy_categorise_service.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; import 'package:flutter/cupertino.dart'; import 'base_view_model.dart'; diff --git a/lib/core/viewModels/product_categories_view_model.dart b/lib/core/viewModels/product_categories_view_model.dart index 2508f557..453195d9 100644 --- a/lib/core/viewModels/product_categories_view_model.dart +++ b/lib/core/viewModels/product_categories_view_model.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/pharmacy_categorise.dart'; -import 'package:diplomaticquarterapp/core/service/pharmacy_categorise_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/pharmacy_categorise.dart'; +import 'package:hmg_patient_app/core/service/pharmacy_categorise_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; class ProductCategoriesViewModel extends BaseViewModel { bool hasError = false; diff --git a/lib/core/viewModels/project_view_model.dart b/lib/core/viewModels/project_view_model.dart index 238ee0f5..86ef0d36 100644 --- a/lib/core/viewModels/project_view_model.dart +++ b/lib/core/viewModels/project_view_model.dart @@ -1,20 +1,20 @@ import 'dart:async'; import 'package:connectivity_plus/connectivity_plus.dart'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/HMCProjectListModel.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/PrivilegeModel.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/ProjectDetailListModel.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/VidaPlusProjectListModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/laser_body_parts.dart'; -import 'package:diplomaticquarterapp/models/Authentication/register_info_response.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_info_response_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_request_info_response_model.dart'; -import 'package:diplomaticquarterapp/uitl/PlatformBridge.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/privilege/HMCProjectListModel.dart'; +import 'package:hmg_patient_app/core/model/privilege/PrivilegeModel.dart'; +import 'package:hmg_patient_app/core/model/privilege/ProjectDetailListModel.dart'; +import 'package:hmg_patient_app/core/model/privilege/VidaPlusProjectListModel.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/laser_body_parts.dart'; +import 'package:hmg_patient_app/models/Authentication/register_info_response.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_info_response_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_request_info_response_model.dart'; +import 'package:hmg_patient_app/uitl/PlatformBridge.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter_datetime_picker_plus/flutter_datetime_picker_plus.dart'; diff --git a/lib/core/viewModels/qr_view_model.dart b/lib/core/viewModels/qr_view_model.dart index 7d952820..e7869f2d 100644 --- a/lib/core/viewModels/qr_view_model.dart +++ b/lib/core/viewModels/qr_view_model.dart @@ -2,15 +2,15 @@ import 'dart:convert'; import 'dart:io'; import 'package:barcode_scan2/barcode_scan2.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/qr/qr_parking_model.dart'; -import 'package:diplomaticquarterapp/core/service/qr_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/qr/qr_parking_model.dart'; +import 'package:hmg_patient_app/core/service/qr_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; import '../../locator.dart'; diff --git a/lib/core/viewModels/vaccine_view_model.dart b/lib/core/viewModels/vaccine_view_model.dart index e5ab9b7e..a1c02266 100644 --- a/lib/core/viewModels/vaccine_view_model.dart +++ b/lib/core/viewModels/vaccine_view_model.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/vaccine/my_vaccine.dart'; -import 'package:diplomaticquarterapp/core/model/vaccine/vaccination_item.dart'; -import 'package:diplomaticquarterapp/core/service/vaccine_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/vaccine/my_vaccine.dart'; +import 'package:hmg_patient_app/core/model/vaccine/vaccination_item.dart'; +import 'package:hmg_patient_app/core/service/vaccine_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; import '../../locator.dart'; import 'base_view_model.dart'; diff --git a/lib/core/viewModels/weather/weather_view_model.dart b/lib/core/viewModels/weather/weather_view_model.dart index 733c591d..1a2fe233 100644 --- a/lib/core/viewModels/weather/weather_view_model.dart +++ b/lib/core/viewModels/weather/weather_view_model.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/weahter/weather_model.dart'; -import 'package:diplomaticquarterapp/core/service/weather_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/weahter/weather_model.dart'; +import 'package:hmg_patient_app/core/service/weather_service.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; import '../../../locator.dart'; diff --git a/lib/generated/json/GeoZonesResponseModel_helper.dart b/lib/generated/json/GeoZonesResponseModel_helper.dart index 7cf3cc5f..22a61480 100644 --- a/lib/generated/json/GeoZonesResponseModel_helper.dart +++ b/lib/generated/json/GeoZonesResponseModel_helper.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/geofencing/responses/GeoZonesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/geofencing/responses/GeoZonesResponseModel.dart'; geoZonesResponseModelEntityFromJson(GeoZonesResponseModel data, Map json) { if (json['GEOF_ID'] != null) { diff --git a/lib/generated/json/OfferCategoriesResponseModel_helper.dart b/lib/generated/json/OfferCategoriesResponseModel_helper.dart index b6bb7d97..f3389841 100644 --- a/lib/generated/json/OfferCategoriesResponseModel_helper.dart +++ b/lib/generated/json/OfferCategoriesResponseModel_helper.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart'; offerCategoriesResponseModelFromJson(PackagesCategoriesResponseModel data, Map json) { if (json['id'] != null) { diff --git a/lib/generated/json/OfferProductsResponseModel_helper.dart b/lib/generated/json/OfferProductsResponseModel_helper.dart index 818de36a..64362c18 100644 --- a/lib/generated/json/OfferProductsResponseModel_helper.dart +++ b/lib/generated/json/OfferProductsResponseModel_helper.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; offerProductsResponseModelFromJson(PackagesResponseModel data, Map json) { if (json['id'] != null) { diff --git a/lib/generated/json/base/json_convert_content.dart b/lib/generated/json/base/json_convert_content.dart index c4d393c3..2359f6f8 100644 --- a/lib/generated/json/base/json_convert_content.dart +++ b/lib/generated/json/base/json_convert_content.dart @@ -2,16 +2,16 @@ // ignore_for_file: camel_case_types // ignore_for_file: prefer_single_quotes -import 'package:diplomaticquarterapp/core/model/geofencing/responses/GeoZonesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/geofencing/responses/LogGeoZoneResponseModel.dart'; +import 'package:hmg_patient_app/core/model/geofencing/responses/GeoZonesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/geofencing/responses/LogGeoZoneResponseModel.dart'; // This file is automatically generated. DO NOT EDIT, all your changes would be lost. -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; -import 'package:diplomaticquarterapp/generated/json/GeoZonesResponseModel_helper.dart'; -import 'package:diplomaticquarterapp/generated/json/OfferCategoriesResponseModel_helper.dart'; -import 'package:diplomaticquarterapp/generated/json/OfferProductsResponseModel_helper.dart'; -import 'package:diplomaticquarterapp/generated/json/log_geo_zone_response_model_entity_helper.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/generated/json/GeoZonesResponseModel_helper.dart'; +import 'package:hmg_patient_app/generated/json/OfferCategoriesResponseModel_helper.dart'; +import 'package:hmg_patient_app/generated/json/OfferProductsResponseModel_helper.dart'; +import 'package:hmg_patient_app/generated/json/log_geo_zone_response_model_entity_helper.dart'; class JsonConvert { T fromJson(Map json) { diff --git a/lib/generated/json/log_geo_zone_response_model_entity_helper.dart b/lib/generated/json/log_geo_zone_response_model_entity_helper.dart index 28b8c996..5a4f1f33 100644 --- a/lib/generated/json/log_geo_zone_response_model_entity_helper.dart +++ b/lib/generated/json/log_geo_zone_response_model_entity_helper.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/geofencing/responses/LogGeoZoneResponseModel.dart'; +import 'package:hmg_patient_app/core/model/geofencing/responses/LogGeoZoneResponseModel.dart'; logGeoZoneResponseModelEntityFromJson(LogGeoZoneResponseModel data, Map json) { if (json['LanguageID'] != null) { diff --git a/lib/locator.dart b/lib/locator.dart index 61ed983b..225145ff 100644 --- a/lib/locator.dart +++ b/lib/locator.dart @@ -1,29 +1,29 @@ -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/H2O_service.dart'; -import 'package:diplomaticquarterapp/core/service/ancillary_orders_service.dart'; -import 'package:diplomaticquarterapp/core/service/client/base_app_client.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/prescription_service.dart'; -import 'package:diplomaticquarterapp/core/service/qr_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/ancillary_orders_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/child_vaccines/user_information_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/dashboard_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/MostViewedViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/product_categories_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/order_model_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/weather/weather_view_model.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_service.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_view_model.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/cancelOrder_service.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/order_service.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/recommendedProduct_service.dart'; -// import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart'; -// import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/order_model_view_model.dart'; -// import 'package:diplomaticquarterapp/services/pharmacy_services/order_service.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/review_service.dart'; -import 'package:diplomaticquarterapp/services/pharmacy_services/wishList_service.dart'; -import 'package:diplomaticquarterapp/uitl/navigation_service.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/H2O_service.dart'; +import 'package:hmg_patient_app/core/service/ancillary_orders_service.dart'; +import 'package:hmg_patient_app/core/service/client/base_app_client.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/prescription_service.dart'; +import 'package:hmg_patient_app/core/service/qr_service.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/ancillary_orders_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/child_vaccines/user_information_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/dashboard_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/MostViewedViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/product_categories_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/order_model_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/weather/weather_view_model.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_service.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_view_model.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/cancelOrder_service.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/order_service.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/recommendedProduct_service.dart'; +// import 'package:hmg_patient_app/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart'; +// import 'package:hmg_patient_app/core/viewModels/pharmacyModule/order_model_view_model.dart'; +// import 'package:hmg_patient_app/services/pharmacy_services/order_service.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/review_service.dart'; +import 'package:hmg_patient_app/services/pharmacy_services/wishList_service.dart'; +import 'package:hmg_patient_app/uitl/navigation_service.dart'; import 'package:flutter_local_notifications/flutter_local_notifications.dart'; import 'package:get_it/get_it.dart'; diff --git a/lib/main.dart b/lib/main.dart index 03ac65fc..61a4811b 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -2,20 +2,20 @@ import 'dart:async'; import 'dart:io'; import 'package:app_links/app_links.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/PharmacyPagesViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/dashboard_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_view_model.dart'; -import 'package:diplomaticquarterapp/services/robo_search/event_provider.dart'; -import 'package:diplomaticquarterapp/services/robo_search/search_provider.dart'; -import 'package:diplomaticquarterapp/theme/theme_notifier.dart'; -import 'package:diplomaticquarterapp/theme/theme_value.dart'; -import 'package:diplomaticquarterapp/uitl/DeepLinkHandler.dart'; -import 'package:diplomaticquarterapp/uitl/PlatformBridge.dart'; -import 'package:diplomaticquarterapp/uitl/navigation_service.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/viewModels/PharmacyPagesViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/dashboard_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_view_model.dart'; +import 'package:hmg_patient_app/services/robo_search/event_provider.dart'; +import 'package:hmg_patient_app/services/robo_search/search_provider.dart'; +import 'package:hmg_patient_app/theme/theme_notifier.dart'; +import 'package:hmg_patient_app/theme/theme_value.dart'; +import 'package:hmg_patient_app/uitl/DeepLinkHandler.dart'; +import 'package:hmg_patient_app/uitl/PlatformBridge.dart'; +import 'package:hmg_patient_app/uitl/navigation_service.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:firebase_core/firebase_core.dart'; import 'package:flutter/material.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; diff --git a/lib/models/Appointments/DoctorListResponse.dart b/lib/models/Appointments/DoctorListResponse.dart index 4dc65cfa..8f7b95f9 100644 --- a/lib/models/Appointments/DoctorListResponse.dart +++ b/lib/models/Appointments/DoctorListResponse.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; class DoctorList { int? clinicID; diff --git a/lib/models/Appointments/InsertAppointmentRequest.dart b/lib/models/Appointments/InsertAppointmentRequest.dart index 719f6ff9..b324d853 100644 --- a/lib/models/Appointments/InsertAppointmentRequest.dart +++ b/lib/models/Appointments/InsertAppointmentRequest.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/models/Request.dart'; +import 'package:hmg_patient_app/models/Request.dart'; class InsertAppointmentRequest extends Request { String? AppointmentDate; // ???? "/Date(1577750400000)/" diff --git a/lib/models/Appointments/OBGyneProcedureListResponse.dart b/lib/models/Appointments/OBGyneProcedureListResponse.dart new file mode 100644 index 00000000..6af282b5 --- /dev/null +++ b/lib/models/Appointments/OBGyneProcedureListResponse.dart @@ -0,0 +1,136 @@ +class OBGyneProcedureListResponse { + String? setupID; + int? projectID; + int? episodeID; + int? appointmentNo; + int? orderNo; + String? procedureId; + int? lineItemNo; + String? orderDate; + int? orderType; + int? patientType; + int? patientID; + int? price; + int? orderStatus; + bool? isApprovalRequired; + bool? isApprovalCreated; + bool? isInvoiced; + bool? isReferralInvoiced; + bool? isEROrder; + bool? isCash; + int? uniqueRowID; + int? status; + int? clinicID; + int? doctorID; + String? procedureName; + String? procedureNameN; + String? clinicDescription; + String? clinicDescriptionN; + String? doctorName; + String? doctorNameN; + String? projectDescription; + String? projectDescriptionN; + + OBGyneProcedureListResponse( + {this.setupID, + this.projectID, + this.episodeID, + this.appointmentNo, + this.orderNo, + this.procedureId, + this.lineItemNo, + this.orderDate, + this.orderType, + this.patientType, + this.patientID, + this.price, + this.orderStatus, + this.isApprovalRequired, + this.isApprovalCreated, + this.isInvoiced, + this.isReferralInvoiced, + this.isEROrder, + this.isCash, + this.uniqueRowID, + this.status, + this.clinicID, + this.doctorID, + this.procedureName, + this.procedureNameN, + this.clinicDescription, + this.clinicDescriptionN, + this.doctorName, + this.doctorNameN, + this.projectDescription, + this.projectDescriptionN}); + + OBGyneProcedureListResponse.fromJson(Map json) { + setupID = json['SetupID']; + projectID = json['ProjectID']; + episodeID = json['EpisodeID']; + appointmentNo = json['AppointmentNo']; + orderNo = json['OrderNo']; + procedureId = json['ProcedureId']; + lineItemNo = json['LineItemNo']; + orderDate = json['OrderDate']; + orderType = json['OrderType']; + patientType = json['PatientType']; + patientID = json['PatientID']; + price = json['Price']; + orderStatus = json['OrderStatus']; + isApprovalRequired = json['IsApprovalRequired']; + isApprovalCreated = json['IsApprovalCreated']; + isInvoiced = json['IsInvoiced']; + isReferralInvoiced = json['IsReferralInvoiced']; + isEROrder = json['IsEROrder']; + isCash = json['IsCash']; + uniqueRowID = json['UniqueRowID']; + status = json['Status']; + clinicID = json['ClinicID']; + doctorID = json['DoctorID']; + procedureName = json['ProcedureName']; + procedureNameN = json['ProcedureNameN']; + clinicDescription = json['ClinicDescription']; + clinicDescriptionN = json['ClinicDescriptionN']; + doctorName = json['DoctorName']; + doctorNameN = json['DoctorNameN']; + projectDescription = json['ProjectDescription']; + projectDescriptionN = json['ProjectDescriptionN']; + } + + Map toJson() { + final Map data = new Map(); + data['SetupID'] = this.setupID; + data['ProjectID'] = this.projectID; + data['EpisodeID'] = this.episodeID; + data['AppointmentNo'] = this.appointmentNo; + data['OrderNo'] = this.orderNo; + data['ProcedureId'] = this.procedureId; + data['LineItemNo'] = this.lineItemNo; + data['OrderDate'] = this.orderDate; + data['OrderType'] = this.orderType; + data['PatientType'] = this.patientType; + data['PatientID'] = this.patientID; + data['Price'] = this.price; + data['OrderStatus'] = this.orderStatus; + data['IsApprovalRequired'] = this.isApprovalRequired; + data['IsApprovalCreated'] = this.isApprovalCreated; + data['IsInvoiced'] = this.isInvoiced; + data['IsReferralInvoiced'] = this.isReferralInvoiced; + data['IsEROrder'] = this.isEROrder; + data['IsCash'] = this.isCash; + data['UniqueRowID'] = this.uniqueRowID; + data['Status'] = this.status; + data['ClinicID'] = this.clinicID; + data['DoctorID'] = this.doctorID; + data['ProcedureName'] = this.procedureName; + data['ProcedureNameN'] = this.procedureNameN; + data['ClinicDescription'] = this.clinicDescription; + data['ClinicDescriptionN'] = this.clinicDescriptionN; + data['DoctorName'] = this.doctorName; + data['DoctorNameN'] = this.doctorNameN; + data['ProjectDescription'] = this.projectDescription; + data['ProjectDescriptionN'] = this.projectDescriptionN; + return data; + } +} diff --git a/lib/models/Appointments/SearchInfoModel.dart b/lib/models/Appointments/SearchInfoModel.dart index ee1faf90..c048f5f9 100644 --- a/lib/models/Appointments/SearchInfoModel.dart +++ b/lib/models/Appointments/SearchInfoModel.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/models/Clinics/ClinicListResponse.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/models/Clinics/ClinicListResponse.dart'; class SearchInfo { int? ProjectID; diff --git a/lib/models/Appointments/doctor_pre_post_image.dart b/lib/models/Appointments/doctor_pre_post_image.dart index 96a738bd..044f0767 100644 --- a/lib/models/Appointments/doctor_pre_post_image.dart +++ b/lib/models/Appointments/doctor_pre_post_image.dart @@ -1,7 +1,7 @@ import 'dart:convert'; import 'dart:typed_data'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; class DoctorPrePostImages { DoctorPrePostImageModel? pre; diff --git a/lib/models/Authentication/authenticated_user.dart b/lib/models/Authentication/authenticated_user.dart index 0d2b3544..e64db0f0 100644 --- a/lib/models/Authentication/authenticated_user.dart +++ b/lib/models/Authentication/authenticated_user.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class AuthenticatedUser { String? setupID; diff --git a/lib/models/Authentication/check_activation_code_response.dart b/lib/models/Authentication/check_activation_code_response.dart index 2fa18a5e..aa0315c1 100644 --- a/lib/models/Authentication/check_activation_code_response.dart +++ b/lib/models/Authentication/check_activation_code_response.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; class CheckActivationCode { dynamic date; diff --git a/lib/models/LiveCare/room_model.dart b/lib/models/LiveCare/room_model.dart index 7e365a0f..1fb7f066 100644 --- a/lib/models/LiveCare/room_model.dart +++ b/lib/models/LiveCare/room_model.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/models/LiveCare/room_validators.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/twilio_enums.dart'; +import 'package:hmg_patient_app/models/LiveCare/room_validators.dart'; +import 'package:hmg_patient_app/models/LiveCare/twilio_enums.dart'; class RoomModel with RoomValidators { final String? name; diff --git a/lib/models/LiveCare/room_validators.dart b/lib/models/LiveCare/room_validators.dart index 44fe95f0..1c99824e 100644 --- a/lib/models/LiveCare/room_validators.dart +++ b/lib/models/LiveCare/room_validators.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/models/LiveCare/validators.dart'; +import 'package:hmg_patient_app/models/LiveCare/validators.dart'; mixin RoomValidators { final StringValidator nameValidator = NonEmptyStringValidator(); diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_cancel_order_dialog.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_cancel_order_dialog.dart index 4ea8c4ee..746a2f19 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_cancel_order_dialog.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_cancel_order_dialog.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart index 94379af8..0627cef9 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; import 'package:flutter/material.dart'; Future showCMCConfirmDialog(BuildContext context, String requestId, {required Function onClick}) async { diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/cmc_location_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/cmc_location_page.dart index d0dd1094..071b995b 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/cmc_location_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/cmc_location_page.dart @@ -1,23 +1,23 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/add_new_address_Request_Model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/app_map/google_huawei_map.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/add_new_address_Request_Model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/app_map/google_huawei_map.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart index 1b467242..32d26a12 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_page.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/main.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/main.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; import 'package:flutter/material.dart'; import 'package:geolocator/geolocator.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_one_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_one_page.dart index 43350f2d..01c2451d 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_one_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_one_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_three_page.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dragable_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/photo_view_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_three_page.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dragable_sheet.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/photo_view_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/svg.dart'; diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_three_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_three_page.dart index 20d4f9f5..d38c3a13 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_three_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_three_page.dart @@ -1,21 +1,21 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_tow_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_tow_page.dart index d75aecaa..6b39a4b8 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_tow_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/NewCMC/new_cmc_step_tow_page.dart @@ -1,21 +1,21 @@ import 'dart:async'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/app_map/google_huawei_map.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/select_location_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/app_map/google_huawei_map.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/dialogs/select_location_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:geolocator/geolocator.dart'; diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_page.dart index 162c67a2..f4d27d5a 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_page.dart @@ -1,12 +1,12 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/orders_log_details_page.dart b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/orders_log_details_page.dart index 10a15d8d..4abcb87f 100644 --- a/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/orders_log_details_page.dart +++ b/lib/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/orders_log_details_page.dart @@ -1,20 +1,20 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_hhc_all_pres_orders_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_hhc_all_pres_orders_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/cmc_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_index_page.dart b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_index_page.dart index 543f320b..4b301e7c 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_index_page.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_index_page.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_one_page.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_one_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; import 'new_e_referral_step_three_page.dart'; diff --git a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_one_page.dart b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_one_page.dart index 72d28f60..486a44bb 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_one_page.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_one_page.dart @@ -1,25 +1,25 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/check_activation_code_for_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/get_all_relationship_types_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/send_activation_code_for_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/AdvanceModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/E-Referral/dialogs/select_relation_type_dialog.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/mobile-no/mobile_no.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/otp/sms-popup.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/check_activation_code_for_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/get_all_relationship_types_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/send_activation_code_for_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/model/my_balance/AdvanceModel.dart'; +import 'package:hmg_patient_app/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/E-Referral/dialogs/select_relation_type_dialog.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/mobile-no/mobile_no.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/otp/sms-popup.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_three_page.dart b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_three_page.dart index ec2a54d8..26d1047d 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_three_page.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_three_page.dart @@ -1,26 +1,26 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/bottom_options/BottomSheet.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/bottom_options/BottomSheet.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_two_page.dart b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_two_page.dart index daf11a8f..1b60b0d7 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_two_page.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_step_two_page.dart @@ -1,21 +1,21 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/E-Referral/dialogs/select_country_ingo_Dialog.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/new_text_Field.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/mobile-no/mobile_no.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/create_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart'; +import 'package:hmg_patient_app/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/E-Referral/dialogs/select_country_ingo_Dialog.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/balance/new_text_Field.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/mobile-no/mobile_no.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_city_dialog.dart b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_city_dialog.dart index e07f01bf..ba181e99 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_city_dialog.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_city_dialog.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/get_all_cities_response_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_country_ingo_Dialog.dart b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_country_ingo_Dialog.dart index e1db9d5c..143960d8 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_country_ingo_Dialog.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_country_ingo_Dialog.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_relation_type_dialog.dart b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_relation_type_dialog.dart index d5323f4c..73ad6902 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_relation_type_dialog.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/dialogs/select_relation_type_dialog.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/get_all_relationship_types_response_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/get_all_relationship_types_response_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/E-Referral/e_referral_confirm_sms_dialog.dart b/lib/pages/AlHabibMedicalService/E-Referral/e_referral_confirm_sms_dialog.dart index 3b5d585e..9c36bfbe 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/e_referral_confirm_sms_dialog.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/e_referral_confirm_sms_dialog.dart @@ -1,15 +1,15 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/check_activation_code_for_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/check_activation_code_for_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/E-Referral/e_referral_page.dart b/lib/pages/AlHabibMedicalService/E-Referral/e_referral_page.dart index f216c5ea..dafd0866 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/e_referral_page.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/e_referral_page.dart @@ -1,14 +1,14 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_index_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/E-Referral/search_for_referrals_page.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/E-Referral/New_E_Referral/new_e_referral_index_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/E-Referral/search_for_referrals_page.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/E-Referral/referral_details.dart b/lib/pages/AlHabibMedicalService/E-Referral/referral_details.dart index d92ff50b..117c85b9 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/referral_details.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/referral_details.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/Constants.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/search_e_referral_response_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/Constants.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/search_e_referral_response_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/E-Referral/search_for_referrals_page.dart b/lib/pages/AlHabibMedicalService/E-Referral/search_for_referrals_page.dart index 106dc6e0..8827de41 100644 --- a/lib/pages/AlHabibMedicalService/E-Referral/search_for_referrals_page.dart +++ b/lib/pages/AlHabibMedicalService/E-Referral/search_for_referrals_page.dart @@ -1,23 +1,23 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/search_criteria_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/EReferral/search_e_referral_request_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/E-Referral/referral_details.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/h20_setting.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/errors/app_embedded_error.dart'; -import 'package:diplomaticquarterapp/widgets/mobile-no/mobile_no.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/search_criteria_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/EReferral/search_e_referral_request_model.dart'; +import 'package:hmg_patient_app/core/viewModels/all_habib_medical_services/e_referral_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/E-Referral/referral_details.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/h20_setting.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/errors/app_embedded_error.dart'; +import 'package:hmg_patient_app/widgets/mobile-no/mobile_no.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/Dialog/confirm_cancel_order_dialog.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/Dialog/confirm_cancel_order_dialog.dart index a0de3275..10152b41 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/Dialog/confirm_cancel_order_dialog.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/Dialog/confirm_cancel_order_dialog.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/location_page.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/location_page.dart index 1ac2f90d..18e449c5 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/location_page.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/location_page.dart @@ -1,21 +1,21 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/add_new_address_Request_Model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/app_map/google_huawei_map.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/add_new_address_Request_Model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/app_map/google_huawei_map.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_one_page.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_one_page.dart index 14085fd9..ee2e3cd9 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_one_page.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_one_page.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/PatientERHHCInsertServicesList.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/main.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_tow_page.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/HHC_get_all_services_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/PatientERHHCInsertServicesList.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/main.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_tow_page.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:google_maps_place_picker_mb/google_maps_place_picker.dart'; diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_three_page.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_three_page.dart index 3ff391ca..69f9809b 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_three_page.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_three_page.dart @@ -1,20 +1,20 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_page.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_tow_page.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_tow_page.dart index ee8f5b92..3dbed33e 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_tow_page.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_tow_page.dart @@ -1,23 +1,23 @@ import 'dart:async'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_three_page.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/app_map/google_huawei_map.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/select_location_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_Home_health_care_step_three_page.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/app_map/google_huawei_map.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/select_location_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:geolocator/geolocator.dart'; diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_home_health_care_page.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_home_health_care_page.dart index 42ced9eb..da1a48f8 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_home_health_care_page.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/new_home_health_care_page.dart @@ -1,17 +1,17 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/patient_er_insert_pres_order_request_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; import 'package:flutter/material.dart'; import 'package:geolocator/geolocator.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/StepsWidget.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/StepsWidget.dart index 29403efd..cb5aad56 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/StepsWidget.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/StepsWidget.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_index_page.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_index_page.dart index 05b0d753..9042cfbb 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_index_page.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_index_page.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_page.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_page.dart index 7308154f..c729ea33 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_page.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_page.dart @@ -1,12 +1,12 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/HomeHealthCare/orders_log_details_page.dart b/lib/pages/AlHabibMedicalService/HomeHealthCare/orders_log_details_page.dart index 71c40181..fd65ff19 100644 --- a/lib/pages/AlHabibMedicalService/HomeHealthCare/orders_log_details_page.dart +++ b/lib/pages/AlHabibMedicalService/HomeHealthCare/orders_log_details_page.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/get_hhc_all_pres_orders_response_model.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/get_hhc_all_pres_orders_response_model.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HomeHealthCare/update_pres_oreder_request_model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/home_health_care_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/all_habib_medical_service_page.dart b/lib/pages/AlHabibMedicalService/all_habib_medical_service_page.dart index c12aa36a..f472d80e 100644 --- a/lib/pages/AlHabibMedicalService/all_habib_medical_service_page.dart +++ b/lib/pages/AlHabibMedicalService/all_habib_medical_service_page.dart @@ -1,43 +1,43 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/weather_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/hmg_services.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/%E2%80%8B%20health_calculators.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/E-Referral/e_referral_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrders.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/health-weather/health-weather-indicator.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/health_converter.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/my_web_view.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/parking_page.dart'; -import 'package:diplomaticquarterapp/pages/Blood/blood_donation.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/Search.dart'; -import 'package:diplomaticquarterapp/pages/ChildVaccines/child_vaccines_page.dart'; -import 'package:diplomaticquarterapp/pages/ChildVaccines/new/child_initial_page.dart'; -import 'package:diplomaticquarterapp/pages/ChildVaccines/new/child_vaccine_page.dart'; -import 'package:diplomaticquarterapp/pages/ContactUs/findus/findus_page.dart'; -import 'package:diplomaticquarterapp/pages/Covid-DriveThru/covid-drivethru-location.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/family/my-family.dart'; -import 'package:diplomaticquarterapp/pages/ErService/ErOptions.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page_pharmcy.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_home.dart'; -import 'package:diplomaticquarterapp/pages/medical/medical_profile_page_new.dart'; -import 'package:diplomaticquarterapp/pages/medical/smart_watch_health_data/smart_watch_instructions.dart'; -import 'package:diplomaticquarterapp/pages/paymentService/payment_service.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/services)contaniner.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/weather_service.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/hmg_services.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/%E2%80%8B%20health_calculators.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/E-Referral/e_referral_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrders.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/health-weather/health-weather-indicator.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/health_converter.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/my_web_view.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/parking_page.dart'; +import 'package:hmg_patient_app/pages/Blood/blood_donation.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/Search.dart'; +import 'package:hmg_patient_app/pages/ChildVaccines/child_vaccines_page.dart'; +import 'package:hmg_patient_app/pages/ChildVaccines/new/child_initial_page.dart'; +import 'package:hmg_patient_app/pages/ChildVaccines/new/child_vaccine_page.dart'; +import 'package:hmg_patient_app/pages/ContactUs/findus/findus_page.dart'; +import 'package:hmg_patient_app/pages/Covid-DriveThru/covid-drivethru-location.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/family/my-family.dart'; +import 'package:hmg_patient_app/pages/ErService/ErOptions.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page_pharmcy.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_home.dart'; +import 'package:hmg_patient_app/pages/medical/medical_profile_page_new.dart'; +import 'package:hmg_patient_app/pages/medical/smart_watch_health_data/smart_watch_instructions.dart'; +import 'package:hmg_patient_app/pages/paymentService/payment_service.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/services)contaniner.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:geolocator/geolocator.dart'; diff --git a/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart b/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart index 420f08f1..77149ea5 100644 --- a/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart +++ b/lib/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart @@ -1,21 +1,21 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/weather_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/hmg_services.dart'; -import 'package:diplomaticquarterapp/pages/landing/widgets/services_view.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/weather_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/hmg_services.dart'; +import 'package:hmg_patient_app/pages/landing/widgets/services_view.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:geolocator/geolocator.dart'; diff --git a/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrders.dart b/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrders.dart index 37aa7e91..224fe09c 100644 --- a/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrders.dart +++ b/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrders.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/viewModels/ancillary_orders_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/ancillary_orders_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart b/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart index 464786df..32158061 100644 --- a/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart +++ b/lib/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart @@ -2,33 +2,33 @@ import 'dart:developer'; import 'dart:io'; import "package:collection/collection.dart"; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/PayfortEnums.dart'; -import 'package:diplomaticquarterapp/core/service/ancillary_orders_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ApplePayInsertRequest.dart'; -import 'package:diplomaticquarterapp/models/anicllary-orders/ancillary_order_proc_model.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/payment_method_select.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_project_details_resp_model.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/alert_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dragable_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/PayfortEnums.dart'; +import 'package:hmg_patient_app/core/service/ancillary_orders_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/LiveCare/ApplePayInsertRequest.dart'; +import 'package:hmg_patient_app/models/anicllary-orders/ancillary_order_proc_model.dart'; +import 'package:hmg_patient_app/pages/ToDoList/payment_method_select.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_project_details_resp_model.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/alert_dialog.dart'; +import 'package:hmg_patient_app/widgets/dragable_sheet.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/h2o/Dialog/setting_page_radio_button_list_dialog.dart b/lib/pages/AlHabibMedicalService/h2o/Dialog/setting_page_radio_button_list_dialog.dart index 61e171c3..e2389378 100644 --- a/lib/pages/AlHabibMedicalService/h2o/Dialog/setting_page_radio_button_list_dialog.dart +++ b/lib/pages/AlHabibMedicalService/h2o/Dialog/setting_page_radio_button_list_dialog.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; class CommonRadioButtonDialog extends StatefulWidget { diff --git a/lib/pages/AlHabibMedicalService/h2o/h20_setting.dart b/lib/pages/AlHabibMedicalService/h2o/h20_setting.dart index 8e3495c1..9dc943d3 100644 --- a/lib/pages/AlHabibMedicalService/h2o/h20_setting.dart +++ b/lib/pages/AlHabibMedicalService/h2o/h20_setting.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/user_detail_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/user_detail_model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/painting.dart'; diff --git a/lib/pages/AlHabibMedicalService/h2o/h2o_index_page.dart b/lib/pages/AlHabibMedicalService/h2o/h2o_index_page.dart index a28c0d3e..2bb5364a 100644 --- a/lib/pages/AlHabibMedicalService/h2o/h2o_index_page.dart +++ b/lib/pages/AlHabibMedicalService/h2o/h2o_index_page.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/h2o_page.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/h2o_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/AlHabibMedicalService/h2o/h2o_page.dart b/lib/pages/AlHabibMedicalService/h2o/h2o_page.dart index 981f80b1..bf70d610 100644 --- a/lib/pages/AlHabibMedicalService/h2o/h2o_page.dart +++ b/lib/pages/AlHabibMedicalService/h2o/h2o_page.dart @@ -1,22 +1,22 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/h20_setting.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/month_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/today_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/week_page.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/ToDo.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/medical_profile_page_new.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/bottom_navigation/bottom_nav_bar.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/h20_setting.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/month_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/today_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/week_page.dart'; +import 'package:hmg_patient_app/pages/ToDoList/ToDo.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/medical_profile_page_new.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/bottom_navigation/bottom_nav_bar.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/h2o/month_page.dart b/lib/pages/AlHabibMedicalService/h2o/month_page.dart index 49440106..4e6245a9 100644 --- a/lib/pages/AlHabibMedicalService/h2o/month_page.dart +++ b/lib/pages/AlHabibMedicalService/h2o/month_page.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; -import 'package:diplomaticquarterapp/widgets/charts/custom_line_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/custom_line_chart.dart'; class MonthPage extends StatelessWidget { @override diff --git a/lib/pages/AlHabibMedicalService/h2o/today_page.dart b/lib/pages/AlHabibMedicalService/h2o/today_page.dart index 55a12105..069f0b8a 100644 --- a/lib/pages/AlHabibMedicalService/h2o/today_page.dart +++ b/lib/pages/AlHabibMedicalService/h2o/today_page.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/H2O/insert_user_activity_request_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/H2O/insert_user_activity_request_model.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/AlHabibMedicalService/h2o/week_page.dart b/lib/pages/AlHabibMedicalService/h2o/week_page.dart index 447f8da7..91ae415f 100644 --- a/lib/pages/AlHabibMedicalService/h2o/week_page.dart +++ b/lib/pages/AlHabibMedicalService/h2o/week_page.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/custom_line_chart.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/H2O_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/custom_line_chart.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/h2o/widgets/h20_buttom_navigation_bar.dart b/lib/pages/AlHabibMedicalService/h2o/widgets/h20_buttom_navigation_bar.dart index 9309fa9b..c0004e2a 100644 --- a/lib/pages/AlHabibMedicalService/h2o/widgets/h20_buttom_navigation_bar.dart +++ b/lib/pages/AlHabibMedicalService/h2o/widgets/h20_buttom_navigation_bar.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/pages/BookAppointment/BookingOptions.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/family/my-family.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/ToDo.dart'; -import 'package:diplomaticquarterapp/pages/landing/home_page_2.dart'; -import 'package:diplomaticquarterapp/pages/medical/medical_profile_page_new.dart'; -import 'package:diplomaticquarterapp/widgets/bottom_navigation/bottom_nav_bar.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/floatingActionButton.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/BookingOptions.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/family/my-family.dart'; +import 'package:hmg_patient_app/pages/ToDoList/ToDo.dart'; +import 'package:hmg_patient_app/pages/landing/home_page_2.dart'; +import 'package:hmg_patient_app/pages/medical/medical_profile_page_new.dart'; +import 'package:hmg_patient_app/widgets/bottom_navigation/bottom_nav_bar.dart'; +import 'package:hmg_patient_app/widgets/buttons/floatingActionButton.dart'; import 'package:flutter/material.dart'; class H20BottomNavigationBar extends StatelessWidget { diff --git a/lib/pages/AlHabibMedicalService/health-weather/health-weather-indicator.dart b/lib/pages/AlHabibMedicalService/health-weather/health-weather-indicator.dart index f799a161..8149b55c 100644 --- a/lib/pages/AlHabibMedicalService/health-weather/health-weather-indicator.dart +++ b/lib/pages/AlHabibMedicalService/health-weather/health-weather-indicator.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/weather/weather_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/progress_indicator/app_circular_progress_Indeicator.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; -import 'package:diplomaticquarterapp/widgets/weather_slider/weather_slider.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/weather/weather_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/progress_indicator/app_circular_progress_Indeicator.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/widgets/weather_slider/weather_slider.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/bariatrics-screen.dart b/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/bariatrics-screen.dart index f3b88a60..7ccbddde 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/bariatrics-screen.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/bariatrics-screen.dart @@ -1,20 +1,20 @@ import 'dart:collection'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HealthCalculator/DiseasesByClinic.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/health-calculator/Bariatrics-viewmodel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HealthCalculator/DiseasesByClinic.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/health-calculator/Bariatrics-viewmodel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/bmi_calculator.dart b/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/bmi_calculator.dart index e74a4615..4cae7d3e 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/bmi_calculator.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/bmi_calculator.dart @@ -1,12 +1,12 @@ import 'dart:math'; -import 'package:diplomaticquarterapp/main.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/main.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/result_page.dart b/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/result_page.dart index 26222569..24d33411 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/result_page.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/bmi_calculator/result_page.dart @@ -1,18 +1,18 @@ import 'dart:collection'; import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/bmr_calculator/bmr_calculator.dart b/lib/pages/AlHabibMedicalService/health_calculator/bmr_calculator/bmr_calculator.dart index 58b55f33..f8a996ae 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/bmr_calculator/bmr_calculator.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/bmr_calculator/bmr_calculator.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/bmr_calculator/bmr_result_page.dart b/lib/pages/AlHabibMedicalService/health_calculator/bmr_calculator/bmr_result_page.dart index 79060a2d..c9ffe5d6 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/bmr_calculator/bmr_result_page.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/bmr_calculator/bmr_result_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/button.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:percent_indicator/circular_percent_indicator.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/body_fat/body_fat.dart b/lib/pages/AlHabibMedicalService/health_calculator/body_fat/body_fat.dart index 1d523d55..fe92c507 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/body_fat/body_fat.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/body_fat/body_fat.dart @@ -1,11 +1,11 @@ import 'dart:math'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/body_fat/body_fat_result_page.dart b/lib/pages/AlHabibMedicalService/health_calculator/body_fat/body_fat_result_page.dart index 79014ba2..b3f8081e 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/body_fat/body_fat_result_page.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/body_fat/body_fat_result_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/button.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:percent_indicator/circular_percent_indicator.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_calculator.dart b/lib/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_calculator.dart index 6916299c..e59d90a7 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_calculator.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_calculator.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_result_page.dart b/lib/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_result_page.dart index 5844b006..cdc1336f 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_result_page.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_result_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/button.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:percent_indicator/circular_percent_indicator.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/carbs/carbs.dart b/lib/pages/AlHabibMedicalService/health_calculator/carbs/carbs.dart index 5ee8980f..4d92cb0f 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/carbs/carbs.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/carbs/carbs.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_calculator.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_calculator.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/carbs/carbs_result_page.dart b/lib/pages/AlHabibMedicalService/health_calculator/carbs/carbs_result_page.dart index 29257ccc..5b2dabed 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/carbs/carbs_result_page.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/carbs/carbs_result_page.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/button.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/painting.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/delivery_due/delivery_due.dart b/lib/pages/AlHabibMedicalService/health_calculator/delivery_due/delivery_due.dart index d6d5ab8a..ecb5722a 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/delivery_due/delivery_due.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/delivery_due/delivery_due.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_datetime_picker_plus/flutter_datetime_picker_plus.dart'; import 'package:intl/intl.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/delivery_due/delivery_due_result_page.dart b/lib/pages/AlHabibMedicalService/health_calculator/delivery_due/delivery_due_result_page.dart index 84dc5e5e..d3a676f8 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/delivery_due/delivery_due_result_page.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/delivery_due/delivery_due_result_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/doctor_list.dart b/lib/pages/AlHabibMedicalService/health_calculator/doctor_list.dart index 04adcfc1..aebe9f91 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/doctor_list.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/doctor_list.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/HealthCalculator/DiseasesByClinic.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/health-calculator/Bariatrics-viewmodel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/HealthCalculator/DiseasesByClinic.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/health-calculator/Bariatrics-viewmodel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/health_calc_desc.dart b/lib/pages/AlHabibMedicalService/health_calculator/health_calc_desc.dart index 19f8e986..8a050c72 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/health_calc_desc.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/health_calc_desc.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class HealthDescPage extends StatelessWidget { diff --git a/lib/pages/AlHabibMedicalService/health_calculator/ideal_body/ideal_body.dart b/lib/pages/AlHabibMedicalService/health_calculator/ideal_body/ideal_body.dart index 06b59330..95438cea 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/ideal_body/ideal_body.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/ideal_body/ideal_body.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/ideal_body/ideal_body_result_page.dart b/lib/pages/AlHabibMedicalService/health_calculator/ideal_body/ideal_body_result_page.dart index 1fa9d2a9..9a9ae7f3 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/ideal_body/ideal_body_result_page.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/ideal_body/ideal_body_result_page.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; class IdealBodyResult extends StatelessWidget { diff --git a/lib/pages/AlHabibMedicalService/health_calculator/ovulation_period/ovulation_period.dart b/lib/pages/AlHabibMedicalService/health_calculator/ovulation_period/ovulation_period.dart index c1fc6097..6a15cab3 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/ovulation_period/ovulation_period.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/ovulation_period/ovulation_period.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_datetime_picker_plus/flutter_datetime_picker_plus.dart'; import 'package:intl/intl.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_calculator/ovulation_period/ovulation_result_page.dart b/lib/pages/AlHabibMedicalService/health_calculator/ovulation_period/ovulation_result_page.dart index 8af51a3d..43ac6df0 100644 --- a/lib/pages/AlHabibMedicalService/health_calculator/ovulation_period/ovulation_result_page.dart +++ b/lib/pages/AlHabibMedicalService/health_calculator/ovulation_period/ovulation_result_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/health-calculator/bariatrics-service.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_converter.dart b/lib/pages/AlHabibMedicalService/health_converter.dart index 484b81d7..d3b3bd3c 100644 --- a/lib/pages/AlHabibMedicalService/health_converter.dart +++ b/lib/pages/AlHabibMedicalService/health_converter.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'health_converter/blood_cholesterol.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_converter/blood_cholesterol.dart b/lib/pages/AlHabibMedicalService/health_converter/blood_cholesterol.dart index 29531d6d..a4832da6 100644 --- a/lib/pages/AlHabibMedicalService/health_converter/blood_cholesterol.dart +++ b/lib/pages/AlHabibMedicalService/health_converter/blood_cholesterol.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_converter/blood_sugar.dart b/lib/pages/AlHabibMedicalService/health_converter/blood_sugar.dart index bbdb0f73..0e1c394b 100644 --- a/lib/pages/AlHabibMedicalService/health_converter/blood_sugar.dart +++ b/lib/pages/AlHabibMedicalService/health_converter/blood_sugar.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/AlHabibMedicalService/health_converter/triglycerides.dart b/lib/pages/AlHabibMedicalService/health_converter/triglycerides.dart index 8fd454e8..bc3c466d 100644 --- a/lib/pages/AlHabibMedicalService/health_converter/triglycerides.dart +++ b/lib/pages/AlHabibMedicalService/health_converter/triglycerides.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/AlHabibMedicalService/my_web_view.dart b/lib/pages/AlHabibMedicalService/my_web_view.dart index bd824cd4..6dd67d19 100644 --- a/lib/pages/AlHabibMedicalService/my_web_view.dart +++ b/lib/pages/AlHabibMedicalService/my_web_view.dart @@ -1,6 +1,6 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:webview_flutter/webview_flutter.dart'; diff --git a/lib/pages/AlHabibMedicalService/parking_page.dart b/lib/pages/AlHabibMedicalService/parking_page.dart index 9f2216b5..31b7caec 100644 --- a/lib/pages/AlHabibMedicalService/parking_page.dart +++ b/lib/pages/AlHabibMedicalService/parking_page.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/qr_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/qr_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:maps_launcher/maps_launcher.dart'; diff --git a/lib/pages/AlHabibMedicalService/​ health_calculators.dart b/lib/pages/AlHabibMedicalService/​ health_calculators.dart index 1fb64dde..ee937619 100644 --- a/lib/pages/AlHabibMedicalService/​ health_calculators.dart +++ b/lib/pages/AlHabibMedicalService/​ health_calculators.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/health_calculator/body_fat/body_fat.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_calculator.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/health_calculator/carbs/carbs.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/health_calculator/ovulation_period/ovulation_period.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/health_calculator/body_fat/body_fat.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/health_calculator/calorie_calculator/calorie_calculator.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/health_calculator/carbs/carbs.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/health_calculator/ovulation_period/ovulation_period.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/Blood/blood_donation.dart b/lib/pages/Blood/blood_donation.dart index a3a51207..4c1c39bd 100644 --- a/lib/pages/Blood/blood_donation.dart +++ b/lib/pages/Blood/blood_donation.dart @@ -1,21 +1,21 @@ -// import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -// import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -// import 'package:diplomaticquarterapp/core/model/blooddonation/blood_groub_details.dart'; -// import 'package:diplomaticquarterapp/core/model/blooddonation/get_all_cities.dart'; -// import 'package:diplomaticquarterapp/core/viewModels/medical/my_balance_view_model.dart'; -// import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -// import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/h20_setting.dart'; -// import 'package:diplomaticquarterapp/pages/Blood/user_agreement_page.dart'; -// import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -// import 'package:diplomaticquarterapp/theme/colors.dart'; -// import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -// import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -// import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -// import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -// import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -// import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -// import 'package:diplomaticquarterapp/widgets/show_zoom_image_dialog.dart'; -// import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +// import 'package:hmg_patient_app/core/enum/viewstate.dart'; +// import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +// import 'package:hmg_patient_app/core/model/blooddonation/blood_groub_details.dart'; +// import 'package:hmg_patient_app/core/model/blooddonation/get_all_cities.dart'; +// import 'package:hmg_patient_app/core/viewModels/medical/my_balance_view_model.dart'; +// import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +// import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/h20_setting.dart'; +// import 'package:hmg_patient_app/pages/Blood/user_agreement_page.dart'; +// import 'package:hmg_patient_app/pages/base/base_view.dart'; +// import 'package:hmg_patient_app/theme/colors.dart'; +// import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +// import 'package:hmg_patient_app/uitl/app_toast.dart'; +// import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +// import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +// import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +// import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +// import 'package:hmg_patient_app/widgets/show_zoom_image_dialog.dart'; +// import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; // import 'package:flutter/cupertino.dart'; // import 'package:flutter/material.dart'; // import 'package:provider/provider.dart'; @@ -377,27 +377,27 @@ // return TranslationBase.of(context).selectCity; // } // } -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/model/blooddonation/blood_groub_details.dart'; -import 'package:diplomaticquarterapp/core/model/blooddonation/get_all_cities.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/my_balance_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/h20_setting.dart'; -import 'package:diplomaticquarterapp/pages/Blood/blood_donation_book_appointment.dart'; -import 'package:diplomaticquarterapp/pages/Blood/user_agreement_page.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/show_zoom_image_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/blood_groub_details.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/get_all_cities.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/my_balance_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/h20_setting.dart'; +import 'package:hmg_patient_app/pages/Blood/blood_donation_book_appointment.dart'; +import 'package:hmg_patient_app/pages/Blood/user_agreement_page.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/show_zoom_image_dialog.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/Blood/blood_donation_appointment_terms_conditions.dart b/lib/pages/Blood/blood_donation_appointment_terms_conditions.dart index 14c49722..f4d3cb26 100644 --- a/lib/pages/Blood/blood_donation_appointment_terms_conditions.dart +++ b/lib/pages/Blood/blood_donation_appointment_terms_conditions.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_html/flutter_html.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/Blood/blood_donation_book_appointment.dart b/lib/pages/Blood/blood_donation_book_appointment.dart index 6485b2d8..2414c4a9 100644 --- a/lib/pages/Blood/blood_donation_book_appointment.dart +++ b/lib/pages/Blood/blood_donation_book_appointment.dart @@ -1,23 +1,23 @@ -import 'package:diplomaticquarterapp/core/model/blooddonation/blood_donation_free_slots_response.dart'; -import 'package:diplomaticquarterapp/core/model/blooddonation/blood_donation_projects_list_response.dart'; -import 'package:diplomaticquarterapp/core/service/blood/blood_donation_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/FreeSlot.dart'; -import 'package:diplomaticquarterapp/models/Appointments/timeSlot.dart'; -import 'package:diplomaticquarterapp/pages/Blood/blood_donation_appointment_terms_conditions.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/blood_donation_free_slots_response.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/blood_donation_projects_list_response.dart'; +import 'package:hmg_patient_app/core/service/blood/blood_donation_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/FreeSlot.dart'; +import 'package:hmg_patient_app/models/Appointments/timeSlot.dart'; +import 'package:hmg_patient_app/pages/Blood/blood_donation_appointment_terms_conditions.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/Blood/confirm_payment_page.dart b/lib/pages/Blood/confirm_payment_page.dart index edf3d0e5..8e7cdb3b 100644 --- a/lib/pages/Blood/confirm_payment_page.dart +++ b/lib/pages/Blood/confirm_payment_page.dart @@ -1,25 +1,25 @@ import 'dart:js'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/AdvanceModel.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_info_and_mobile_number.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/my_balance_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/my_balance/AdvanceModel.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_info_and_mobile_number.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/my_balance_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/Blood/dialogs/ConfirmSMSDialog.dart b/lib/pages/Blood/dialogs/ConfirmSMSDialog.dart index 40ef3240..ced30bc6 100644 --- a/lib/pages/Blood/dialogs/ConfirmSMSDialog.dart +++ b/lib/pages/Blood/dialogs/ConfirmSMSDialog.dart @@ -1,18 +1,18 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/AdvanceModel.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_info_and_mobile_number.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/my_balance_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/my_balance/AdvanceModel.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_info_and_mobile_number.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/my_balance_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/Blood/dialogs/SelectBeneficiaryDialog.dart b/lib/pages/Blood/dialogs/SelectBeneficiaryDialog.dart index c4780f8b..987b2beb 100644 --- a/lib/pages/Blood/dialogs/SelectBeneficiaryDialog.dart +++ b/lib/pages/Blood/dialogs/SelectBeneficiaryDialog.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/pages/Blood/blood_donation.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/pages/Blood/blood_donation.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/Blood/dialogs/SelectGenderDialog.dart b/lib/pages/Blood/dialogs/SelectGenderDialog.dart index d1c8a8b2..f2c50d88 100644 --- a/lib/pages/Blood/dialogs/SelectGenderDialog.dart +++ b/lib/pages/Blood/dialogs/SelectGenderDialog.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/pages/Blood/blood_donation.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/pages/Blood/blood_donation.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/Blood/dialogs/SelectHospitalDialog.dart b/lib/pages/Blood/dialogs/SelectHospitalDialog.dart index 40fbb036..4b326dbf 100644 --- a/lib/pages/Blood/dialogs/SelectHospitalDialog.dart +++ b/lib/pages/Blood/dialogs/SelectHospitalDialog.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/Blood/dialogs/SelectPatientFamilyDialog.dart b/lib/pages/Blood/dialogs/SelectPatientFamilyDialog.dart index 09495348..89476d17 100644 --- a/lib/pages/Blood/dialogs/SelectPatientFamilyDialog.dart +++ b/lib/pages/Blood/dialogs/SelectPatientFamilyDialog.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/Blood/dialogs/SelectPatientInfoDialog.dart b/lib/pages/Blood/dialogs/SelectPatientInfoDialog.dart index f2368c0d..0dd7784d 100644 --- a/lib/pages/Blood/dialogs/SelectPatientInfoDialog.dart +++ b/lib/pages/Blood/dialogs/SelectPatientInfoDialog.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/my_balance/patient_info.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_info.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/Blood/new_text_Field.dart b/lib/pages/Blood/new_text_Field.dart index 61a97eb8..5f314f25 100644 --- a/lib/pages/Blood/new_text_Field.dart +++ b/lib/pages/Blood/new_text_Field.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/Blood/user_agreement_page.dart b/lib/pages/Blood/user_agreement_page.dart index 1f922444..8d6a8924 100644 --- a/lib/pages/Blood/user_agreement_page.dart +++ b/lib/pages/Blood/user_agreement_page.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/TermsConditionsViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/TermsConditionsViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_html/flutter_html.dart'; diff --git a/lib/pages/BookAppointment/BookConfirm.dart b/lib/pages/BookAppointment/BookConfirm.dart index cd2d8c7a..d72509f8 100644 --- a/lib/pages/BookAppointment/BookConfirm.dart +++ b/lib/pages/BookAppointment/BookConfirm.dart @@ -2,40 +2,40 @@ import 'dart:convert'; import 'dart:developer'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/PayfortEnums.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ApplePayInsertRequest.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/payment_method_select.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/widgets/paymentDialog.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_project_details_resp_model.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/PayfortEnums.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/LiveCare/ApplePayInsertRequest.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/ToDoList/payment_method_select.dart'; +import 'package:hmg_patient_app/pages/ToDoList/widgets/paymentDialog.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_project_details_resp_model.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/BookSuccess.dart b/lib/pages/BookAppointment/BookSuccess.dart index 61b0f9d9..a7d090da 100644 --- a/lib/pages/BookAppointment/BookSuccess.dart +++ b/lib/pages/BookAppointment/BookSuccess.dart @@ -1,35 +1,35 @@ import 'dart:developer'; import 'dart:io'; -import 'package:diplomaticquarterapp/core/enum/PayfortEnums.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ApplePayInsertRequest.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/payment_method_select.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_project_details_resp_model.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/PayfortEnums.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/LiveCare/ApplePayInsertRequest.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/ToDoList/payment_method_select.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_project_details_resp_model.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/BookingOptions.dart b/lib/pages/BookAppointment/BookingOptions.dart index 791631dc..36391747 100644 --- a/lib/pages/BookAppointment/BookingOptions.dart +++ b/lib/pages/BookAppointment/BookingOptions.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/CardCommon.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/CardCommon.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import '../../uitl/translations_delegate_base.dart'; diff --git a/lib/pages/BookAppointment/DentalComplaints.dart b/lib/pages/BookAppointment/DentalComplaints.dart index 99f40cef..9821cbde 100644 --- a/lib/pages/BookAppointment/DentalComplaints.dart +++ b/lib/pages/BookAppointment/DentalComplaints.dart @@ -1,25 +1,25 @@ -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DentalChiefComplaintsModel.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DentalProceduresModel.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/SearchInfoModel.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DentalComplaintCard.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/DentalChiefComplaintsModel.dart'; +import 'package:hmg_patient_app/models/Appointments/DentalProceduresModel.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/SearchInfoModel.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DentalComplaintCard.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DoctorView.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/DoctorProfile.dart b/lib/pages/BookAppointment/DoctorProfile.dart index 2072109b..eb067162 100644 --- a/lib/pages/BookAppointment/DoctorProfile.dart +++ b/lib/pages/BookAppointment/DoctorProfile.dart @@ -1,33 +1,33 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorProfile.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorRateDetails.dart'; -import 'package:diplomaticquarterapp/models/Appointments/SearchInfoModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Clinics/ClinicListResponse.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/DentalComplaints.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/LaserBooking.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/components/LaserClinic.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/doctor_post_pre_images_page.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/waiting_appointment/waiting_appointment_info.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/SchedulePage.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/robo_search/event_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorProfile.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorRateDetails.dart'; +import 'package:hmg_patient_app/models/Appointments/SearchInfoModel.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Clinics/ClinicListResponse.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/DentalComplaints.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/LaserBooking.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/components/LaserClinic.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/doctor_post_pre_images_page.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/waiting_appointment/waiting_appointment_info.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/SchedulePage.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/robo_search/event_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/LaserBooking.dart b/lib/pages/BookAppointment/LaserBooking.dart index 942e5e18..0cf7f33c 100644 --- a/lib/pages/BookAppointment/LaserBooking.dart +++ b/lib/pages/BookAppointment/LaserBooking.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class LaserBooking extends StatefulWidget { diff --git a/lib/pages/BookAppointment/QRCode.dart b/lib/pages/BookAppointment/QRCode.dart index c79e1fcf..ed0ad0a7 100644 --- a/lib/pages/BookAppointment/QRCode.dart +++ b/lib/pages/BookAppointment/QRCode.dart @@ -1,34 +1,34 @@ import 'dart:typed_data'; import 'package:barcode_scan2/barcode_scan2.dart'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/ProjectDetailListModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/nfc/nfc_reader_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/privilege/ProjectDetailListModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/nfc/nfc_reader_sheet.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_nfc_kit/flutter_nfc_kit.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/BookAppointment/QRCode.dart.orig b/lib/pages/BookAppointment/QRCode.dart.orig index 83249dee..cf0d10b2 100644 --- a/lib/pages/BookAppointment/QRCode.dart.orig +++ b/lib/pages/BookAppointment/QRCode.dart.orig @@ -1,23 +1,23 @@ import 'dart:convert'; import 'dart:typed_data'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/nfc/nfc_reader_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/nfc/nfc_reader_sheet.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_nfc_kit/flutter_nfc_kit.dart'; diff --git a/lib/pages/BookAppointment/Search.dart b/lib/pages/BookAppointment/Search.dart index efdf79dc..62048bfb 100644 --- a/lib/pages/BookAppointment/Search.dart +++ b/lib/pages/BookAppointment/Search.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/components/SearchByClinic.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/components/SearchByDoctor.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/components/search_by_hospital_name.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/components/SearchByClinic.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/components/SearchByDoctor.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/components/search_by_hospital_name.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/SearchResults.dart b/lib/pages/BookAppointment/SearchResults.dart index 97946268..f1b38316 100644 --- a/lib/pages/BookAppointment/SearchResults.dart +++ b/lib/pages/BookAppointment/SearchResults.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/OBGyneProcedureListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/OBGyneProcedureListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DoctorView.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/SearchResultsByRegion.dart b/lib/pages/BookAppointment/SearchResultsByRegion.dart index a1666ffc..cf99abf4 100644 --- a/lib/pages/BookAppointment/SearchResultsByRegion.dart +++ b/lib/pages/BookAppointment/SearchResultsByRegion.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/OBGyneProcedureListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/OBGyneProcedureListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DoctorView.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/book_reminder_page.dart b/lib/pages/BookAppointment/book_reminder_page.dart index 547ab901..e28534d0 100644 --- a/lib/pages/BookAppointment/book_reminder_page.dart +++ b/lib/pages/BookAppointment/book_reminder_page.dart @@ -1,18 +1,18 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/reminder_dialog.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/reminder_dialog.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:permission_handler/permission_handler.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/components/DocAvailableAppointments.dart b/lib/pages/BookAppointment/components/DocAvailableAppointments.dart index 67a795da..7fe3be77 100644 --- a/lib/pages/BookAppointment/components/DocAvailableAppointments.dart +++ b/lib/pages/BookAppointment/components/DocAvailableAppointments.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/FreeSlot.dart'; -import 'package:diplomaticquarterapp/models/Appointments/timeSlot.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/FreeSlot.dart'; +import 'package:hmg_patient_app/models/Appointments/timeSlot.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; diff --git a/lib/pages/BookAppointment/components/DocInfo.dart b/lib/pages/BookAppointment/components/DocInfo.dart index eda3a1e4..b3ea580b 100644 --- a/lib/pages/BookAppointment/components/DocInfo.dart +++ b/lib/pages/BookAppointment/components/DocInfo.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/models/Appointments/DoctorProfile.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorProfile.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/BookAppointment/components/LaserClinic.dart b/lib/pages/BookAppointment/components/LaserClinic.dart index f1b9be57..ac33b914 100644 --- a/lib/pages/BookAppointment/components/LaserClinic.dart +++ b/lib/pages/BookAppointment/components/LaserClinic.dart @@ -1,19 +1,19 @@ import 'dart:collection'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/laser_body_parts.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/laser_body_parts_data.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/laser_body_parts.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/laser_body_parts_data.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/components/LiveCareBookAppointment.dart b/lib/pages/BookAppointment/components/LiveCareBookAppointment.dart index 28c07be1..7ec62825 100644 --- a/lib/pages/BookAppointment/components/LiveCareBookAppointment.dart +++ b/lib/pages/BookAppointment/components/LiveCareBookAppointment.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/BookAppointment/components/SearchByClinic.dart b/lib/pages/BookAppointment/components/SearchByClinic.dart index 53bc10f2..e7357ef4 100644 --- a/lib/pages/BookAppointment/components/SearchByClinic.dart +++ b/lib/pages/BookAppointment/components/SearchByClinic.dart @@ -1,31 +1,31 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/SearchInfoModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Clinics/ClinicListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/DentalComplaints.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/LaserBooking.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/dialog/clinic_list_dialog.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/SearchResultWithTab.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_home.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/doctor_response_mapper.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/card/rounded_container.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/SearchInfoModel.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Clinics/ClinicListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/DentalComplaints.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/LaserBooking.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/dialog/clinic_list_dialog.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/SearchResultWithTab.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_home.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/appointment_services/doctor_response_mapper.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/card/rounded_container.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/components/SearchByDoctor.dart b/lib/pages/BookAppointment/components/SearchByDoctor.dart index 7676b3d4..5c65d4d9 100644 --- a/lib/pages/BookAppointment/components/SearchByDoctor.dart +++ b/lib/pages/BookAppointment/components/SearchByDoctor.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/components/search_by_hospital_name.dart b/lib/pages/BookAppointment/components/search_by_hospital_name.dart index b6b04e30..6d97c060 100644 --- a/lib/pages/BookAppointment/components/search_by_hospital_name.dart +++ b/lib/pages/BookAppointment/components/search_by_hospital_name.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/components/LaserClinic.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/SearchResultWithTab.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/SearchResultWithTabForHospital.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/doctor_response_mapper.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/components/LaserClinic.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/SearchResultWithTab.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/SearchResultWithTabForHospital.dart'; +import 'package:hmg_patient_app/services/appointment_services/doctor_response_mapper.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/dialog/clinic_list_dialog.dart b/lib/pages/BookAppointment/dialog/clinic_list_dialog.dart index c3d82c74..287077e5 100644 --- a/lib/pages/BookAppointment/dialog/clinic_list_dialog.dart +++ b/lib/pages/BookAppointment/dialog/clinic_list_dialog.dart @@ -1,8 +1,8 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/models/Clinics/ClinicListResponse.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/models/Clinics/ClinicListResponse.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_svg/svg.dart'; diff --git a/lib/pages/BookAppointment/doctor_post_pre_images_page.dart b/lib/pages/BookAppointment/doctor_post_pre_images_page.dart index f3cdc0c5..97b9b30e 100644 --- a/lib/pages/BookAppointment/doctor_post_pre_images_page.dart +++ b/lib/pages/BookAppointment/doctor_post_pre_images_page.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/models/Appointments/doctor_pre_post_image.dart'; +import 'package:hmg_patient_app/models/Appointments/doctor_pre_post_image.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/BookAppointment/search_result/ResultByClinic.dart b/lib/pages/BookAppointment/search_result/ResultByClinic.dart index 15fc79f3..113ce338 100644 --- a/lib/pages/BookAppointment/search_result/ResultByClinic.dart +++ b/lib/pages/BookAppointment/search_result/ResultByClinic.dart @@ -1,19 +1,19 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/SearchInfoModel.dart'; -import 'package:diplomaticquarterapp/models/Clinics/ClinicListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/DentalComplaints.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/components/LaserClinic.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/components/LiveCareBookAppointment.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_home.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/doctor_response_mapper.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/SearchInfoModel.dart'; +import 'package:hmg_patient_app/models/Clinics/ClinicListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/DentalComplaints.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/components/LaserClinic.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/components/LiveCareBookAppointment.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_home.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/appointment_services/doctor_response_mapper.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/search_result/ResultByDoctors.dart b/lib/pages/BookAppointment/search_result/ResultByDoctors.dart index bdb74688..76df2b8c 100644 --- a/lib/pages/BookAppointment/search_result/ResultByDoctors.dart +++ b/lib/pages/BookAppointment/search_result/ResultByDoctors.dart @@ -1,12 +1,12 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/OBGyneProcedureListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/OBGyneProcedureListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DoctorView.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/search_result/ResultByFacility.dart b/lib/pages/BookAppointment/search_result/ResultByFacility.dart index f1f7ba88..1da90dc0 100644 --- a/lib/pages/BookAppointment/search_result/ResultByFacility.dart +++ b/lib/pages/BookAppointment/search_result/ResultByFacility.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/BookAppointment/search_result/ResultByHospital.dart b/lib/pages/BookAppointment/search_result/ResultByHospital.dart index b487094e..52b2f985 100644 --- a/lib/pages/BookAppointment/search_result/ResultByHospital.dart +++ b/lib/pages/BookAppointment/search_result/ResultByHospital.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/OBGyneProcedureListResponse.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/OBGyneProcedureListResponse.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/search_result/ResultByRegion.dart b/lib/pages/BookAppointment/search_result/ResultByRegion.dart index 6eaa83d2..51af11bc 100644 --- a/lib/pages/BookAppointment/search_result/ResultByRegion.dart +++ b/lib/pages/BookAppointment/search_result/ResultByRegion.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/BookAppointment/search_result/SearchResultWithTab.dart b/lib/pages/BookAppointment/search_result/SearchResultWithTab.dart index 25d527b9..5a89bf0f 100644 --- a/lib/pages/BookAppointment/search_result/SearchResultWithTab.dart +++ b/lib/pages/BookAppointment/search_result/SearchResultWithTab.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/OBGyneProcedureListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/ResultByDoctors.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/ResultByFacility.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/ResultByHospital.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/ResultByRegion.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/OBGyneProcedureListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/ResultByDoctors.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/ResultByFacility.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/ResultByHospital.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/ResultByRegion.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DoctorView.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/search_result/SearchResultWithTabForHospital.dart b/lib/pages/BookAppointment/search_result/SearchResultWithTabForHospital.dart index 4f0e94cd..205903af 100644 --- a/lib/pages/BookAppointment/search_result/SearchResultWithTabForHospital.dart +++ b/lib/pages/BookAppointment/search_result/SearchResultWithTabForHospital.dart @@ -1,22 +1,22 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/OBGyneProcedureListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/ResultByClinic.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/ResultByDoctors.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/ResultByFacility.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/ResultByHospital.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/search_result/ResultByRegion.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/doctor_response_mapper.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/OBGyneProcedureListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/ResultByClinic.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/ResultByDoctors.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/ResultByFacility.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/ResultByHospital.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/search_result/ResultByRegion.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DoctorView.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/appointment_services/doctor_response_mapper.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/waiting_appointment/waiting_appointment_info.dart b/lib/pages/BookAppointment/waiting_appointment/waiting_appointment_info.dart index f1f8d934..a72fc37b 100644 --- a/lib/pages/BookAppointment/waiting_appointment/waiting_appointment_info.dart +++ b/lib/pages/BookAppointment/waiting_appointment/waiting_appointment_info.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/pages/BookAppointment/waiting_appointment/waiting_appointment_verification.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/waiting_appointment/waiting_appointment_verification.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/BookAppointment/waiting_appointment/waiting_appointment_verification.dart b/lib/pages/BookAppointment/waiting_appointment/waiting_appointment_verification.dart index 6853c6d9..dfb4b1c9 100644 --- a/lib/pages/BookAppointment/waiting_appointment/waiting_appointment_verification.dart +++ b/lib/pages/BookAppointment/waiting_appointment/waiting_appointment_verification.dart @@ -1,19 +1,19 @@ import 'package:barcode_scan2/barcode_scan2.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/ProjectDetailListModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/BookConfirm.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/nfc/nfc_reader_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/privilege/ProjectDetailListModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/BookConfirm.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/nfc/nfc_reader_sheet.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:intl/intl.dart'; diff --git a/lib/pages/BookAppointment/widgets/BranchView.dart b/lib/pages/BookAppointment/widgets/BranchView.dart index 3312b337..b5b0d654 100644 --- a/lib/pages/BookAppointment/widgets/BranchView.dart +++ b/lib/pages/BookAppointment/widgets/BranchView.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/BookAppointment/widgets/CardCommon.dart b/lib/pages/BookAppointment/widgets/CardCommon.dart index f871a7d6..b7941849 100644 --- a/lib/pages/BookAppointment/widgets/CardCommon.dart +++ b/lib/pages/BookAppointment/widgets/CardCommon.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/pages/BookAppointment/Search.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/Search.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import '../../../Constants.dart'; diff --git a/lib/pages/BookAppointment/widgets/DentalComplaintCard.dart b/lib/pages/BookAppointment/widgets/DentalComplaintCard.dart index bfd0c60c..a5d1d4ad 100644 --- a/lib/pages/BookAppointment/widgets/DentalComplaintCard.dart +++ b/lib/pages/BookAppointment/widgets/DentalComplaintCard.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DentalChiefComplaintsModel.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/doctor_response_mapper.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DentalChiefComplaintsModel.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/services/appointment_services/doctor_response_mapper.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/widgets/DoctorView.dart b/lib/pages/BookAppointment/widgets/DoctorView.dart index 5e5d2775..bfffdb09 100644 --- a/lib/pages/BookAppointment/widgets/DoctorView.dart +++ b/lib/pages/BookAppointment/widgets/DoctorView.dart @@ -1,22 +1,22 @@ -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorProfile.dart'; -import 'package:diplomaticquarterapp/models/Appointments/OBGyneProcedureListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/SearchInfoModel.dart'; -import 'package:diplomaticquarterapp/models/Clinics/ClinicListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/DentalComplaints.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/ObGyne/ObGyne-TimeSlots.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/dragable_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorProfile.dart'; +import 'package:hmg_patient_app/models/Appointments/OBGyneProcedureListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/SearchInfoModel.dart'; +import 'package:hmg_patient_app/models/Clinics/ClinicListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/DentalComplaints.dart'; +import 'package:hmg_patient_app/pages/ToDoList/ObGyne/ObGyne-TimeSlots.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/dragable_sheet.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/BookAppointment/widgets/reminder_dialog.dart b/lib/pages/BookAppointment/widgets/reminder_dialog.dart index b3c39861..ef1aa731 100644 --- a/lib/pages/BookAppointment/widgets/reminder_dialog.dart +++ b/lib/pages/BookAppointment/widgets/reminder_dialog.dart @@ -1,17 +1,17 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/CalendarUtils.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/CalendarUtils.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; import 'package:flutter/material.dart'; import 'package:jiffy/jiffy.dart'; import 'package:permission_handler/permission_handler.dart'; diff --git a/lib/pages/ChildVaccines/add_newchild_page.dart b/lib/pages/ChildVaccines/add_newchild_page.dart index 19ccae1e..addef93d 100644 --- a/lib/pages/ChildVaccines/add_newchild_page.dart +++ b/lib/pages/ChildVaccines/add_newchild_page.dart @@ -1,16 +1,16 @@ import 'package:device_calendar/device_calendar.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/List_BabyInformationModel.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/add_newchild_model.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/create_new_user_model.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/user_information_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/child_vaccines/add_new_child_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/active_medications/DayCheckBoxDialog.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/List_BabyInformationModel.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/add_newchild_model.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/create_new_user_model.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/user_information_model.dart'; +import 'package:hmg_patient_app/core/viewModels/child_vaccines/add_new_child_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/active_medications/DayCheckBoxDialog.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_datetime_picker_plus/flutter_datetime_picker_plus.dart'; diff --git a/lib/pages/ChildVaccines/child_page.dart b/lib/pages/ChildVaccines/child_page.dart index a5b65067..000b57cc 100644 --- a/lib/pages/ChildVaccines/child_page.dart +++ b/lib/pages/ChildVaccines/child_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/model/childvaccines/delete_baby_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/child_vaccines/child_vaccines_view_model.dart'; -import 'package:diplomaticquarterapp/pages/ChildVaccines/add_newchild_page.dart'; -import 'package:diplomaticquarterapp/pages/ChildVaccines/vaccinationtable_page.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/delete_baby_model.dart'; +import 'package:hmg_patient_app/core/viewModels/child_vaccines/child_vaccines_view_model.dart'; +import 'package:hmg_patient_app/pages/ChildVaccines/add_newchild_page.dart'; +import 'package:hmg_patient_app/pages/ChildVaccines/vaccinationtable_page.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ChildVaccines/child_vaccines_page.dart b/lib/pages/ChildVaccines/child_vaccines_page.dart index d48811be..89b4274f 100644 --- a/lib/pages/ChildVaccines/child_vaccines_page.dart +++ b/lib/pages/ChildVaccines/child_vaccines_page.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/child_vaccines/user_information_view_model.dart'; -import 'package:diplomaticquarterapp/pages/ChildVaccines/child_page.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/input/text_field.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/child_vaccines/user_information_view_model.dart'; +import 'package:hmg_patient_app/pages/ChildVaccines/child_page.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/input/text_field.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ChildVaccines/dialogs/SelectGenderDialog.dart b/lib/pages/ChildVaccines/dialogs/SelectGenderDialog.dart index 92bd248e..7d37a44b 100644 --- a/lib/pages/ChildVaccines/dialogs/SelectGenderDialog.dart +++ b/lib/pages/ChildVaccines/dialogs/SelectGenderDialog.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ChildVaccines/dialogs/delete_child.dart b/lib/pages/ChildVaccines/dialogs/delete_child.dart index 9eb49d27..d713661c 100644 --- a/lib/pages/ChildVaccines/dialogs/delete_child.dart +++ b/lib/pages/ChildVaccines/dialogs/delete_child.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ChildVaccines/new/child_initial_page.dart b/lib/pages/ChildVaccines/new/child_initial_page.dart index aba29817..21f34259 100644 --- a/lib/pages/ChildVaccines/new/child_initial_page.dart +++ b/lib/pages/ChildVaccines/new/child_initial_page.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/child_vaccines/user_information_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/new_text_Field.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/input/text_field.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/child_vaccines/user_information_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/balance/new_text_Field.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/input/text_field.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ChildVaccines/new/child_vaccine_page.dart b/lib/pages/ChildVaccines/new/child_vaccine_page.dart index ddbbf198..5fac1b87 100644 --- a/lib/pages/ChildVaccines/new/child_vaccine_page.dart +++ b/lib/pages/ChildVaccines/new/child_vaccine_page.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/core/model/childvaccines/delete_baby_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/child_vaccines/child_vaccines_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/delete_baby_model.dart'; +import 'package:hmg_patient_app/core/viewModels/child_vaccines/child_vaccines_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/lib/pages/ChildVaccines/vaccinationtable_page.dart b/lib/pages/ChildVaccines/vaccinationtable_page.dart index c909875c..7b82d5b2 100644 --- a/lib/pages/ChildVaccines/vaccinationtable_page.dart +++ b/lib/pages/ChildVaccines/vaccinationtable_page.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/childvaccines/List_BabyInformationModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/child_vaccines/vaccination_table_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/childvaccines/List_BabyInformationModel.dart'; +import 'package:hmg_patient_app/core/viewModels/child_vaccines/vaccination_table_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_html/flutter_html.dart'; diff --git a/lib/pages/ContactUs/LiveChat/hospitalsLivechat_page.dart b/lib/pages/ContactUs/LiveChat/hospitalsLivechat_page.dart index 6abd177c..1852e903 100644 --- a/lib/pages/ContactUs/LiveChat/hospitalsLivechat_page.dart +++ b/lib/pages/ContactUs/LiveChat/hospitalsLivechat_page.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/viewModels/contactus/livechat_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/contactus/livechat_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ContactUs/LiveChat/livechat_page.dart b/lib/pages/ContactUs/LiveChat/livechat_page.dart index 4d5c9c88..e9842161 100644 --- a/lib/pages/ContactUs/LiveChat/livechat_page.dart +++ b/lib/pages/ContactUs/LiveChat/livechat_page.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ContactUs/LiveChat/pharmaciesLivechat_page.dart b/lib/pages/ContactUs/LiveChat/pharmaciesLivechat_page.dart index e5b0647a..bfe8998e 100644 --- a/lib/pages/ContactUs/LiveChat/pharmaciesLivechat_page.dart +++ b/lib/pages/ContactUs/LiveChat/pharmaciesLivechat_page.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/viewModels/contactus/livechat_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/contactus/livechat_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ContactUs/contact_us_page.dart b/lib/pages/ContactUs/contact_us_page.dart index 2334b00f..774d7b99 100644 --- a/lib/pages/ContactUs/contact_us_page.dart +++ b/lib/pages/ContactUs/contact_us_page.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/pages/feedback/feedback_home_page.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/pages/feedback/feedback_home_page.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import '../../uitl/translations_delegate_base.dart'; diff --git a/lib/pages/ContactUs/findus/findus_page.dart b/lib/pages/ContactUs/findus/findus_page.dart index 78bb4e7e..f104e25c 100644 --- a/lib/pages/ContactUs/findus/findus_page.dart +++ b/lib/pages/ContactUs/findus/findus_page.dart @@ -1,11 +1,11 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/viewModels/contactus/findus_view_model.dart'; -import 'package:diplomaticquarterapp/pages/ContactUs/findus/hospitrals_page.dart'; -import 'package:diplomaticquarterapp/pages/ContactUs/findus/pharmacies_page.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/contactus/findus_view_model.dart'; +import 'package:hmg_patient_app/pages/ContactUs/findus/hospitrals_page.dart'; +import 'package:hmg_patient_app/pages/ContactUs/findus/pharmacies_page.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ContactUs/findus/hospitrals_page.dart b/lib/pages/ContactUs/findus/hospitrals_page.dart index 6f48deb6..b9c6552a 100644 --- a/lib/pages/ContactUs/findus/hospitrals_page.dart +++ b/lib/pages/ContactUs/findus/hospitrals_page.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/model/contactus/get_hmg_locations.dart'; -import 'package:diplomaticquarterapp/widgets/hospital_location.dart'; +import 'package:hmg_patient_app/core/model/contactus/get_hmg_locations.dart'; +import 'package:hmg_patient_app/widgets/hospital_location.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; diff --git a/lib/pages/ContactUs/findus/pharmacies_page.dart b/lib/pages/ContactUs/findus/pharmacies_page.dart index 529319f1..73cc7b7f 100644 --- a/lib/pages/ContactUs/findus/pharmacies_page.dart +++ b/lib/pages/ContactUs/findus/pharmacies_page.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/model/contactus/get_hmg_locations.dart'; -import 'package:diplomaticquarterapp/widgets/hospital_location.dart'; +import 'package:hmg_patient_app/core/model/contactus/get_hmg_locations.dart'; +import 'package:hmg_patient_app/widgets/hospital_location.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; diff --git a/lib/pages/ContactUs/widgets/card_common_contat.dart b/lib/pages/ContactUs/widgets/card_common_contat.dart index b4cfe95f..43ec8ddd 100644 --- a/lib/pages/ContactUs/widgets/card_common_contat.dart +++ b/lib/pages/ContactUs/widgets/card_common_contat.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/pages/ContactUs/LiveChat/livechat_page.dart'; -import 'package:diplomaticquarterapp/pages/ContactUs/findus/findus_page.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/ToDo.dart'; -import 'package:diplomaticquarterapp/pages/feedback/feedback_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/advance_payment_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/my_balance_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_trackers/Weight/WeightHomePage.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_trackers/blood_pressure/BloodPressureHomePage.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_trackers/blood_suger/blood_sugar_home_page.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/pages/ContactUs/LiveChat/livechat_page.dart'; +import 'package:hmg_patient_app/pages/ContactUs/findus/findus_page.dart'; +import 'package:hmg_patient_app/pages/ToDoList/ToDo.dart'; +import 'package:hmg_patient_app/pages/feedback/feedback_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/balance/advance_payment_page.dart'; +import 'package:hmg_patient_app/pages/medical/balance/my_balance_page.dart'; +import 'package:hmg_patient_app/pages/medical/my_trackers/Weight/WeightHomePage.dart'; +import 'package:hmg_patient_app/pages/medical/my_trackers/blood_pressure/BloodPressureHomePage.dart'; +import 'package:hmg_patient_app/pages/medical/my_trackers/blood_suger/blood_sugar_home_page.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; class CardCommonContact extends StatelessWidget { diff --git a/lib/pages/Covid-DriveThru/Covid-TimeSlots.dart b/lib/pages/Covid-DriveThru/Covid-TimeSlots.dart index 88be72dd..cfb2dfd9 100644 --- a/lib/pages/Covid-DriveThru/Covid-TimeSlots.dart +++ b/lib/pages/Covid-DriveThru/Covid-TimeSlots.dart @@ -1,28 +1,28 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/FreeSlot.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/models/Appointments/timeSlot.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/CovidDriveThru/CovidTestProceduresResponse.dart'; -import 'package:diplomaticquarterapp/models/CovidDriveThru/DriveThroughTestingCenterModel.dart'; -import 'package:diplomaticquarterapp/pages/Covid-DriveThru/covid-payment-alert.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/services/covid-drivethru/covid-drivethru.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/FreeSlot.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/models/Appointments/timeSlot.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/CovidDriveThru/CovidTestProceduresResponse.dart'; +import 'package:hmg_patient_app/models/CovidDriveThru/DriveThroughTestingCenterModel.dart'; +import 'package:hmg_patient_app/pages/Covid-DriveThru/covid-payment-alert.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/services/covid-drivethru/covid-drivethru.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/Covid-DriveThru/covid-dirvethru-questions.dart b/lib/pages/Covid-DriveThru/covid-dirvethru-questions.dart index 334bf759..31acb098 100644 --- a/lib/pages/Covid-DriveThru/covid-dirvethru-questions.dart +++ b/lib/pages/Covid-DriveThru/covid-dirvethru-questions.dart @@ -1,20 +1,20 @@ import 'dart:convert'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/CovidDriveThru/CovidPaymentInfoResponse.dart'; -import 'package:diplomaticquarterapp/models/CovidDriveThru/CovidTestProceduresResponse.dart'; -import 'package:diplomaticquarterapp/models/CovidDriveThru/DriveThroughTestingCenterModel.dart'; -import 'package:diplomaticquarterapp/pages/medical/labs/passport_update_page.dart'; -import 'package:diplomaticquarterapp/services/covid-drivethru/covid-drivethru.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/CovidDriveThru/CovidPaymentInfoResponse.dart'; +import 'package:hmg_patient_app/models/CovidDriveThru/CovidTestProceduresResponse.dart'; +import 'package:hmg_patient_app/models/CovidDriveThru/DriveThroughTestingCenterModel.dart'; +import 'package:hmg_patient_app/pages/medical/labs/passport_update_page.dart'; +import 'package:hmg_patient_app/services/covid-drivethru/covid-drivethru.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/Covid-DriveThru/covid-drivethru-location.dart b/lib/pages/Covid-DriveThru/covid-drivethru-location.dart index 2c0c1164..305269f8 100644 --- a/lib/pages/Covid-DriveThru/covid-drivethru-location.dart +++ b/lib/pages/Covid-DriveThru/covid-drivethru-location.dart @@ -1,19 +1,19 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/CovidDriveThru/CovidPaymentInfoResponse.dart'; -import 'package:diplomaticquarterapp/models/CovidDriveThru/CovidTestProceduresResponse.dart'; -import 'package:diplomaticquarterapp/models/CovidDriveThru/DriveThroughTestingCenterModel.dart'; -import 'package:diplomaticquarterapp/pages/Covid-DriveThru/covid-payment-details.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/covid-drivethru/covid-drivethru.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/CovidDriveThru/CovidPaymentInfoResponse.dart'; +import 'package:hmg_patient_app/models/CovidDriveThru/CovidTestProceduresResponse.dart'; +import 'package:hmg_patient_app/models/CovidDriveThru/DriveThroughTestingCenterModel.dart'; +import 'package:hmg_patient_app/pages/Covid-DriveThru/covid-payment-details.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/covid-drivethru/covid-drivethru.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:maps_launcher/maps_launcher.dart'; diff --git a/lib/pages/Covid-DriveThru/covid-payment-alert.dart b/lib/pages/Covid-DriveThru/covid-payment-alert.dart index 60ab52c0..ff59fbb4 100644 --- a/lib/pages/Covid-DriveThru/covid-payment-alert.dart +++ b/lib/pages/Covid-DriveThru/covid-payment-alert.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/pages/Covid-DriveThru/covid-payment-summary.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/pages/Covid-DriveThru/covid-payment-summary.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; class CovidPaymentAlert extends StatefulWidget { diff --git a/lib/pages/Covid-DriveThru/covid-payment-details.dart b/lib/pages/Covid-DriveThru/covid-payment-details.dart index fe8c64dc..ef6eef5e 100644 --- a/lib/pages/Covid-DriveThru/covid-payment-details.dart +++ b/lib/pages/Covid-DriveThru/covid-payment-details.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/CovidDriveThru/CovidPaymentInfoResponse.dart'; -import 'package:diplomaticquarterapp/models/CovidDriveThru/CovidTestProceduresResponse.dart'; -import 'package:diplomaticquarterapp/models/CovidDriveThru/DriveThroughTestingCenterModel.dart'; -import 'package:diplomaticquarterapp/pages/Covid-DriveThru/Covid-TimeSlots.dart'; -import 'package:diplomaticquarterapp/services/covid-drivethru/covid-drivethru.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/CovidDriveThru/CovidPaymentInfoResponse.dart'; +import 'package:hmg_patient_app/models/CovidDriveThru/CovidTestProceduresResponse.dart'; +import 'package:hmg_patient_app/models/CovidDriveThru/DriveThroughTestingCenterModel.dart'; +import 'package:hmg_patient_app/pages/Covid-DriveThru/Covid-TimeSlots.dart'; +import 'package:hmg_patient_app/services/covid-drivethru/covid-drivethru.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:url_launcher/url_launcher.dart'; diff --git a/lib/pages/Covid-DriveThru/covid-payment-summary.dart b/lib/pages/Covid-DriveThru/covid-payment-summary.dart index 384b2422..41692fcf 100644 --- a/lib/pages/Covid-DriveThru/covid-payment-summary.dart +++ b/lib/pages/Covid-DriveThru/covid-payment-summary.dart @@ -1,26 +1,26 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/QRCode.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/payment_method_select.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dragable_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/QRCode.dart'; +import 'package:hmg_patient_app/pages/ToDoList/payment_method_select.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dragable_sheet.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/DrawerPages/family/add-family-member.dart b/lib/pages/DrawerPages/family/add-family-member.dart index c29c8b20..95bb51c5 100644 --- a/lib/pages/DrawerPages/family/add-family-member.dart +++ b/lib/pages/DrawerPages/family/add-family-member.dart @@ -1,21 +1,21 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/model/family-file/add_family_file_request.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/family_files/family_files_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/mobile-no/mobile_no.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/otp/sms-popup.dart'; -import 'package:diplomaticquarterapp/widgets/progress_indicator/app_circular_progress_Indeicator.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/model/family-file/add_family_file_request.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/family_files/family_files_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/mobile-no/mobile_no.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/otp/sms-popup.dart'; +import 'package:hmg_patient_app/widgets/progress_indicator/app_circular_progress_Indeicator.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/DrawerPages/family/add-family_type.dart b/lib/pages/DrawerPages/family/add-family_type.dart index 60e396c6..755c443a 100644 --- a/lib/pages/DrawerPages/family/add-family_type.dart +++ b/lib/pages/DrawerPages/family/add-family_type.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/card/rounded_container.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/card/rounded_container.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/svg.dart'; -import 'package:diplomaticquarterapp/widgets/habib_logo_widget.dart'; +import 'package:hmg_patient_app/widgets/habib_logo_widget.dart'; class AddFamilyMemberType extends StatelessWidget { static int loginType = 0; diff --git a/lib/pages/DrawerPages/family/my-family.dart b/lib/pages/DrawerPages/family/my-family.dart index fa256d11..c6fc15aa 100644 --- a/lib/pages/DrawerPages/family/my-family.dart +++ b/lib/pages/DrawerPages/family/my-family.dart @@ -1,39 +1,39 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/service/medical/vital_sign_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/appointment_rate_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_activation_code_response.dart' as list; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_info_response_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_request_info_response_model.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/rateAppointment/rate_appointment_doctor.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/services/family_files/family_files_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/service/medical/vital_sign_service.dart'; +import 'package:hmg_patient_app/core/viewModels/appointment_rate_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Authentication/check_activation_code_response.dart' as list; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_info_response_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_request_info_response_model.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/rateAppointment/rate_appointment_doctor.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/services/family_files/family_files_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/DrawerPages/notifications/notification_details_page.dart b/lib/pages/DrawerPages/notifications/notification_details_page.dart index 8b670190..c0f99079 100644 --- a/lib/pages/DrawerPages/notifications/notification_details_page.dart +++ b/lib/pages/DrawerPages/notifications/notification_details_page.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/model/notifications/get_notifications_response_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/progress_indicator/app_circular_progress_Indeicator.dart'; +import 'package:hmg_patient_app/core/model/notifications/get_notifications_response_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/progress_indicator/app_circular_progress_Indeicator.dart'; import 'package:flutter/material.dart'; import 'package:youtube_player_flutter/youtube_player_flutter.dart'; diff --git a/lib/pages/DrawerPages/notifications/notifications_page.dart b/lib/pages/DrawerPages/notifications/notifications_page.dart index b5373131..86c6466b 100644 --- a/lib/pages/DrawerPages/notifications/notifications_page.dart +++ b/lib/pages/DrawerPages/notifications/notifications_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/notifications/get_notifications_request_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/notifications_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/notifications/notification_details_page.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/notifications/get_notifications_request_model.dart'; +import 'package:hmg_patient_app/core/viewModels/notifications_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/notifications/notification_details_page.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ErService/AmbulanceReq.dart b/lib/pages/ErService/AmbulanceReq.dart index afcf4e58..1ebbe620 100644 --- a/lib/pages/ErService/AmbulanceReq.dart +++ b/lib/pages/ErService/AmbulanceReq.dart @@ -1,11 +1,11 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/am_request_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/er/am_request_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ErService/AmbulanceRequestIndexPages/AmbulanceRequestIndex.dart b/lib/pages/ErService/AmbulanceRequestIndexPages/AmbulanceRequestIndex.dart index fc4155ca..9c6cfc57 100644 --- a/lib/pages/ErService/AmbulanceRequestIndexPages/AmbulanceRequestIndex.dart +++ b/lib/pages/ErService/AmbulanceRequestIndexPages/AmbulanceRequestIndex.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/er/AmbulanceRequestOrdersModel.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER_RC.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/am_request_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/ErService/widgets/StepsWidget.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/er/AmbulanceRequestOrdersModel.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER_RC.dart'; +import 'package:hmg_patient_app/core/viewModels/er/am_request_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/ErService/widgets/StepsWidget.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ErService/AmbulanceRequestIndexPages/BillAmount.dart b/lib/pages/ErService/AmbulanceRequestIndexPages/BillAmount.dart index 0371fd24..3f44c95a 100644 --- a/lib/pages/ErService/AmbulanceRequestIndexPages/BillAmount.dart +++ b/lib/pages/ErService/AmbulanceRequestIndexPages/BillAmount.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/enum/Ambulate.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER_RC.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/am_request_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/Ambulate.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER_RC.dart'; +import 'package:hmg_patient_app/core/viewModels/er/am_request_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/ErService/AmbulanceRequestIndexPages/PickupLocation.dart b/lib/pages/ErService/AmbulanceRequestIndexPages/PickupLocation.dart index d0beeab7..289dc04a 100644 --- a/lib/pages/ErService/AmbulanceRequestIndexPages/PickupLocation.dart +++ b/lib/pages/ErService/AmbulanceRequestIndexPages/PickupLocation.dart @@ -1,25 +1,25 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER_RC.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/am_request_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/ambulanceRequest/locationDetails.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/ProgressDialog.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/pickupLocation/PickupLocationFromMap.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER_RC.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/er/am_request_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/ambulanceRequest/locationDetails.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/ProgressDialog.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/pickupLocation/PickupLocationFromMap.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/ErService/AmbulanceRequestIndexPages/SelectTransportationMethod.dart b/lib/pages/ErService/AmbulanceRequestIndexPages/SelectTransportationMethod.dart index 1dac66a0..24188f5c 100644 --- a/lib/pages/ErService/AmbulanceRequestIndexPages/SelectTransportationMethod.dart +++ b/lib/pages/ErService/AmbulanceRequestIndexPages/SelectTransportationMethod.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/enum/OrderService.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER_RC.dart'; -import 'package:diplomaticquarterapp/core/model/er/get_all_transportation_method_list_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/am_request_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/OrderService.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER_RC.dart'; +import 'package:hmg_patient_app/core/model/er/get_all_transportation_method_list_model.dart'; +import 'package:hmg_patient_app/core/viewModels/er/am_request_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/ErService/AmbulanceRequestIndexPages/Summary.dart b/lib/pages/ErService/AmbulanceRequestIndexPages/Summary.dart index 86442ce6..73423b38 100644 --- a/lib/pages/ErService/AmbulanceRequestIndexPages/Summary.dart +++ b/lib/pages/ErService/AmbulanceRequestIndexPages/Summary.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/model/er/PatientER.dart'; -import 'package:diplomaticquarterapp/core/model/er/PatientER_RC.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/am_request_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER.dart'; +import 'package:hmg_patient_app/core/model/er/PatientER_RC.dart'; +import 'package:hmg_patient_app/core/viewModels/er/am_request_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/ErService/AvailableAppointmentsPage.dart b/lib/pages/ErService/AvailableAppointmentsPage.dart index 58d23080..15aea826 100644 --- a/lib/pages/ErService/AvailableAppointmentsPage.dart +++ b/lib/pages/ErService/AvailableAppointmentsPage.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInBookAppointment.dart b/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInBookAppointment.dart index 946f6003..3a851996 100644 --- a/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInBookAppointment.dart +++ b/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInBookAppointment.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/ErService/EROnlineCheckIn/EROnlineCheckInPaymentDetails.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/ErService/EROnlineCheckIn/EROnlineCheckInPaymentDetails.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInHome.dart b/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInHome.dart index d1ecc3ad..83541aa6 100644 --- a/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInHome.dart +++ b/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInHome.dart @@ -1,23 +1,23 @@ import 'package:barcode_scan2/barcode_scan2.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/ErService/EROnlineCheckIn/EROnlineCheckInBookAppointment.dart'; -import 'package:diplomaticquarterapp/pages/ErService/EROnlineCheckIn/EROnlineCheckInNFCQRCLocation.dart'; -import 'package:diplomaticquarterapp/pages/ErService/EROnlineCheckIn/EROnlineCheckInPaymentDetails.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/bottom_options/bottom_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/nfc/nfc_reader_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/ErService/EROnlineCheckIn/EROnlineCheckInBookAppointment.dart'; +import 'package:hmg_patient_app/pages/ErService/EROnlineCheckIn/EROnlineCheckInNFCQRCLocation.dart'; +import 'package:hmg_patient_app/pages/ErService/EROnlineCheckIn/EROnlineCheckInPaymentDetails.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/bottom_options/bottom_sheet.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/nfc/nfc_reader_sheet.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_nfc_kit/flutter_nfc_kit.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInNFCQRCLocation.dart b/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInNFCQRCLocation.dart index d3f1e20f..47864faa 100644 --- a/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInNFCQRCLocation.dart +++ b/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInNFCQRCLocation.dart @@ -1,34 +1,34 @@ import 'dart:typed_data'; import 'package:barcode_scan2/barcode_scan2.dart'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/ProjectDetailListModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/nfc/nfc_reader_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/privilege/ProjectDetailListModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/nfc/nfc_reader_sheet.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_nfc_kit/flutter_nfc_kit.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInPaymentDetails.dart b/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInPaymentDetails.dart index 560d6d9b..af3a80a8 100644 --- a/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInPaymentDetails.dart +++ b/lib/pages/ErService/EROnlineCheckIn/EROnlineCheckInPaymentDetails.dart @@ -1,33 +1,33 @@ import 'dart:developer'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/PayfortEnums.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Clinics/EROnlineCheckInPaymentDetailsResponse.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ApplePayInsertRequest.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/payment_method_select.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_project_details_resp_model.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dragable_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/PayfortEnums.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Clinics/EROnlineCheckInPaymentDetailsResponse.dart'; +import 'package:hmg_patient_app/models/LiveCare/ApplePayInsertRequest.dart'; +import 'package:hmg_patient_app/pages/ToDoList/payment_method_select.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_project_details_resp_model.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dragable_sheet.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ErService/EdOnline/DdServicesPage.dart b/lib/pages/ErService/EdOnline/DdServicesPage.dart index 47d31a21..aa470055 100644 --- a/lib/pages/ErService/EdOnline/DdServicesPage.dart +++ b/lib/pages/ErService/EdOnline/DdServicesPage.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/model/er/TriageInformationRequest.dart'; -import 'package:diplomaticquarterapp/core/model/er/TriageQuestionsModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/er/TriageInformationRequest.dart'; +import 'package:hmg_patient_app/core/model/er/TriageQuestionsModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ErService/EdOnline/EdOnlineAgreementPage.dart b/lib/pages/ErService/EdOnline/EdOnlineAgreementPage.dart index d0e01f57..b981c684 100644 --- a/lib/pages/ErService/EdOnline/EdOnlineAgreementPage.dart +++ b/lib/pages/ErService/EdOnline/EdOnlineAgreementPage.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ErService/EdOnline/EdOnlineNotesPage.dart b/lib/pages/ErService/EdOnline/EdOnlineNotesPage.dart index 2ed77c2e..0fdce81e 100644 --- a/lib/pages/ErService/EdOnline/EdOnlineNotesPage.dart +++ b/lib/pages/ErService/EdOnline/EdOnlineNotesPage.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/er/TriageInformationRequest.dart'; -import 'package:diplomaticquarterapp/core/model/er/TriageQuestionsModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/EdOnlineViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/Blood/new_text_Field.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/er/TriageInformationRequest.dart'; +import 'package:hmg_patient_app/core/model/er/TriageQuestionsModel.dart'; +import 'package:hmg_patient_app/core/viewModels/er/EdOnlineViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/Blood/new_text_Field.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_datetime_picker_plus/flutter_datetime_picker_plus.dart'; diff --git a/lib/pages/ErService/EdOnline/EdOnlineQuestionsPage.dart b/lib/pages/ErService/EdOnline/EdOnlineQuestionsPage.dart index e5d819b1..8e036d26 100644 --- a/lib/pages/ErService/EdOnline/EdOnlineQuestionsPage.dart +++ b/lib/pages/ErService/EdOnline/EdOnlineQuestionsPage.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/er/TriageQuestionsModel.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/EdOnlineViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/er/TriageQuestionsModel.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/er/EdOnlineViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ErService/EdOnline/EdOnlineSelectedHospitalPage.dart b/lib/pages/ErService/EdOnline/EdOnlineSelectedHospitalPage.dart index c41c2fc2..88eb838c 100644 --- a/lib/pages/ErService/EdOnline/EdOnlineSelectedHospitalPage.dart +++ b/lib/pages/ErService/EdOnline/EdOnlineSelectedHospitalPage.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/core/model/er/TriageInformationRequest.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/EdOnlineViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/er/TriageInformationRequest.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/er/EdOnlineViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ErService/EdOnline/EdPaymentInformationPage.dart b/lib/pages/ErService/EdOnline/EdPaymentInformationPage.dart index 705a6e59..adad9fc4 100644 --- a/lib/pages/ErService/EdOnline/EdPaymentInformationPage.dart +++ b/lib/pages/ErService/EdOnline/EdPaymentInformationPage.dart @@ -1,22 +1,22 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/EdOnlineViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/payment_method_select.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/er/EdOnlineViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/pages/ToDoList/payment_method_select.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ErService/ErOptions.dart b/lib/pages/ErService/ErOptions.dart index 9253dd52..f9f86384 100644 --- a/lib/pages/ErService/ErOptions.dart +++ b/lib/pages/ErService/ErOptions.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/ErService/rapid-response-team/rrt-main-screen.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/ErService/rapid-response-team/rrt-main-screen.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ErService/NearestEr.dart b/lib/pages/ErService/NearestEr.dart index 20b664d9..055792dd 100644 --- a/lib/pages/ErService/NearestEr.dart +++ b/lib/pages/ErService/NearestEr.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/model/contactus/get_hmg_locations.dart'; -import 'package:diplomaticquarterapp/core/model/er/projectavgerwaitingtime.dart'; -import 'package:diplomaticquarterapp/core/service/er/er_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/hospital_location.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/contactus/get_hmg_locations.dart'; +import 'package:hmg_patient_app/core/model/er/projectavgerwaitingtime.dart'; +import 'package:hmg_patient_app/core/service/er/er_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/hospital_location.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ErService/OrderLogPage.dart b/lib/pages/ErService/OrderLogPage.dart index a551bda6..994dca20 100644 --- a/lib/pages/ErService/OrderLogPage.dart +++ b/lib/pages/ErService/OrderLogPage.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/er/AmbulanceRequestOrdersModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/am_request_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/er/AmbulanceRequestOrdersModel.dart'; +import 'package:hmg_patient_app/core/viewModels/er/am_request_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ErService/rapid-response-team/rrt-agreement-page.dart b/lib/pages/ErService/rapid-response-team/rrt-agreement-page.dart index 8be47868..7f348b6b 100644 --- a/lib/pages/ErService/rapid-response-team/rrt-agreement-page.dart +++ b/lib/pages/ErService/rapid-response-team/rrt-agreement-page.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ErService/rapid-response-team/rrt-logs-page.dart b/lib/pages/ErService/rapid-response-team/rrt-logs-page.dart index 314abf9a..b9152f91 100644 --- a/lib/pages/ErService/rapid-response-team/rrt-logs-page.dart +++ b/lib/pages/ErService/rapid-response-team/rrt-logs-page.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/rrt-view-model.dart'; -import 'package:diplomaticquarterapp/pages/ErService/rapid-response-team/rrt-main-screen.dart'; -import 'package:diplomaticquarterapp/pages/ErService/rapid-response-team/rrt-order-list-item.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/viewModels/er/rrt-view-model.dart'; +import 'package:hmg_patient_app/pages/ErService/rapid-response-team/rrt-main-screen.dart'; +import 'package:hmg_patient_app/pages/ErService/rapid-response-team/rrt-order-list-item.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ErService/rapid-response-team/rrt-main-screen.dart b/lib/pages/ErService/rapid-response-team/rrt-main-screen.dart index 83451428..34c24f6f 100644 --- a/lib/pages/ErService/rapid-response-team/rrt-main-screen.dart +++ b/lib/pages/ErService/rapid-response-team/rrt-main-screen.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/rrt-view-model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/rrt/service_price.dart'; -import 'package:diplomaticquarterapp/pages/ErService/rapid-response-team/rrt-logs-page.dart'; -import 'package:diplomaticquarterapp/pages/ErService/rapid-response-team/rrt-request-page.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/er/rrt-view-model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/rrt/service_price.dart'; +import 'package:hmg_patient_app/pages/ErService/rapid-response-team/rrt-logs-page.dart'; +import 'package:hmg_patient_app/pages/ErService/rapid-response-team/rrt-request-page.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ErService/rapid-response-team/rrt-order-list-item.dart b/lib/pages/ErService/rapid-response-team/rrt-order-list-item.dart index 50df1033..b6a32366 100644 --- a/lib/pages/ErService/rapid-response-team/rrt-order-list-item.dart +++ b/lib/pages/ErService/rapid-response-team/rrt-order-list-item.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescriptions_order.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescriptions_order.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/rrt-view-model.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/pages/ErService/rapid-response-team/rrt-main-screen.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/core/viewModels/er/rrt-view-model.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/pages/ErService/rapid-response-team/rrt-main-screen.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; final _item_content_seperator = Container(height: 0.25, padding: EdgeInsets.all(10), color: Colors.grey.withOpacity(0.5)); diff --git a/lib/pages/ErService/rapid-response-team/rrt-pickup-address-page.dart b/lib/pages/ErService/rapid-response-team/rrt-pickup-address-page.dart index dd5ce2fa..c0767ba1 100644 --- a/lib/pages/ErService/rapid-response-team/rrt-pickup-address-page.dart +++ b/lib/pages/ErService/rapid-response-team/rrt-pickup-address-page.dart @@ -1,24 +1,24 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/rrt-view-model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/rrt/RRTProcedureList.dart'; -import 'package:diplomaticquarterapp/models/rrt/service_price.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/location_page.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/reminder_dialog.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/app_map/google_huawei_map.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/select_location_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/viewModels/er/rrt-view-model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/rrt/RRTProcedureList.dart'; +import 'package:hmg_patient_app/models/rrt/service_price.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/location_page.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/reminder_dialog.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/app_map/google_huawei_map.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/select_location_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:geolocator/geolocator.dart'; diff --git a/lib/pages/ErService/rapid-response-team/rrt-place-order.dart b/lib/pages/ErService/rapid-response-team/rrt-place-order.dart index 6384f2fa..da4d0e6a 100644 --- a/lib/pages/ErService/rapid-response-team/rrt-place-order.dart +++ b/lib/pages/ErService/rapid-response-team/rrt-place-order.dart @@ -1,22 +1,22 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/rrt-view-model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/rrt/RRTProcedureList.dart'; -import 'package:diplomaticquarterapp/models/rrt/RRTRequestModel.dart'; -import 'package:diplomaticquarterapp/models/rrt/service_price.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/pages/ErService/rapid-response-team/rrt-main-screen.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/viewModels/er/rrt-view-model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/rrt/RRTProcedureList.dart'; +import 'package:hmg_patient_app/models/rrt/RRTRequestModel.dart'; +import 'package:hmg_patient_app/models/rrt/service_price.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/Dialog/confirm_dialog.dart'; +import 'package:hmg_patient_app/pages/ErService/rapid-response-team/rrt-main-screen.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/pages/ErService/rapid-response-team/rrt-request-page.dart b/lib/pages/ErService/rapid-response-team/rrt-request-page.dart index 0420bb54..7e67edac 100644 --- a/lib/pages/ErService/rapid-response-team/rrt-request-page.dart +++ b/lib/pages/ErService/rapid-response-team/rrt-request-page.dart @@ -1,22 +1,22 @@ -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/er/rrt-view-model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/rrt/RRTProcedureList.dart'; -import 'package:diplomaticquarterapp/models/rrt/service_price.dart'; -import 'package:diplomaticquarterapp/pages/ErService/rapid-response-team/rrt-order-list-item.dart'; -import 'package:diplomaticquarterapp/pages/ErService/rapid-response-team/rrt-pickup-address-page.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/reports/user_agreement_page.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/viewModels/er/rrt-view-model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/rrt/RRTProcedureList.dart'; +import 'package:hmg_patient_app/models/rrt/service_price.dart'; +import 'package:hmg_patient_app/pages/ErService/rapid-response-team/rrt-order-list-item.dart'; +import 'package:hmg_patient_app/pages/ErService/rapid-response-team/rrt-pickup-address-page.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/reports/user_agreement_page.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/ErService/widgets/AppointmentCard.dart b/lib/pages/ErService/widgets/AppointmentCard.dart index 3dd13ce9..cd439cdd 100644 --- a/lib/pages/ErService/widgets/AppointmentCard.dart +++ b/lib/pages/ErService/widgets/AppointmentCard.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/ErService/widgets/StepsWidget.dart b/lib/pages/ErService/widgets/StepsWidget.dart index 97acd38f..bd51dab6 100644 --- a/lib/pages/ErService/widgets/StepsWidget.dart +++ b/lib/pages/ErService/widgets/StepsWidget.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/InPatientServices/admission_notice.dart b/lib/pages/InPatientServices/admission_notice.dart index 313d4551..b1daa13a 100644 --- a/lib/pages/InPatientServices/admission_notice.dart +++ b/lib/pages/InPatientServices/admission_notice.dart @@ -1,12 +1,12 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/InPatientServices/birth_notification.dart b/lib/pages/InPatientServices/birth_notification.dart index 6d8e60c5..3f76e90a 100644 --- a/lib/pages/InPatientServices/birth_notification.dart +++ b/lib/pages/InPatientServices/birth_notification.dart @@ -1,15 +1,15 @@ import 'dart:convert'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/insurance/AttachInsuranceCardImageDialog.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/insurance/AttachInsuranceCardImageDialog.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/InPatientServices/components/inpatient_paid_advance_payment.dart b/lib/pages/InPatientServices/components/inpatient_paid_advance_payment.dart index 1d9755fb..7236fb1e 100644 --- a/lib/pages/InPatientServices/components/inpatient_paid_advance_payment.dart +++ b/lib/pages/InPatientServices/components/inpatient_paid_advance_payment.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_inpatient_advance_history_response_model.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_inpatient_advance_history_response_model.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/InPatientServices/components/inpatient_pending_advance_payment.dart b/lib/pages/InPatientServices/components/inpatient_pending_advance_payment.dart index 9df2c92f..9f06c54e 100644 --- a/lib/pages/InPatientServices/components/inpatient_pending_advance_payment.dart +++ b/lib/pages/InPatientServices/components/inpatient_pending_advance_payment.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_inpatient_advance_requests_response_model.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_inpatient_advance_requests_response_model.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart'; diff --git a/lib/pages/InPatientServices/general_instructions.dart b/lib/pages/InPatientServices/general_instructions.dart index 5837b167..1a04f156 100644 --- a/lib/pages/InPatientServices/general_instructions.dart +++ b/lib/pages/InPatientServices/general_instructions.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_general_instructions_response_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_general_instructions_response_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/InPatientServices/help_PRO.dart b/lib/pages/InPatientServices/help_PRO.dart index 61bd03c8..f4886ec3 100644 --- a/lib/pages/InPatientServices/help_PRO.dart +++ b/lib/pages/InPatientServices/help_PRO.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/InPatientServices/inpatient_advance_payment.dart b/lib/pages/InPatientServices/inpatient_advance_payment.dart index 453dc114..14153c70 100644 --- a/lib/pages/InPatientServices/inpatient_advance_payment.dart +++ b/lib/pages/InPatientServices/inpatient_advance_payment.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_inpatient_advance_requests_response_model.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/components/inpatient_paid_advance_payment.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/components/inpatient_pending_advance_payment.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_inpatient_advance_requests_response_model.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/components/inpatient_paid_advance_payment.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/components/inpatient_pending_advance_payment.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/InPatientServices/inpatient_general_consent.dart b/lib/pages/InPatientServices/inpatient_general_consent.dart index a03e318c..285f38b0 100644 --- a/lib/pages/InPatientServices/inpatient_general_consent.dart +++ b/lib/pages/InPatientServices/inpatient_general_consent.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/InPatientServices/inpatient_home.dart b/lib/pages/InPatientServices/inpatient_home.dart index 9987d501..37b66def 100644 --- a/lib/pages/InPatientServices/inpatient_home.dart +++ b/lib/pages/InPatientServices/inpatient_home.dart @@ -1,23 +1,23 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_general_instructions_response_model.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/admission_notice.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/birth_notification.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/general_instructions.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/help_PRO.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/inpatient_advance_payment.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/inpatient_general_consent.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/meal_plan.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/medical_instructions.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/alert_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_general_instructions_response_model.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/admission_notice.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/birth_notification.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/general_instructions.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/help_PRO.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/inpatient_advance_payment.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/inpatient_general_consent.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/meal_plan.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/medical_instructions.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/dialogs/alert_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:url_launcher/url_launcher.dart'; diff --git a/lib/pages/InPatientServices/meal_plan.dart b/lib/pages/InPatientServices/meal_plan.dart index 4e300900..ce6ca3ed 100644 --- a/lib/pages/InPatientServices/meal_plan.dart +++ b/lib/pages/InPatientServices/meal_plan.dart @@ -1,19 +1,19 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admitted_patient_response_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_meal_items_schedule_response_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_meals_schedule_response_model.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admitted_patient_response_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_meal_items_schedule_response_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_meals_schedule_response_model.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/InPatientServices/medical_instructions.dart b/lib/pages/InPatientServices/medical_instructions.dart index bbab1b5f..e57f9f8c 100644 --- a/lib/pages/InPatientServices/medical_instructions.dart +++ b/lib/pages/InPatientServices/medical_instructions.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/MyAppointments/AppointmentDetails.dart b/lib/pages/MyAppointments/AppointmentDetails.dart index 9805a691..a470b677 100644 --- a/lib/pages/MyAppointments/AppointmentDetails.dart +++ b/lib/pages/MyAppointments/AppointmentDetails.dart @@ -1,32 +1,32 @@ import 'dart:collection'; import 'package:device_calendar/device_calendar.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorRateDetails.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/BookConfirm.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/components/DocAvailableAppointments.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/waiting_appointment/waiting_appointment_info.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/SchedulePage.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/CalendarUtils.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorRateDetails.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/BookConfirm.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/components/DocAvailableAppointments.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/waiting_appointment/waiting_appointment_info.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/SchedulePage.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/CalendarUtils.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/MyAppointments/MyAppointments.dart b/lib/pages/MyAppointments/MyAppointments.dart index 44d06899..d59250f7 100644 --- a/lib/pages/MyAppointments/MyAppointments.dart +++ b/lib/pages/MyAppointments/MyAppointments.dart @@ -1,24 +1,24 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/filter_type.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/AppointmentType.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/my_tab_view.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/filter_type.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/AppointmentType.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/new_design/my_tab_view.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/MyAppointments/SchedulePage.dart b/lib/pages/MyAppointments/SchedulePage.dart index a307c868..dd8c59b5 100644 --- a/lib/pages/MyAppointments/SchedulePage.dart +++ b/lib/pages/MyAppointments/SchedulePage.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/medical_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/DoctorScheduleResponse.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/widgets/indicator.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/medical_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/DoctorScheduleResponse.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/widgets/indicator.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; @@ -248,28 +248,28 @@ class _SchedulePageState extends State { } } -// import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -// import 'package:diplomaticquarterapp/pages/MyAppointments/AppointmentDetails.dart'; +// import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +// import 'package:hmg_patient_app/pages/MyAppointments/AppointmentDetails.dart'; // -// import 'package:diplomaticquarterapp/pages/MyAppointments/models/DoctorScheduleResponse.dart'; -// import 'package:diplomaticquarterapp/pages/MyAppointments/widgets/indicator.dart'; -// import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -// import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -// import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -// import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -// import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +// import 'package:hmg_patient_app/pages/MyAppointments/models/DoctorScheduleResponse.dart'; +// import 'package:hmg_patient_app/pages/MyAppointments/widgets/indicator.dart'; +// import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +// import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +// import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +// import 'package:hmg_patient_app/uitl/date_uitl.dart'; +// import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; // import 'package:flutter/material.dart'; -// import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -// import 'package:diplomaticquarterapp/core/viewModels/medical/medical_view_model.dart'; -// import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -// import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -// import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -// import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -// import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -// import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -// import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; +// import 'package:hmg_patient_app/widgets/data_display/text.dart'; +// import 'package:hmg_patient_app/core/viewModels/medical/medical_view_model.dart'; +// import 'package:hmg_patient_app/pages/base/base_view.dart'; +// import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +// import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +// import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +// import 'package:hmg_patient_app/uitl/app_toast.dart'; +// import 'package:hmg_patient_app/uitl/date_uitl.dart'; +// import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; // import 'package:provider/provider.dart'; -// import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; +// import 'package:hmg_patient_app/core/enum/viewstate.dart'; // // class SchedulePage extends StatefulWidget { // DoctorList doctorList; diff --git a/lib/pages/MyAppointments/VisitTicket.dart b/lib/pages/MyAppointments/VisitTicket.dart index fd12e95b..bb0d670b 100644 --- a/lib/pages/MyAppointments/VisitTicket.dart +++ b/lib/pages/MyAppointments/VisitTicket.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/progress_indicator/app_circular_progress_Indeicator.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DoctorView.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/progress_indicator/app_circular_progress_Indeicator.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/MyAppointments/models/AppointmentType.dart b/lib/pages/MyAppointments/models/AppointmentType.dart index 1d0cc3d3..905ed533 100644 --- a/lib/pages/MyAppointments/models/AppointmentType.dart +++ b/lib/pages/MyAppointments/models/AppointmentType.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; class AppointmentType { static var BOOKED = 0; diff --git a/lib/pages/MyAppointments/models/ArrivedButtons.dart b/lib/pages/MyAppointments/models/ArrivedButtons.dart index 5cac41dd..232c2077 100644 --- a/lib/pages/MyAppointments/models/ArrivedButtons.dart +++ b/lib/pages/MyAppointments/models/ArrivedButtons.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; class ArrivedButtons { var buttons = [ diff --git a/lib/pages/MyAppointments/models/ArrivedButtonsAllowCheckIn.dart b/lib/pages/MyAppointments/models/ArrivedButtonsAllowCheckIn.dart index de9bc564..b1f15502 100644 --- a/lib/pages/MyAppointments/models/ArrivedButtonsAllowCheckIn.dart +++ b/lib/pages/MyAppointments/models/ArrivedButtonsAllowCheckIn.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; class ArrivedButtons { static var buttons = [ diff --git a/lib/pages/MyAppointments/models/BookedButtons.dart b/lib/pages/MyAppointments/models/BookedButtons.dart index 39aed7cc..9a4ec5d2 100644 --- a/lib/pages/MyAppointments/models/BookedButtons.dart +++ b/lib/pages/MyAppointments/models/BookedButtons.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; class BookedButtons { var buttons = [ diff --git a/lib/pages/MyAppointments/models/BookedButtonsAllowCheckIn.dart b/lib/pages/MyAppointments/models/BookedButtonsAllowCheckIn.dart index 1062eaf3..0cc7e36e 100644 --- a/lib/pages/MyAppointments/models/BookedButtonsAllowCheckIn.dart +++ b/lib/pages/MyAppointments/models/BookedButtonsAllowCheckIn.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; class BookedButtonsAllowCheckIn { var buttons = [ diff --git a/lib/pages/MyAppointments/models/ConfirmedButtons.dart b/lib/pages/MyAppointments/models/ConfirmedButtons.dart index d49723e9..6a7b6f61 100644 --- a/lib/pages/MyAppointments/models/ConfirmedButtons.dart +++ b/lib/pages/MyAppointments/models/ConfirmedButtons.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; class ConfirmedButtons { var buttons = [ diff --git a/lib/pages/MyAppointments/models/ConfirmedButtonsAllowCheckIn.dart b/lib/pages/MyAppointments/models/ConfirmedButtonsAllowCheckIn.dart index ed97a418..c6428b4e 100644 --- a/lib/pages/MyAppointments/models/ConfirmedButtonsAllowCheckIn.dart +++ b/lib/pages/MyAppointments/models/ConfirmedButtonsAllowCheckIn.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; class ConfirmedButtonsAllowCheckIn { var buttons = [ diff --git a/lib/pages/MyAppointments/widgets/AppointmentActions.dart b/lib/pages/MyAppointments/widgets/AppointmentActions.dart index f519353c..6b841b1c 100644 --- a/lib/pages/MyAppointments/widgets/AppointmentActions.dart +++ b/lib/pages/MyAppointments/widgets/AppointmentActions.dart @@ -1,44 +1,44 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/Prescriptions.dart'; -import 'package:diplomaticquarterapp/core/model/radiology/final_radiology.dart'; -import 'package:diplomaticquarterapp/core/viewModels/feedback/feedback_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/SearchInfoModel.dart'; -import 'package:diplomaticquarterapp/models/Appointments/appoDetailsButtons.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/DentalComplaints.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/reminder_dialog.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/AppointmentType.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/ArrivedButtons.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/AskDocRequestTypeModel.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/BookedButtons.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/BookedButtonsAllowCheckIn.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/ConfirmedButtons.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/ConfirmedButtonsAllowCheckIn.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/widgets/askDocDialog.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/ToDo.dart'; -import 'package:diplomaticquarterapp/pages/feedback/feedback_home_page.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_approval_screen.dart'; -import 'package:diplomaticquarterapp/pages/medical/labs/laboratory_result_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescription_items_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/radiology/radiology_details_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/vital_sign/vital_sign_details_screen.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/uitl/app-permissions.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/penguin_method_channel.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/core/model/labs/patient_lab_orders.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/Prescriptions.dart'; +import 'package:hmg_patient_app/core/model/radiology/final_radiology.dart'; +import 'package:hmg_patient_app/core/viewModels/feedback/feedback_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/SearchInfoModel.dart'; +import 'package:hmg_patient_app/models/Appointments/appoDetailsButtons.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/DentalComplaints.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/reminder_dialog.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/AppointmentType.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/ArrivedButtons.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/AskDocRequestTypeModel.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/BookedButtons.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/BookedButtonsAllowCheckIn.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/ConfirmedButtons.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/ConfirmedButtonsAllowCheckIn.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/widgets/askDocDialog.dart'; +import 'package:hmg_patient_app/pages/ToDoList/ToDo.dart'; +import 'package:hmg_patient_app/pages/feedback/feedback_home_page.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_approval_screen.dart'; +import 'package:hmg_patient_app/pages/medical/labs/laboratory_result_page.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescription_items_page.dart'; +import 'package:hmg_patient_app/pages/medical/radiology/radiology_details_page.dart'; +import 'package:hmg_patient_app/pages/medical/vital_sign/vital_sign_details_screen.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/uitl/app-permissions.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/penguin_method_channel.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:huawei_hmsavailability/huawei_hmsavailability.dart'; import 'package:huawei_map/huawei_map.dart' as hmsMap; diff --git a/lib/pages/MyAppointments/widgets/AppointmentCardView.dart b/lib/pages/MyAppointments/widgets/AppointmentCardView.dart index aec449b1..ae6235c1 100644 --- a/lib/pages/MyAppointments/widgets/AppointmentCardView.dart +++ b/lib/pages/MyAppointments/widgets/AppointmentCardView.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/models/AppointmentType.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/AppointmentType.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_countdown_timer/countdown_timer_controller.dart'; import 'package:flutter_countdown_timer/current_remaining_time.dart'; diff --git a/lib/pages/MyAppointments/widgets/PrescriptionReport.dart b/lib/pages/MyAppointments/widgets/PrescriptionReport.dart index 9f9588c1..0d52ee9a 100644 --- a/lib/pages/MyAppointments/widgets/PrescriptionReport.dart +++ b/lib/pages/MyAppointments/widgets/PrescriptionReport.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_enh.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescription_details_page.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_enh.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescription_details_page.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/MyAppointments/widgets/askDocDialog.dart b/lib/pages/MyAppointments/widgets/askDocDialog.dart index d341dadf..e8882cde 100644 --- a/lib/pages/MyAppointments/widgets/askDocDialog.dart +++ b/lib/pages/MyAppointments/widgets/askDocDialog.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/pages/MyAppointments/models/AskDocRequestTypeModel.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/AskDocRequestTypeModel.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; import 'package:flutter/material.dart'; import 'custom_radio.dart'; diff --git a/lib/pages/MyAppointments/widgets/custom_radio.dart b/lib/pages/MyAppointments/widgets/custom_radio.dart index 3ed0a18a..39a40da7 100644 --- a/lib/pages/MyAppointments/widgets/custom_radio.dart +++ b/lib/pages/MyAppointments/widgets/custom_radio.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/pages/MyAppointments/models/AskDocRequestTypeModel.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/widgets/askDocDialog.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/widgets/reminder_dialog.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/widgets/reminder_dialog_prescription.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/models/AskDocRequestTypeModel.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/widgets/askDocDialog.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/widgets/reminder_dialog.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/widgets/reminder_dialog_prescription.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; class CustomRadio extends StatefulWidget { diff --git a/lib/pages/MyAppointments/widgets/reminder_dialog.dart b/lib/pages/MyAppointments/widgets/reminder_dialog.dart index f7cfe802..ac9535c7 100644 --- a/lib/pages/MyAppointments/widgets/reminder_dialog.dart +++ b/lib/pages/MyAppointments/widgets/reminder_dialog.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/pages/MyAppointments/widgets/custom_radio.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/widgets/custom_radio.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; import 'package:flutter/material.dart'; import 'package:manage_calendar_events/manage_calendar_events.dart'; diff --git a/lib/pages/MyAppointments/widgets/reminder_dialog_prescription.dart b/lib/pages/MyAppointments/widgets/reminder_dialog_prescription.dart index fb11338d..6d8b1c0c 100644 --- a/lib/pages/MyAppointments/widgets/reminder_dialog_prescription.dart +++ b/lib/pages/MyAppointments/widgets/reminder_dialog_prescription.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/pages/MyAppointments/widgets/custom_radio.dart'; -import 'package:diplomaticquarterapp/uitl/CalendarUtils.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/widgets/custom_radio.dart'; +import 'package:hmg_patient_app/uitl/CalendarUtils.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; import 'package:flutter/material.dart'; class PrescriptionReminderDialog extends StatefulWidget { diff --git a/lib/pages/TestPage.dart b/lib/pages/TestPage.dart index 5c787014..54359fcc 100644 --- a/lib/pages/TestPage.dart +++ b/lib/pages/TestPage.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; import 'package:flutter/cupertino.dart'; class TestPage extends StatefulWidget{ diff --git a/lib/pages/ToDoList/ObGyne/ObGyne-TimeSlots.dart b/lib/pages/ToDoList/ObGyne/ObGyne-TimeSlots.dart new file mode 100644 index 00000000..ebb41a6c --- /dev/null +++ b/lib/pages/ToDoList/ObGyne/ObGyne-TimeSlots.dart @@ -0,0 +1,545 @@ +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/FreeSlot.dart'; +import 'package:hmg_patient_app/models/Appointments/OBGyneProcedureListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/timeSlot.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:flutter/material.dart'; +import 'package:intl/intl.dart'; +import 'package:provider/provider.dart'; +import 'package:syncfusion_flutter_calendar/calendar.dart'; + +class ObGyneTimeSlots extends StatefulWidget { + int projectID; + static bool areSlotsAvailable = false; + static late DateTime selectedAppoDateTime; + static late String selectedDate; + static late String selectedTime; + + late int? selectedClinicID; + late int? selectedDoctorID; + + late OBGyneProcedureListResponse? obGyneProcedureListResponse; + + var language; + + ObGyneTimeSlots({required this.projectID, this.selectedClinicID, this.selectedDoctorID, this.obGyneProcedureListResponse}); + + @override + _CovidTimeSlotsState createState() => _CovidTimeSlotsState(); +} + +class _CovidTimeSlotsState extends State with TickerProviderStateMixin { + Map? _events; + AnimationController? _animationController; + CalendarController? _calendarController; + + AppSharedPreferences sharedPref = new AppSharedPreferences(); + + var selectedDate = ""; + dynamic selectedDateJSON; + dynamic jsonFreeSlots; + + List docFreeSlots = []; + List dayEvents = []; + + int selectedButtonIndex = 0; + + dynamic freeSlotsResponse; + + ScrollController? _scrollController; + + ToDoCountProviderModel? toDoProvider; + ProjectViewModel? projectViewModel; + + @override + void initState() { + final _selectedDay = DateTime.now(); + + _scrollController = new ScrollController(); + + _events = { + _selectedDay: ['Event A0'] + }; + + WidgetsBinding.instance.addPostFrameCallback((_) => getCovidFreeSlots(context, widget.projectID)); + + _calendarController = CalendarController(); + _animationController = AnimationController( + vsync: this, + duration: const Duration(milliseconds: 50), + ); + + _animationController!.forward(); + super.initState(); + } + + @override + void dispose() { + _animationController!.dispose(); + _calendarController!.dispose(); + super.dispose(); + } + + void _onDaySelected(DateTime day, ProjectViewModel projectViewModel) { + final DateFormat formatter = DateFormat('yyyy-MM-dd'); + setState(() { + this.selectedDate = DateUtil.getWeekDayMonthDayYearDateFormatted(day, projectViewModel.isArabic ? "ar" : "en"); + openTimeSlotsPickerForDate(day, docFreeSlots); + ObGyneTimeSlots.selectedDate = formatter.format(day); + _calendarController!.selectedDate = day; + print(ObGyneTimeSlots.selectedDate); + }); + } + + @override + Widget build(BuildContext context) { + projectViewModel = Provider.of(context); + toDoProvider = Provider.of(context); + return AppScaffold( + appBarTitle: TranslationBase.of(context).bookAppo, + isShowAppBar: true, + showNewAppBar: true, + showNewAppBarTitle: true, + backgroundColor: CustomColors.appBackgroudGrey2Color, + body: Column( + children: [ + Expanded( + child: SingleChildScrollView( + child: Container( + margin: EdgeInsets.fromLTRB(15.0, 15.0, 15.0, 0.0), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.max, + children: [ + Text( + TranslationBase.of(context).selectAppo, + style: TextStyle( + color: Colors.black, + fontSize: 16.0, + letterSpacing: -0.64, + fontWeight: FontWeight.w600, + ), + ), + mHeight(12), + Container( + decoration: cardRadius(12), + child: _buildTableCalendarWithBuilders(projectViewModel!), + ), + mHeight(12), + Text( + selectedDate, + style: TextStyle( + fontSize: 16.0, + fontWeight: FontWeight.bold, + letterSpacing: -0.64, + ), + ), + mHeight(8), + ObGyneTimeSlots.areSlotsAvailable + ? Container( + height: 40, + child: ListView.builder( + controller: _scrollController, + scrollDirection: Axis.horizontal, + itemCount: dayEvents.length, + itemBuilder: (context, index) { + return Container( + margin: EdgeInsets.only(right: (index == dayEvents.length - 1) ? 0 : 5.0, left: index == 0 ? 0 : 5), + child: ButtonTheme( + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(5.0), + side: BorderSide( + color: index == selectedButtonIndex ? CustomColors.green : Colors.black, //Color of the border + style: BorderStyle.solid, //Style of the border + width: 1.5, //width of the border + ), + ), + minWidth: MediaQuery.of(context).size.width * 0.2, + child: index == selectedButtonIndex ? getSelectedButton(index) : getNormalButton(index)), + ); + }, + ), + ) + : Center( + child: Padding( + padding: const EdgeInsets.only(left: 12.0, right: 12.0), + child: Text(TranslationBase.of(context).noSlotsError, style: TextStyle(fontSize: 14.0, fontWeight: FontWeight.w600, letterSpacing: -0.46, color: CustomColors.grey)), + )), + ], + ), + ), + SizedBox( + height: 100.0, + ), + ], + ), + ), + ), + ), + Container( + margin: EdgeInsets.zero, + decoration: cardRadius(0), + child: Container( + width: double.infinity, + padding: EdgeInsets.all(12), + child: ButtonTheme( + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(10.0), + ), + minWidth: MediaQuery.of(context).size.width * 0.7, + height: 45.0, + child: CustomTextButton( + backgroundColor: CustomColors.green, + disabledForegroundColor: Colors.grey[500]!.withOpacity(0.38), + disabledBackgroundColor: Colors.grey[500]!.withOpacity(0.12), + elevation: 0, + onPressed: () { + bookCovidTestAppointment(); + }, + child: Text( + TranslationBase.of(context).bookAppo, + style: TextStyle(fontSize: 16.0, letterSpacing: -0.64, color: Colors.white), + ), + ), + ), + ), + ) + ], + ), + ); + } + + Widget _buildTableCalendarWithBuilders(ProjectViewModel projectViewModel) { + return SfCalendar( + controller: _calendarController, + minDate: DateTime.now(), + showNavigationArrow: true, + headerStyle: CalendarHeaderStyle(textAlign: TextAlign.center, textStyle: TextStyle(fontSize: 14.0, fontWeight: FontWeight.w600, letterSpacing: -0.46)), + viewHeaderStyle: ViewHeaderStyle(dayTextStyle: TextStyle(fontSize: 12.0, fontWeight: FontWeight.w600, letterSpacing: -0.46, color: CustomColors.black)), + view: CalendarView.month, + todayHighlightColor: CustomColors.green, + selectionDecoration: containerColorRadiusBorderWidthCircular(Colors.transparent, 4, CustomColors.green, 2.5), + cellBorderColor: Colors.white, + dataSource: MeetingDataSource(_getDataSource()), + monthViewSettings: const MonthViewSettings(appointmentDisplayMode: MonthAppointmentDisplayMode.indicator, showTrailingAndLeadingDates: false, appointmentDisplayCount: 1), + onTap: (CalendarTapDetails details) { + _calendarController!.selectedDate = details.date; + _onDaySelected(details.date!, projectViewModel); + }, + ); + } + + List _getDataSource() { + final List meetings = []; + _events!.forEach((key, value) { + final DateTime startTime = DateTime(key.year, key.month, key.day, 9, 0, 0); + final DateTime endTime = startTime.add(const Duration(minutes: 20)); + meetings.add(Meeting("", startTime, endTime, CustomColors.green, false, "")); + }); + return meetings; + } + + openTimeSlotsPickerForDate(DateTime dateStart, List freeSlots) { + dayEvents.clear(); + DateTime dateStartObj = new DateTime(dateStart.year, dateStart.month, dateStart.day, 0, 0, 0, 0, 0); + + freeSlots.forEach((v) { + if (v.start == dateStartObj) dayEvents.add(v); + }); + + setState(() { + if (dayEvents.length != 0) { + ObGyneTimeSlots.areSlotsAvailable = true; + selectedButtonIndex = 0; + ObGyneTimeSlots.selectedTime = dayEvents![selectedButtonIndex]!.isoTime!; + } else + ObGyneTimeSlots.areSlotsAvailable = false; + }); + } + + Future> _getJSONSlots() async { + Map _eventsParsed; + List slotsList = []; + DateTime date; + final DateFormat formatter = DateFormat('HH:mm'); + final DateFormat dateFormatter = DateFormat('yyyy-MM-dd'); + for (var i = 0; i < freeSlotsResponse.length; i++) { + date = DateUtil.convertStringToDate(freeSlotsResponse[i]); + slotsList.add(FreeSlot(date, ['slot'])); + docFreeSlots.add(TimeSlot(isoTime: formatter.format(date), start: new DateTime(date.year, date.month, date.day, 0, 0, 0, 0), end: date)); + } + _eventsParsed = Map.fromIterable(slotsList, key: (e) => e.slot, value: (e) => e.event); + setState(() { + ObGyneTimeSlots.selectedDate = dateFormatter.format(DateUtil.convertStringToDate(freeSlotsResponse[0])); + selectedDate = DateUtil.getMonthDayYearDateFormatted(DateUtil.convertStringToDate(freeSlotsResponse[0])); + selectedDateJSON = freeSlotsResponse[0]; + }); + openTimeSlotsPickerForDate(DateUtil.convertStringToDate(selectedDateJSON), docFreeSlots); + _calendarController!.selectedDate = DateUtil.convertStringToDate(selectedDateJSON); + return _eventsParsed; + } + + Widget getNormalButton(int index) { + return CustomTextButton( + backgroundColor: Colors.white, + elevation: 0, + onPressed: () { + setState(() { + selectedButtonIndex = index; + ObGyneTimeSlots.selectedTime = dayEvents[index].isoTime!; + print(ObGyneTimeSlots.selectedTime); + }); + }, + child: Text(dayEvents[index].isoTime!, style: TextStyle(fontSize: 12.0, fontWeight: FontWeight.bold, color: Color(0xFF60686b))), + ); + } + + Widget getSelectedButton(int index) { + return CustomTextButton( + backgroundColor: CustomColors.green, + elevation: 0, + onPressed: () { + setState(() { + selectedButtonIndex = index; + ObGyneTimeSlots.selectedTime = dayEvents[index].isoTime!; + print(ObGyneTimeSlots.selectedTime); + }); + }, + child: Text(dayEvents[index].isoTime!, style: TextStyle(fontSize: 12.0, fontWeight: FontWeight.bold, color: Colors.white)), + ); + } + + bookCovidTestAppointment() { + if (ObGyneTimeSlots.areSlotsAvailable) { + GifLoaderDialogUtils.showMyDialog(context); + DoctorList docObject = new DoctorList(); + docObject.doctorID = widget.selectedDoctorID; + docObject.clinicID = widget.selectedClinicID; + docObject.projectID = widget.projectID; + insertAppointmentCovidTest(context, docObject); + } else { + AppToast.showErrorToast(message: TranslationBase.of(context).selectSlot); + } + } + + // updateCovidQuestionnaire(context, String appoNo) async { + // DoctorsListService service = new DoctorsListService(); + // service.updateCovidQuestionnaire(appoNo, widget.projectID, widget.selectedProject.testTypeEnum, widget.selectedProject.testProcedureEnum).then((res) {}).catchError((err) { + // print(err); + // }); + // } + + insertAppointmentCovidTest(context, DoctorList docObject) { + DoctorsListService service = new DoctorsListService(); + AppoitmentAllHistoryResultList appo; + service + .insertAppointment(docObject.doctorID!, docObject.clinicID!, docObject.projectID!, ObGyneTimeSlots.selectedTime, ObGyneTimeSlots.selectedDate, 0, projectViewModel!.isArabic ? 1 : 2, context, + widget.obGyneProcedureListResponse!.procedureId) + .then((res) { + if (res['MessageStatus'] == 1) { + AppToast.showSuccessToast(message: TranslationBase.of(context).bookedSuccess); + updateObGyneAppointment(res['AppointmentNo']); + getToDoCount(); + // getPatientShare(context, res['AppointmentNo'], docObject.clinicID, docObject.projectID, docObject); + } else { + GifLoaderDialogUtils.hideDialog(context); + appo = new AppoitmentAllHistoryResultList(); + appo.appointmentNo = res['SameClinicApptList'][0]['AppointmentNo']; + appo.clinicID = res['SameClinicApptList'][0]['DoctorID']; + appo.projectID = res['SameClinicApptList'][0]['ProjectID']; + appo.endTime = res['SameClinicApptList'][0]['EndTime']; + appo.startTime = res['SameClinicApptList'][0]['StartTime']; + appo.doctorID = res['SameClinicApptList'][0]['DoctorID']; + appo.isLiveCareAppointment = false; + appo.originalClinicID = 0; + appo.originalProjectID = 0; + appo.appointmentDate = res['SameClinicApptList'][0]['AppointmentDate']; + + ConfirmDialog dialog = new ConfirmDialog( + context: context, + confirmMessage: res['ErrorEndUserMessage'], + okText: TranslationBase.of(context).confirm, + cancelText: TranslationBase.of(context).cancel_nocaps, + okFunction: () => {cancelAppointment(docObject, appo, context)}, + cancelFunction: () => {}); + dialog.showAlertDialog(context); + } + }).catchError((err) { + AppToast.showErrorToast(message: err); + GifLoaderDialogUtils.hideDialog(context); + print(err); + }); + } + + updateObGyneAppointment(String appoNo) { + DoctorsListService service = new DoctorsListService(); + service + .updateObGyneAppointment(widget.obGyneProcedureListResponse!.episodeID!, int.parse(appoNo), widget.obGyneProcedureListResponse!.orderNo!, widget.obGyneProcedureListResponse!.procedureId!, + widget.obGyneProcedureListResponse!.lineItemNo!, widget.obGyneProcedureListResponse!.uniqueRowID!, projectViewModel!.isArabic ? 1 : 2) + .then((res) {}) + .catchError((err) { + print(err); + }); + } + + getToDoCount() { + toDoProvider!.setState(0, 0, true, toDoProvider!.notificationsCount); + ClinicListService service = new ClinicListService(); + service.getActiveAppointmentNo(context).then((res) { + GifLoaderDialogUtils.hideDialog(context); + print(res['AppointmentActiveNumber']); + if (res['MessageStatus'] == 1) { + // toDoProvider.setState(res['AppointmentActiveNumber'], true, toDoProvider.notificationsCount); + toDoProvider!.setState(res['AppointmentActiveNumber'], res['AncillaryOrderListCount'], true, toDoProvider!.notificationsCount); + } else {} + Navigator.pushAndRemoveUntil( + context, + MaterialPageRoute(builder: (context) => LandingPage()), + (Route route) => false, + ); + }).catchError((err) { + GifLoaderDialogUtils.hideDialog(context); + print(err); + }); + } + + cancelAppointment(DoctorList docObject, AppoitmentAllHistoryResultList appo, BuildContext context) { + ConfirmDialog.closeAlertDialog(context); + GifLoaderDialogUtils.showMyDialog(context); + DoctorsListService service = new DoctorsListService(); + service.cancelAppointment(appo, context).then((res) { + if (res['MessageStatus'] == 1) { + // Future.delayed(new Duration(milliseconds: 1500), () { + insertAppointmentCovidTest(context, docObject); + // }); + } else { + GifLoaderDialogUtils.hideDialog(context); + AppToast.showErrorToast(message: res['ErrorEndUserMessage']); + } + }).catchError((err) { + print(err); + }); + } + + // getPatientShare(context, String appointmentNo, int clinicID, int projectID, DoctorList docObject) { + // DoctorsListService service = new DoctorsListService(); + // service.getPatientShare(appointmentNo, clinicID, projectID, context).then((res) { + // GifLoaderDialogUtils.hideDialog(context); + // print(res); + // widget.patientShareResponse = new PatientShareResponse.fromJson(res); + // // updateCovidQuestionnaire(context, appointmentNo); + // navigateToPaymentAlert(); + // }).catchError((err) { + // GifLoaderDialogUtils.hideDialog(context); + // print(err); + // }); + // } + // + // navigateToPaymentAlert() { + // Navigator.push( + // context, + // FadePage( + // page: CovidPaymentAlert(patientShareResponse: widget.patientShareResponse), + // ), + // ); + // } + + getCovidFreeSlots(BuildContext context, int projectID) { + DoctorsListService service = new DoctorsListService(); + GifLoaderDialogUtils.showMyDialog(context); + service.getDoctorFreeSlots(widget.selectedDoctorID!, widget.selectedClinicID!, widget.projectID, false, context).then((res) { + GifLoaderDialogUtils.hideDialog(context); + if (res['MessageStatus'] == 1) { + if (res['FreeTimeSlots'].length != 0) { + print(res['FreeTimeSlots']); + freeSlotsResponse = res['FreeTimeSlots']; + _getJSONSlots().then((value) => { + setState(() => { + _events!.clear(), + _events = value, + // if (widget.doctorSchedule != null) + // {_onDaySelected(DateUtil.convertStringToDate(widget.doctorSchedule['Date'])), _calendarController.selectedDate = DateUtil.convertStringToDate(widget.doctorSchedule['Date'])} + }) + }); + } else {} + } else { + GifLoaderDialogUtils.hideDialog(context); + AppToast.showErrorToast(message: res['ErrorEndUserMessage']); + } + }).catchError((err) { + GifLoaderDialogUtils.hideDialog(context); + AppToast.showErrorToast(message: err.toString()); + print(err); + }); + } +} + +class MeetingDataSource extends CalendarDataSource { + MeetingDataSource(List source) { + appointments = source; + } + + @override + DateTime getStartTime(int index) { + return _getMeetingData(index)!.from!; + } + + @override + DateTime getEndTime(int index) { + return _getMeetingData(index)!.to!; + } + + @override + String getSubject(int index) { + return _getMeetingData(index)!.eventName; + } + + @override + Color getColor(int index) { + return _getMeetingData(index)!.background; + } + + @override + bool isAllDay(int index) { + return _getMeetingData(index)!.isAllDay; + } + + Meeting? _getMeetingData(int index) { + final dynamic meeting = appointments![index]; + Meeting? meetingData; + if (meeting is Meeting) { + meetingData = meeting; + } + return meetingData!; + } +} + +class Meeting { + Meeting(this.eventName, this.from, this.to, this.background, this.isAllDay, this.notes); + + String eventName; + DateTime from; + DateTime to; + Color background; + bool isAllDay; + String notes; +} diff --git a/lib/pages/ToDoList/ToDo.dart b/lib/pages/ToDoList/ToDo.dart index c5d99320..753ed6c9 100644 --- a/lib/pages/ToDoList/ToDo.dart +++ b/lib/pages/ToDoList/ToDo.dart @@ -1,51 +1,51 @@ import 'dart:developer'; import 'dart:io'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/PayfortEnums.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/OBGyneProcedureListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ApplePayInsertRequest.dart'; -import 'package:diplomaticquarterapp/models/anicllary-orders/ancillary_order_list_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart'; -import 'package:diplomaticquarterapp/pages/Blood/blood_donation_appointment_terms_conditions.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/QRCode.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/AppointmentDetails.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/payment_method_select.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/widgets/paymentDialog.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_project_details_resp_model.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app-permissions.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/penguin_method_channel.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/PayfortEnums.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/OBGyneProcedureListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/LiveCare/ApplePayInsertRequest.dart'; +import 'package:hmg_patient_app/models/anicllary-orders/ancillary_order_list_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrdersDetails.dart'; +import 'package:hmg_patient_app/pages/Blood/blood_donation_appointment_terms_conditions.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/QRCode.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/AppointmentDetails.dart'; +import 'package:hmg_patient_app/pages/ToDoList/payment_method_select.dart'; +import 'package:hmg_patient_app/pages/ToDoList/widgets/paymentDialog.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_project_details_resp_model.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app-permissions.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/penguin_method_channel.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_countdown_timer/countdown_timer_controller.dart'; import 'package:flutter_countdown_timer/current_remaining_time.dart'; diff --git a/lib/pages/ToDoList/payment_method_select.dart b/lib/pages/ToDoList/payment_method_select.dart index 5adcb90f..550e08a6 100644 --- a/lib/pages/ToDoList/payment_method_select.dart +++ b/lib/pages/ToDoList/payment_method_select.dart @@ -1,15 +1,15 @@ import 'dart:async'; import 'dart:io'; -import 'package:diplomaticquarterapp/core/model/my_balance/tamara_installment_details.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/my_balance/tamara_installment_details.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/ToDoList/widgets/paymentDialog.dart b/lib/pages/ToDoList/widgets/paymentDialog.dart index 0f05dab0..002b2baf 100644 --- a/lib/pages/ToDoList/widgets/paymentDialog.dart +++ b/lib/pages/ToDoList/widgets/paymentDialog.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; class PaymentDialog extends StatefulWidget { diff --git a/lib/pages/ToDoList/widgets/upcomingCard.dart b/lib/pages/ToDoList/widgets/upcomingCard.dart index fa3e4a39..5fbc5d5e 100644 --- a/lib/pages/ToDoList/widgets/upcomingCard.dart +++ b/lib/pages/ToDoList/widgets/upcomingCard.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/appUpdatePage/app_update_page.dart b/lib/pages/appUpdatePage/app_update_page.dart index d9ecb3df..9cfb782b 100644 --- a/lib/pages/appUpdatePage/app_update_page.dart +++ b/lib/pages/appUpdatePage/app_update_page.dart @@ -1,8 +1,8 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:in_app_update/in_app_update.dart'; diff --git a/lib/pages/base/base_view.dart b/lib/pages/base/base_view.dart index cede7732..e6ce61da 100644 --- a/lib/pages/base/base_view.dart +++ b/lib/pages/base/base_view.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/conference/conference_button_bar.dart b/lib/pages/conference/conference_button_bar.dart index 1b80c3d5..766e3e3b 100644 --- a/lib/pages/conference/conference_button_bar.dart +++ b/lib/pages/conference/conference_button_bar.dart @@ -1,7 +1,7 @@ import 'dart:async'; import 'package:after_layout/after_layout.dart'; -import 'package:diplomaticquarterapp/pages/conference/widgets/circle_button.dart'; +import 'package:hmg_patient_app/pages/conference/widgets/circle_button.dart'; import 'package:flutter/material.dart'; class ConferenceButtonBar extends StatefulWidget { diff --git a/lib/pages/conference/conference_page.dart b/lib/pages/conference/conference_page.dart index 3e5ebe41..ed3205ed 100644 --- a/lib/pages/conference/conference_page.dart +++ b/lib/pages/conference/conference_page.dart @@ -1,13 +1,13 @@ // import 'dart:async'; // -// import 'package:diplomaticquarterapp/models/LiveCare/room_model.dart'; -// import 'package:diplomaticquarterapp/pages/conference/conference_button_bar.dart'; -// import 'package:diplomaticquarterapp/pages/conference/conference_room.dart'; -// import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -// import 'package:diplomaticquarterapp/pages/conference/draggable_publisher.dart'; -// import 'package:diplomaticquarterapp/pages/conference/participant_widget.dart'; -// import 'package:diplomaticquarterapp/pages/conference/widgets/noise_box.dart'; -// import 'package:diplomaticquarterapp/pages/conference/widgets/platform_alert_dialog.dart'; +// import 'package:hmg_patient_app/models/LiveCare/room_model.dart'; +// import 'package:hmg_patient_app/pages/conference/conference_button_bar.dart'; +// import 'package:hmg_patient_app/pages/conference/conference_room.dart'; +// import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +// import 'package:hmg_patient_app/pages/conference/draggable_publisher.dart'; +// import 'package:hmg_patient_app/pages/conference/participant_widget.dart'; +// import 'package:hmg_patient_app/pages/conference/widgets/noise_box.dart'; +// import 'package:hmg_patient_app/pages/conference/widgets/platform_alert_dialog.dart'; // import 'package:flutter/material.dart'; // import 'package:flutter/services.dart'; // import 'package:wakelock/wakelock.dart'; diff --git a/lib/pages/conference/conference_room.dart b/lib/pages/conference/conference_room.dart index b68f8ee8..ef029502 100644 --- a/lib/pages/conference/conference_room.dart +++ b/lib/pages/conference/conference_room.dart @@ -1,7 +1,7 @@ // import 'dart:async'; // import 'dart:typed_data'; // -// import 'package:diplomaticquarterapp/pages/conference/participant_widget.dart'; +// import 'package:hmg_patient_app/pages/conference/participant_widget.dart'; // import 'package:flutter/material.dart'; // import 'package:flutter/services.dart'; // diff --git a/lib/pages/conference/draggable_publisher.dart b/lib/pages/conference/draggable_publisher.dart index 94c15af9..a19d6195 100644 --- a/lib/pages/conference/draggable_publisher.dart +++ b/lib/pages/conference/draggable_publisher.dart @@ -1,7 +1,7 @@ import 'dart:async'; import 'dart:io'; -import 'package:diplomaticquarterapp/pages/conference/clipped_video.dart'; +import 'package:hmg_patient_app/pages/conference/clipped_video.dart'; import 'package:flutter/material.dart'; class DraggablePublisher extends StatefulWidget { diff --git a/lib/pages/conference/web_rtc/call_home_page.dart b/lib/pages/conference/web_rtc/call_home_page.dart index dd841a6c..bf04c368 100644 --- a/lib/pages/conference/web_rtc/call_home_page.dart +++ b/lib/pages/conference/web_rtc/call_home_page.dart @@ -1,8 +1,8 @@ // import 'dart:async'; // -// import 'package:diplomaticquarterapp/pages/conference/web_rtc/widgets/cam_view_widget.dart'; -// import 'package:diplomaticquarterapp/pages/conference/widgets/noise_box.dart'; -// import 'package:diplomaticquarterapp/pages/webRTC/signaling.dart'; +// import 'package:hmg_patient_app/pages/conference/web_rtc/widgets/cam_view_widget.dart'; +// import 'package:hmg_patient_app/pages/conference/widgets/noise_box.dart'; +// import 'package:hmg_patient_app/pages/webRTC/signaling.dart'; // import 'package:flutter/material.dart'; // import 'package:flutter/services.dart'; // // import 'package:flutter_webrtc/flutter_webrtc.dart'; diff --git a/lib/pages/conference/web_rtc/call_home_page_.dart b/lib/pages/conference/web_rtc/call_home_page_.dart index 13dbfb35..32fa0a28 100644 --- a/lib/pages/conference/web_rtc/call_home_page_.dart +++ b/lib/pages/conference/web_rtc/call_home_page_.dart @@ -1,9 +1,9 @@ // import 'dart:async'; // import 'dart:convert'; // -// import 'package:diplomaticquarterapp/pages/conference/web_rtc/widgets/cam_view_widget.dart'; -// import 'package:diplomaticquarterapp/pages/conference/widgets/noise_box.dart'; -// import 'package:diplomaticquarterapp/pages/webRTC/signaling.dart'; +// import 'package:hmg_patient_app/pages/conference/web_rtc/widgets/cam_view_widget.dart'; +// import 'package:hmg_patient_app/pages/conference/widgets/noise_box.dart'; +// import 'package:hmg_patient_app/pages/webRTC/signaling.dart'; // import 'package:flutter/material.dart'; // import 'package:flutter/services.dart'; // import 'package:flutter_webrtc/flutter_webrtc.dart'; diff --git a/lib/pages/conference/web_rtc/widgets/cam_view_widget.dart b/lib/pages/conference/web_rtc/widgets/cam_view_widget.dart index d9d030a7..c223c323 100644 --- a/lib/pages/conference/web_rtc/widgets/cam_view_widget.dart +++ b/lib/pages/conference/web_rtc/widgets/cam_view_widget.dart @@ -1,7 +1,7 @@ // import 'dart:async'; // import 'dart:core'; // -// import 'package:diplomaticquarterapp/pages/conference/widgets/noise_box.dart'; +// import 'package:hmg_patient_app/pages/conference/widgets/noise_box.dart'; // import 'package:flutter/material.dart'; // import 'package:flutter_webrtc/flutter_webrtc.dart'; // diff --git a/lib/pages/conference/web_rtc/widgets/draggable_cam.dart b/lib/pages/conference/web_rtc/widgets/draggable_cam.dart index 2fef0dad..7be690ad 100644 --- a/lib/pages/conference/web_rtc/widgets/draggable_cam.dart +++ b/lib/pages/conference/web_rtc/widgets/draggable_cam.dart @@ -1,7 +1,7 @@ import 'dart:async'; import 'dart:io'; -import 'package:diplomaticquarterapp/pages/conference/clipped_video.dart'; +import 'package:hmg_patient_app/pages/conference/clipped_video.dart'; import 'package:flutter/material.dart'; class DraggableCam extends StatefulWidget { diff --git a/lib/pages/conference/zoom/call_screen.dart b/lib/pages/conference/zoom/call_screen.dart index 1d71d72c..72e502c7 100644 --- a/lib/pages/conference/zoom/call_screen.dart +++ b/lib/pages/conference/zoom/call_screen.dart @@ -1,8 +1,8 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io'; -import 'package:diplomaticquarterapp/pages/conference/zoom/jwt.dart'; -import 'package:diplomaticquarterapp/pages/conference/zoom/video_view.dart'; +import 'package:hmg_patient_app/pages/conference/zoom/jwt.dart'; +import 'package:hmg_patient_app/pages/conference/zoom/video_view.dart'; import 'package:events_emitter/events_emitter.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; diff --git a/lib/pages/conference/zoom/jwt.dart b/lib/pages/conference/zoom/jwt.dart index c9d373bd..23c4f546 100644 --- a/lib/pages/conference/zoom/jwt.dart +++ b/lib/pages/conference/zoom/jwt.dart @@ -1,7 +1,7 @@ import 'dart:math'; import 'package:dart_jsonwebtoken/dart_jsonwebtoken.dart'; -import 'package:diplomaticquarterapp/pages/conference/zoom/zoom_config.dart'; +import 'package:hmg_patient_app/pages/conference/zoom/zoom_config.dart'; String makeId(int length) { String result = ""; diff --git a/lib/pages/feedback/appointment_history.dart b/lib/pages/feedback/appointment_history.dart index 69bd54e8..beee5e1b 100644 --- a/lib/pages/feedback/appointment_history.dart +++ b/lib/pages/feedback/appointment_history.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; class AppointmentHistory { String? setupID; diff --git a/lib/pages/feedback/feedback-detail.dart b/lib/pages/feedback/feedback-detail.dart index e303ed39..f553cc6c 100644 --- a/lib/pages/feedback/feedback-detail.dart +++ b/lib/pages/feedback/feedback-detail.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/model/feedback/COC_items.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/feedback/COC_items.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class FeedbackDetails extends StatelessWidget { diff --git a/lib/pages/feedback/feedback_home_page.dart b/lib/pages/feedback/feedback_home_page.dart index d6bd5932..3cd5f41a 100644 --- a/lib/pages/feedback/feedback_home_page.dart +++ b/lib/pages/feedback/feedback_home_page.dart @@ -1,11 +1,11 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/viewModels/feedback/feedback_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/pages/feedback/send_feedback_page.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/feedback/feedback_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/pages/feedback/send_feedback_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/feedback/send_feedback_page.dart b/lib/pages/feedback/send_feedback_page.dart index 595f6cd6..c24724bc 100644 --- a/lib/pages/feedback/send_feedback_page.dart +++ b/lib/pages/feedback/send_feedback_page.dart @@ -1,25 +1,25 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/feedback/feedback_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/services/robo_search/event_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/bottom_options/BottomSheet.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/floating_button_search.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/viewModels/feedback/feedback_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/services/robo_search/event_provider.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/bottom_options/BottomSheet.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/floating_button_search.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; diff --git a/lib/pages/feedback/status_feedback_page.dart b/lib/pages/feedback/status_feedback_page.dart index 28c8fb52..0f4f4169 100644 --- a/lib/pages/feedback/status_feedback_page.dart +++ b/lib/pages/feedback/status_feedback_page.dart @@ -1,19 +1,19 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/feedback/COC_items.dart'; -import 'package:diplomaticquarterapp/core/viewModels/feedback/feedback_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/feedback/feedback-detail.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/mobile-no/mobile_no.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/feedback/COC_items.dart'; +import 'package:hmg_patient_app/core/viewModels/feedback/feedback_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/feedback/feedback-detail.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/mobile-no/mobile_no.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/final_products_page.dart b/lib/pages/final_products_page.dart index 4432cb1c..68082a9c 100644 --- a/lib/pages/final_products_page.dart +++ b/lib/pages/final_products_page.dart @@ -1,21 +1,21 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacy_categorise_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/cart-page/cart-order-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/product-detail.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart' as utils; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/StarRating.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacy_categorise_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/cart-page/cart-order-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/product-detail.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart' as utils; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/StarRating.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/insurance/AttachInsuranceCardImageDialog.dart b/lib/pages/insurance/AttachInsuranceCardImageDialog.dart index 93e74183..dc0def67 100644 --- a/lib/pages/insurance/AttachInsuranceCardImageDialog.dart +++ b/lib/pages/insurance/AttachInsuranceCardImageDialog.dart @@ -1,12 +1,12 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/pages/insurance/UpdateInsuranceManually.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/bottom_options/BottomSheet.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/pages/insurance/UpdateInsuranceManually.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/bottom_options/BottomSheet.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/insurance/UpdateInsuranceManually.dart b/lib/pages/insurance/UpdateInsuranceManually.dart index 637d7c5f..d12fae74 100644 --- a/lib/pages/insurance/UpdateInsuranceManually.dart +++ b/lib/pages/insurance/UpdateInsuranceManually.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/model/insurance/insuranceManualUpdateRequest.dart'; -import 'package:diplomaticquarterapp/core/service/insurance_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/insurance/getInsuranceCompaniesModel.dart'; -import 'package:diplomaticquarterapp/models/insurance/insuranceCompaniesSchemeModel.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/new_text_Field.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/insurance/insuranceManualUpdateRequest.dart'; +import 'package:hmg_patient_app/core/service/insurance_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/insurance/getInsuranceCompaniesModel.dart'; +import 'package:hmg_patient_app/models/insurance/insuranceCompaniesSchemeModel.dart'; +import 'package:hmg_patient_app/pages/medical/balance/new_text_Field.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/insurance/insurance_approval_detail_screen.dart b/lib/pages/insurance/insurance_approval_detail_screen.dart index b17da0cf..055de463 100644 --- a/lib/pages/insurance/insurance_approval_detail_screen.dart +++ b/lib/pages/insurance/insurance_approval_detail_screen.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/insurance/insurance_approval.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/insurance/insurance_approval.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/insurance/insurance_approval_screen.dart b/lib/pages/insurance/insurance_approval_screen.dart index d19a16db..1fcd4429 100644 --- a/lib/pages/insurance/insurance_approval_screen.dart +++ b/lib/pages/insurance/insurance_approval_screen.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/insurance_card_View_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/insurance_card_View_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/insurance/insurance_card_screen.dart b/lib/pages/insurance/insurance_card_screen.dart index fbe0c87e..ed3814aa 100644 --- a/lib/pages/insurance/insurance_card_screen.dart +++ b/lib/pages/insurance/insurance_card_screen.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/service/insurance_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/insurance_card_View_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_details.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/service/insurance_service.dart'; +import 'package:hmg_patient_app/core/viewModels/insurance_card_View_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_details.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/insurance/insurance_card_update_details.dart b/lib/pages/insurance/insurance_card_update_details.dart index fc0e1a78..2f764b26 100644 --- a/lib/pages/insurance/insurance_card_update_details.dart +++ b/lib/pages/insurance/insurance_card_update_details.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/insurance/Insurance_card_details.dart'; -import 'package:diplomaticquarterapp/core/viewModels/insurance_card_View_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/insurance/Insurance_card_details.dart'; +import 'package:hmg_patient_app/core/viewModels/insurance_card_View_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/insurance/insurance_details.dart b/lib/pages/insurance/insurance_details.dart index 9f456f63..c3e00030 100644 --- a/lib/pages/insurance/insurance_details.dart +++ b/lib/pages/insurance/insurance_details.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_html/flutter_html.dart'; diff --git a/lib/pages/insurance/insurance_page.dart b/lib/pages/insurance/insurance_page.dart index 3ec71a0f..9cebfa52 100644 --- a/lib/pages/insurance/insurance_page.dart +++ b/lib/pages/insurance/insurance_page.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/service/insurance_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/insurance_card_View_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/insurance/UpdateInsuranceManually.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/service/insurance_service.dart'; +import 'package:hmg_patient_app/core/viewModels/insurance_card_View_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/insurance/UpdateInsuranceManually.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/insurance/insurance_update_screen.dart b/lib/pages/insurance/insurance_update_screen.dart index 4c4d5686..7f2ad81a 100644 --- a/lib/pages/insurance/insurance_update_screen.dart +++ b/lib/pages/insurance/insurance_update_screen.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/insurance_card_View_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/insurance_card_View_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/landing/fragments/home_page_fragment2.dart b/lib/pages/landing/fragments/home_page_fragment2.dart index d01554ea..f71122ff 100644 --- a/lib/pages/landing/fragments/home_page_fragment2.dart +++ b/lib/pages/landing/fragments/home_page_fragment2.dart @@ -1,24 +1,24 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/dashboard_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/apple_pay_response.dart'; -import 'package:diplomaticquarterapp/models/gradient_color.dart'; -import 'package:diplomaticquarterapp/models/hmg_services.dart'; -import 'package:diplomaticquarterapp/models/slider_data.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart'; -import 'package:diplomaticquarterapp/pages/ErService/ErOptions.dart'; -import 'package:diplomaticquarterapp/pages/landing/widgets/logged_slider_view.dart'; -import 'package:diplomaticquarterapp/pages/landing/widgets/services_view.dart'; -import 'package:diplomaticquarterapp/pages/landing/widgets/slider_view.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/packages_offers_tab_pager.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/dashboard_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/apple_pay_response.dart'; +import 'package:hmg_patient_app/models/gradient_color.dart'; +import 'package:hmg_patient_app/models/hmg_services.dart'; +import 'package:hmg_patient_app/models/slider_data.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/all_habib_medical_service_page2.dart'; +import 'package:hmg_patient_app/pages/ErService/ErOptions.dart'; +import 'package:hmg_patient_app/pages/landing/widgets/logged_slider_view.dart'; +import 'package:hmg_patient_app/pages/landing/widgets/services_view.dart'; +import 'package:hmg_patient_app/pages/landing/widgets/slider_view.dart'; +import 'package:hmg_patient_app/pages/packages_offers/packages_offers_tab_pager.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/landing/home_page.dart b/lib/pages/landing/home_page.dart index cf31f6f4..232c0a03 100644 --- a/lib/pages/landing/home_page.dart +++ b/lib/pages/landing/home_page.dart @@ -1,26 +1,26 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/dashboard_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/E-Referral/e_referral_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/all_habib_medical_service_page.dart'; -import 'package:diplomaticquarterapp/pages/ContactUs/contact_us_page.dart'; -import 'package:diplomaticquarterapp/pages/Covid-DriveThru/covid-drivethru-location.dart'; -import 'package:diplomaticquarterapp/pages/ErService/ErOptions.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_home.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/packages_offers_tab_pager.dart'; -import 'package:diplomaticquarterapp/pages/paymentService/payment_service.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/dashboard_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/E-Referral/e_referral_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/all_habib_medical_service_page.dart'; +import 'package:hmg_patient_app/pages/ContactUs/contact_us_page.dart'; +import 'package:hmg_patient_app/pages/Covid-DriveThru/covid-drivethru-location.dart'; +import 'package:hmg_patient_app/pages/ErService/ErOptions.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_home.dart'; +import 'package:hmg_patient_app/pages/packages_offers/packages_offers_tab_pager.dart'; +import 'package:hmg_patient_app/pages/paymentService/payment_service.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/landing/home_page_2.dart b/lib/pages/landing/home_page_2.dart index a5fff824..d00dc2d0 100644 --- a/lib/pages/landing/home_page_2.dart +++ b/lib/pages/landing/home_page_2.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/dashboard_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/pages/Covid-DriveThru/covid-drivethru-location.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/conference/zoom/call_screen.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/viewModels/dashboard_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/pages/Covid-DriveThru/covid-drivethru-location.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/conference/zoom/call_screen.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:firebase_crashlytics/firebase_crashlytics.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/landing/landing_page.dart b/lib/pages/landing/landing_page.dart index ffc9fec5..314cbfde 100644 --- a/lib/pages/landing/landing_page.dart +++ b/lib/pages/landing/landing_page.dart @@ -1,40 +1,40 @@ import 'dart:async'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/appointment_rate_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/IncomingCallData.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/Search.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/family/my-family.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/ToDo.dart'; -import 'package:diplomaticquarterapp/pages/landing/home_page_2.dart'; -import 'package:diplomaticquarterapp/pages/medical/medical_profile_page_new.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/services/family_files/family_files_provider.dart' +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/appointment_rate_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/LiveCare/IncomingCallData.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/Search.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/family/my-family.dart'; +import 'package:hmg_patient_app/pages/ToDoList/ToDo.dart'; +import 'package:hmg_patient_app/pages/landing/home_page_2.dart'; +import 'package:hmg_patient_app/pages/medical/medical_profile_page_new.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/services/family_files/family_files_provider.dart' as family; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_view_model.dart'; -import 'package:diplomaticquarterapp/services/robo_search/event_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/LocalNotification.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/push-notification-handler.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/bottom_navigation/bottom_nav_bar.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/floatingActionButton.dart'; -import 'package:diplomaticquarterapp/widgets/drawer/app_drawer_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/not_auh_page.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_view_model.dart'; +import 'package:hmg_patient_app/services/robo_search/event_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/LocalNotification.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/push-notification-handler.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/bottom_navigation/bottom_nav_bar.dart'; +import 'package:hmg_patient_app/widgets/buttons/floatingActionButton.dart'; +import 'package:hmg_patient_app/widgets/drawer/app_drawer_widget.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/not_auh_page.dart'; import 'package:firebase_messaging/firebase_messaging.dart'; import 'package:flutter/material.dart'; // import 'package:flutter_app_icon_badge/flutter_app_icon_badge.dart'; diff --git a/lib/pages/landing/landing_page_pharmcy.dart b/lib/pages/landing/landing_page_pharmcy.dart index f31cfe41..e3ab3be8 100644 --- a/lib/pages/landing/landing_page_pharmcy.dart +++ b/lib/pages/landing/landing_page_pharmcy.dart @@ -1,23 +1,23 @@ import 'package:barcode_scan2/barcode_scan2.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/service/client/base_app_client.dart'; -import 'package:diplomaticquarterapp/core/service/parmacyModule/parmacy_module_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/PharmacyPagesViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/cart-page/cart-order-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/pharmacy_module_page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/product-detail.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/profile/profile.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy_categorise.dart'; -import 'package:diplomaticquarterapp/pages/search_products_page.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/pharmacy/bottom_nav_pharmacy_bar.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/service/client/base_app_client.dart'; +import 'package:hmg_patient_app/core/service/parmacyModule/parmacy_module_service.dart'; +import 'package:hmg_patient_app/core/viewModels/PharmacyPagesViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/cart-page/cart-order-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/pharmacy_module_page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/product-detail.dart'; +import 'package:hmg_patient_app/pages/pharmacy/profile/profile.dart'; +import 'package:hmg_patient_app/pages/pharmacy_categorise.dart'; +import 'package:hmg_patient_app/pages/search_products_page.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/pharmacy/bottom_nav_pharmacy_bar.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/landing/replay_page.dart b/lib/pages/landing/replay_page.dart index 368f7a1c..2445ee62 100644 --- a/lib/pages/landing/replay_page.dart +++ b/lib/pages/landing/replay_page.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/landing/widgets/logged_slider_view.dart b/lib/pages/landing/widgets/logged_slider_view.dart index 98e4b252..d798deeb 100644 --- a/lib/pages/landing/widgets/logged_slider_view.dart +++ b/lib/pages/landing/widgets/logged_slider_view.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/viewModels/dashboard_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/models/slider_data.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/viewModels/dashboard_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/models/slider_data.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/landing/widgets/offer_view.dart b/lib/pages/landing/widgets/offer_view.dart index 82afbc4a..c24f8c16 100644 --- a/lib/pages/landing/widgets/offer_view.dart +++ b/lib/pages/landing/widgets/offer_view.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; class OfferView extends StatelessWidget { diff --git a/lib/pages/landing/widgets/pharmacy_view.dart b/lib/pages/landing/widgets/pharmacy_view.dart index 288eb20c..d29a51ac 100644 --- a/lib/pages/landing/widgets/pharmacy_view.dart +++ b/lib/pages/landing/widgets/pharmacy_view.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/landing/widgets/services_view.dart b/lib/pages/landing/widgets/services_view.dart index fa0134bc..c18a6b43 100644 --- a/lib/pages/landing/widgets/services_view.dart +++ b/lib/pages/landing/widgets/services_view.dart @@ -1,49 +1,49 @@ import 'dart:io'; import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/hmg_services.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/%E2%80%8B%20health_calculators.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/E-Referral/e_referral_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/h2o_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/health_converter.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/my_web_view.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/parking_page.dart'; -import 'package:diplomaticquarterapp/pages/Blood/blood_donation.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/Search.dart'; -import 'package:diplomaticquarterapp/pages/ChildVaccines/new/child_initial_page.dart'; -import 'package:diplomaticquarterapp/pages/ContactUs/contact_us_page.dart'; -import 'package:diplomaticquarterapp/pages/Covid-DriveThru/covid-drivethru-location.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/family/my-family.dart'; -import 'package:diplomaticquarterapp/pages/ErService/EROnlineCheckIn/EROnlineCheckInHome.dart'; -import 'package:diplomaticquarterapp/pages/ErService/ErOptions.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/inpatient_home.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_home.dart'; -import 'package:diplomaticquarterapp/pages/medical/medical_profile_page_new.dart'; -import 'package:diplomaticquarterapp/pages/medical/smart_watch_health_data/smart_watch_instructions.dart'; -import 'package:diplomaticquarterapp/pages/paymentService/payment_service.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app-permissions.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/penguin_method_channel.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/covid_consent_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/location_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/hmg_services.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/%E2%80%8B%20health_calculators.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/ComprehensiveMedicalCheckup/cmc_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/E-Referral/e_referral_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/HomeHealthCare/home_health_care_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/h2o_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/health_converter.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/my_web_view.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/parking_page.dart'; +import 'package:hmg_patient_app/pages/Blood/blood_donation.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/Search.dart'; +import 'package:hmg_patient_app/pages/ChildVaccines/new/child_initial_page.dart'; +import 'package:hmg_patient_app/pages/ContactUs/contact_us_page.dart'; +import 'package:hmg_patient_app/pages/Covid-DriveThru/covid-drivethru-location.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/family/my-family.dart'; +import 'package:hmg_patient_app/pages/ErService/EROnlineCheckIn/EROnlineCheckInHome.dart'; +import 'package:hmg_patient_app/pages/ErService/ErOptions.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/inpatient_home.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_home.dart'; +import 'package:hmg_patient_app/pages/medical/medical_profile_page_new.dart'; +import 'package:hmg_patient_app/pages/medical/smart_watch_health_data/smart_watch_instructions.dart'; +import 'package:hmg_patient_app/pages/paymentService/payment_service.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app-permissions.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/penguin_method_channel.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/dialogs/covid_consent_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/location_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:permission_handler/permission_handler.dart'; diff --git a/lib/pages/landing/widgets/slider_view.dart b/lib/pages/landing/widgets/slider_view.dart index 286706aa..d2b19cf9 100644 --- a/lib/pages/landing/widgets/slider_view.dart +++ b/lib/pages/landing/widgets/slider_view.dart @@ -1,10 +1,10 @@ import 'dart:math'; import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/livecare/clinic_timings_page.dart b/lib/pages/livecare/clinic_timings_page.dart index 781dfbe3..6295f94e 100644 --- a/lib/pages/livecare/clinic_timings_page.dart +++ b/lib/pages/livecare/clinic_timings_page.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ClinicsServiceTimingsResponse.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ERAppointmentFeesResponse.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/LiveCare/ClinicsServiceTimingsResponse.dart'; +import 'package:hmg_patient_app/models/LiveCare/ERAppointmentFeesResponse.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/livecare/incoming_call.dart b/lib/pages/livecare/incoming_call.dart index c7b574f0..2c0a1ef7 100644 --- a/lib/pages/livecare/incoming_call.dart +++ b/lib/pages/livecare/incoming_call.dart @@ -1,17 +1,17 @@ import 'dart:ui'; import 'package:camera/camera.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/IncomingCallData.dart'; -import 'package:diplomaticquarterapp/pages/conference/widgets/platform_exception_alert_dialog.dart'; -import 'package:diplomaticquarterapp/pages/conference/zoom/call_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/videocall-webrtc-rnd/webrtc/start_video_call.dart'; -import 'package:diplomaticquarterapp/pages/webRTC/OpenTok/OpenTok.dart'; -import 'package:diplomaticquarterapp/pages/webRTC/signaling.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/models/LiveCare/IncomingCallData.dart'; +import 'package:hmg_patient_app/pages/conference/widgets/platform_exception_alert_dialog.dart'; +import 'package:hmg_patient_app/pages/conference/zoom/call_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/videocall-webrtc-rnd/webrtc/start_video_call.dart'; +import 'package:hmg_patient_app/pages/webRTC/OpenTok/OpenTok.dart'; +import 'package:hmg_patient_app/pages/webRTC/signaling.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:just_audio/just_audio.dart'; diff --git a/lib/pages/livecare/live_care_payment_page.dart b/lib/pages/livecare/live_care_payment_page.dart index 1affe418..6313d062 100644 --- a/lib/pages/livecare/live_care_payment_page.dart +++ b/lib/pages/livecare/live_care_payment_page.dart @@ -1,24 +1,24 @@ import 'dart:io'; import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ERAppointmentFeesResponse.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/livecare/live_care_user_agreement_page.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/PlatformBridge.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/covid_consent_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/LiveCare/ERAppointmentFeesResponse.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/livecare/live_care_user_agreement_page.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/PlatformBridge.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/covid_consent_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:permission_handler/permission_handler.dart'; diff --git a/lib/pages/livecare/live_care_user_agreement_page.dart b/lib/pages/livecare/live_care_user_agreement_page.dart index 675bf6d3..0819265f 100644 --- a/lib/pages/livecare/live_care_user_agreement_page.dart +++ b/lib/pages/livecare/live_care_user_agreement_page.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/livecare/livecare_call_type_select.dart b/lib/pages/livecare/livecare_call_type_select.dart index 5592ee34..4b0de7d3 100644 --- a/lib/pages/livecare/livecare_call_type_select.dart +++ b/lib/pages/livecare/livecare_call_type_select.dart @@ -1,15 +1,15 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/mobile-no/mobile_no.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/mobile-no/mobile_no.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/livecare/livecare_home.dart b/lib/pages/livecare/livecare_home.dart index 6381ce8a..cc63c3ad 100644 --- a/lib/pages/livecare/livecare_home.dart +++ b/lib/pages/livecare/livecare_home.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/PatientERVirtualHistoryResponse.dart'; -import 'package:diplomaticquarterapp/pages/livecare/widgets/LiveCarePendingRequest.dart'; -import 'package:diplomaticquarterapp/pages/livecare/widgets/clinic_list.dart'; -import 'package:diplomaticquarterapp/pages/livecare/widgets/livecare_logs.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/PatientERVirtualHistoryResponse.dart'; +import 'package:hmg_patient_app/pages/livecare/widgets/LiveCarePendingRequest.dart'; +import 'package:hmg_patient_app/pages/livecare/widgets/clinic_list.dart'; +import 'package:hmg_patient_app/pages/livecare/widgets/livecare_logs.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/livecare/livecare_scheduling/schedule_clinic_card.dart b/lib/pages/livecare/livecare_scheduling/schedule_clinic_card.dart index 1006dc86..a11f038b 100644 --- a/lib/pages/livecare/livecare_scheduling/schedule_clinic_card.dart +++ b/lib/pages/livecare/livecare_scheduling/schedule_clinic_card.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/LiveCareScheduleClinicsListResponse.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/LiveCare/LiveCareScheduleClinicsListResponse.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/livecare/livecare_type_select.dart b/lib/pages/livecare/livecare_type_select.dart index f3900c5e..bb9751c7 100644 --- a/lib/pages/livecare/livecare_type_select.dart +++ b/lib/pages/livecare/livecare_type_select.dart @@ -1,14 +1,14 @@ import 'package:barcode_scan2/barcode_scan2.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/livecare/pharma_livecare_intro_page.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/livecare/pharma_livecare_intro_page.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/livecare/pharma_livecare_intro_page.dart b/lib/pages/livecare/pharma_livecare_intro_page.dart index c7120c08..6b23987e 100644 --- a/lib/pages/livecare/pharma_livecare_intro_page.dart +++ b/lib/pages/livecare/pharma_livecare_intro_page.dart @@ -1,12 +1,12 @@ import 'package:barcode_scan2/barcode_scan2.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/livecare/video-call-web-page.dart b/lib/pages/livecare/video-call-web-page.dart index f755d1b0..caa3e0e2 100644 --- a/lib/pages/livecare/video-call-web-page.dart +++ b/lib/pages/livecare/video-call-web-page.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/livecare/widgets/ClinicTimingsDialog.dart b/lib/pages/livecare/widgets/ClinicTimingsDialog.dart index 5f827fad..d3a746cb 100644 --- a/lib/pages/livecare/widgets/ClinicTimingsDialog.dart +++ b/lib/pages/livecare/widgets/ClinicTimingsDialog.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/models/LiveCare/ClinicsServiceTimingsResponse.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/models/LiveCare/ClinicsServiceTimingsResponse.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; class ClinicTimingsDialog extends StatefulWidget { diff --git a/lib/pages/livecare/widgets/LiveCareHistoryCard.dart b/lib/pages/livecare/widgets/LiveCareHistoryCard.dart index eecbfea6..6507f943 100644 --- a/lib/pages/livecare/widgets/LiveCareHistoryCard.dart +++ b/lib/pages/livecare/widgets/LiveCareHistoryCard.dart @@ -1,20 +1,20 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/PatientERVirtualHistoryResponse.dart'; -import 'package:diplomaticquarterapp/pages/feedback/feedback_home_page.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/PatientERVirtualHistoryResponse.dart'; +import 'package:hmg_patient_app/pages/feedback/feedback_home_page.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/livecare/widgets/LiveCarePaymentDialog.dart b/lib/pages/livecare/widgets/LiveCarePaymentDialog.dart index de3cb248..9f5c4ab4 100644 --- a/lib/pages/livecare/widgets/LiveCarePaymentDialog.dart +++ b/lib/pages/livecare/widgets/LiveCarePaymentDialog.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ERAppointmentFeesResponse.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/LiveCare/ERAppointmentFeesResponse.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/livecare/widgets/LiveCarePendingRequest.dart b/lib/pages/livecare/widgets/LiveCarePendingRequest.dart index 9eb5b9f9..0eeffe2f 100644 --- a/lib/pages/livecare/widgets/LiveCarePendingRequest.dart +++ b/lib/pages/livecare/widgets/LiveCarePendingRequest.dart @@ -1,15 +1,15 @@ import 'package:circular_countdown_timer/circular_countdown_timer.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/PatientERVirtualHistoryResponse.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/PatientERVirtualHistoryResponse.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:url_launcher/url_launcher.dart'; diff --git a/lib/pages/livecare/widgets/clinic_card.dart b/lib/pages/livecare/widgets/clinic_card.dart index 5c5c4aaa..279e9ae9 100644 --- a/lib/pages/livecare/widgets/clinic_card.dart +++ b/lib/pages/livecare/widgets/clinic_card.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ClinicsServiceTimingsResponse.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/LiveCareClinicsListResponse.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/LiveCare/ClinicsServiceTimingsResponse.dart'; +import 'package:hmg_patient_app/models/LiveCare/LiveCareClinicsListResponse.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/livecare/widgets/clinic_list.dart b/lib/pages/livecare/widgets/clinic_list.dart index c4b825dc..d54855e3 100644 --- a/lib/pages/livecare/widgets/clinic_list.dart +++ b/lib/pages/livecare/widgets/clinic_list.dart @@ -1,46 +1,46 @@ import 'dart:developer'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/PayfortEnums.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/main.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ApplePayInsertRequest.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ERAppointmentFeesResponse.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/LiveCareClinicsListResponse.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/LiveCareScheduleClinicsListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResults.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/payment_method_select.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_call_type_select.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_home.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_scheduling/schedule_clinic_card.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_type_select.dart'; -import 'package:diplomaticquarterapp/pages/livecare/widgets/clinic_card.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_project_details_resp_model.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/PlatformBridge.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dragable_sheet.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/PayfortEnums.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/main.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/LiveCare/ApplePayInsertRequest.dart'; +import 'package:hmg_patient_app/models/LiveCare/ERAppointmentFeesResponse.dart'; +import 'package:hmg_patient_app/models/LiveCare/LiveCareClinicsListResponse.dart'; +import 'package:hmg_patient_app/models/LiveCare/LiveCareScheduleClinicsListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResults.dart'; +import 'package:hmg_patient_app/pages/ToDoList/payment_method_select.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_call_type_select.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_home.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_scheduling/schedule_clinic_card.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_type_select.dart'; +import 'package:hmg_patient_app/pages/livecare/widgets/clinic_card.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_project_details_resp_model.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/PlatformBridge.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/dragable_sheet.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:fluttertoast/fluttertoast.dart'; diff --git a/lib/pages/livecare/widgets/livecare_logs.dart b/lib/pages/livecare/widgets/livecare_logs.dart index 92e1f0ab..12f9899b 100644 --- a/lib/pages/livecare/widgets/livecare_logs.dart +++ b/lib/pages/livecare/widgets/livecare_logs.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/models/FamilyFiles/PatientERVirtualHistoryResponse.dart'; -import 'package:diplomaticquarterapp/pages/livecare/widgets/LiveCareHistoryCard.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/PatientERVirtualHistoryResponse.dart'; +import 'package:hmg_patient_app/pages/livecare/widgets/LiveCareHistoryCard.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; class LiveCareLogs extends StatefulWidget { diff --git a/lib/pages/login/confirm-login.dart b/lib/pages/login/confirm-login.dart index 7766a443..3eb88925 100644 --- a/lib/pages/login/confirm-login.dart +++ b/lib/pages/login/confirm-login.dart @@ -1,41 +1,41 @@ -import 'package:diplomaticquarterapp/analytics/flows/login_registration.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/appointment_rate_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/main.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_activation_code_response.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_paitent_authentication_req.dart'; -import 'package:diplomaticquarterapp/models/Authentication/select_device_imei_res.dart'; -import 'package:diplomaticquarterapp/models/Authentication/send_activation_request.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_info_response_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_request_info_response_model.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/login/login.dart'; -import 'package:diplomaticquarterapp/pages/login/register_new.dart'; -import 'package:diplomaticquarterapp/pages/login/user-login-agreement-page.dart'; -import 'package:diplomaticquarterapp/pages/rateAppointment/rate_appointment_doctor.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/whatsapp_method_channel.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/card/rounded_container.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/otp/sms-popup.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/flows/login_registration.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/appointment_rate_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/main.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/Authentication/check_activation_code_response.dart'; +import 'package:hmg_patient_app/models/Authentication/check_paitent_authentication_req.dart'; +import 'package:hmg_patient_app/models/Authentication/select_device_imei_res.dart'; +import 'package:hmg_patient_app/models/Authentication/send_activation_request.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_info_response_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_request_info_response_model.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/login/login.dart'; +import 'package:hmg_patient_app/pages/login/register_new.dart'; +import 'package:hmg_patient_app/pages/login/user-login-agreement-page.dart'; +import 'package:hmg_patient_app/pages/rateAppointment/rate_appointment_doctor.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/whatsapp_method_channel.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/card/rounded_container.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/otp/sms-popup.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/login/forgot-password.dart b/lib/pages/login/forgot-password.dart index 529d0b8f..85a82932 100644 --- a/lib/pages/login/forgot-password.dart +++ b/lib/pages/login/forgot-password.dart @@ -1,19 +1,19 @@ import 'package:cloudflare_turnstile/cloudflare_turnstile.dart'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/alert_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/habib_logo_widget.dart'; -import 'package:diplomaticquarterapp/widgets/mobile-no/mobile_no.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/otp/sms-popup.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/alert_dialog.dart'; +import 'package:hmg_patient_app/widgets/habib_logo_widget.dart'; +import 'package:hmg_patient_app/widgets/mobile-no/mobile_no.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/otp/sms-popup.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/login/login-type.dart b/lib/pages/login/login-type.dart index a9e309bc..c5e5937c 100644 --- a/lib/pages/login/login-type.dart +++ b/lib/pages/login/login-type.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/analytics/flows/login_registration.dart'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/pages/login/forgot-password.dart'; -import 'package:diplomaticquarterapp/pages/login/login.dart'; -import 'package:diplomaticquarterapp/pages/login/register_new.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/habib_logo_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/flows/login_registration.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/pages/login/forgot-password.dart'; +import 'package:hmg_patient_app/pages/login/login.dart'; +import 'package:hmg_patient_app/pages/login/register_new.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/habib_logo_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/login/login.dart b/lib/pages/login/login.dart index 832e0a1e..df111ba1 100644 --- a/lib/pages/login/login.dart +++ b/lib/pages/login/login.dart @@ -1,35 +1,35 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/geofencing/requests/GeoZonesRequestModel.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/service/geofencing/GeofencingServices.dart'; -import 'package:diplomaticquarterapp/core/viewModels/appointment_rate_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_activation_code_response.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_paitent_authentication_req.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_info_response_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_request_info_response_model.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/login/confirm-login.dart'; -import 'package:diplomaticquarterapp/pages/login/login-type.dart'; -import 'package:diplomaticquarterapp/pages/login/register_new.dart'; -import 'package:diplomaticquarterapp/pages/rateAppointment/rate_appointment_doctor.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/services/family_files/family_files_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/habib_logo_widget.dart'; -import 'package:diplomaticquarterapp/widgets/mobile-no/mobile_no.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/geofencing/requests/GeoZonesRequestModel.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/service/geofencing/GeofencingServices.dart'; +import 'package:hmg_patient_app/core/viewModels/appointment_rate_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/Authentication/check_activation_code_response.dart'; +import 'package:hmg_patient_app/models/Authentication/check_paitent_authentication_req.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_info_response_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_request_info_response_model.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/login/confirm-login.dart'; +import 'package:hmg_patient_app/pages/login/login-type.dart'; +import 'package:hmg_patient_app/pages/login/register_new.dart'; +import 'package:hmg_patient_app/pages/rateAppointment/rate_appointment_doctor.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/services/family_files/family_files_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/habib_logo_widget.dart'; +import 'package:hmg_patient_app/widgets/mobile-no/mobile_no.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/lib/pages/login/register-info.dart b/lib/pages/login/register-info.dart index c2c78182..5164408b 100644 --- a/lib/pages/login/register-info.dart +++ b/lib/pages/login/register-info.dart @@ -1,39 +1,39 @@ import 'dart:convert'; import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/appointment_rate_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_activation_code_response.dart' as checkActivation; -import 'package:diplomaticquarterapp/models/Authentication/check_paitent_authentication_req.dart'; -import 'package:diplomaticquarterapp/models/Authentication/countries_list.dart'; -import 'package:diplomaticquarterapp/models/Authentication/get_patient_occupation_list_response.dart'; -import 'package:diplomaticquarterapp/models/Authentication/register_info_response.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/dialog/clinic_list_dialog.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/rateAppointment/rate_appointment_doctor.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/appointment_rate_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/Authentication/check_activation_code_response.dart' as checkActivation; +import 'package:hmg_patient_app/models/Authentication/check_paitent_authentication_req.dart'; +import 'package:hmg_patient_app/models/Authentication/countries_list.dart'; +import 'package:hmg_patient_app/models/Authentication/get_patient_occupation_list_response.dart'; +import 'package:hmg_patient_app/models/Authentication/register_info_response.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/dialog/clinic_list_dialog.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/rateAppointment/rate_appointment_doctor.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:hijri/hijri_calendar.dart'; diff --git a/lib/pages/login/register.dart b/lib/pages/login/register.dart index fdb04362..c2fb514b 100644 --- a/lib/pages/login/register.dart +++ b/lib/pages/login/register.dart @@ -1,30 +1,30 @@ import 'dart:convert'; -import 'package:diplomaticquarterapp/analytics/flows/login_registration.dart'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_user_status_reponse.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_user_status_req.dart'; -import 'package:diplomaticquarterapp/models/Authentication/checkpatient_for_registration.dart'; -import 'package:diplomaticquarterapp/models/Authentication/get_patient_occupation_list_response.dart'; -import 'package:diplomaticquarterapp/pages/login/confirm-login.dart'; -import 'package:diplomaticquarterapp/pages/login/login-type.dart'; -import 'package:diplomaticquarterapp/pages/login/login.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/alert_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/mobile-no/mobile_no.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/flows/login_registration.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Authentication/check_user_status_reponse.dart'; +import 'package:hmg_patient_app/models/Authentication/check_user_status_req.dart'; +import 'package:hmg_patient_app/models/Authentication/checkpatient_for_registration.dart'; +import 'package:hmg_patient_app/models/Authentication/get_patient_occupation_list_response.dart'; +import 'package:hmg_patient_app/pages/login/confirm-login.dart'; +import 'package:hmg_patient_app/pages/login/login-type.dart'; +import 'package:hmg_patient_app/pages/login/login.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/alert_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/mobile-no/mobile_no.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_datetime_picker_plus/flutter_datetime_picker_plus.dart'; diff --git a/lib/pages/login/register_new.dart b/lib/pages/login/register_new.dart index 8a5b5ec8..3f9a0ecd 100644 --- a/lib/pages/login/register_new.dart +++ b/lib/pages/login/register_new.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/pages/login/login-type.dart'; -import 'package:diplomaticquarterapp/pages/login/register-info.dart'; -import 'package:diplomaticquarterapp/pages/login/register.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/pages/login/login-type.dart'; +import 'package:hmg_patient_app/pages/login/register-info.dart'; +import 'package:hmg_patient_app/pages/login/register.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class RegisterNew extends StatefulWidget { diff --git a/lib/pages/login/user-login-agreement-page.dart b/lib/pages/login/user-login-agreement-page.dart index 96e67f14..7c8bc6a4 100644 --- a/lib/pages/login/user-login-agreement-page.dart +++ b/lib/pages/login/user-login-agreement-page.dart @@ -1,24 +1,24 @@ -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/TermsConditionsViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/appointment_rate_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_info_response_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_request_info_response_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/rateAppointment/rate_appointment_doctor.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/Loader/gif_loader_container.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/TermsConditionsViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/appointment_rate_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_info_response_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_request_info_response_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/rateAppointment/rate_appointment_doctor.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/Loader/gif_loader_container.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_html/flutter_html.dart'; diff --git a/lib/pages/login/welcome.dart b/lib/pages/login/welcome.dart index 8b9e282f..4bf15073 100644 --- a/lib/pages/login/welcome.dart +++ b/lib/pages/login/welcome.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/pages/login/login-type.dart'; -import 'package:diplomaticquarterapp/pages/login/register.dart'; -import 'package:diplomaticquarterapp/pages/login/register_new.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/pages/login/login-type.dart'; +import 'package:hmg_patient_app/pages/login/register.dart'; +import 'package:hmg_patient_app/pages/login/register_new.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/svg.dart'; diff --git a/lib/pages/medical/active_medications/ActiveMedicationsPage.dart b/lib/pages/medical/active_medications/ActiveMedicationsPage.dart index 2744183e..3f612d0f 100644 --- a/lib/pages/medical/active_medications/ActiveMedicationsPage.dart +++ b/lib/pages/medical/active_medications/ActiveMedicationsPage.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/ActiveMedicationsViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/active_medications/reminder_page.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/ActiveMedicationsViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/active_medications/reminder_page.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/active_medications/DayCheckBoxDialog.dart b/lib/pages/medical/active_medications/DayCheckBoxDialog.dart index 49e6e1f6..e10be018 100644 --- a/lib/pages/medical/active_medications/DayCheckBoxDialog.dart +++ b/lib/pages/medical/active_medications/DayCheckBoxDialog.dart @@ -1,7 +1,7 @@ import 'package:device_calendar/device_calendar.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/active_medications/reminder_page.dart b/lib/pages/medical/active_medications/reminder_page.dart index 3c775bdc..3c53a572 100644 --- a/lib/pages/medical/active_medications/reminder_page.dart +++ b/lib/pages/medical/active_medications/reminder_page.dart @@ -1,14 +1,14 @@ import 'package:device_calendar/device_calendar.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/ActiveMedicationsViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/CalendarUtils.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/ActiveMedicationsViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/CalendarUtils.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_datetime_picker_plus/flutter_datetime_picker_plus.dart'; diff --git a/lib/pages/medical/allergies_page.dart b/lib/pages/medical/allergies_page.dart index 599d91b0..e78e69bf 100644 --- a/lib/pages/medical/allergies_page.dart +++ b/lib/pages/medical/allergies_page.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/AllergiesViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/AllergiesViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/ask_doctor/ViewDoctorResponsesPage.dart b/lib/pages/medical/ask_doctor/ViewDoctorResponsesPage.dart index b96a6992..7967f972 100644 --- a/lib/pages/medical/ask_doctor/ViewDoctorResponsesPage.dart +++ b/lib/pages/medical/ask_doctor/ViewDoctorResponsesPage.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/model/ask_doctor/DoctorResponse.dart'; -import 'package:diplomaticquarterapp/core/service/medical/ask_doctor_services.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/ask_doctor_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/ask_doctor/DoctorResponse.dart'; +import 'package:hmg_patient_app/core/service/medical/ask_doctor_services.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/ask_doctor_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/medical/ask_doctor/ask_doctor_home_page.dart b/lib/pages/medical/ask_doctor/ask_doctor_home_page.dart index ee6860a0..bdd9bd40 100644 --- a/lib/pages/medical/ask_doctor/ask_doctor_home_page.dart +++ b/lib/pages/medical/ask_doctor/ask_doctor_home_page.dart @@ -1,10 +1,10 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/enum/filter_type.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/my_tab_view.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/filter_type.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/new_design/my_tab_view.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/ask_doctor/ask_doctor_page.dart b/lib/pages/medical/ask_doctor/ask_doctor_page.dart index 96cd9944..135945bd 100644 --- a/lib/pages/medical/ask_doctor/ask_doctor_page.dart +++ b/lib/pages/medical/ask_doctor/ask_doctor_page.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/service/medical/ask_doctor_services.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/ask_doctor_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/ask_doctor/request_type.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/service/medical/ask_doctor_services.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/ask_doctor_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DoctorView.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/ask_doctor/request_type.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/ask_doctor/doctor_response.dart b/lib/pages/medical/ask_doctor/doctor_response.dart index 0f7c1a09..b067be49 100644 --- a/lib/pages/medical/ask_doctor/doctor_response.dart +++ b/lib/pages/medical/ask_doctor/doctor_response.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/medical/ask_doctor_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/ask_doctor_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/ask_doctor/request_type.dart b/lib/pages/medical/ask_doctor/request_type.dart index 2dece140..905755f7 100644 --- a/lib/pages/medical/ask_doctor/request_type.dart +++ b/lib/pages/medical/ask_doctor/request_type.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/ask_doctor_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/new_text_Field.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/ask_doctor_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/balance/new_text_Field.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/balance/advance_payment_page.dart b/lib/pages/medical/balance/advance_payment_page.dart index 19e4551c..3a6c7d79 100644 --- a/lib/pages/medical/balance/advance_payment_page.dart +++ b/lib/pages/medical/balance/advance_payment_page.dart @@ -1,24 +1,24 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_info.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/my_balance_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/payment_method_select.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_info.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/my_balance_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/pages/ToDoList/payment_method_select.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/balance/confirm_payment_page.dart b/lib/pages/medical/balance/confirm_payment_page.dart index 70ff4821..63a0c35b 100644 --- a/lib/pages/medical/balance/confirm_payment_page.dart +++ b/lib/pages/medical/balance/confirm_payment_page.dart @@ -1,35 +1,35 @@ import 'dart:developer'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/PayfortEnums.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/AdvanceModel.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_info_and_mobile_number.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/my_balance_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ApplePayInsertRequest.dart'; -import 'package:diplomaticquarterapp/models/apple_pay_request.dart'; -import 'package:diplomaticquarterapp/models/apple_pay_response.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_project_details_resp_model.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/otp/sms-popup.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/PayfortEnums.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/my_balance/AdvanceModel.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_info_and_mobile_number.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/my_balance_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/LiveCare/ApplePayInsertRequest.dart'; +import 'package:hmg_patient_app/models/apple_pay_request.dart'; +import 'package:hmg_patient_app/models/apple_pay_response.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_project_details_resp_model.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/otp/sms-popup.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/balance/dialogs/ConfirmSMSDialog.dart b/lib/pages/medical/balance/dialogs/ConfirmSMSDialog.dart index de22c7af..4e906a7e 100644 --- a/lib/pages/medical/balance/dialogs/ConfirmSMSDialog.dart +++ b/lib/pages/medical/balance/dialogs/ConfirmSMSDialog.dart @@ -1,17 +1,17 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/AdvanceModel.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_info_and_mobile_number.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/my_balance_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/my_balance/AdvanceModel.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_info_and_mobile_number.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/my_balance_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/balance/dialogs/SelectCiteisDialog.dart b/lib/pages/medical/balance/dialogs/SelectCiteisDialog.dart index e7c766fd..7a0d8254 100644 --- a/lib/pages/medical/balance/dialogs/SelectCiteisDialog.dart +++ b/lib/pages/medical/balance/dialogs/SelectCiteisDialog.dart @@ -1,8 +1,8 @@ -//import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/model/blooddonation/get_all_cities.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +//import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/model/blooddonation/get_all_cities.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/balance/my_balance_page.dart b/lib/pages/medical/balance/my_balance_page.dart index 462c71c2..d0f69eba 100644 --- a/lib/pages/medical/balance/my_balance_page.dart +++ b/lib/pages/medical/balance/my_balance_page.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/model/my_balance/patient_advance_balance_amount.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/my_balance_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/model/my_balance/patient_advance_balance_amount.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/my_balance_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; diff --git a/lib/pages/medical/balance/new_text_Field.dart b/lib/pages/medical/balance/new_text_Field.dart index fb9d8bed..529d573c 100644 --- a/lib/pages/medical/balance/new_text_Field.dart +++ b/lib/pages/medical/balance/new_text_Field.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/pages/medical/dental_instructions_page.dart b/lib/pages/medical/dental_instructions_page.dart index 133165d7..bde61323 100644 --- a/lib/pages/medical/dental_instructions_page.dart +++ b/lib/pages/medical/dental_instructions_page.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/models/get_dental_instructions_response_model.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/models/get_dental_instructions_response_model.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class DentalInstructionsPage extends StatefulWidget { diff --git a/lib/pages/medical/doctor/doctor_home_page.dart b/lib/pages/medical/doctor/doctor_home_page.dart index c75d9582..a90e6c46 100644 --- a/lib/pages/medical/doctor/doctor_home_page.dart +++ b/lib/pages/medical/doctor/doctor_home_page.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/core/enum/filter_type.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/my_doctor_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/my_tab_view.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/filter_type.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/my_doctor_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DoctorView.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/new_design/my_tab_view.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/doctor/doctor_information_page.dart b/lib/pages/medical/doctor/doctor_information_page.dart index 262bd87c..857ecc59 100644 --- a/lib/pages/medical/doctor/doctor_information_page.dart +++ b/lib/pages/medical/doctor/doctor_information_page.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/model/doctor/doctor_profile.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/doctor/doctor_profile.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/doctor/doctor_profile_page.dart b/lib/pages/medical/doctor/doctor_profile_page.dart index 5f9436c9..b7e4baae 100644 --- a/lib/pages/medical/doctor/doctor_profile_page.dart +++ b/lib/pages/medical/doctor/doctor_profile_page.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/model/doctor/patient_doctor_appointment.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/my_doctor_view_model.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; +import 'package:hmg_patient_app/core/model/doctor/patient_doctor_appointment.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/my_doctor_view_model.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DoctorView.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/eye/ClassesPage.dart b/lib/pages/medical/eye/ClassesPage.dart index f4a87cb9..48d5640e 100644 --- a/lib/pages/medical/eye/ClassesPage.dart +++ b/lib/pages/medical/eye/ClassesPage.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/model/eye/AppoimentAllHistoryResult.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/core/model/eye/AppoimentAllHistoryResult.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/eye/ContactLensPage.dart b/lib/pages/medical/eye/ContactLensPage.dart index b459df15..8a372a94 100644 --- a/lib/pages/medical/eye/ContactLensPage.dart +++ b/lib/pages/medical/eye/ContactLensPage.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/eye/AppoimentAllHistoryResult.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/EyeViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/eye/AppoimentAllHistoryResult.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/EyeViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/eye/EyeHomePage.dart b/lib/pages/medical/eye/EyeHomePage.dart index e7a5c42b..3562570d 100644 --- a/lib/pages/medical/eye/EyeHomePage.dart +++ b/lib/pages/medical/eye/EyeHomePage.dart @@ -1,21 +1,21 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/model/eye/AppoimentAllHistoryResult.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/EyeViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorRateDetails.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/eye/AppoimentAllHistoryResult.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/EyeViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorRateDetails.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; diff --git a/lib/pages/medical/eye/EyeMeasurementsPage.dart b/lib/pages/medical/eye/EyeMeasurementsPage.dart index 652c0a24..4dcb824c 100644 --- a/lib/pages/medical/eye/EyeMeasurementsPage.dart +++ b/lib/pages/medical/eye/EyeMeasurementsPage.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/model/eye/AppoimentAllHistoryResult.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/EyeViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/model/eye/AppoimentAllHistoryResult.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/EyeViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/labs/laboratory_result_page.dart b/lib/pages/medical/labs/laboratory_result_page.dart index 8441492e..ca1beb8f 100644 --- a/lib/pages/medical/labs/laboratory_result_page.dart +++ b/lib/pages/medical/labs/laboratory_result_page.dart @@ -2,17 +2,17 @@ import 'dart:convert'; import 'dart:io'; import 'dart:typed_data'; -import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/labs_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/LabResult/laboratory_result_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/labs/patient_lab_orders.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/labs_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/LabResult/laboratory_result_widget.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:open_filex/open_filex.dart'; diff --git a/lib/pages/medical/labs/labs_home_page.dart b/lib/pages/medical/labs/labs_home_page.dart index 5a163c10..0cda3cab 100644 --- a/lib/pages/medical/labs/labs_home_page.dart +++ b/lib/pages/medical/labs/labs_home_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/enum/filter_type.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/labs_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/my_tab_view.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/filter_type.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/model/labs/patient_lab_orders.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/labs_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/new_design/my_tab_view.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/labs/passport_update_page.dart b/lib/pages/medical/labs/passport_update_page.dart index 61e74acb..030d392c 100644 --- a/lib/pages/medical/labs/passport_update_page.dart +++ b/lib/pages/medical/labs/passport_update_page.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/service/medical/labs_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/service/medical/labs_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/medical_profile_page_new.dart b/lib/pages/medical/medical_profile_page_new.dart index 55b6a4c6..45cd2ad4 100644 --- a/lib/pages/medical/medical_profile_page_new.dart +++ b/lib/pages/medical/medical_profile_page_new.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/medical_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/time_line_new_widget.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/medical_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/time_line_new_widget.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; import 'package:url_launcher/url_launcher.dart'; diff --git a/lib/pages/medical/my_admissions_page.dart b/lib/pages/medical/my_admissions_page.dart index 956395c4..83195feb 100644 --- a/lib/pages/medical/my_admissions_page.dart +++ b/lib/pages/medical/my_admissions_page.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; class MyAdmissionsPage extends StatefulWidget { diff --git a/lib/pages/medical/my_invoices/invoice_detail_page.dart b/lib/pages/medical/my_invoices/invoice_detail_page.dart index 767354e2..4bf805ac 100644 --- a/lib/pages/medical/my_invoices/invoice_detail_page.dart +++ b/lib/pages/medical/my_invoices/invoice_detail_page.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/MyInvoices/DentalInvoiceDetailResponse.dart'; -import 'package:diplomaticquarterapp/models/MyInvoices/GetDentalAppointmentsResponse.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/services/my_invoice_service/my_invoice_services.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/MyInvoices/DentalInvoiceDetailResponse.dart'; +import 'package:hmg_patient_app/models/MyInvoices/GetDentalAppointmentsResponse.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/services/my_invoice_service/my_invoice_services.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_invoices/my_invoice_page.dart b/lib/pages/medical/my_invoices/my_invoice_page.dart index 2d287c39..ef57689e 100644 --- a/lib/pages/medical/my_invoices/my_invoice_page.dart +++ b/lib/pages/medical/my_invoices/my_invoice_page.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart' as DoctorListResponse; -import 'package:diplomaticquarterapp/models/MyInvoices/DentalInvoiceDetailResponse.dart'; -import 'package:diplomaticquarterapp/models/MyInvoices/GetDentalAppointmentsResponse.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_invoices/invoice_detail_page.dart'; -import 'package:diplomaticquarterapp/services/my_invoice_service/my_invoice_services.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart' as DoctorListResponse; +import 'package:hmg_patient_app/models/MyInvoices/DentalInvoiceDetailResponse.dart'; +import 'package:hmg_patient_app/models/MyInvoices/GetDentalAppointmentsResponse.dart'; +import 'package:hmg_patient_app/pages/medical/my_invoices/invoice_detail_page.dart'; +import 'package:hmg_patient_app/services/my_invoice_service/my_invoice_services.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/Weight/AddWeightPage.dart b/lib/pages/medical/my_trackers/Weight/AddWeightPage.dart index 52f8a86b..9c67dfdf 100644 --- a/lib/pages/medical/my_trackers/Weight/AddWeightPage.dart +++ b/lib/pages/medical/my_trackers/Weight/AddWeightPage.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/weight_pressure_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/new_text_Field.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/weight_pressure_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/balance/new_text_Field.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_datetime_picker_plus/flutter_datetime_picker_plus.dart'; diff --git a/lib/pages/medical/my_trackers/Weight/WeightHomePage.dart b/lib/pages/medical/my_trackers/Weight/WeightHomePage.dart index 8e15bc6a..6fde6575 100644 --- a/lib/pages/medical/my_trackers/Weight/WeightHomePage.dart +++ b/lib/pages/medical/my_trackers/Weight/WeightHomePage.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/weight_pressure_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/weight_pressure_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/Weight/WeightMonthlyPage.dart b/lib/pages/medical/my_trackers/Weight/WeightMonthlyPage.dart index d890c157..b4ddeee6 100644 --- a/lib/pages/medical/my_trackers/Weight/WeightMonthlyPage.dart +++ b/lib/pages/medical/my_trackers/Weight/WeightMonthlyPage.dart @@ -1,13 +1,13 @@ import "package:collection/collection.dart"; -import 'package:diplomaticquarterapp/core/viewModels/medical/weight_pressure_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_trackers/widget/MonthLineChartCurved.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/weight_pressure_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/my_trackers/widget/MonthLineChartCurved.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/Weight/WeightWeeklyPage.dart b/lib/pages/medical/my_trackers/Weight/WeightWeeklyPage.dart index 05cafe04..846710a7 100644 --- a/lib/pages/medical/my_trackers/Weight/WeightWeeklyPage.dart +++ b/lib/pages/medical/my_trackers/Weight/WeightWeeklyPage.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/weight_pressure_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/charts/show_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/weight_pressure_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/show_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/Weight/WeightYeaPage.dart b/lib/pages/medical/my_trackers/Weight/WeightYeaPage.dart index a79eb958..79f01b0b 100644 --- a/lib/pages/medical/my_trackers/Weight/WeightYeaPage.dart +++ b/lib/pages/medical/my_trackers/Weight/WeightYeaPage.dart @@ -1,16 +1,16 @@ import "package:collection/collection.dart"; -import 'package:diplomaticquarterapp/core/viewModels/medical/weight_pressure_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_trackers/widget/LineChartCurved.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/charts/show_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/weight_pressure_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/my_trackers/widget/LineChartCurved.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/show_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/blood_pressure/AddBloodPressurePage.dart b/lib/pages/medical/my_trackers/blood_pressure/AddBloodPressurePage.dart index 780f94f5..3d80e6ab 100644 --- a/lib/pages/medical/my_trackers/blood_pressure/AddBloodPressurePage.dart +++ b/lib/pages/medical/my_trackers/blood_pressure/AddBloodPressurePage.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/blood_pressure_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/new_text_Field.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/blood_pressure_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/balance/new_text_Field.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_datetime_picker_plus/flutter_datetime_picker_plus.dart'; diff --git a/lib/pages/medical/my_trackers/blood_pressure/BloodPressureHomePage.dart b/lib/pages/medical/my_trackers/blood_pressure/BloodPressureHomePage.dart index d7230cdd..8a46bd42 100644 --- a/lib/pages/medical/my_trackers/blood_pressure/BloodPressureHomePage.dart +++ b/lib/pages/medical/my_trackers/blood_pressure/BloodPressureHomePage.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/blood_pressure_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/blood_pressure_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/blood_pressure/BloodPressureMonthly.dart b/lib/pages/medical/my_trackers/blood_pressure/BloodPressureMonthly.dart index 1eabcce2..94d95503 100644 --- a/lib/pages/medical/my_trackers/blood_pressure/BloodPressureMonthly.dart +++ b/lib/pages/medical/my_trackers/blood_pressure/BloodPressureMonthly.dart @@ -1,12 +1,12 @@ import "package:collection/collection.dart"; -import 'package:diplomaticquarterapp/core/viewModels/medical/blood_pressure_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_trackers/widget/MonthCurvedChartBloodPressure.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/blood_pressure_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/my_trackers/widget/MonthCurvedChartBloodPressure.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/blood_pressure/BloodPressureYeaPage.dart b/lib/pages/medical/my_trackers/blood_pressure/BloodPressureYeaPage.dart index 260cdbed..3dd579db 100644 --- a/lib/pages/medical/my_trackers/blood_pressure/BloodPressureYeaPage.dart +++ b/lib/pages/medical/my_trackers/blood_pressure/BloodPressureYeaPage.dart @@ -1,14 +1,14 @@ import "package:collection/collection.dart"; -import 'package:diplomaticquarterapp/core/viewModels/medical/blood_pressure_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_trackers/widget/CurvedChartBloodPressure.dart'; -import 'package:diplomaticquarterapp/pages/medical/vital_sign/LineChartCurvedBloodPressure.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/blood_pressure_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/my_trackers/widget/CurvedChartBloodPressure.dart'; +import 'package:hmg_patient_app/pages/medical/vital_sign/LineChartCurvedBloodPressure.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/blood_pressure/bloodPressureWeeklyPage.dart b/lib/pages/medical/my_trackers/blood_pressure/bloodPressureWeeklyPage.dart index 9d0d6685..0d5e9ac9 100644 --- a/lib/pages/medical/my_trackers/blood_pressure/bloodPressureWeeklyPage.dart +++ b/lib/pages/medical/my_trackers/blood_pressure/bloodPressureWeeklyPage.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/medical/blood_pressure_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/vital_sign/LineChartCurvedBloodPressure.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/blood_pressure_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/vital_sign/LineChartCurvedBloodPressure.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/blood_suger/AddBloodSugarPage.dart b/lib/pages/medical/my_trackers/blood_suger/AddBloodSugarPage.dart index 279775f5..50153e7d 100644 --- a/lib/pages/medical/my_trackers/blood_suger/AddBloodSugarPage.dart +++ b/lib/pages/medical/my_trackers/blood_suger/AddBloodSugarPage.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/blood_sugar_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/new_text_Field.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/blood_sugar_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/balance/new_text_Field.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_datetime_picker_plus/flutter_datetime_picker_plus.dart'; diff --git a/lib/pages/medical/my_trackers/blood_suger/BloodMonthly.dart b/lib/pages/medical/my_trackers/blood_suger/BloodMonthly.dart index 59cc2e12..a8e6ad32 100644 --- a/lib/pages/medical/my_trackers/blood_suger/BloodMonthly.dart +++ b/lib/pages/medical/my_trackers/blood_suger/BloodMonthly.dart @@ -1,14 +1,14 @@ import "package:collection/collection.dart"; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/blood_sugar_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_trackers/widget/MonthLineChartCurved.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/blood_sugar_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/my_trackers/widget/MonthLineChartCurved.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/blood_suger/BloodYeaPage.dart b/lib/pages/medical/my_trackers/blood_suger/BloodYeaPage.dart index 3e284565..47c49047 100644 --- a/lib/pages/medical/my_trackers/blood_suger/BloodYeaPage.dart +++ b/lib/pages/medical/my_trackers/blood_suger/BloodYeaPage.dart @@ -1,13 +1,13 @@ import "package:collection/collection.dart"; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/blood_sugar_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/charts/show_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/blood_sugar_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/show_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/blood_suger/blood_sugar_home_page.dart b/lib/pages/medical/my_trackers/blood_suger/blood_sugar_home_page.dart index b7f74988..dccaffa2 100644 --- a/lib/pages/medical/my_trackers/blood_suger/blood_sugar_home_page.dart +++ b/lib/pages/medical/my_trackers/blood_suger/blood_sugar_home_page.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/blood_sugar_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/blood_sugar_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/blood_suger/blood_sugar_weekly_page.dart b/lib/pages/medical/my_trackers/blood_suger/blood_sugar_weekly_page.dart index 2b74395d..1747ef5d 100644 --- a/lib/pages/medical/my_trackers/blood_suger/blood_sugar_weekly_page.dart +++ b/lib/pages/medical/my_trackers/blood_suger/blood_sugar_weekly_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/blood_sugar_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/charts/show_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/my_trakers/blood_sugar/DiabtecPatientResult.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/blood_sugar_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/show_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/my_trackers/my_trackers.dart b/lib/pages/medical/my_trackers/my_trackers.dart index c6e7d5dc..270bb2a8 100644 --- a/lib/pages/medical/my_trackers/my_trackers.dart +++ b/lib/pages/medical/my_trackers/my_trackers.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_trackers/Weight/WeightHomePage.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_trackers/blood_suger/blood_sugar_home_page.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/pages/medical/my_trackers/Weight/WeightHomePage.dart'; +import 'package:hmg_patient_app/pages/medical/my_trackers/blood_suger/blood_sugar_home_page.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/my_trackers/widget/CurvedChartBloodPressure.dart b/lib/pages/medical/my_trackers/widget/CurvedChartBloodPressure.dart index 5f093eb7..d5f265bb 100644 --- a/lib/pages/medical/my_trackers/widget/CurvedChartBloodPressure.dart +++ b/lib/pages/medical/my_trackers/widget/CurvedChartBloodPressure.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:fl_chart/fl_chart.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/my_trackers/widget/LineChartCurved.dart b/lib/pages/medical/my_trackers/widget/LineChartCurved.dart index 882cf034..ed31562b 100644 --- a/lib/pages/medical/my_trackers/widget/LineChartCurved.dart +++ b/lib/pages/medical/my_trackers/widget/LineChartCurved.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; import 'package:fl_chart/fl_chart.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/my_trackers/widget/MonthCurvedChartBloodPressure.dart b/lib/pages/medical/my_trackers/widget/MonthCurvedChartBloodPressure.dart index 54228d1e..0a4df6b9 100644 --- a/lib/pages/medical/my_trackers/widget/MonthCurvedChartBloodPressure.dart +++ b/lib/pages/medical/my_trackers/widget/MonthCurvedChartBloodPressure.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/Constants.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/Constants.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:fl_chart/fl_chart.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/my_trackers/widget/MonthLineChartCurved.dart b/lib/pages/medical/my_trackers/widget/MonthLineChartCurved.dart index 9a6616f9..0d45e673 100644 --- a/lib/pages/medical/my_trackers/widget/MonthLineChartCurved.dart +++ b/lib/pages/medical/my_trackers/widget/MonthLineChartCurved.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; import 'package:fl_chart/fl_chart.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/my_trackers/widget/TabBarWidget.dart b/lib/pages/medical/my_trackers/widget/TabBarWidget.dart index 779a6b98..6b4b9ee9 100644 --- a/lib/pages/medical/my_trackers/widget/TabBarWidget.dart +++ b/lib/pages/medical/my_trackers/widget/TabBarWidget.dart @@ -1,7 +1,7 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/patient_sick_leave_page.dart b/lib/pages/medical/patient_sick_leave_page.dart index e6802145..29c9653a 100644 --- a/lib/pages/medical/patient_sick_leave_page.dart +++ b/lib/pages/medical/patient_sick_leave_page.dart @@ -1,21 +1,21 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/model/sick_leave/admission_status_for_sick_leave.dart'; -import 'package:diplomaticquarterapp/core/model/sick_leave/sick_leave.dart'; -import 'package:diplomaticquarterapp/core/service/medical/labs_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/patient_sick_leave_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/sickleave_workplace_update_page.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/model/sick_leave/admission_status_for_sick_leave.dart'; +import 'package:hmg_patient_app/core/model/sick_leave/sick_leave.dart'; +import 'package:hmg_patient_app/core/service/medical/labs_service.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/patient_sick_leave_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/sickleave_workplace_update_page.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/prescriptions/PrescriptionIDeliveryAddressPage.dart b/lib/pages/medical/prescriptions/PrescriptionIDeliveryAddressPage.dart index ebc2bd4a..eba8a17b 100644 --- a/lib/pages/medical/prescriptions/PrescriptionIDeliveryAddressPage.dart +++ b/lib/pages/medical/prescriptions/PrescriptionIDeliveryAddressPage.dart @@ -1,28 +1,28 @@ import 'dart:async'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/Prescriptions.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_enh.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/AlHabibMedicalService/add_new_address_Request_Model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/PrescriptionDeliveryViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/location_page.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/h20_setting.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/select_location_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/Prescriptions.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_enh.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/viewModels/AlHabibMedicalService/add_new_address_Request_Model.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/PrescriptionDeliveryViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/HomeHealthCare/NewHomeHealthCare/location_page.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/h20_setting.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/select_location_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:geolocator/geolocator.dart'; diff --git a/lib/pages/medical/prescriptions/PrescriptionOrderOverveiw.dart b/lib/pages/medical/prescriptions/PrescriptionOrderOverveiw.dart index f8b0b876..d283b43d 100644 --- a/lib/pages/medical/prescriptions/PrescriptionOrderOverveiw.dart +++ b/lib/pages/medical/prescriptions/PrescriptionOrderOverveiw.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/Prescriptions.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_enh.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/PrescriptionDeliveryViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/show_zoom_image_dialog.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/Prescriptions.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_enh.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/PrescriptionDeliveryViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/show_zoom_image_dialog.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/prescriptions/pharmacy_for_prescriptions_page.dart b/lib/pages/medical/prescriptions/pharmacy_for_prescriptions_page.dart index 88b99b45..593c72b0 100644 --- a/lib/pages/medical/prescriptions/pharmacy_for_prescriptions_page.dart +++ b/lib/pages/medical/prescriptions/pharmacy_for_prescriptions_page.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/contactus/get_hmg_locations.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/prescriptions_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/hospital_location.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/contactus/get_hmg_locations.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/prescriptions_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/hospital_location.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/prescriptions/prescription_details_inp.dart b/lib/pages/medical/prescriptions/prescription_details_inp.dart index b446fed2..18c5dc97 100644 --- a/lib/pages/medical/prescriptions/prescription_details_inp.dart +++ b/lib/pages/medical/prescriptions/prescription_details_inp.dart @@ -1,23 +1,23 @@ -import 'package:diplomaticquarterapp/core/model/prescriptions/Prescriptions.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report_inp.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/reminder_dialog.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/pharmacy_for_prescriptions_page.dart'; -import 'package:diplomaticquarterapp/uitl/CalendarUtils.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/show_zoom_image_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/Prescriptions.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report_inp.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/reminder_dialog.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/pharmacy_for_prescriptions_page.dart'; +import 'package:hmg_patient_app/uitl/CalendarUtils.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/show_zoom_image_dialog.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:jiffy/jiffy.dart'; diff --git a/lib/pages/medical/prescriptions/prescription_details_page.dart b/lib/pages/medical/prescriptions/prescription_details_page.dart index 4ee85086..9a958eb5 100644 --- a/lib/pages/medical/prescriptions/prescription_details_page.dart +++ b/lib/pages/medical/prescriptions/prescription_details_page.dart @@ -2,26 +2,26 @@ import 'dart:collection'; import 'dart:io'; import 'package:device_calendar/device_calendar.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/Prescriptions.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/reminder_dialog.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/pharmacy_for_prescriptions_page.dart'; -import 'package:diplomaticquarterapp/uitl/CalendarUtils.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/show_zoom_image_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/Prescriptions.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/reminder_dialog.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/pharmacy_for_prescriptions_page.dart'; +import 'package:hmg_patient_app/uitl/CalendarUtils.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/show_zoom_image_dialog.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:jiffy/jiffy.dart'; diff --git a/lib/pages/medical/prescriptions/prescription_items_page.dart b/lib/pages/medical/prescriptions/prescription_items_page.dart index 70ce271a..84990b6b 100644 --- a/lib/pages/medical/prescriptions/prescription_items_page.dart +++ b/lib/pages/medical/prescriptions/prescription_items_page.dart @@ -1,25 +1,25 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/Prescriptions.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/prescriptions_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/main.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescription_details_inp.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescription_details_page.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/show_zoom_image_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/Prescriptions.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/prescription_report.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/prescriptions_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/main.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescription_details_inp.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescription_details_page.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/show_zoom_image_dialog.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/prescriptions/prescriptions_history_details_page.dart b/lib/pages/medical/prescriptions/prescriptions_history_details_page.dart index ad47c841..b2cee636 100644 --- a/lib/pages/medical/prescriptions/prescriptions_history_details_page.dart +++ b/lib/pages/medical/prescriptions/prescriptions_history_details_page.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/prescriptions_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/AlHabibMedicalService/ComprehensiveMedicalCheckup/GetCMCAllOrdersResponseModel.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/prescriptions_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/prescriptions/prescriptions_history_page.dart b/lib/pages/medical/prescriptions/prescriptions_history_page.dart index eb0a56b5..2fa8fa13 100644 --- a/lib/pages/medical/prescriptions/prescriptions_history_page.dart +++ b/lib/pages/medical/prescriptions/prescriptions_history_page.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/prescriptions_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescriptions_history_details_page.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/prescriptions_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescriptions_history_details_page.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/prescriptions/prescriptions_home_page.dart b/lib/pages/medical/prescriptions/prescriptions_home_page.dart index 0ac4d04d..9fa84ba8 100644 --- a/lib/pages/medical/prescriptions/prescriptions_home_page.dart +++ b/lib/pages/medical/prescriptions/prescriptions_home_page.dart @@ -1,14 +1,14 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/enum/filter_type.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/prescriptions_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescriptions_history_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescriptions_page.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/filter_type.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/prescriptions_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescriptions_history_page.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescriptions_page.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/prescriptions/prescriptions_page.dart b/lib/pages/medical/prescriptions/prescriptions_page.dart index e550e1b0..967209f9 100644 --- a/lib/pages/medical/prescriptions/prescriptions_page.dart +++ b/lib/pages/medical/prescriptions/prescriptions_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/enum/filter_type.dart'; -import 'package:diplomaticquarterapp/core/model/prescriptions/Prescriptions.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/prescriptions_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescription_items_page.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/my_tab_view.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/filter_type.dart'; +import 'package:hmg_patient_app/core/model/prescriptions/Prescriptions.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/prescriptions_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescription_items_page.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/new_design/my_tab_view.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/radiology/radiology_details_page.dart b/lib/pages/medical/radiology/radiology_details_page.dart index 6582017f..7bfa2522 100644 --- a/lib/pages/medical/radiology/radiology_details_page.dart +++ b/lib/pages/medical/radiology/radiology_details_page.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/radiology/final_radiology.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/radiology_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/radiology/final_radiology.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/radiology_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/radiology/radiology_home_page.dart b/lib/pages/medical/radiology/radiology_home_page.dart index fb60d5da..23d04652 100644 --- a/lib/pages/medical/radiology/radiology_home_page.dart +++ b/lib/pages/medical/radiology/radiology_home_page.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/enum/filter_type.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/model/radiology/final_radiology.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/radiology_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/radiology/radiology_details_page.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/my_tab_view.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/filter_type.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/model/radiology/final_radiology.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/radiology_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/radiology/radiology_details_page.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/new_design/my_tab_view.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/reports/inpatient_medical_reports_page.dart b/lib/pages/medical/reports/inpatient_medical_reports_page.dart index af3ee6d9..cb6b44ca 100644 --- a/lib/pages/medical/reports/inpatient_medical_reports_page.dart +++ b/lib/pages/medical/reports/inpatient_medical_reports_page.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/model/reports/admission_for_medical_report.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/reports_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/reports/report_list_widget.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/reports/admission_for_medical_report.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/reports_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/reports/report_list_widget.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class InPatientMedicalReports extends StatefulWidget { diff --git a/lib/pages/medical/reports/monthly_reports.dart b/lib/pages/medical/reports/monthly_reports.dart index 4b59d7a0..e725817b 100644 --- a/lib/pages/medical/reports/monthly_reports.dart +++ b/lib/pages/medical/reports/monthly_reports.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/reports_monthly_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/reports/user_agreement_page.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/input/custom_switch.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/reports_monthly_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/reports/user_agreement_page.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/input/custom_switch.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/reports/report_home_page.dart b/lib/pages/medical/reports/report_home_page.dart index f70f0793..6b1aa0f5 100644 --- a/lib/pages/medical/reports/report_home_page.dart +++ b/lib/pages/medical/reports/report_home_page.dart @@ -1,23 +1,23 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/model/reports/admission_for_medical_report.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/reports_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/reports/inpatient_medical_reports_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/reports/report_list_widget.dart'; -import 'package:diplomaticquarterapp/pages/medical/reports/reports_page.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/model/reports/admission_for_medical_report.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/reports_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/reports/inpatient_medical_reports_page.dart'; +import 'package:hmg_patient_app/pages/medical/reports/report_list_widget.dart'; +import 'package:hmg_patient_app/pages/medical/reports/reports_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/reports/report_list_widget.dart b/lib/pages/medical/reports/report_list_widget.dart index 5846b31f..9c61f7cd 100644 --- a/lib/pages/medical/reports/report_list_widget.dart +++ b/lib/pages/medical/reports/report_list_widget.dart @@ -2,22 +2,22 @@ import 'dart:convert'; import 'dart:io'; import 'dart:typed_data'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/reports/Reports.dart'; -import 'package:diplomaticquarterapp/core/service/medical/reports_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/main.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/reports/Reports.dart'; +import 'package:hmg_patient_app/core/service/medical/reports_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/main.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; diff --git a/lib/pages/medical/reports/reports_page.dart b/lib/pages/medical/reports/reports_page.dart index 6e1f5081..40a09d35 100644 --- a/lib/pages/medical/reports/reports_page.dart +++ b/lib/pages/medical/reports/reports_page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/viewModels/medical/reports_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/feedback/appointment_history.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/reports_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/feedback/appointment_history.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; diff --git a/lib/pages/medical/reports/user_agreement_page.dart b/lib/pages/medical/reports/user_agreement_page.dart index d48ff16d..17442144 100644 --- a/lib/pages/medical/reports/user_agreement_page.dart +++ b/lib/pages/medical/reports/user_agreement_page.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/viewModels/medical/reports_monthly_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/reports_monthly_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter_html/flutter_html.dart'; diff --git a/lib/pages/medical/sickleave_workplace_update_page.dart b/lib/pages/medical/sickleave_workplace_update_page.dart index ec7991cb..3b7dda9a 100644 --- a/lib/pages/medical/sickleave_workplace_update_page.dart +++ b/lib/pages/medical/sickleave_workplace_update_page.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/service/medical/labs_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/service/medical/labs_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/medical/smart_watch_health_data/distance/distanceTracker.dart b/lib/pages/medical/smart_watch_health_data/distance/distanceTracker.dart index 432707ce..f2d7e9ee 100644 --- a/lib/pages/medical/smart_watch_health_data/distance/distanceTracker.dart +++ b/lib/pages/medical/smart_watch_health_data/distance/distanceTracker.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/SmartWatch/WeeklyStepsResModel.dart'; -import 'package:diplomaticquarterapp/models/SmartWatch/YearlyStepsResModel.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/charts/show_chart.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/SmartWatch/WeeklyStepsResModel.dart'; +import 'package:hmg_patient_app/models/SmartWatch/YearlyStepsResModel.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/show_chart.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/smart_watch_health_data/health_data_list.dart b/lib/pages/medical/smart_watch_health_data/health_data_list.dart index 664178a4..1db2132c 100644 --- a/lib/pages/medical/smart_watch_health_data/health_data_list.dart +++ b/lib/pages/medical/smart_watch_health_data/health_data_list.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/pages/medical/smart_watch_health_data/Steps/stepsTracker.dart'; -import 'package:diplomaticquarterapp/pages/medical/smart_watch_health_data/distance/distanceTracker.dart'; -import 'package:diplomaticquarterapp/pages/medical/smart_watch_health_data/heartrate/heartrateTracker.dart'; -import 'package:diplomaticquarterapp/pages/medical/smart_watch_health_data/syncHealthData.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/pages/medical/smart_watch_health_data/Steps/stepsTracker.dart'; +import 'package:hmg_patient_app/pages/medical/smart_watch_health_data/distance/distanceTracker.dart'; +import 'package:hmg_patient_app/pages/medical/smart_watch_health_data/heartrate/heartrateTracker.dart'; +import 'package:hmg_patient_app/pages/medical/smart_watch_health_data/syncHealthData.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; // import 'package:fit_kit/fit_kit.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/smart_watch_health_data/heartrate/heartrateTracker.dart b/lib/pages/medical/smart_watch_health_data/heartrate/heartrateTracker.dart index 97c61ee0..94ad61ef 100644 --- a/lib/pages/medical/smart_watch_health_data/heartrate/heartrateTracker.dart +++ b/lib/pages/medical/smart_watch_health_data/heartrate/heartrateTracker.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/SmartWatch/WeeklyHeartRateResModel.dart'; -import 'package:diplomaticquarterapp/models/SmartWatch/YearlyHeartRateResModel.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/charts/show_chart.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/SmartWatch/WeeklyHeartRateResModel.dart'; +import 'package:hmg_patient_app/models/SmartWatch/YearlyHeartRateResModel.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/show_chart.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/smart_watch_health_data/smart_watch_instructions.dart b/lib/pages/medical/smart_watch_health_data/smart_watch_instructions.dart index 8ca443be..9cc58de4 100644 --- a/lib/pages/medical/smart_watch_health_data/smart_watch_instructions.dart +++ b/lib/pages/medical/smart_watch_health_data/smart_watch_instructions.dart @@ -1,17 +1,17 @@ import 'dart:io'; // import 'package:carousel_slider/carousel_slider.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/pages/medical/smart_watch_health_data/health_data_list.dart'; -import 'package:diplomaticquarterapp/services/smartwatch_integration/SmartWatchIntegrationService.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/pages/medical/smart_watch_health_data/health_data_list.dart'; +import 'package:hmg_patient_app/services/smartwatch_integration/SmartWatchIntegrationService.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; diff --git a/lib/pages/medical/smart_watch_health_data/steps/stepsTracker.dart b/lib/pages/medical/smart_watch_health_data/steps/stepsTracker.dart index a9a19945..fa38d3b4 100644 --- a/lib/pages/medical/smart_watch_health_data/steps/stepsTracker.dart +++ b/lib/pages/medical/smart_watch_health_data/steps/stepsTracker.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/SmartWatch/WeeklyStepsResModel.dart'; -import 'package:diplomaticquarterapp/models/SmartWatch/YearlyStepsResModel.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/charts/show_chart.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/SmartWatch/WeeklyStepsResModel.dart'; +import 'package:hmg_patient_app/models/SmartWatch/YearlyStepsResModel.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/show_chart.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/smart_watch_health_data/syncHealthData.dart b/lib/pages/medical/smart_watch_health_data/syncHealthData.dart index 6d6fdf4f..3ae65a8a 100644 --- a/lib/pages/medical/smart_watch_health_data/syncHealthData.dart +++ b/lib/pages/medical/smart_watch_health_data/syncHealthData.dart @@ -1,15 +1,15 @@ import 'dart:io'; import 'package:collection/collection.dart'; -import 'package:diplomaticquarterapp/models/SmartWatch/HealthData.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/services/smartwatch_integration/SmartWatchIntegrationService.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/models/SmartWatch/HealthData.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/services/smartwatch_integration/SmartWatchIntegrationService.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; import 'package:flutter/material.dart'; import 'package:health/health.dart'; diff --git a/lib/pages/medical/vital_sign/LineChartCurved.dart b/lib/pages/medical/vital_sign/LineChartCurved.dart index e86f31bf..a8afef76 100644 --- a/lib/pages/medical/vital_sign/LineChartCurved.dart +++ b/lib/pages/medical/vital_sign/LineChartCurved.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; import 'package:fl_chart/fl_chart.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/vital_sign/LineChartCurvedBloodPressure.dart b/lib/pages/medical/vital_sign/LineChartCurvedBloodPressure.dart index 7bcf8977..b64df013 100644 --- a/lib/pages/medical/vital_sign/LineChartCurvedBloodPressure.dart +++ b/lib/pages/medical/vital_sign/LineChartCurvedBloodPressure.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; import 'package:fl_chart/fl_chart.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/medical/vital_sign/vital_sign_details_blood_pressurewideget.dart b/lib/pages/medical/vital_sign/vital_sign_details_blood_pressurewideget.dart index 5f1cb5c5..e0baec7f 100644 --- a/lib/pages/medical/vital_sign/vital_sign_details_blood_pressurewideget.dart +++ b/lib/pages/medical/vital_sign/vital_sign_details_blood_pressurewideget.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/model/vital_sign/vital_sign_res_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/vital_sign/vital_sign_res_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/vital_sign/vital_sign_details_screen.dart b/lib/pages/medical/vital_sign/vital_sign_details_screen.dart index a2f07522..1ea20d37 100644 --- a/lib/pages/medical/vital_sign/vital_sign_details_screen.dart +++ b/lib/pages/medical/vital_sign/vital_sign_details_screen.dart @@ -1,16 +1,16 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/core/enum/patient_lookup.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/vital_sign_view_model.dart'; -import 'package:diplomaticquarterapp/models/vital_sign.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/vital_sign/vital_sign_item.dart'; -import 'package:diplomaticquarterapp/pages/medical/vital_sign/vital_sign_item_details_screen.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/patient_lookup.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/vital_sign_view_model.dart'; +import 'package:hmg_patient_app/models/vital_sign.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/vital_sign/vital_sign_item.dart'; +import 'package:hmg_patient_app/pages/medical/vital_sign/vital_sign_item_details_screen.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/svg.dart'; diff --git a/lib/pages/medical/vital_sign/vital_sign_details_wideget.dart b/lib/pages/medical/vital_sign/vital_sign_details_wideget.dart index 0daaf104..5910cacb 100644 --- a/lib/pages/medical/vital_sign/vital_sign_details_wideget.dart +++ b/lib/pages/medical/vital_sign/vital_sign_details_wideget.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/model/vital_sign/vital_sign_res_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/vital_sign/vital_sign_res_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/vital_sign/vital_sign_item.dart b/lib/pages/medical/vital_sign/vital_sign_item.dart index 9b89d7f7..59bcb815 100644 --- a/lib/pages/medical/vital_sign/vital_sign_item.dart +++ b/lib/pages/medical/vital_sign/vital_sign_item.dart @@ -1,8 +1,8 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/models/vital_sign.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/card/rounded_container.dart'; +import 'package:hmg_patient_app/models/vital_sign.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/card/rounded_container.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/medical/vital_sign/vital_sign_item_details_screen.dart b/lib/pages/medical/vital_sign/vital_sign_item_details_screen.dart index 07d3b39f..91517e52 100644 --- a/lib/pages/medical/vital_sign/vital_sign_item_details_screen.dart +++ b/lib/pages/medical/vital_sign/vital_sign_item_details_screen.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/enum/patient_lookup.dart'; -import 'package:diplomaticquarterapp/core/model/vital_sign/vital_sign_res_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/vital_sign/vital_sing_chart_and_detials.dart'; -import 'package:diplomaticquarterapp/pages/medical/vital_sign/vital_sing_chart_blood_pressure.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/patient_lookup.dart'; +import 'package:hmg_patient_app/core/model/vital_sign/vital_sign_res_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/vital_sign/vital_sing_chart_and_detials.dart'; +import 'package:hmg_patient_app/pages/medical/vital_sign/vital_sing_chart_blood_pressure.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/vital_sign/vital_sing_chart_and_detials.dart b/lib/pages/medical/vital_sign/vital_sing_chart_and_detials.dart index 06df5e90..1b4e545e 100644 --- a/lib/pages/medical/vital_sign/vital_sing_chart_and_detials.dart +++ b/lib/pages/medical/vital_sign/vital_sing_chart_and_detials.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/model/vital_sign/vital_sign_res_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; -import 'package:diplomaticquarterapp/widgets/charts/show_chart.dart'; -import 'package:diplomaticquarterapp/widgets/charts/sync_fu_chart.dart'; +import 'package:hmg_patient_app/core/model/vital_sign/vital_sign_res_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/show_chart.dart'; +import 'package:hmg_patient_app/widgets/charts/sync_fu_chart.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/medical/vital_sign/vital_sing_chart_blood_pressure.dart b/lib/pages/medical/vital_sign/vital_sing_chart_blood_pressure.dart index 195afb0c..f08009b6 100644 --- a/lib/pages/medical/vital_sign/vital_sing_chart_blood_pressure.dart +++ b/lib/pages/medical/vital_sign/vital_sing_chart_blood_pressure.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/model/vital_sign/vital_sign_res_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart'; +import 'package:hmg_patient_app/core/model/vital_sign/vital_sign_res_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/offers_categorise_page.dart b/lib/pages/offers_categorise_page.dart index 572978b9..18bca7e0 100644 --- a/lib/pages/offers_categorise_page.dart +++ b/lib/pages/offers_categorise_page.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/viewModels/offers_Categorise_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/StarRating.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_pharmacy_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/core/viewModels/offers_Categorise_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/StarRating.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_pharmacy_widget.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/packages_offers/ClinicOfferAndPackagesPage.dart b/lib/pages/packages_offers/ClinicOfferAndPackagesPage.dart index 247203ad..db9ac481 100644 --- a/lib/pages/packages_offers/ClinicOfferAndPackagesPage.dart +++ b/lib/pages/packages_offers/ClinicOfferAndPackagesPage.dart @@ -1,13 +1,13 @@ import 'package:after_layout/after_layout.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/AddProductToCartRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/packages_offers_tab_pager.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart' as utils; -import 'package:diplomaticquarterapp/widgets/offers_packages/PackagesOfferCard.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/AddProductToCartRequestModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/packages_offers/packages_offers_tab_pager.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart' as utils; +import 'package:hmg_patient_app/widgets/offers_packages/PackagesOfferCard.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/lib/pages/packages_offers/CreateCustomerDailogPage.dart b/lib/pages/packages_offers/CreateCustomerDailogPage.dart index ce53c66b..a09c727b 100644 --- a/lib/pages/packages_offers/CreateCustomerDailogPage.dart +++ b/lib/pages/packages_offers/CreateCustomerDailogPage.dart @@ -1,13 +1,13 @@ import 'package:after_layout/after_layout.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/CreateCustomerRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCustomerResponseModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/AnimatedTextFields.dart'; -import 'package:diplomaticquarterapp/widgets/LoadingButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/CreateCustomerRequestModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCustomerResponseModel.dart'; +import 'package:hmg_patient_app/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/AnimatedTextFields.dart'; +import 'package:hmg_patient_app/widgets/LoadingButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/lib/pages/packages_offers/OfferAndPackageDetailPage.dart b/lib/pages/packages_offers/OfferAndPackageDetailPage.dart index 14ddf937..918fb4f3 100644 --- a/lib/pages/packages_offers/OfferAndPackageDetailPage.dart +++ b/lib/pages/packages_offers/OfferAndPackageDetailPage.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:expandable/expandable.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/packages_offers/OfferAndPackagesCartPage.dart b/lib/pages/packages_offers/OfferAndPackagesCartPage.dart index 9f9d6858..4d3939d5 100644 --- a/lib/pages/packages_offers/OfferAndPackagesCartPage.dart +++ b/lib/pages/packages_offers/OfferAndPackagesCartPage.dart @@ -1,25 +1,25 @@ import 'package:after_layout/after_layout.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/ResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/AddProductToCartRequestModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/h20_setting.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/payment_method_select.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/PackageOrderCompletedPage.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/pharmacy-terms-conditions-page.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart' as utils; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/offers_packages/PackagesCartItemCard.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/ResponseModel.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/AddProductToCartRequestModel.dart'; +import 'package:hmg_patient_app/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/h20_setting.dart'; +import 'package:hmg_patient_app/pages/ToDoList/payment_method_select.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/packages_offers/PackageOrderCompletedPage.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/pharmacy-terms-conditions-page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart' as utils; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/offers_packages/PackagesCartItemCard.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/lib/pages/packages_offers/OfferAndPackagesPage.dart b/lib/pages/packages_offers/OfferAndPackagesPage.dart index bad29b62..df8bb740 100644 --- a/lib/pages/packages_offers/OfferAndPackagesPage.dart +++ b/lib/pages/packages_offers/OfferAndPackagesPage.dart @@ -1,33 +1,33 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/AddProductToCartRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/OffersCategoriesRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/OffersProductsRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/offers_stores_response_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Authentication/select_device_imei_res.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/h2o/h20_setting.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/ClinicOfferAndPackagesPage.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/OfferAndPackagesCartPage.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/packages_offers_tab_pager.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/packages_orders_history.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart' as auth; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/navigation_service.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart' as utils; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio_selection_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/offers_packages/PackagesOfferCard.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/AddProductToCartRequestModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/OffersCategoriesRequestModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/OffersProductsRequestModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCategoriesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/offers_stores_response_model.dart'; +import 'package:hmg_patient_app/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Authentication/select_device_imei_res.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/h2o/h20_setting.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/packages_offers/ClinicOfferAndPackagesPage.dart'; +import 'package:hmg_patient_app/pages/packages_offers/OfferAndPackagesCartPage.dart'; +import 'package:hmg_patient_app/pages/packages_offers/packages_offers_tab_pager.dart'; +import 'package:hmg_patient_app/pages/packages_offers/packages_orders_history.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart' as auth; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/navigation_service.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart' as utils; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio_selection_dialog.dart'; +import 'package:hmg_patient_app/widgets/offers_packages/PackagesOfferCard.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/lib/pages/packages_offers/PackageOrderCompletedPage.dart b/lib/pages/packages_offers/PackageOrderCompletedPage.dart index 453de1fc..428205c1 100644 --- a/lib/pages/packages_offers/PackageOrderCompletedPage.dart +++ b/lib/pages/packages_offers/PackageOrderCompletedPage.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/lib/pages/packages_offers/packages_offers_tab_pager.dart b/lib/pages/packages_offers/packages_offers_tab_pager.dart index 401d7852..001e4391 100644 --- a/lib/pages/packages_offers/packages_offers_tab_pager.dart +++ b/lib/pages/packages_offers/packages_offers_tab_pager.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/OfferAndPackagesPage.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/packages_orders_history.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/packages_offers/OfferAndPackagesPage.dart'; +import 'package:hmg_patient_app/pages/packages_offers/packages_orders_history.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/packages_offers/packages_orders_history.dart b/lib/pages/packages_offers/packages_orders_history.dart index ea9ba403..54e7dff0 100644 --- a/lib/pages/packages_offers/packages_orders_history.dart +++ b/lib/pages/packages_offers/packages_orders_history.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/Loader/gif_loader_container.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/ConfirmWithMessageDialog.dart'; -import 'package:diplomaticquarterapp/widgets/offers_packages/PackagesOrderHistoryItemCard.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/Loader/gif_loader_container.dart'; +import 'package:hmg_patient_app/widgets/dialogs/ConfirmWithMessageDialog.dart'; +import 'package:hmg_patient_app/widgets/offers_packages/PackagesOrderHistoryItemCard.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/parent_categorise_page.dart b/lib/pages/parent_categorise_page.dart index 83196fab..68449c8d 100644 --- a/lib/pages/parent_categorise_page.dart +++ b/lib/pages/parent_categorise_page.dart @@ -1,24 +1,24 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/categorise_parent_model.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacy_categorise_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/product-detail.dart'; -import 'package:diplomaticquarterapp/pages/sub_categories_modalsheet.dart'; -import 'package:diplomaticquarterapp/pages/sub_categorise_page.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/entity_checkbox_list.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/categorise_parent_model.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacy_categorise_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/product-detail.dart'; +import 'package:hmg_patient_app/pages/sub_categories_modalsheet.dart'; +import 'package:hmg_patient_app/pages/sub_categorise_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/entity_checkbox_list.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; diff --git a/lib/pages/paymentService/payment_service.dart b/lib/pages/paymentService/payment_service.dart index 29161b50..6f1d5009 100644 --- a/lib/pages/paymentService/payment_service.dart +++ b/lib/pages/paymentService/payment_service.dart @@ -1,19 +1,19 @@ import 'package:badges/badges.dart' as badge_import; -import 'package:diplomaticquarterapp/Constants.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_inpatient_advance_requests_response_model.dart'; -import 'package:diplomaticquarterapp/pages/InPatientServices/inpatient_advance_payment.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/ToDo.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/advance_payment_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/my_balance_page.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/Constants.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_inpatient_advance_requests_response_model.dart'; +import 'package:hmg_patient_app/pages/InPatientServices/inpatient_advance_payment.dart'; +import 'package:hmg_patient_app/pages/ToDoList/ToDo.dart'; +import 'package:hmg_patient_app/pages/medical/balance/advance_payment_page.dart'; +import 'package:hmg_patient_app/pages/medical/balance/my_balance_page.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/ProductCheckTypeWidget.dart b/lib/pages/pharmacies/ProductCheckTypeWidget.dart index 56c770a3..ae15feef 100644 --- a/lib/pages/pharmacies/ProductCheckTypeWidget.dart +++ b/lib/pages/pharmacies/ProductCheckTypeWidget.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/wishlist_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/widgets/pharmacy/product_tile.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/wishlist_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/widgets/pharmacy/product_tile.dart'; import 'package:flutter/material.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; import 'package:provider/provider.dart'; class ProductCheckTypeWidget extends StatefulWidget { diff --git a/lib/pages/pharmacies/compare-list.dart b/lib/pages/pharmacies/compare-list.dart index be969678..7f9a963b 100644 --- a/lib/pages/pharmacies/compare-list.dart +++ b/lib/pages/pharmacies/compare-list.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; class CompareList with ChangeNotifier { diff --git a/lib/pages/pharmacies/compare.dart b/lib/pages/pharmacies/compare.dart index f4f3e98d..bbdea88a 100644 --- a/lib/pages/pharmacies/compare.dart +++ b/lib/pages/pharmacies/compare.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/compare-list.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacies/compare-list.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/medicine_search_screen.dart b/lib/pages/pharmacies/medicine_search_screen.dart index e76425a4..5e4bbea3 100644 --- a/lib/pages/pharmacies/medicine_search_screen.dart +++ b/lib/pages/pharmacies/medicine_search_screen.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacies_view_model.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/pharmacies_list_screen.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/input/text_field.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/pharmacy/drug_item.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacies_view_model.dart'; +import 'package:hmg_patient_app/pages/pharmacies/pharmacies_list_screen.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/input/text_field.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/pharmacy/drug_item.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/pharmacies/my_reviews.dart b/lib/pages/pharmacies/my_reviews.dart index dd36141d..ddfbccb3 100644 --- a/lib/pages/pharmacies/my_reviews.dart +++ b/lib/pages/pharmacies/my_reviews.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/review_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/review_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; diff --git a/lib/pages/pharmacies/pharmacies_list_screen.dart b/lib/pages/pharmacies/pharmacies_list_screen.dart index 92f5a277..e88587c0 100644 --- a/lib/pages/pharmacies/pharmacies_list_screen.dart +++ b/lib/pages/pharmacies/pharmacies_list_screen.dart @@ -1,12 +1,12 @@ import 'dart:convert'; import 'dart:typed_data'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacies_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/rounded_container.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacies_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/rounded_container.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:maps_launcher/maps_launcher.dart'; diff --git a/lib/pages/pharmacies/product-brands.dart b/lib/pages/pharmacies/product-brands.dart index 198cf4b7..58eaf30d 100644 --- a/lib/pages/pharmacies/product-brands.dart +++ b/lib/pages/pharmacies/product-brands.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/brand_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/final_products_page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/search_brands_page.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/brand_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/final_products_page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/search_brands_page.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; class ProductBrandsPage extends StatefulWidget { diff --git a/lib/pages/pharmacies/screens/address-select-page.dart b/lib/pages/pharmacies/screens/address-select-page.dart index 6b0b1140..6b6c6954 100644 --- a/lib/pages/pharmacies/screens/address-select-page.dart +++ b/lib/pages/pharmacies/screens/address-select-page.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class AddressSelectPageTest extends StatelessWidget { diff --git a/lib/pages/pharmacies/screens/cart-page/cart-order-page.dart b/lib/pages/pharmacies/screens/cart-page/cart-order-page.dart index 98ff43e1..80b60355 100644 --- a/lib/pages/pharmacies/screens/cart-page/cart-order-page.dart +++ b/lib/pages/pharmacies/screens/cart-page/cart-order-page.dart @@ -1,23 +1,23 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/pharmacy-terms-conditions-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/ProductOrderItem.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/order/Order.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/pharmacyAddresses/PharmacyAddresses.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/GestureIconButton.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/pharmacy-terms-conditions-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/ProductOrderItem.dart'; +import 'package:hmg_patient_app/pages/pharmacy/order/Order.dart'; +import 'package:hmg_patient_app/pages/pharmacy/pharmacyAddresses/PharmacyAddresses.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/GestureIconButton.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/cart-page/cart-order-preview.dart b/lib/pages/pharmacies/screens/cart-page/cart-order-preview.dart index 782cd05c..b08f86e5 100644 --- a/lib/pages/pharmacies/screens/cart-page/cart-order-preview.dart +++ b/lib/pages/pharmacies/screens/cart-page/cart-order-preview.dart @@ -1,17 +1,17 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/cart-page/payment_bottom_widget.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/cart-page/select_address_widget.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/cart-page/select_payment_option_widget.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/ProductOrderPreviewItem.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/cart-page/payment_bottom_widget.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/cart-page/select_address_widget.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/cart-page/select_payment_option_widget.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/ProductOrderPreviewItem.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/cart-page/lakum_widget.dart b/lib/pages/pharmacies/screens/cart-page/lakum_widget.dart index a9034553..c451b3cd 100644 --- a/lib/pages/pharmacies/screens/cart-page/lakum_widget.dart +++ b/lib/pages/pharmacies/screens/cart-page/lakum_widget.dart @@ -1,11 +1,11 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/cart-page/cart-order-preview.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/cart-page/cart-order-preview.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/cart-page/payment_bottom_widget.dart b/lib/pages/pharmacies/screens/cart-page/payment_bottom_widget.dart index b6856a26..f82666ff 100644 --- a/lib/pages/pharmacies/screens/cart-page/payment_bottom_widget.dart +++ b/lib/pages/pharmacies/screens/cart-page/payment_bottom_widget.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/order_detail.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page_pharmcy.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/navigation_service.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/order_detail.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page_pharmcy.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/navigation_service.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/cart-page/select_address_widget.dart b/lib/pages/pharmacies/screens/cart-page/select_address_widget.dart index 592d0e78..7d7378c5 100644 --- a/lib/pages/pharmacies/screens/cart-page/select_address_widget.dart +++ b/lib/pages/pharmacies/screens/cart-page/select_address_widget.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/pharmacyAddresses/PharmacyAddresses.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/pages/pharmacy/pharmacyAddresses/PharmacyAddresses.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/cart-page/select_payment_option_widget.dart b/lib/pages/pharmacies/screens/cart-page/select_payment_option_widget.dart index d6f162d8..97665afe 100644 --- a/lib/pages/pharmacies/screens/cart-page/select_payment_option_widget.dart +++ b/lib/pages/pharmacies/screens/cart-page/select_payment_option_widget.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/payment_method_select.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/payment-method-select-page.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/pages/ToDoList/payment_method_select.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/payment-method-select-page.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; class SelectPaymentOptionWidget extends StatefulWidget { diff --git a/lib/pages/pharmacies/screens/lacum-activitaion-vida-page.dart b/lib/pages/pharmacies/screens/lacum-activitaion-vida-page.dart index e0c6b517..b51a69d8 100644 --- a/lib/pages/pharmacies/screens/lacum-activitaion-vida-page.dart +++ b/lib/pages/pharmacies/screens/lacum-activitaion-vida-page.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/lacum-registration-viewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/lacum-registration-viewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/lacum-registration-page.dart b/lib/pages/pharmacies/screens/lacum-registration-page.dart index 4e03d7ef..def6f0a5 100644 --- a/lib/pages/pharmacies/screens/lacum-registration-page.dart +++ b/lib/pages/pharmacies/screens/lacum-registration-page.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/lacum-registration-viewModel.dart'; -import 'package:diplomaticquarterapp/models/id-name-pair.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/radio-group-dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/lacum-registration-viewModel.dart'; +import 'package:hmg_patient_app/models/id-name-pair.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/dialogs/radio-group-dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'lakum-terms-conditions-page.dart'; diff --git a/lib/pages/pharmacies/screens/lacum-setting-page.dart b/lib/pages/pharmacies/screens/lacum-setting-page.dart index 17ebc7e2..226f0e4c 100644 --- a/lib/pages/pharmacies/screens/lacum-setting-page.dart +++ b/lib/pages/pharmacies/screens/lacum-setting-page.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/lacum-banner-widget.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/lacum-banner-widget.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/lacum-transfer-page.dart b/lib/pages/pharmacies/screens/lacum-transfer-page.dart index 9123a1c2..d8c9765a 100644 --- a/lib/pages/pharmacies/screens/lacum-transfer-page.dart +++ b/lib/pages/pharmacies/screens/lacum-transfer-page.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/LacumAccountInformation.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/lacum-trasnfer-viewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/LacumAccountInformation.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/lacum-trasnfer-viewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class LacumTransferPage extends StatefulWidget { diff --git a/lib/pages/pharmacies/screens/lakum-main-page.dart b/lib/pages/pharmacies/screens/lakum-main-page.dart index 3d9cbf87..67f88808 100644 --- a/lib/pages/pharmacies/screens/lakum-main-page.dart +++ b/lib/pages/pharmacies/screens/lakum-main-page.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PointsAmountPerYear.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/lacum-registration-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/lacum-setting-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/lacum-transfer-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/lakum-points-year-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/lacum-banner-widget.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PointsAmountPerYear.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/lacum-registration-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/lacum-setting-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/lacum-transfer-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/lakum-points-year-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/lacum-banner-widget.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/lakum-points-month-page.dart b/lib/pages/pharmacies/screens/lakum-points-month-page.dart index 5e6952ec..0c095ae3 100644 --- a/lib/pages/pharmacies/screens/lakum-points-month-page.dart +++ b/lib/pages/pharmacies/screens/lakum-points-month-page.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PointsAmountPerMonth.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/lakum-point-table-row-widget.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PointsAmountPerMonth.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/lakum-point-table-row-widget.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class LakumPointMonthPage extends StatefulWidget { diff --git a/lib/pages/pharmacies/screens/lakum-points-year-page.dart b/lib/pages/pharmacies/screens/lakum-points-year-page.dart index a5111e5e..6eb533f4 100644 --- a/lib/pages/pharmacies/screens/lakum-points-year-page.dart +++ b/lib/pages/pharmacies/screens/lakum-points-year-page.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PointsAmountPerYear.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/lakum-point-table-row-widget.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PointsAmountPerYear.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/lakum-point-table-row-widget.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'lakum-points-month-page.dart'; diff --git a/lib/pages/pharmacies/screens/lakum-terms-conditions-page.dart b/lib/pages/pharmacies/screens/lakum-terms-conditions-page.dart index ab1a902e..e468f344 100644 --- a/lib/pages/pharmacies/screens/lakum-terms-conditions-page.dart +++ b/lib/pages/pharmacies/screens/lakum-terms-conditions-page.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/lacum-registration-viewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/lacum-registration-viewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_html/flutter_html.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/payment-method-select-page.dart b/lib/pages/pharmacies/screens/payment-method-select-page.dart index 0aa86c6b..33b40436 100644 --- a/lib/pages/pharmacies/screens/payment-method-select-page.dart +++ b/lib/pages/pharmacies/screens/payment-method-select-page.dart @@ -1,12 +1,12 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'cart-page/cart-order-preview.dart'; diff --git a/lib/pages/pharmacies/screens/pharmacy-terms-conditions-page.dart b/lib/pages/pharmacies/screens/pharmacy-terms-conditions-page.dart index 6c58970c..67b5fea4 100644 --- a/lib/pages/pharmacies/screens/pharmacy-terms-conditions-page.dart +++ b/lib/pages/pharmacies/screens/pharmacy-terms-conditions-page.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/tems-condition-viewmodel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/tems-condition-viewmodel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_html/flutter_html.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/pharmacy_module_page.dart b/lib/pages/pharmacies/screens/pharmacy_module_page.dart index cbf228de..38fbbd7a 100644 --- a/lib/pages/pharmacies/screens/pharmacy_module_page.dart +++ b/lib/pages/pharmacies/screens/pharmacy_module_page.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/home/BannerPager.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/home/BestSellerWidget.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/home/GridViewButtons.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/home/MostViewedWidget.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/home/PrescriptionsWidget.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/home/RecentlyViewedWidget.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/home/ShopByBrandWidget.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/home/BannerPager.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/home/BestSellerWidget.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/home/GridViewButtons.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/home/MostViewedWidget.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/home/PrescriptionsWidget.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/home/RecentlyViewedWidget.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/home/ShopByBrandWidget.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/phramacy-product-detail-page.dart b/lib/pages/pharmacies/screens/phramacy-product-detail-page.dart index afbd2b06..c8e40b93 100644 --- a/lib/pages/pharmacies/screens/phramacy-product-detail-page.dart +++ b/lib/pages/pharmacies/screens/phramacy-product-detail-page.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class ProductDetailScreen extends StatelessWidget { diff --git a/lib/pages/pharmacies/screens/product-details/availability_info.dart b/lib/pages/pharmacies/screens/product-details/availability_info.dart index 4c635507..351ac7b2 100644 --- a/lib/pages/pharmacies/screens/product-details/availability_info.dart +++ b/lib/pages/pharmacies/screens/product-details/availability_info.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart'; import 'package:map_launcher/map_launcher.dart'; diff --git a/lib/pages/pharmacies/screens/product-details/details_info.dart b/lib/pages/pharmacies/screens/product-details/details_info.dart index 95c6ca4b..e25634f4 100644 --- a/lib/pages/pharmacies/screens/product-details/details_info.dart +++ b/lib/pages/pharmacies/screens/product-details/details_info.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/product-details/discount_description.dart b/lib/pages/pharmacies/screens/product-details/discount_description.dart index 10233b1c..34ffd549 100644 --- a/lib/pages/pharmacies/screens/product-details/discount_description.dart +++ b/lib/pages/pharmacies/screens/product-details/discount_description.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; import 'package:flutter/material.dart'; class DiscountDescription extends StatelessWidget { diff --git a/lib/pages/pharmacies/screens/product-details/footor/footer-widget.dart b/lib/pages/pharmacies/screens/product-details/footor/footer-widget.dart index f4928e49..b96f743a 100644 --- a/lib/pages/pharmacies/screens/product-details/footor/footer-widget.dart +++ b/lib/pages/pharmacies/screens/product-details/footor/footer-widget.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/select_device_imei_res.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/footor/quantity_box.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/select_device_imei_res.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/footor/quantity_box.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; import 'package:flutter/material.dart'; import '../../../../../locator.dart'; diff --git a/lib/pages/pharmacies/screens/product-details/product-detail.dart b/lib/pages/pharmacies/screens/product-details/product-detail.dart index fa49cc51..184356e0 100644 --- a/lib/pages/pharmacies/screens/product-details/product-detail.dart +++ b/lib/pages/pharmacies/screens/product-details/product-detail.dart @@ -1,18 +1,18 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/product-name-and-price.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/reviews_info.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/shared/custom-divider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/product-name-and-price.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/reviews_info.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/shared/custom-divider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart b/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart index 6bea9208..e9a33778 100644 --- a/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart +++ b/lib/pages/pharmacies/screens/product-details/product-name-and-price.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; diff --git a/lib/pages/pharmacies/screens/product-details/recommended_products.dart b/lib/pages/pharmacies/screens/product-details/recommended_products.dart index 7f646971..f568ae5e 100644 --- a/lib/pages/pharmacies/screens/product-details/recommended_products.dart +++ b/lib/pages/pharmacies/screens/product-details/recommended_products.dart @@ -1,19 +1,19 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/recommendedProduct_model.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/product-detail.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/recommendedProduct_model.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/product-detail.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/product-details/reviews_info.dart b/lib/pages/pharmacies/screens/product-details/reviews_info.dart index 0fdac7a9..edfa734a 100644 --- a/lib/pages/pharmacies/screens/product-details/reviews_info.dart +++ b/lib/pages/pharmacies/screens/product-details/reviews_info.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/product-details/shared/icon_with_bg.dart b/lib/pages/pharmacies/screens/product-details/shared/icon_with_bg.dart index de97f3fb..80927a8a 100644 --- a/lib/pages/pharmacies/screens/product-details/shared/icon_with_bg.dart +++ b/lib/pages/pharmacies/screens/product-details/shared/icon_with_bg.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/product-details/shared/product_details_app_bar.dart b/lib/pages/pharmacies/screens/product-details/shared/product_details_app_bar.dart index afb2cd3a..69e5579b 100644 --- a/lib/pages/pharmacies/screens/product-details/shared/product_details_app_bar.dart +++ b/lib/pages/pharmacies/screens/product-details/shared/product_details_app_bar.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page_pharmcy.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/product-detail.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/navigation_service.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page_pharmcy.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/product-detail.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/navigation_service.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/screens/recommended-product-page.dart b/lib/pages/pharmacies/screens/recommended-product-page.dart index d8b488c2..b8eb2bc3 100644 --- a/lib/pages/pharmacies/screens/recommended-product-page.dart +++ b/lib/pages/pharmacies/screens/recommended-product-page.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/recommendedProduct_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/recommendedProduct_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; import 'package:flutter/material.dart'; dynamic languageID; diff --git a/lib/pages/pharmacies/search_brands_page.dart b/lib/pages/pharmacies/search_brands_page.dart index 44e261d6..2a71b04d 100644 --- a/lib/pages/pharmacies/search_brands_page.dart +++ b/lib/pages/pharmacies/search_brands_page.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/brand_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/input/text_field.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_pharmacy_widget.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/brand_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/input/text_field.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_pharmacy_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/widgets/ProductOrderItem.dart b/lib/pages/pharmacies/widgets/ProductOrderItem.dart index 6a22cc84..2f76eb31 100644 --- a/lib/pages/pharmacies/widgets/ProductOrderItem.dart +++ b/lib/pages/pharmacies/widgets/ProductOrderItem.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCart.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; diff --git a/lib/pages/pharmacies/widgets/ProductOrderPreviewItem.dart b/lib/pages/pharmacies/widgets/ProductOrderPreviewItem.dart index 6977a1a8..bc106f46 100644 --- a/lib/pages/pharmacies/widgets/ProductOrderPreviewItem.dart +++ b/lib/pages/pharmacies/widgets/ProductOrderPreviewItem.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/ShoppingCart.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/ShoppingCart.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/widgets/ProductTileItem.dart b/lib/pages/pharmacies/widgets/ProductTileItem.dart index 9e303152..9e1210b7 100644 --- a/lib/pages/pharmacies/widgets/ProductTileItem.dart +++ b/lib/pages/pharmacies/widgets/ProductTileItem.dart @@ -1,16 +1,16 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/product-detail.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/shared/icon_with_bg.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/StarRating.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/product-detail.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/shared/icon_with_bg.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/StarRating.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:flutter_svg/svg.dart'; diff --git a/lib/pages/pharmacies/widgets/home/BannerPager.dart b/lib/pages/pharmacies/widgets/home/BannerPager.dart index ae9811e0..bc057e29 100644 --- a/lib/pages/pharmacies/widgets/home/BannerPager.dart +++ b/lib/pages/pharmacies/widgets/home/BannerPager.dart @@ -1,16 +1,16 @@ import 'package:cached_network_image/cached_network_image.dart'; // import 'package:carousel_slider/carousel_slider.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/landing/home_page.dart'; -import 'package:diplomaticquarterapp/pages/offers_categorise_page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/lacum-activitaion-vida-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/lacum-registration-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/lakum-main-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/home/GridViewCard.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/landing/home_page.dart'; +import 'package:hmg_patient_app/pages/offers_categorise_page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/lacum-activitaion-vida-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/lacum-registration-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/lakum-main-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/home/GridViewCard.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/widgets/home/BestSellerWidget.dart b/lib/pages/pharmacies/widgets/home/BestSellerWidget.dart index 23aa2558..ab560f9f 100644 --- a/lib/pages/pharmacies/widgets/home/BestSellerWidget.dart +++ b/lib/pages/pharmacies/widgets/home/BestSellerWidget.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/BestSellerViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/BestSellerViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; import 'package:flutter/material.dart'; import '../../../final_products_page.dart'; diff --git a/lib/pages/pharmacies/widgets/home/GridViewButtons.dart b/lib/pages/pharmacies/widgets/home/GridViewButtons.dart index 8a549b48..9ec7b5e5 100644 --- a/lib/pages/pharmacies/widgets/home/GridViewButtons.dart +++ b/lib/pages/pharmacies/widgets/home/GridViewButtons.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/pages/landing/home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescriptions_home_page.dart'; -import 'package:diplomaticquarterapp/pages/search_products_page.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/pages/landing/home_page.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescriptions_home_page.dart'; +import 'package:hmg_patient_app/pages/search_products_page.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import '../../../offers_categorise_page.dart'; diff --git a/lib/pages/pharmacies/widgets/home/GridViewCard.dart b/lib/pages/pharmacies/widgets/home/GridViewCard.dart index b58956af..d3306c44 100644 --- a/lib/pages/pharmacies/widgets/home/GridViewCard.dart +++ b/lib/pages/pharmacies/widgets/home/GridViewCard.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; class GridViewCard extends StatelessWidget { diff --git a/lib/pages/pharmacies/widgets/home/MostViewedWidget.dart b/lib/pages/pharmacies/widgets/home/MostViewedWidget.dart index 7b260ec0..92a50141 100644 --- a/lib/pages/pharmacies/widgets/home/MostViewedWidget.dart +++ b/lib/pages/pharmacies/widgets/home/MostViewedWidget.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/MostViewedViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/final_products_page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/ProductTileItem.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/MostViewedViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/final_products_page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/ProductTileItem.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; import 'package:flutter/material.dart'; class MostViewedWidget extends StatelessWidget { diff --git a/lib/pages/pharmacies/widgets/home/PrescriptionsWidget.dart b/lib/pages/pharmacies/widgets/home/PrescriptionsWidget.dart index 3eee39e6..065173a1 100644 --- a/lib/pages/pharmacies/widgets/home/PrescriptionsWidget.dart +++ b/lib/pages/pharmacies/widgets/home/PrescriptionsWidget.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/PrescriptionViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescription_items_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescriptions_home_page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/PrescriptionViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescription_items_page.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescriptions_home_page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacies/widgets/home/RecentlyViewedWidget.dart b/lib/pages/pharmacies/widgets/home/RecentlyViewedWidget.dart index 8b459a76..d823540a 100644 --- a/lib/pages/pharmacies/widgets/home/RecentlyViewedWidget.dart +++ b/lib/pages/pharmacies/widgets/home/RecentlyViewedWidget.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/LastVisitedViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/LastVisitedViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; import 'package:flutter/material.dart'; import '../../../final_products_page.dart'; diff --git a/lib/pages/pharmacies/widgets/home/ShopByBrandWidget.dart b/lib/pages/pharmacies/widgets/home/ShopByBrandWidget.dart index 38250c0a..c005be77 100644 --- a/lib/pages/pharmacies/widgets/home/ShopByBrandWidget.dart +++ b/lib/pages/pharmacies/widgets/home/ShopByBrandWidget.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/BrandViewModel.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/BrandViewModel.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; import 'package:flutter/material.dart'; import '../../product-brands.dart'; diff --git a/lib/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart b/lib/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart index 2b73a15a..79634a69 100644 --- a/lib/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart +++ b/lib/pages/pharmacies/widgets/home/ViewAllHomeWidget.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; class ViewAllHomeWidget extends StatelessWidget { diff --git a/lib/pages/pharmacies/widgets/lacum-banner-widget.dart b/lib/pages/pharmacies/widgets/lacum-banner-widget.dart index 42ca3d07..497d1b31 100644 --- a/lib/pages/pharmacies/widgets/lacum-banner-widget.dart +++ b/lib/pages/pharmacies/widgets/lacum-banner-widget.dart @@ -1,8 +1,8 @@ // import 'package:carousel_slider/carousel_slider.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; class LakumBannerWidget extends StatefulWidget { diff --git a/lib/pages/pharmacies/widgets/lakum-banner-widget.dart b/lib/pages/pharmacies/widgets/lakum-banner-widget.dart index 3fc5d14b..00b7d65b 100644 --- a/lib/pages/pharmacies/widgets/lakum-banner-widget.dart +++ b/lib/pages/pharmacies/widgets/lakum-banner-widget.dart @@ -1,8 +1,8 @@ // import 'package:carousel_slider/carousel_slider.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/lacum-viewmodel.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; class LakumBannerWidget extends StatefulWidget { diff --git a/lib/pages/pharmacies/widgets/lakum-point-table-row-widget.dart b/lib/pages/pharmacies/widgets/lakum-point-table-row-widget.dart index 4fb722e3..5d871def 100644 --- a/lib/pages/pharmacies/widgets/lakum-point-table-row-widget.dart +++ b/lib/pages/pharmacies/widgets/lakum-point-table-row-widget.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/points-expandable-notifier.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/points-expandable-notifier.dart'; import 'package:flutter/material.dart'; class LakumPointTableRowWidget extends StatefulWidget { diff --git a/lib/pages/pharmacies/widgets/lakum_point_table_row_widget.dart b/lib/pages/pharmacies/widgets/lakum_point_table_row_widget.dart index 757cf03a..9f08c001 100644 --- a/lib/pages/pharmacies/widgets/lakum_point_table_row_widget.dart +++ b/lib/pages/pharmacies/widgets/lakum_point_table_row_widget.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/points-expandable-notifier.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/points-expandable-notifier.dart'; import 'package:flutter/material.dart'; class LakumPointTableRowWidget extends StatefulWidget { diff --git a/lib/pages/pharmacies/widgets/manufacturerItem.dart b/lib/pages/pharmacies/widgets/manufacturerItem.dart index 739e90bc..0a6f3d39 100644 --- a/lib/pages/pharmacies/widgets/manufacturerItem.dart +++ b/lib/pages/pharmacies/widgets/manufacturerItem.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/Manufacturer.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Manufacturer.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import '../../final_products_page.dart'; diff --git a/lib/pages/pharmacies/wishlist.dart b/lib/pages/pharmacies/wishlist.dart index d7a7df05..1a1ad469 100644 --- a/lib/pages/pharmacies/wishlist.dart +++ b/lib/pages/pharmacies/wishlist.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/wishlist_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/ProductCheckTypeWidget.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/wishlist_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacies/ProductCheckTypeWidget.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; class WishlistPage extends StatelessWidget { const WishlistPage({Key? key}) : super(key: key); diff --git a/lib/pages/pharmacy/order/Order.dart b/lib/pages/pharmacy/order/Order.dart index 09e9c8b7..269a5b76 100644 --- a/lib/pages/pharmacy/order/Order.dart +++ b/lib/pages/pharmacy/order/Order.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/orders_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/order_model_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/order/OrderDetails.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/orders_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/order_model_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacy/order/OrderDetails.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacy/order/OrderDetails.dart b/lib/pages/pharmacy/order/OrderDetails.dart index e773f586..bdd459aa 100644 --- a/lib/pages/pharmacy/order/OrderDetails.dart +++ b/lib/pages/pharmacy/order/OrderDetails.dart @@ -1,19 +1,19 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/order_detail.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/orders_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/order_model_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/order/Order.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets//pharmacy/product_tile.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/order_detail.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/orders_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/order_model_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacy/order/Order.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets//pharmacy/product_tile.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/src/widgets/image.dart' as flutterImage; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/pharmacy/order/ProductReview.dart b/lib/pages/pharmacy/order/ProductReview.dart index 6e086f34..e98996cc 100644 --- a/lib/pages/pharmacy/order/ProductReview.dart +++ b/lib/pages/pharmacy/order/ProductReview.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/order_model_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/profile/profile.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/order_model_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacy/profile/profile.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter/src/widgets/image.dart' as flutterImage; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; diff --git a/lib/pages/pharmacy/order/TrackDriver.dart b/lib/pages/pharmacy/order/TrackDriver.dart index 21b2572f..2ef78fe3 100644 --- a/lib/pages/pharmacy/order/TrackDriver.dart +++ b/lib/pages/pharmacy/order/TrackDriver.dart @@ -3,13 +3,13 @@ // import 'dart:ui' as ui; // // import 'package:async/async.dart'; -// import 'package:diplomaticquarterapp/config/config.dart'; -// import 'package:diplomaticquarterapp/core/model/pharmacies/order_detail.dart'; -// import 'package:diplomaticquarterapp/core/service/parmacyModule/order-preview-service.dart'; -// import 'package:diplomaticquarterapp/locator.dart'; -// import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -// import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -// import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +// import 'package:hmg_patient_app/config/config.dart'; +// import 'package:hmg_patient_app/core/model/pharmacies/order_detail.dart'; +// import 'package:hmg_patient_app/core/service/parmacyModule/order-preview-service.dart'; +// import 'package:hmg_patient_app/locator.dart'; +// import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +// import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +// import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; // import 'package:flutter/material.dart'; // import 'package:flutter/services.dart'; // import 'package:flutter_animarker/lat_lng_interpolation.dart'; diff --git a/lib/pages/pharmacy/pharmacyAddresses/AddAddress.dart b/lib/pages/pharmacy/pharmacyAddresses/AddAddress.dart index de0b65b2..8056be5a 100644 --- a/lib/pages/pharmacy/pharmacyAddresses/AddAddress.dart +++ b/lib/pages/pharmacy/pharmacyAddresses/AddAddress.dart @@ -1,17 +1,17 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/location_util.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/app_map/google_huawei_map.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/location_util.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/app_map/google_huawei_map.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:geocoding/geocoding.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/pages/pharmacy/pharmacyAddresses/PharmacyAddresses.dart b/lib/pages/pharmacy/pharmacyAddresses/PharmacyAddresses.dart index 36f5578e..b02ffd26 100644 --- a/lib/pages/pharmacy/pharmacyAddresses/PharmacyAddresses.dart +++ b/lib/pages/pharmacy/pharmacyAddresses/PharmacyAddresses.dart @@ -1,19 +1,19 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/payment-method-select-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/pharmacyAddresses/AddAddress.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/borderedButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/PharmacyAddressesViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/payment-method-select-page.dart'; +import 'package:hmg_patient_app/pages/pharmacy/pharmacyAddresses/AddAddress.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/borderedButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/pharmacy/pharmacyContacts.dart b/lib/pages/pharmacy/pharmacyContacts.dart index ab9e56d7..5bdef850 100644 --- a/lib/pages/pharmacy/pharmacyContacts.dart +++ b/lib/pages/pharmacy/pharmacyContacts.dart @@ -1,8 +1,8 @@ import 'dart:io' show Platform; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:maps_launcher/maps_launcher.dart'; diff --git a/lib/pages/pharmacy/profile/profile.dart b/lib/pages/pharmacy/profile/profile.dart index a844e0d2..4faa9c13 100644 --- a/lib/pages/pharmacy/profile/profile.dart +++ b/lib/pages/pharmacy/profile/profile.dart @@ -1,28 +1,28 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/order_model_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/pages/ContactUs/LiveChat/livechat_page.dart'; -import 'package:diplomaticquarterapp/pages/ContactUs/findus/findus_page.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/family/my-family.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/login/welcome.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescriptions_home_page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/compare.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/my_reviews.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/lacum-activitaion-vida-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/lakum-main-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/lakum-terms-conditions-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/pharmacy-terms-conditions-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/wishlist.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/order/Order.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/pharmacyAddresses/PharmacyAddresses.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/pharmacyContacts.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/order_model_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/pages/ContactUs/LiveChat/livechat_page.dart'; +import 'package:hmg_patient_app/pages/ContactUs/findus/findus_page.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/family/my-family.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/login/welcome.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescriptions_home_page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/compare.dart'; +import 'package:hmg_patient_app/pages/pharmacies/my_reviews.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/lacum-activitaion-vida-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/lakum-main-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/lakum-terms-conditions-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/pharmacy-terms-conditions-page.dart'; +import 'package:hmg_patient_app/pages/pharmacies/wishlist.dart'; +import 'package:hmg_patient_app/pages/pharmacy/order/Order.dart'; +import 'package:hmg_patient_app/pages/pharmacy/pharmacyAddresses/PharmacyAddresses.dart'; +import 'package:hmg_patient_app/pages/pharmacy/pharmacyContacts.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/pharmacy_categorise.dart b/lib/pages/pharmacy_categorise.dart index a748ed90..f50eb00a 100644 --- a/lib/pages/pharmacy_categorise.dart +++ b/lib/pages/pharmacy_categorise.dart @@ -1,16 +1,16 @@ import 'dart:convert'; import 'package:barcode_scan2/barcode_scan2.dart'; -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacy_categorise_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page_pharmcy.dart'; -import 'package:diplomaticquarterapp/pages/parent_categorise_page.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacy_categorise_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page_pharmcy.dart'; +import 'package:hmg_patient_app/pages/parent_categorise_page.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/rateAppointment/rate_appointment_clinic.dart b/lib/pages/rateAppointment/rate_appointment_clinic.dart index 4dbc3edd..68bac522 100644 --- a/lib/pages/rateAppointment/rate_appointment_clinic.dart +++ b/lib/pages/rateAppointment/rate_appointment_clinic.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/model/rate/appointment_details.dart'; -import 'package:diplomaticquarterapp/core/viewModels/appointment_rate_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/rate/appointment_details.dart'; +import 'package:hmg_patient_app/core/viewModels/appointment_rate_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/rateAppointment/rate_appointment_doctor.dart b/lib/pages/rateAppointment/rate_appointment_doctor.dart index fba43fbe..c396fd4d 100644 --- a/lib/pages/rateAppointment/rate_appointment_doctor.dart +++ b/lib/pages/rateAppointment/rate_appointment_doctor.dart @@ -1,19 +1,19 @@ -import 'package:diplomaticquarterapp/core/viewModels/appointment_rate_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/rateAppointment/rate_appointment_clinic.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/appointment_rate_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/DoctorView.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/rateAppointment/rate_appointment_clinic.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/search_products_page.dart b/lib/pages/search_products_page.dart index 974b5b98..2849c9d7 100644 --- a/lib/pages/search_products_page.dart +++ b/lib/pages/search_products_page.dart @@ -1,19 +1,19 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacy_categorise_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/product-detail.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacy_categorise_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/product-detail.dart'; -// import 'package:diplomaticquarterapp/pages/pharmacies/product_detail.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/input/text_field.dart'; -import 'package:diplomaticquarterapp/widgets/others/StarRating.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_pharmacy_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +// import 'package:hmg_patient_app/pages/pharmacies/product_detail.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/input/text_field.dart'; +import 'package:hmg_patient_app/widgets/others/StarRating.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_pharmacy_widget.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/settings/InfoPage.dart b/lib/pages/settings/InfoPage.dart index 04cc670e..ae5da181 100644 --- a/lib/pages/settings/InfoPage.dart +++ b/lib/pages/settings/InfoPage.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; class AboutApp extends StatelessWidget { diff --git a/lib/pages/settings/general_setting.dart b/lib/pages/settings/general_setting.dart index 9cac9df0..3410ff93 100644 --- a/lib/pages/settings/general_setting.dart +++ b/lib/pages/settings/general_setting.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/theme/theme_notifier.dart'; -import 'package:diplomaticquarterapp/theme/theme_value.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/theme/theme_notifier.dart'; +import 'package:hmg_patient_app/theme/theme_value.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:geolocator/geolocator.dart'; diff --git a/lib/pages/settings/profile_setting.dart b/lib/pages/settings/profile_setting.dart index 911ab0e3..180dbd82 100644 --- a/lib/pages/settings/profile_setting.dart +++ b/lib/pages/settings/profile_setting.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/viewModels/dashboard_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/core/viewModels/dashboard_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/settings/settings.dart b/lib/pages/settings/settings.dart index 9b3dfc3f..40fbd829 100644 --- a/lib/pages/settings/settings.dart +++ b/lib/pages/settings/settings.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/pages/settings/general_setting.dart'; -import 'package:diplomaticquarterapp/pages/settings/profile_setting.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/arrow_back.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/pages/settings/general_setting.dart'; +import 'package:hmg_patient_app/pages/settings/profile_setting.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/arrow_back.dart'; import 'package:flutter/material.dart'; class Settings extends StatefulWidget { diff --git a/lib/pages/sub_categories_modalsheet.dart b/lib/pages/sub_categories_modalsheet.dart index 64b48fd1..974bf625 100644 --- a/lib/pages/sub_categories_modalsheet.dart +++ b/lib/pages/sub_categories_modalsheet.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/model/pharmacy/categorise_parent_model.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/pharmacy_categorise.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacy_categorise_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/sub_categorise_page.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_pharmacy_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/categorise_parent_model.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/pharmacy_categorise.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacy_categorise_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/sub_categorise_page.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_pharmacy_widget.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'base/base_view.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/sub_categorise_page.dart b/lib/pages/sub_categorise_page.dart index 7c1f398e..b037ac11 100644 --- a/lib/pages/sub_categorise_page.dart +++ b/lib/pages/sub_categorise_page.dart @@ -1,28 +1,28 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacy/categorise_parent_model.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacy_categorise_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/product-detail.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_pharmacy_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/others/entity_checkbox_list.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/categorise_parent_model.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacy_categorise_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/product-detail.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_pharmacy_widget.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/entity_checkbox_list.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:provider/provider.dart'; import 'package:pull_to_refresh/pull_to_refresh.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart' as utils; +import 'package:hmg_patient_app/uitl/utils.dart' as utils; import 'base/base_view.dart'; import 'final_products_page.dart'; diff --git a/lib/pages/symptom-checker/info.dart b/lib/pages/symptom-checker/info.dart index 41724809..62f2272d 100644 --- a/lib/pages/symptom-checker/info.dart +++ b/lib/pages/symptom-checker/info.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/pages/symptom-checker/select-gender.dart b/lib/pages/symptom-checker/select-gender.dart index c0ca1712..fb9f2317 100644 --- a/lib/pages/symptom-checker/select-gender.dart +++ b/lib/pages/symptom-checker/select-gender.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; // import 'package:flutter_xlider/flutter_xlider.dart'; diff --git a/lib/pages/symptom-checker/symtom-checker.dart b/lib/pages/symptom-checker/symtom-checker.dart index c088caab..b373a585 100644 --- a/lib/pages/symptom-checker/symtom-checker.dart +++ b/lib/pages/symptom-checker/symtom-checker.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/pages/vaccine/my_vaccines_item_screen.dart b/lib/pages/vaccine/my_vaccines_item_screen.dart index 2aa78aee..23d6f3ad 100644 --- a/lib/pages/vaccine/my_vaccines_item_screen.dart +++ b/lib/pages/vaccine/my_vaccines_item_screen.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/vaccine_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/vaccine_view_model.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/vaccine/my_vaccines_screen.dart b/lib/pages/vaccine/my_vaccines_screen.dart index 44d85cc5..0714842e 100644 --- a/lib/pages/vaccine/my_vaccines_screen.dart +++ b/lib/pages/vaccine/my_vaccines_screen.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/vaccine_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/vaccine_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/doctor_card.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/others/app_expandable_notifier.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/pages/videocall-webrtc-rnd/utils/upload-recording.dart b/lib/pages/videocall-webrtc-rnd/utils/upload-recording.dart index 53eb2230..9a25eb52 100644 --- a/lib/pages/videocall-webrtc-rnd/utils/upload-recording.dart +++ b/lib/pages/videocall-webrtc-rnd/utils/upload-recording.dart @@ -1,7 +1,7 @@ // import 'dart:convert'; // import 'dart:html' as html; // -// import 'package:diplomaticquarterapp/pages/videocall-webrtc-rnd/utils/blob-extension.dart'; +// import 'package:hmg_patient_app/pages/videocall-webrtc-rnd/utils/blob-extension.dart'; // import 'package:flutter/cupertino.dart'; // import 'package:http/http.dart' as http; // diff --git a/lib/pages/videocall-webrtc-rnd/web_recorder.dart b/lib/pages/videocall-webrtc-rnd/web_recorder.dart index 99217d68..ad90baaa 100644 --- a/lib/pages/videocall-webrtc-rnd/web_recorder.dart +++ b/lib/pages/videocall-webrtc-rnd/web_recorder.dart @@ -5,9 +5,9 @@ // import 'dart:io'; // import 'dart:js' as js; // import 'dart:typed_data'; -// import 'package:diplomaticquarterapp/pages/videocall-webrtc-rnd/js_wrapper/multistreammixer-wrapper.dart'; -// import 'package:diplomaticquarterapp/pages/videocall-webrtc-rnd/utils/blob-extension.dart'; -// import 'package:diplomaticquarterapp/pages/videocall-webrtc-rnd/utils/upload-recording.dart'; +// import 'package:hmg_patient_app/pages/videocall-webrtc-rnd/js_wrapper/multistreammixer-wrapper.dart'; +// import 'package:hmg_patient_app/pages/videocall-webrtc-rnd/utils/blob-extension.dart'; +// import 'package:hmg_patient_app/pages/videocall-webrtc-rnd/utils/upload-recording.dart'; // import 'package:flutter/cupertino.dart'; // import 'package:flutter_webrtc/flutter_webrtc.dart'; // diff --git a/lib/pages/videocall-webrtc-rnd/webrtc/start_video_call.dart b/lib/pages/videocall-webrtc-rnd/webrtc/start_video_call.dart index d17bffe3..ba3d227f 100644 --- a/lib/pages/videocall-webrtc-rnd/webrtc/start_video_call.dart +++ b/lib/pages/videocall-webrtc-rnd/webrtc/start_video_call.dart @@ -1,8 +1,8 @@ // import 'dart:async'; // -// import 'package:diplomaticquarterapp/pages/conference/conference_button_bar.dart'; -// import 'package:diplomaticquarterapp/pages/conference/web_rtc/widgets/cam_view_widget.dart'; -// import 'package:diplomaticquarterapp/pages/videocall-webrtc-rnd/utils/device_info.dart'; +// import 'package:hmg_patient_app/pages/conference/conference_button_bar.dart'; +// import 'package:hmg_patient_app/pages/conference/web_rtc/widgets/cam_view_widget.dart'; +// import 'package:hmg_patient_app/pages/videocall-webrtc-rnd/utils/device_info.dart'; // import 'package:firebase_messaging/firebase_messaging.dart'; // import 'package:flutter/material.dart'; // import 'package:flutter/services.dart'; diff --git a/lib/pages/webRTC/OpenTok/OpenTok.dart b/lib/pages/webRTC/OpenTok/OpenTok.dart index 2e21e8cf..bf00f79c 100644 --- a/lib/pages/webRTC/OpenTok/OpenTok.dart +++ b/lib/pages/webRTC/OpenTok/OpenTok.dart @@ -1,8 +1,8 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/pages/conference/conference_button_bar.dart'; -import 'package:diplomaticquarterapp/pages/conference/draggable_publisher.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/pages/conference/conference_button_bar.dart'; +import 'package:hmg_patient_app/pages/conference/draggable_publisher.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; diff --git a/lib/pages/webRTC/call_page.dart b/lib/pages/webRTC/call_page.dart index b9f444d1..e67a386e 100644 --- a/lib/pages/webRTC/call_page.dart +++ b/lib/pages/webRTC/call_page.dart @@ -1,9 +1,9 @@ // import 'dart:io'; // -// import 'package:diplomaticquarterapp/models/LiveCare/IncomingCallData.dart'; -// import 'package:diplomaticquarterapp/pages/livecare/incoming_call.dart'; -// import 'package:diplomaticquarterapp/pages/webRTC/signaling.dart'; -// import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +// import 'package:hmg_patient_app/models/LiveCare/IncomingCallData.dart'; +// import 'package:hmg_patient_app/pages/livecare/incoming_call.dart'; +// import 'package:hmg_patient_app/pages/webRTC/signaling.dart'; +// import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; // import 'package:firebase_messaging/firebase_messaging.dart'; // import 'package:flutter/material.dart'; // import 'package:flutter_webrtc/flutter_webrtc.dart'; diff --git a/lib/pages/webRTC/call_page_bkp.dart b/lib/pages/webRTC/call_page_bkp.dart index 4a31feae..83347b08 100644 --- a/lib/pages/webRTC/call_page_bkp.dart +++ b/lib/pages/webRTC/call_page_bkp.dart @@ -1,5 +1,5 @@ -// import 'package:diplomaticquarterapp/pages/webRTC/signaling_bkp.dart'; -// import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +// import 'package:hmg_patient_app/pages/webRTC/signaling_bkp.dart'; +// import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; // import 'package:flutter/material.dart'; // import 'package:flutter_webrtc/flutter_webrtc.dart'; // diff --git a/lib/pages/webRTC/fcm/FCMSendNotification.dart b/lib/pages/webRTC/fcm/FCMSendNotification.dart index 08c4cca9..3dc22d01 100644 --- a/lib/pages/webRTC/fcm/FCMSendNotification.dart +++ b/lib/pages/webRTC/fcm/FCMSendNotification.dart @@ -1,7 +1,7 @@ import 'dart:convert'; -import 'package:diplomaticquarterapp/core/service/client/base_app_client.dart'; +import 'package:hmg_patient_app/core/service/client/base_app_client.dart'; import 'package:http/http.dart' as http; const _serverFCMToken = 'ya29.a0ARrdaM9U7fZtxF64ntg2Y1Nve-cd4rPazyGcWN69cQmOsddUqxAL1X8GUQ8V6sW2gWxM8ln1BIbmh0OrzQtCiTGrsmcL3jZlGXoQhZN51nX3O7F3g1AXCW_Zt_pjiworCJEGSRkl7QirxE7RFzlwBONsOuft'; diff --git a/lib/pages/webRTC/signaling.dart b/lib/pages/webRTC/signaling.dart index 028de903..b4aa9a9f 100644 --- a/lib/pages/webRTC/signaling.dart +++ b/lib/pages/webRTC/signaling.dart @@ -1,6 +1,6 @@ // import 'dart:convert'; // -// import 'package:diplomaticquarterapp/uitl/SignalRUtil.dart'; +// import 'package:hmg_patient_app/uitl/SignalRUtil.dart'; // import 'package:flutter/cupertino.dart'; // import 'package:flutter_webrtc/flutter_webrtc.dart'; // diff --git a/lib/routes.dart b/lib/routes.dart index c2ee5f51..ec391bd3 100644 --- a/lib/routes.dart +++ b/lib/routes.dart @@ -1,32 +1,32 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/health-weather/health-weather-indicator.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/family/add-family-member.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/family/add-family_type.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/family/my-family.dart'; -import 'package:diplomaticquarterapp/pages/TestPage.dart'; -import 'package:diplomaticquarterapp/pages/appUpdatePage/app_update_page.dart'; -import 'package:diplomaticquarterapp/pages/conference/zoom/call_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/livecare/incoming_call.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_home.dart'; -import 'package:diplomaticquarterapp/pages/login/confirm-login.dart'; -import 'package:diplomaticquarterapp/pages/login/forgot-password.dart'; -import 'package:diplomaticquarterapp/pages/login/login-type.dart'; -import 'package:diplomaticquarterapp/pages/login/login.dart'; -import 'package:diplomaticquarterapp/pages/login/register-info.dart'; -import 'package:diplomaticquarterapp/pages/login/register.dart'; -import 'package:diplomaticquarterapp/pages/login/welcome.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/OfferAndPackagesCartPage.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/PackageOrderCompletedPage.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/cart-page/cart-order-page.dart'; -import 'package:diplomaticquarterapp/pages/settings/settings.dart'; -import 'package:diplomaticquarterapp/pages/symptom-checker/info.dart'; -import 'package:diplomaticquarterapp/pages/symptom-checker/select-gender.dart'; -import 'package:diplomaticquarterapp/pages/symptom-checker/symtom-checker.dart'; -import 'package:diplomaticquarterapp/pages/webRTC/OpenTok/OpenTok.dart'; -import 'package:diplomaticquarterapp/pages/webRTC/call_page.dart'; -import 'package:diplomaticquarterapp/pages/webRTC/call_page_bkp.dart'; -import 'package:diplomaticquarterapp/splashPage.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/health-weather/health-weather-indicator.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/family/add-family-member.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/family/add-family_type.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/family/my-family.dart'; +import 'package:hmg_patient_app/pages/TestPage.dart'; +import 'package:hmg_patient_app/pages/appUpdatePage/app_update_page.dart'; +import 'package:hmg_patient_app/pages/conference/zoom/call_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/livecare/incoming_call.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_home.dart'; +import 'package:hmg_patient_app/pages/login/confirm-login.dart'; +import 'package:hmg_patient_app/pages/login/forgot-password.dart'; +import 'package:hmg_patient_app/pages/login/login-type.dart'; +import 'package:hmg_patient_app/pages/login/login.dart'; +import 'package:hmg_patient_app/pages/login/register-info.dart'; +import 'package:hmg_patient_app/pages/login/register.dart'; +import 'package:hmg_patient_app/pages/login/welcome.dart'; +import 'package:hmg_patient_app/pages/packages_offers/OfferAndPackagesCartPage.dart'; +import 'package:hmg_patient_app/pages/packages_offers/PackageOrderCompletedPage.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/cart-page/cart-order-page.dart'; +import 'package:hmg_patient_app/pages/settings/settings.dart'; +import 'package:hmg_patient_app/pages/symptom-checker/info.dart'; +import 'package:hmg_patient_app/pages/symptom-checker/select-gender.dart'; +import 'package:hmg_patient_app/pages/symptom-checker/symtom-checker.dart'; +import 'package:hmg_patient_app/pages/webRTC/OpenTok/OpenTok.dart'; +import 'package:hmg_patient_app/pages/webRTC/call_page.dart'; +import 'package:hmg_patient_app/pages/webRTC/call_page_bkp.dart'; +import 'package:hmg_patient_app/splashPage.dart'; import 'models/Appointments/DoctorListResponse.dart'; import 'pages/BookAppointment/SearchResultsByRegion.dart'; diff --git a/lib/services/appointment_services/GetDoctorsList.dart b/lib/services/appointment_services/GetDoctorsList.dart index 7664f4ac..ef15b704 100644 --- a/lib/services/appointment_services/GetDoctorsList.dart +++ b/lib/services/appointment_services/GetDoctorsList.dart @@ -1,22 +1,22 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorProfile.dart'; -import 'package:diplomaticquarterapp/models/Appointments/PatientShareResposne.dart'; -import 'package:diplomaticquarterapp/models/Appointments/doctor_pre_post_image.dart'; -import 'package:diplomaticquarterapp/models/Appointments/laser_body_parts.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Request.dart'; -import 'package:diplomaticquarterapp/models/apple_pay_request.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/in_app_browser/InAppBrowser.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorProfile.dart'; +import 'package:hmg_patient_app/models/Appointments/PatientShareResposne.dart'; +import 'package:hmg_patient_app/models/Appointments/doctor_pre_post_image.dart'; +import 'package:hmg_patient_app/models/Appointments/laser_body_parts.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Request.dart'; +import 'package:hmg_patient_app/models/apple_pay_request.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/in_app_browser/InAppBrowser.dart'; import 'package:flutter/cupertino.dart'; import 'mock_doctor_response.dart'; diff --git a/lib/services/appointment_services/doctor_response_mapper.dart b/lib/services/appointment_services/doctor_response_mapper.dart index 6062fd5b..1d8a46ae 100644 --- a/lib/services/appointment_services/doctor_response_mapper.dart +++ b/lib/services/appointment_services/doctor_response_mapper.dart @@ -1,9 +1,9 @@ import 'dart:math'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; class DoctorMapper{ static Future getMappedDoctor(List doctorList, diff --git a/lib/services/authentication/auth_provider.dart b/lib/services/authentication/auth_provider.dart index 4a8a896c..6c03f9e9 100644 --- a/lib/services/authentication/auth_provider.dart +++ b/lib/services/authentication/auth_provider.dart @@ -1,26 +1,26 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/service/client/base_app_client.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/main.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_activation_code_request.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_activation_code_request_register.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_activation_code_response.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_paitent_authentication_req.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_user_status_req.dart'; -import 'package:diplomaticquarterapp/models/Authentication/checkpatient_for_registration.dart'; -import 'package:diplomaticquarterapp/models/Authentication/insert_device_imei_request.dart'; -import 'package:diplomaticquarterapp/models/Authentication/register_user_requet.dart'; -import 'package:diplomaticquarterapp/models/Authentication/registered_authenticated_user_req.dart'; -import 'package:diplomaticquarterapp/models/Authentication/select_device_imei_res.dart'; -import 'package:diplomaticquarterapp/models/Request.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/service/client/base_app_client.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/main.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Authentication/check_activation_code_request.dart'; +import 'package:hmg_patient_app/models/Authentication/check_activation_code_request_register.dart'; +import 'package:hmg_patient_app/models/Authentication/check_activation_code_response.dart'; +import 'package:hmg_patient_app/models/Authentication/check_paitent_authentication_req.dart'; +import 'package:hmg_patient_app/models/Authentication/check_user_status_req.dart'; +import 'package:hmg_patient_app/models/Authentication/checkpatient_for_registration.dart'; +import 'package:hmg_patient_app/models/Authentication/insert_device_imei_request.dart'; +import 'package:hmg_patient_app/models/Authentication/register_user_requet.dart'; +import 'package:hmg_patient_app/models/Authentication/registered_authenticated_user_req.dart'; +import 'package:hmg_patient_app/models/Authentication/select_device_imei_res.dart'; +import 'package:hmg_patient_app/models/Request.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'package:flutter/cupertino.dart'; import 'package:intl/intl.dart'; import 'package:provider/provider.dart'; diff --git a/lib/services/clinic_services/get_clinic_service.dart b/lib/services/clinic_services/get_clinic_service.dart index 4737756c..b7794ff7 100644 --- a/lib/services/clinic_services/get_clinic_service.dart +++ b/lib/services/clinic_services/get_clinic_service.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Request.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Request.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'package:flutter/material.dart'; import '../../models/InPatientServices/get_admission_info_response_model.dart'; diff --git a/lib/services/covid-drivethru/covid-drivethru.dart b/lib/services/covid-drivethru/covid-drivethru.dart index b4241bcc..00fa838e 100644 --- a/lib/services/covid-drivethru/covid-drivethru.dart +++ b/lib/services/covid-drivethru/covid-drivethru.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Request.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Request.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'package:flutter/material.dart'; class CovidDriveThruService extends BaseService { diff --git a/lib/services/family_files/family_files_provider.dart b/lib/services/family_files/family_files_provider.dart index 123cc4d1..7081e0cd 100644 --- a/lib/services/family_files/family_files_provider.dart +++ b/lib/services/family_files/family_files_provider.dart @@ -1,15 +1,15 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/family-file/add_family_file_request.dart'; -import 'package:diplomaticquarterapp/core/model/family-file/insert_share_file_request.dart'; -import 'package:diplomaticquarterapp/core/service/client/base_app_client.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Authentication/send_activation_request.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordsByStatusReq.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/family-file/add_family_file_request.dart'; +import 'package:hmg_patient_app/core/model/family-file/insert_share_file_request.dart'; +import 'package:hmg_patient_app/core/service/client/base_app_client.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Authentication/send_activation_request.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordsByStatusReq.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; import 'package:flutter/cupertino.dart'; import 'package:provider/provider.dart'; diff --git a/lib/services/livecare_services/livecare_provider.dart b/lib/services/livecare_services/livecare_provider.dart index 43547056..2dde6a18 100644 --- a/lib/services/livecare_services/livecare_provider.dart +++ b/lib/services/livecare_services/livecare_provider.dart @@ -1,13 +1,13 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ApplePayInsertRequest.dart'; -import 'package:diplomaticquarterapp/models/tamara_request_model.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/LiveCare/ApplePayInsertRequest.dart'; +import 'package:hmg_patient_app/models/tamara_request_model.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'package:flutter/material.dart'; class LiveCareService extends BaseService { diff --git a/lib/services/my_invoice_service/my_invoice_services.dart b/lib/services/my_invoice_service/my_invoice_services.dart index 2245eeef..39ea0215 100644 --- a/lib/services/my_invoice_service/my_invoice_services.dart +++ b/lib/services/my_invoice_service/my_invoice_services.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Request.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Request.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; class MyInvoicesService extends BaseService { AppSharedPreferences sharedPref = AppSharedPreferences(); diff --git a/lib/services/payfort_services/payfort_service.dart b/lib/services/payfort_services/payfort_service.dart index 9b2c4597..271bcea5 100644 --- a/lib/services/payfort_services/payfort_service.dart +++ b/lib/services/payfort_services/payfort_service.dart @@ -1,11 +1,11 @@ import 'dart:convert'; import 'package:amazon_payfort/amazon_payfort.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_project_details_resp_model.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/sdk_token_response_model.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_project_details_resp_model.dart'; +import 'package:hmg_patient_app/services/payfort_services/sdk_token_response_model.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; import 'package:http/http.dart'; import 'package:network_info_plus/network_info_plus.dart'; diff --git a/lib/services/payfort_services/payfort_view_model.dart b/lib/services/payfort_services/payfort_view_model.dart index 2ba62fc2..8f54f71c 100644 --- a/lib/services/payfort_services/payfort_view_model.dart +++ b/lib/services/payfort_services/payfort_view_model.dart @@ -1,12 +1,12 @@ import 'package:amazon_payfort/amazon_payfort.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/enum/PayfortEnums.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_project_details_resp_model.dart'; -import 'package:diplomaticquarterapp/services/payfort_services/payfort_service.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/enum/PayfortEnums.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_project_details_resp_model.dart'; +import 'package:hmg_patient_app/services/payfort_services/payfort_service.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; import 'package:flutter/cupertino.dart'; class PayfortViewModel extends ChangeNotifier { diff --git a/lib/services/permission/permission_service.dart b/lib/services/permission/permission_service.dart index cc73c303..61613a68 100644 --- a/lib/services/permission/permission_service.dart +++ b/lib/services/permission/permission_service.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; import 'package:flutter/material.dart'; import 'package:localstorage/localstorage.dart'; import 'package:permission_handler/permission_handler.dart'; diff --git a/lib/services/pharmacy_services/brands_service.dart b/lib/services/pharmacy_services/brands_service.dart index cf348a46..31160628 100644 --- a/lib/services/pharmacy_services/brands_service.dart +++ b/lib/services/pharmacy_services/brands_service.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/brandModel.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/topBrandsModel.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/pharmacy/brandModel.dart'; +import 'package:hmg_patient_app/models/pharmacy/topBrandsModel.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; class BrandsService extends BaseService { AppSharedPreferences sharedPref = AppSharedPreferences(); diff --git a/lib/services/pharmacy_services/cancelOrder_service.dart b/lib/services/pharmacy_services/cancelOrder_service.dart index 0500a45b..dacfdd74 100644 --- a/lib/services/pharmacy_services/cancelOrder_service.dart +++ b/lib/services/pharmacy_services/cancelOrder_service.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/order_detail.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/order_detail.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'package:flutter/material.dart'; diff --git a/lib/services/pharmacy_services/orderDetails_service.dart b/lib/services/pharmacy_services/orderDetails_service.dart index f1f99e5b..22eb4536 100644 --- a/lib/services/pharmacy_services/orderDetails_service.dart +++ b/lib/services/pharmacy_services/orderDetails_service.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/order_detail.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/order_detail.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; class OrderDetailsService extends BaseService{ diff --git a/lib/services/pharmacy_services/order_service.dart b/lib/services/pharmacy_services/order_service.dart index 9a2a15c7..5b005975 100644 --- a/lib/services/pharmacy_services/order_service.dart +++ b/lib/services/pharmacy_services/order_service.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/orders_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/orders_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; class OrderService extends BaseService { AppSharedPreferences sharedPref = AppSharedPreferences(); diff --git a/lib/services/pharmacy_services/pharmacyAddress_service.dart b/lib/services/pharmacy_services/pharmacyAddress_service.dart index 562468c9..a0e9b865 100644 --- a/lib/services/pharmacy_services/pharmacyAddress_service.dart +++ b/lib/services/pharmacy_services/pharmacyAddress_service.dart @@ -1,12 +1,12 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/Addresses.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/Country.dart'; -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Addresses.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/Country.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; class PharmacyAddressService extends BaseService { List addresses =[]; diff --git a/lib/services/pharmacy_services/product_detail_service.dart b/lib/services/pharmacy_services/product_detail_service.dart index 3d01d018..9b769f93 100644 --- a/lib/services/pharmacy_services/product_detail_service.dart +++ b/lib/services/pharmacy_services/product_detail_service.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/Wishlist.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/locationModel.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/productDetailModel.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/specification.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/pharmacy/Wishlist.dart'; +import 'package:hmg_patient_app/models/pharmacy/locationModel.dart'; +import 'package:hmg_patient_app/models/pharmacy/productDetailModel.dart'; +import 'package:hmg_patient_app/models/pharmacy/specification.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; class ProductDetailService extends BaseService { bool isLogin = false; diff --git a/lib/services/pharmacy_services/recommendedProduct_service.dart b/lib/services/pharmacy_services/recommendedProduct_service.dart index 4b45b6d8..479435fe 100644 --- a/lib/services/pharmacy_services/recommendedProduct_service.dart +++ b/lib/services/pharmacy_services/recommendedProduct_service.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/recommendedProduct_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/recommendedProduct_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; diff --git a/lib/services/pharmacy_services/review_service.dart b/lib/services/pharmacy_services/review_service.dart index 43d5b8d5..37ada293 100644 --- a/lib/services/pharmacy_services/review_service.dart +++ b/lib/services/pharmacy_services/review_service.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/reviewModel.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/pharmacy/reviewModel.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; class ReviewService extends BaseService { diff --git a/lib/services/pharmacy_services/wishList_service.dart b/lib/services/pharmacy_services/wishList_service.dart index 64db972b..12ab8af2 100644 --- a/lib/services/pharmacy_services/wishList_service.dart +++ b/lib/services/pharmacy_services/wishList_service.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/pharmacy/Wishlist.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/pharmacy/Wishlist.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; class WishListService extends BaseService { AppSharedPreferences sharedPref = AppSharedPreferences(); diff --git a/lib/services/pharmacy_services/writeReview_service.dart b/lib/services/pharmacy_services/writeReview_service.dart index 97495e99..1e0e7924 100644 --- a/lib/services/pharmacy_services/writeReview_service.dart +++ b/lib/services/pharmacy_services/writeReview_service.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/order_model.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/order_model.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; class writeReviewService extends BaseService{ diff --git a/lib/services/robo_search/search_provider.dart b/lib/services/robo_search/search_provider.dart index 82c32f91..c0799ab2 100644 --- a/lib/services/robo_search/search_provider.dart +++ b/lib/services/robo_search/search_provider.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/service/client/base_app_client.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/service/client/base_app_client.dart'; import 'package:flutter/cupertino.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; import 'dart:async'; import 'package:flutter/material.dart'; diff --git a/lib/services/smartwatch_integration/SmartWatchIntegrationService.dart b/lib/services/smartwatch_integration/SmartWatchIntegrationService.dart index 6c316f7f..a7a68819 100644 --- a/lib/services/smartwatch_integration/SmartWatchIntegrationService.dart +++ b/lib/services/smartwatch_integration/SmartWatchIntegrationService.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/base_service.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Request.dart'; -import 'package:diplomaticquarterapp/models/SmartWatch/HealthData.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/base_service.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Request.dart'; +import 'package:hmg_patient_app/models/SmartWatch/HealthData.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; import 'package:flutter/material.dart'; class SmartWatchIntegrationService extends BaseService { diff --git a/lib/splashPage.dart b/lib/splashPage.dart index 3d9b2927..b7faad2f 100644 --- a/lib/splashPage.dart +++ b/lib/splashPage.dart @@ -2,17 +2,17 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/SearchResultsByRegion.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/theme/theme_notifier.dart'; -import 'package:diplomaticquarterapp/theme/theme_value.dart'; -import 'package:diplomaticquarterapp/uitl/LocalNotification.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/push-notification-handler.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/SearchResultsByRegion.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/theme/theme_notifier.dart'; +import 'package:hmg_patient_app/theme/theme_value.dart'; +import 'package:hmg_patient_app/uitl/LocalNotification.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/push-notification-handler.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:firebase_crashlytics/firebase_crashlytics.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/lib/theme/config.dart b/lib/theme/config.dart index 4c321fb8..38986c4f 100644 --- a/lib/theme/config.dart +++ b/lib/theme/config.dart @@ -1,3 +1,3 @@ -// import 'package:diplomaticquarterapp/theme/custom_theme.dart'; +// import 'package:hmg_patient_app/theme/custom_theme.dart'; // CustomTheme currentTheme = CustomTheme(); diff --git a/lib/theme/custom_theme.dart b/lib/theme/custom_theme.dart index 8361ec4e..e064c570 100644 --- a/lib/theme/custom_theme.dart +++ b/lib/theme/custom_theme.dart @@ -1,4 +1,4 @@ -// import 'package:diplomaticquarterapp/Constants.dart'; +// import 'package:hmg_patient_app/Constants.dart'; // import 'package:flutter/material.dart'; // import 'package:hexcolor/hexcolor.dart'; diff --git a/lib/theme/theme_value.dart b/lib/theme/theme_value.dart index 4fd06d9c..3d45b6cb 100644 --- a/lib/theme/theme_value.dart +++ b/lib/theme/theme_value.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/Constants.dart'; +import 'package:hmg_patient_app/Constants.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; @@ -120,7 +120,7 @@ bwThemes({fontName}) { // subtitle1: TextStyle(color: Colors.red[900]), ), - tabBarTheme: TabBarTheme(labelColor: Colors.red[900]), + tabBarTheme: TabBarThemeData(labelColor: Colors.red[900]), disabledColor: Colors.grey[800], // errorColor: Color.fromRGBO(235, 80, 60, 1.0), diff --git a/lib/uitl/DeepLinkHandler.dart b/lib/uitl/DeepLinkHandler.dart index 9f46242b..1609ebf1 100644 --- a/lib/uitl/DeepLinkHandler.dart +++ b/lib/uitl/DeepLinkHandler.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/penguin_method_channel.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/penguin_method_channel.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:permission_handler/permission_handler.dart'; import 'package:provider/provider.dart'; diff --git a/lib/uitl/HMGNetworkConnectivity.dart b/lib/uitl/HMGNetworkConnectivity.dart index 9ef3ce67..36430aab 100644 --- a/lib/uitl/HMGNetworkConnectivity.dart +++ b/lib/uitl/HMGNetworkConnectivity.dart @@ -1,16 +1,16 @@ import 'dart:developer'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/client/base_app_client.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/uitl/PlatformBridge.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/alert_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/client/base_app_client.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/uitl/PlatformBridge.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/dialogs/alert_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; // import 'package:wifi/wifi.dart'; diff --git a/lib/uitl/HMG_Geofence.dart b/lib/uitl/HMG_Geofence.dart index 9f1075bc..eb413aff 100644 --- a/lib/uitl/HMG_Geofence.dart +++ b/lib/uitl/HMG_Geofence.dart @@ -5,14 +5,14 @@ // import 'dart:math'; // import 'dart:ui'; // -// import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -// import 'package:diplomaticquarterapp/core/model/geofencing/requests/GeoZonesRequestModel.dart'; -// import 'package:diplomaticquarterapp/core/model/geofencing/requests/LogGeoZoneRequestModel.dart'; -// import 'package:diplomaticquarterapp/core/model/geofencing/responses/GeoZonesResponseModel.dart'; -// import 'package:diplomaticquarterapp/core/service/geofencing/GeofencingServices.dart'; -// import 'package:diplomaticquarterapp/locator.dart'; -// import 'package:diplomaticquarterapp/uitl/LocalNotification.dart'; -// import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; +// import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +// import 'package:hmg_patient_app/core/model/geofencing/requests/GeoZonesRequestModel.dart'; +// import 'package:hmg_patient_app/core/model/geofencing/requests/LogGeoZoneRequestModel.dart'; +// import 'package:hmg_patient_app/core/model/geofencing/responses/GeoZonesResponseModel.dart'; +// import 'package:hmg_patient_app/core/service/geofencing/GeofencingServices.dart'; +// import 'package:hmg_patient_app/locator.dart'; +// import 'package:hmg_patient_app/uitl/LocalNotification.dart'; +// import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; // import 'package:flutter/cupertino.dart'; // import 'package:flutter/foundation.dart'; // import 'package:geofencing/geofencing.dart'; diff --git a/lib/uitl/PlatformBridge.dart b/lib/uitl/PlatformBridge.dart index 4dfc13a2..920808d5 100644 --- a/lib/uitl/PlatformBridge.dart +++ b/lib/uitl/PlatformBridge.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/localized_values.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/client/base_app_client.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/localized_values.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/client/base_app_client.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/services.dart'; diff --git a/lib/uitl/app-permissions.dart b/lib/uitl/app-permissions.dart index 94697e4f..f344ae67 100644 --- a/lib/uitl/app-permissions.dart +++ b/lib/uitl/app-permissions.dart @@ -1,7 +1,7 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; import 'package:flutter/cupertino.dart'; import 'package:permission_handler/permission_handler.dart'; diff --git a/lib/uitl/app_toast.dart b/lib/uitl/app_toast.dart index bbeebe5d..8eb68f54 100644 --- a/lib/uitl/app_toast.dart +++ b/lib/uitl/app_toast.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; import 'package:fluttertoast/fluttertoast.dart'; @@ -70,10 +70,9 @@ class AppToast { child: toast, gravity: ToastGravity.TOP, toastDuration: Duration(seconds: timeInSeconds), - positionedToastBuilder: (context, child) { + positionedToastBuilder: (context, child, gravity) { return Positioned(top: 50, left: 10, right: 10, child: child); }); - // Fluttertoast.showToast(msg: message, toastLength: toastLength, gravity: toastGravity, timeInSecForIosWeb: timeInSeconds, backgroundColor: Colors.red, textColor: textColor, fontSize: fontSize); } void cancelToast() { diff --git a/lib/uitl/cupertino_picker.dart b/lib/uitl/cupertino_picker.dart index 3dbbcea7..f25fc4a0 100644 --- a/lib/uitl/cupertino_picker.dart +++ b/lib/uitl/cupertino_picker.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/uitl/location_util.dart b/lib/uitl/location_util.dart index 6c170710..13749be1 100644 --- a/lib/uitl/location_util.dart +++ b/lib/uitl/location_util.dart @@ -1,11 +1,11 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; import 'package:flutter/cupertino.dart'; import 'package:geolocator/geolocator.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; diff --git a/lib/uitl/navigation_service.dart b/lib/uitl/navigation_service.dart index c48f8a79..c142d4df 100644 --- a/lib/uitl/navigation_service.dart +++ b/lib/uitl/navigation_service.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/locator.dart'; +import 'package:hmg_patient_app/locator.dart'; import 'package:flutter/material.dart'; MaterialPageRoute _pageRoute(Widget page) => MaterialPageRoute(builder: (BuildContext context) => page); diff --git a/lib/uitl/push-notification-handler.dart b/lib/uitl/push-notification-handler.dart index c6ae36d3..cd9f0150 100644 --- a/lib/uitl/push-notification-handler.dart +++ b/lib/uitl/push-notification-handler.dart @@ -2,21 +2,21 @@ import 'dart:async'; import 'dart:convert'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/notifications/get_notifications_response_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/IncomingCallData.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/notifications/notification_details_page.dart'; -import 'package:diplomaticquarterapp/pages/conference/zoom/call_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/livecare/incoming_call.dart'; -import 'package:diplomaticquarterapp/pages/webRTC/OpenTok/OpenTok.dart'; -import 'package:diplomaticquarterapp/uitl/LocalNotification.dart'; -import 'package:diplomaticquarterapp/uitl/app-permissions.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/penguin_method_channel.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/notifications/get_notifications_response_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/LiveCare/IncomingCallData.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/notifications/notification_details_page.dart'; +import 'package:hmg_patient_app/pages/conference/zoom/call_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/livecare/incoming_call.dart'; +import 'package:hmg_patient_app/pages/webRTC/OpenTok/OpenTok.dart'; +import 'package:hmg_patient_app/uitl/LocalNotification.dart'; +import 'package:hmg_patient_app/uitl/app-permissions.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/penguin_method_channel.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; import 'package:firebase_messaging/firebase_messaging.dart'; import 'package:firebase_messaging/firebase_messaging.dart' as fir; import 'package:flutter/cupertino.dart'; diff --git a/lib/uitl/translations_delegate_base.dart b/lib/uitl/translations_delegate_base.dart index 1f1438a8..af935b2c 100644 --- a/lib/uitl/translations_delegate_base.dart +++ b/lib/uitl/translations_delegate_base.dart @@ -1,6 +1,6 @@ import 'dart:async'; -import 'package:diplomaticquarterapp/config/localized_values.dart'; +import 'package:hmg_patient_app/config/localized_values.dart'; import 'package:flutter/foundation.dart' show SynchronousFuture; import 'package:flutter/material.dart'; diff --git a/lib/uitl/utils.dart b/lib/uitl/utils.dart index 77059a65..e2c6e8b4 100644 --- a/lib/uitl/utils.dart +++ b/lib/uitl/utils.dart @@ -8,44 +8,44 @@ import 'package:badges/badges.dart' as badge_import; import 'package:cached_network_image/cached_network_image.dart'; import 'package:connectivity_plus/connectivity_plus.dart'; import 'package:crypto/crypto.dart' as crypto; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/privilege/ProjectDetailListModel.dart'; -import 'package:diplomaticquarterapp/core/service/client/base_app_client.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrders.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/MyAppointments.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_approval_screen.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_card_screen.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page_pharmcy.dart'; -import 'package:diplomaticquarterapp/pages/medical/active_medications/ActiveMedicationsPage.dart'; -import 'package:diplomaticquarterapp/pages/medical/allergies_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/ask_doctor/ask_doctor_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/my_balance_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/dental_instructions_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/doctor/doctor_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/eye/EyeMeasurementsPage.dart'; -import 'package:diplomaticquarterapp/pages/medical/labs/labs_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_invoices/my_invoice_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/my_trackers/my_trackers.dart'; -import 'package:diplomaticquarterapp/pages/medical/patient_sick_leave_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescriptions_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/radiology/radiology_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/reports/monthly_reports.dart'; -import 'package:diplomaticquarterapp/pages/medical/reports/report_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/smart_watch_health_data/smart_watch_instructions.dart'; -import 'package:diplomaticquarterapp/pages/medical/vital_sign/vital_sign_details_screen.dart'; -import 'package:diplomaticquarterapp/pages/vaccine/my_vaccines_screen.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/medical/medical_profile_item.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/alert_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/covid_consent_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/privilege/ProjectDetailListModel.dart'; +import 'package:hmg_patient_app/core/service/client/base_app_client.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/ancillary-orders/ancillaryOrders.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/MyAppointments.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_approval_screen.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_card_screen.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page_pharmcy.dart'; +import 'package:hmg_patient_app/pages/medical/active_medications/ActiveMedicationsPage.dart'; +import 'package:hmg_patient_app/pages/medical/allergies_page.dart'; +import 'package:hmg_patient_app/pages/medical/ask_doctor/ask_doctor_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/balance/my_balance_page.dart'; +import 'package:hmg_patient_app/pages/medical/dental_instructions_page.dart'; +import 'package:hmg_patient_app/pages/medical/doctor/doctor_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/eye/EyeMeasurementsPage.dart'; +import 'package:hmg_patient_app/pages/medical/labs/labs_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/my_invoices/my_invoice_page.dart'; +import 'package:hmg_patient_app/pages/medical/my_trackers/my_trackers.dart'; +import 'package:hmg_patient_app/pages/medical/patient_sick_leave_page.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescriptions_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/radiology/radiology_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/reports/monthly_reports.dart'; +import 'package:hmg_patient_app/pages/medical/reports/report_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/smart_watch_health_data/smart_watch_instructions.dart'; +import 'package:hmg_patient_app/pages/medical/vital_sign/vital_sign_details_screen.dart'; +import 'package:hmg_patient_app/pages/vaccine/my_vaccines_screen.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/medical/medical_profile_item.dart'; +import 'package:hmg_patient_app/widgets/dialogs/alert_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/covid_consent_dialog.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:google_api_availability/google_api_availability.dart'; diff --git a/lib/uitl/utils_new.dart b/lib/uitl/utils_new.dart index 696a778d..80f7e18a 100644 --- a/lib/uitl/utils_new.dart +++ b/lib/uitl/utils_new.dart @@ -1,6 +1,6 @@ import 'dart:ui'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/widgets/avatar/large_avatar.dart b/lib/widgets/avatar/large_avatar.dart index e7919aa4..d42c6a4e 100644 --- a/lib/widgets/avatar/large_avatar.dart +++ b/lib/widgets/avatar/large_avatar.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/bottom_navigation/bottom_nav_bar.dart b/lib/widgets/bottom_navigation/bottom_nav_bar.dart index c5bd76a3..35df1524 100644 --- a/lib/widgets/bottom_navigation/bottom_nav_bar.dart +++ b/lib/widgets/bottom_navigation/bottom_nav_bar.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/BookingOptions.dart'; -import 'package:diplomaticquarterapp/pages/ToDoList/ToDo.dart'; -import 'package:diplomaticquarterapp/services/robo_search/event_provider.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/BookingOptions.dart'; +import 'package:hmg_patient_app/pages/ToDoList/ToDo.dart'; +import 'package:hmg_patient_app/services/robo_search/event_provider.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/bottom_navigation/bottom_navigation_item.dart b/lib/widgets/bottom_navigation/bottom_navigation_item.dart index 22c27384..f53c876a 100644 --- a/lib/widgets/bottom_navigation/bottom_navigation_item.dart +++ b/lib/widgets/bottom_navigation/bottom_navigation_item.dart @@ -1,9 +1,9 @@ import 'package:badges/badges.dart' as badge_import; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/widgets/bottom_options/BottomSheet.dart b/lib/widgets/bottom_options/BottomSheet.dart index 135a9731..b823ae8e 100644 --- a/lib/widgets/bottom_options/BottomSheet.dart +++ b/lib/widgets/bottom_options/BottomSheet.dart @@ -1,12 +1,12 @@ import 'dart:convert'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; // import 'package:feather_icons_flutter/feather_icons_flutter.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/bottom_options/bottom_sheet.dart b/lib/widgets/bottom_options/bottom_sheet.dart index c59c565e..b315c627 100644 --- a/lib/widgets/bottom_options/bottom_sheet.dart +++ b/lib/widgets/bottom_options/bottom_sheet.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; void showMyBottomSheet(BuildContext context, {required Widget child, required VoidCallback callBackFunc, String? type}) { diff --git a/lib/widgets/buttons/BottomButton.dart b/lib/widgets/buttons/BottomButton.dart index 1746ee13..051fc006 100644 --- a/lib/widgets/buttons/BottomButton.dart +++ b/lib/widgets/buttons/BottomButton.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; import 'package:flutter/material.dart'; /// [label] button label diff --git a/lib/widgets/buttons/GestureIconButton.dart b/lib/widgets/buttons/GestureIconButton.dart index 5ad13362..e3b51355 100644 --- a/lib/widgets/buttons/GestureIconButton.dart +++ b/lib/widgets/buttons/GestureIconButton.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; class GestureIconButton extends StatefulWidget { diff --git a/lib/widgets/buttons/borderedButton.dart b/lib/widgets/buttons/borderedButton.dart index 85c7e78a..e8084b16 100644 --- a/lib/widgets/buttons/borderedButton.dart +++ b/lib/widgets/buttons/borderedButton.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; import 'package:flutter/material.dart'; class BorderedButton extends StatelessWidget { diff --git a/lib/widgets/buttons/button.dart b/lib/widgets/buttons/button.dart index 723a8590..d73c3ce4 100644 --- a/lib/widgets/buttons/button.dart +++ b/lib/widgets/buttons/button.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/buttons/floatingActionButton.dart b/lib/widgets/buttons/floatingActionButton.dart index f7d41fb6..60add07b 100644 --- a/lib/widgets/buttons/floatingActionButton.dart +++ b/lib/widgets/buttons/floatingActionButton.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/buttons/mini_button.dart b/lib/widgets/buttons/mini_button.dart index c9f4479e..94c046e7 100644 --- a/lib/widgets/buttons/mini_button.dart +++ b/lib/widgets/buttons/mini_button.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; enum MINI_BUTTON { Secondary, Primary } diff --git a/lib/widgets/buttons/secondary_button.dart b/lib/widgets/buttons/secondary_button.dart index 9fce3b90..e8a987cd 100644 --- a/lib/widgets/buttons/secondary_button.dart +++ b/lib/widgets/buttons/secondary_button.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/card/rounded_container.dart b/lib/widgets/card/rounded_container.dart index 3922e3a0..0aebf8e0 100644 --- a/lib/widgets/card/rounded_container.dart +++ b/lib/widgets/card/rounded_container.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; // OWNER : Ibrahim albitar diff --git a/lib/widgets/charts/app_time_series_chart.dart b/lib/widgets/charts/app_time_series_chart.dart index 3560fd19..1d93d870 100644 --- a/lib/widgets/charts/app_time_series_chart.dart +++ b/lib/widgets/charts/app_time_series_chart.dart @@ -1,8 +1,8 @@ import 'package:flutter_charts/flutter_charts.dart' as charts; // import 'package:charts_flutter/flutter.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/list/flexible_container.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/widgets/data_display/list/flexible_container.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; /// App Time Series Chart diff --git a/lib/widgets/charts/show_chart.dart b/lib/widgets/charts/show_chart.dart index e07dfeee..654a897a 100644 --- a/lib/widgets/charts/show_chart.dart +++ b/lib/widgets/charts/show_chart.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/app_time_series_chart.dart' as chart; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/app_time_series_chart.dart' as chart; import 'package:fl_chart/fl_chart.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/data_display/CarouselSlider.dart b/lib/widgets/data_display/CarouselSlider.dart index 29538933..483fd6c4 100644 --- a/lib/widgets/data_display/CarouselSlider.dart +++ b/lib/widgets/data_display/CarouselSlider.dart @@ -1,6 +1,6 @@ import 'package:carousel_pro_nullsafety/carousel_pro_nullsafety.dart'; -import 'package:diplomaticquarterapp/widgets/progress_indicator/app_circular_progress_Indeicator.dart'; +import 'package:hmg_patient_app/widgets/progress_indicator/app_circular_progress_Indeicator.dart'; import 'package:flutter/material.dart'; class CarouselSlider extends StatelessWidget { diff --git a/lib/widgets/data_display/list/flexible_container.dart b/lib/widgets/data_display/list/flexible_container.dart index 63053401..3913d90e 100644 --- a/lib/widgets/data_display/list/flexible_container.dart +++ b/lib/widgets/data_display/list/flexible_container.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; import 'package:flutter/material.dart'; /// Flexible container widget /// [widthFactor] If non-null, the fraction of the incoming width given to the child. diff --git a/lib/widgets/data_display/medical/LabResult/FlowChartPage.dart b/lib/widgets/data_display/medical/LabResult/FlowChartPage.dart index 6595ce50..5fe74374 100644 --- a/lib/widgets/data_display/medical/LabResult/FlowChartPage.dart +++ b/lib/widgets/data_display/medical/LabResult/FlowChartPage.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/labs_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/charts/show_chart.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/core/model/labs/patient_lab_orders.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/labs_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/charts/show_chart.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/data_display/medical/LabResult/LabResultWidget.dart b/lib/widgets/data_display/medical/LabResult/LabResultWidget.dart index eb196499..18724046 100644 --- a/lib/widgets/data_display/medical/LabResult/LabResultWidget.dart +++ b/lib/widgets/data_display/medical/LabResult/LabResultWidget.dart @@ -1,17 +1,17 @@ -import 'package:diplomaticquarterapp/core/model/labs/lab_result.dart'; -import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart'; -import 'package:diplomaticquarterapp/core/service/medical/labs_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/medical/labs/passport_update_page.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/labs/lab_result.dart'; +import 'package:hmg_patient_app/core/model/labs/patient_lab_orders.dart'; +import 'package:hmg_patient_app/core/service/medical/labs_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/medical/labs/passport_update_page.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/data_display/medical/LabResult/Lab_Result_details_wideget.dart b/lib/widgets/data_display/medical/LabResult/Lab_Result_details_wideget.dart index d0deb1b4..50791f32 100644 --- a/lib/widgets/data_display/medical/LabResult/Lab_Result_details_wideget.dart +++ b/lib/widgets/data_display/medical/LabResult/Lab_Result_details_wideget.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/model/labs/LabOrderResult.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/core/model/labs/LabOrderResult.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/data_display/medical/LabResult/LineChartCurved.dart b/lib/widgets/data_display/medical/LabResult/LineChartCurved.dart index 8d7ebda5..0c3edb1b 100644 --- a/lib/widgets/data_display/medical/LabResult/LineChartCurved.dart +++ b/lib/widgets/data_display/medical/LabResult/LineChartCurved.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; import 'package:fl_chart/fl_chart.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/data_display/medical/LabResult/lab_result_chart_and_detials.dart b/lib/widgets/data_display/medical/LabResult/lab_result_chart_and_detials.dart index 243829a2..006657f2 100644 --- a/lib/widgets/data_display/medical/LabResult/lab_result_chart_and_detials.dart +++ b/lib/widgets/data_display/medical/LabResult/lab_result_chart_and_detials.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/model/labs/LabOrderResult.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/model/labs/LabOrderResult.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; import 'Lab_Result_details_wideget.dart'; diff --git a/lib/widgets/data_display/medical/LabResult/laboratory_result_widget.dart b/lib/widgets/data_display/medical/LabResult/laboratory_result_widget.dart index 68f88910..01db0329 100644 --- a/lib/widgets/data_display/medical/LabResult/laboratory_result_widget.dart +++ b/lib/widgets/data_display/medical/LabResult/laboratory_result_widget.dart @@ -1,12 +1,12 @@ -import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/labs_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/new_design/doctor_header.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/core/model/labs/patient_lab_orders.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/labs_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/new_design/doctor_header.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_html/flutter_html.dart'; diff --git a/lib/widgets/data_display/medical/doctor_card.dart b/lib/widgets/data_display/medical/doctor_card.dart index efa489f2..5c97c4b8 100644 --- a/lib/widgets/data_display/medical/doctor_card.dart +++ b/lib/widgets/data_display/medical/doctor_card.dart @@ -1,10 +1,10 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; import 'package:flutter/material.dart'; import 'package:flutter_countdown_timer/countdown_timer_controller.dart'; import 'package:flutter_countdown_timer/current_remaining_time.dart'; diff --git a/lib/widgets/data_display/medical/medical_profile_item.dart b/lib/widgets/data_display/medical/medical_profile_item.dart index c47a8451..be357594 100644 --- a/lib/widgets/data_display/medical/medical_profile_item.dart +++ b/lib/widgets/data_display/medical/medical_profile_item.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/widgets/data_display/medical/time_line_new_widget.dart b/lib/widgets/data_display/medical/time_line_new_widget.dart index f6414f4b..deafe305 100644 --- a/lib/widgets/data_display/medical/time_line_new_widget.dart +++ b/lib/widgets/data_display/medical/time_line_new_widget.dart @@ -1,23 +1,23 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/medical_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Authentication/select_device_imei_res.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/AppointmentDetails.dart'; -import 'package:diplomaticquarterapp/pages/base/base_view.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart' as auth; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/medical_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Authentication/select_device_imei_res.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/AppointmentDetails.dart'; +import 'package:hmg_patient_app/pages/base/base_view.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart' as auth; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:equatable/equatable.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/widgets/data_display/medical/time_line_widget.dart b/lib/widgets/data_display/medical/time_line_widget.dart index e07d62db..b14a98a8 100644 --- a/lib/widgets/data_display/medical/time_line_widget.dart +++ b/lib/widgets/data_display/medical/time_line_widget.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/AppointmentDetails.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/AppointmentDetails.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/data_display/services)contaniner.dart b/lib/widgets/data_display/services)contaniner.dart index 246fad78..f885aac5 100644 --- a/lib/widgets/data_display/services)contaniner.dart +++ b/lib/widgets/data_display/services)contaniner.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; class ServicesContainer extends StatelessWidget { diff --git a/lib/widgets/data_display/text.dart b/lib/widgets/data_display/text.dart index 8a5b5954..0fd3180a 100644 --- a/lib/widgets/data_display/text.dart +++ b/lib/widgets/data_display/text.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/dialogs/ConfirmWithMessageDialog.dart b/lib/widgets/dialogs/ConfirmWithMessageDialog.dart index a39a7893..c7177d31 100644 --- a/lib/widgets/dialogs/ConfirmWithMessageDialog.dart +++ b/lib/widgets/dialogs/ConfirmWithMessageDialog.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/dialogs/alert_dialog.dart b/lib/widgets/dialogs/alert_dialog.dart index 52afa0a4..39b88a8f 100644 --- a/lib/widgets/dialogs/alert_dialog.dart +++ b/lib/widgets/dialogs/alert_dialog.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/dialogs/confirm_dialog.dart b/lib/widgets/dialogs/confirm_dialog.dart index 1da92ac5..996453ea 100644 --- a/lib/widgets/dialogs/confirm_dialog.dart +++ b/lib/widgets/dialogs/confirm_dialog.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/dialogs/confirm_send_email_dialog.dart b/lib/widgets/dialogs/confirm_send_email_dialog.dart index 6d056206..3b732f96 100644 --- a/lib/widgets/dialogs/confirm_send_email_dialog.dart +++ b/lib/widgets/dialogs/confirm_send_email_dialog.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/pages/settings/settings.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/pages/settings/settings.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/dialogs/covid_consent_dialog.dart b/lib/widgets/dialogs/covid_consent_dialog.dart index f8100036..bf052769 100644 --- a/lib/widgets/dialogs/covid_consent_dialog.dart +++ b/lib/widgets/dialogs/covid_consent_dialog.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; import 'package:flutter/material.dart'; class CovidConsentDialog extends StatelessWidget { diff --git a/lib/widgets/dialogs/location_selection_dialog.dart b/lib/widgets/dialogs/location_selection_dialog.dart index 9ffb2635..3b9a7238 100644 --- a/lib/widgets/dialogs/location_selection_dialog.dart +++ b/lib/widgets/dialogs/location_selection_dialog.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/model/hospitals/hospitals_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/medical/radiology_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/core/model/hospitals/hospitals_model.dart'; +import 'package:hmg_patient_app/core/viewModels/medical/radiology_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; import 'package:flutter/material.dart'; import '../../uitl/translations_delegate_base.dart'; diff --git a/lib/widgets/dialogs/radio-group-dialog.dart b/lib/widgets/dialogs/radio-group-dialog.dart index 0a1d1036..a610ceb7 100644 --- a/lib/widgets/dialogs/radio-group-dialog.dart +++ b/lib/widgets/dialogs/radio-group-dialog.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/models/id-name-pair.dart'; +import 'package:hmg_patient_app/models/id-name-pair.dart'; import 'package:flutter/material.dart'; // AppToast.showErrorToast(message: "Please select Time Slot to continue"); diff --git a/lib/widgets/dialogs/radio_selection_dialog.dart b/lib/widgets/dialogs/radio_selection_dialog.dart index 7776425b..0731ab46 100644 --- a/lib/widgets/dialogs/radio_selection_dialog.dart +++ b/lib/widgets/dialogs/radio_selection_dialog.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; import 'package:flutter/material.dart'; class RadioSelectionDialogModel { diff --git a/lib/widgets/dialogs/select_location_dialog.dart b/lib/widgets/dialogs/select_location_dialog.dart index fbe8e8d8..e857c626 100644 --- a/lib/widgets/dialogs/select_location_dialog.dart +++ b/lib/widgets/dialogs/select_location_dialog.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/core/service/AlHabibMedicalService/customer_addresses_service.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/service/AlHabibMedicalService/customer_addresses_service.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/dialogs/selection-dailog.dart b/lib/widgets/dialogs/selection-dailog.dart index 3daf0009..e2753432 100644 --- a/lib/widgets/dialogs/selection-dailog.dart +++ b/lib/widgets/dialogs/selection-dailog.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/drawer/app_drawer_widget.dart b/lib/widgets/drawer/app_drawer_widget.dart index a4dfe9aa..193c48c1 100644 --- a/lib/widgets/drawer/app_drawer_widget.dart +++ b/lib/widgets/drawer/app_drawer_widget.dart @@ -1,46 +1,46 @@ import 'dart:io' show Platform; import 'package:auto_size_text/auto_size_text.dart'; import 'package:barcode_scan2/barcode_scan2.dart'; -import 'package:diplomaticquarterapp/analytics/google-analytics.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/service/medical/vital_sign_service.dart'; -import 'package:diplomaticquarterapp/core/service/privilege_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/appointment_rate_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/toDoCountProviderModel.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/Authentication/check_activation_code_response.dart'; -import 'package:diplomaticquarterapp/models/Authentication/select_device_imei_res.dart'; -import 'package:diplomaticquarterapp/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_info_response_model.dart'; -import 'package:diplomaticquarterapp/models/InPatientServices/get_admission_request_info_response_model.dart'; -import 'package:diplomaticquarterapp/pages/Blood/user_agreement_page.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/notifications/notifications_page.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_home.dart'; -import 'package:diplomaticquarterapp/pages/rateAppointment/rate_appointment_doctor.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/clinic_services/get_clinic_service.dart'; -import 'package:diplomaticquarterapp/services/family_files/family_files_provider.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/theme/theme_notifier.dart'; -import 'package:diplomaticquarterapp/theme/theme_value.dart'; -import 'package:diplomaticquarterapp/uitl/HMGNetworkConnectivity.dart'; -import 'package:diplomaticquarterapp/uitl/LocalNotification.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/analytics/google-analytics.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/service/medical/vital_sign_service.dart'; +import 'package:hmg_patient_app/core/service/privilege_service.dart'; +import 'package:hmg_patient_app/core/viewModels/appointment_rate_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/pharmacy_module_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/toDoCountProviderModel.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/Authentication/check_activation_code_response.dart'; +import 'package:hmg_patient_app/models/Authentication/select_device_imei_res.dart'; +import 'package:hmg_patient_app/models/FamilyFiles/GetAllSharedRecordByStatusResponse.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_info_response_model.dart'; +import 'package:hmg_patient_app/models/InPatientServices/get_admission_request_info_response_model.dart'; +import 'package:hmg_patient_app/pages/Blood/user_agreement_page.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/notifications/notifications_page.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_home.dart'; +import 'package:hmg_patient_app/pages/rateAppointment/rate_appointment_doctor.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/clinic_services/get_clinic_service.dart'; +import 'package:hmg_patient_app/services/family_files/family_files_provider.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/theme/theme_notifier.dart'; +import 'package:hmg_patient_app/theme/theme_value.dart'; +import 'package:hmg_patient_app/uitl/HMGNetworkConnectivity.dart'; +import 'package:hmg_patient_app/uitl/LocalNotification.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_dialog.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/widgets/drawer/drawer_item_widget.dart b/lib/widgets/drawer/drawer_item_widget.dart index 2af437e4..98ad9abc 100644 --- a/lib/widgets/drawer/drawer_item_widget.dart +++ b/lib/widgets/drawer/drawer_item_widget.dart @@ -1,10 +1,10 @@ import 'dart:ui'; import 'package:auto_size_text/auto_size_text.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; import 'package:flutter/material.dart'; /// diff --git a/lib/widgets/errors/app_embedded_error.dart b/lib/widgets/errors/app_embedded_error.dart index 54f61d3d..601b022e 100644 --- a/lib/widgets/errors/app_embedded_error.dart +++ b/lib/widgets/errors/app_embedded_error.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; ///show App Embedded Error diff --git a/lib/widgets/habib_logo_widget.dart b/lib/widgets/habib_logo_widget.dart index 84aaa076..e3c65980 100644 --- a/lib/widgets/habib_logo_widget.dart +++ b/lib/widgets/habib_logo_widget.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/svg.dart'; diff --git a/lib/widgets/hospital_location.dart b/lib/widgets/hospital_location.dart index 9f7e509f..0d908537 100644 --- a/lib/widgets/hospital_location.dart +++ b/lib/widgets/hospital_location.dart @@ -1,8 +1,8 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/core/model/contactus/get_hmg_locations.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/model/contactus/get_hmg_locations.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; import 'package:map_launcher/map_launcher.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/in_app_browser/InAppBrowser.dart b/lib/widgets/in_app_browser/InAppBrowser.dart index 692dfd5c..e4697472 100644 --- a/lib/widgets/in_app_browser/InAppBrowser.dart +++ b/lib/widgets/in_app_browser/InAppBrowser.dart @@ -1,19 +1,19 @@ import 'dart:convert'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/order_detail.dart'; -import 'package:diplomaticquarterapp/models/Appointments/AppoimentAllHistoryResultList.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/models/LiveCare/ApplePayInsertRequest.dart'; -import 'package:diplomaticquarterapp/models/tamara_request_model.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/services/livecare_services/livecare_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/order_detail.dart'; +import 'package:hmg_patient_app/models/Appointments/AppoimentAllHistoryResultList.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/models/LiveCare/ApplePayInsertRequest.dart'; +import 'package:hmg_patient_app/models/tamara_request_model.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/services/livecare_services/livecare_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; import 'package:flutter/material.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart'; diff --git a/lib/widgets/input/date_picker/button_actions.dart b/lib/widgets/input/date_picker/button_actions.dart index 04e118b6..fe22c622 100644 --- a/lib/widgets/input/date_picker/button_actions.dart +++ b/lib/widgets/input/date_picker/button_actions.dart @@ -1,4 +1,4 @@ -// import 'package:diplomaticquarterapp/widgets/Buttons/button.dart'; +// import 'package:hmg_patient_app/widgets/Buttons/button.dart'; // import 'package:flutter/cupertino.dart'; // import 'package:flutter/material.dart'; // diff --git a/lib/widgets/input/text_field.dart b/lib/widgets/input/text_field.dart index db467112..c613dabe 100644 --- a/lib/widgets/input/text_field.dart +++ b/lib/widgets/input/text_field.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/theme/colors.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/widgets/loadings/ShimmerLoading.dart b/lib/widgets/loadings/ShimmerLoading.dart index 5eed7922..51a5d0ea 100644 --- a/lib/widgets/loadings/ShimmerLoading.dart +++ b/lib/widgets/loadings/ShimmerLoading.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/service/packages_offers/PackagesOffersServices.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/core/service/packages_offers/PackagesOffersServices.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; // import 'package:shimmer/shimmer.dart'; diff --git a/lib/widgets/mobile-no/mobile_no.dart b/lib/widgets/mobile-no/mobile_no.dart index 9b2c9ff5..b248c4d1 100644 --- a/lib/widgets/mobile-no/mobile_no.dart +++ b/lib/widgets/mobile-no/mobile_no.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/mobile_number.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/mobile_number.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; diff --git a/lib/widgets/new_design/doctor_header.dart b/lib/widgets/new_design/doctor_header.dart index 11dd6724..6da60f24 100644 --- a/lib/widgets/new_design/doctor_header.dart +++ b/lib/widgets/new_design/doctor_header.dart @@ -1,16 +1,16 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorRateDetails.dart'; -import 'package:diplomaticquarterapp/models/header_model.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/avatar/large_avatar.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/dialogs/confirm_send_email_dialog.dart'; -import 'package:diplomaticquarterapp/widgets/my_rich_text.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorRateDetails.dart'; +import 'package:hmg_patient_app/models/header_model.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/date_uitl.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/avatar/large_avatar.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/dialogs/confirm_send_email_dialog.dart'; +import 'package:hmg_patient_app/widgets/my_rich_text.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/widgets/new_design/my_tab_view.dart b/lib/widgets/new_design/my_tab_view.dart index 911f8da8..9e1d2da2 100644 --- a/lib/widgets/new_design/my_tab_view.dart +++ b/lib/widgets/new_design/my_tab_view.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/enum/filter_type.dart'; +import 'package:hmg_patient_app/core/enum/filter_type.dart'; import 'package:flutter/material.dart'; class MyTabView extends StatelessWidget { diff --git a/lib/widgets/nfc/nfc_reader_sheet.dart b/lib/widgets/nfc/nfc_reader_sheet.dart index f8d6282e..1d7c4635 100644 --- a/lib/widgets/nfc/nfc_reader_sheet.dart +++ b/lib/widgets/nfc/nfc_reader_sheet.dart @@ -1,6 +1,6 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; import 'package:flutter/material.dart'; import 'package:flutter_nfc_kit/flutter_nfc_kit.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/widgets/offers_packages/PackagesCartItemCard.dart b/lib/widgets/offers_packages/PackagesCartItemCard.dart index 97ee68f2..ce63ff7a 100644 --- a/lib/widgets/offers_packages/PackagesCartItemCard.dart +++ b/lib/widgets/offers_packages/PackagesCartItemCard.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/CounterView.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/CounterView.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/widgets/offers_packages/PackagesOfferCard.dart b/lib/widgets/offers_packages/PackagesOfferCard.dart index cd59224a..d32de3ea 100644 --- a/lib/widgets/offers_packages/PackagesOfferCard.dart +++ b/lib/widgets/offers_packages/PackagesOfferCard.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; -import 'package:diplomaticquarterapp/pages/packages_offers/OfferAndPackageDetailPage.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/pages/packages_offers/OfferAndPackageDetailPage.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; diff --git a/lib/widgets/offers_packages/PackagesOrderHistoryItemCard.dart b/lib/widgets/offers_packages/PackagesOrderHistoryItemCard.dart index 38fa4ce1..9a29e001 100644 --- a/lib/widgets/offers_packages/PackagesOrderHistoryItemCard.dart +++ b/lib/widgets/offers_packages/PackagesOrderHistoryItemCard.dart @@ -1,11 +1,11 @@ -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/PackagesResponseModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/CounterView.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesCartItemsResponseModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/PackagesResponseModel.dart'; +import 'package:hmg_patient_app/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/CounterView.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/widgets/offers_packages/offers_packages.dart b/lib/widgets/offers_packages/offers_packages.dart index 73cac199..f5885fa6 100644 --- a/lib/widgets/offers_packages/offers_packages.dart +++ b/lib/widgets/offers_packages/offers_packages.dart @@ -1,13 +1,13 @@ // import 'package:carousel_slider/carousel_slider.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/OffersCategoriesRequestModel.dart'; -import 'package:diplomaticquarterapp/core/model/packages_offers/requests/OffersProductsRequestModel.dart'; -import 'package:diplomaticquarterapp/core/service/packages_offers/PackagesOffersServices.dart'; -import 'package:diplomaticquarterapp/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/loadings/ShimmerLoading.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/OffersCategoriesRequestModel.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/requests/OffersProductsRequestModel.dart'; +import 'package:hmg_patient_app/core/service/packages_offers/PackagesOffersServices.dart'; +import 'package:hmg_patient_app/core/viewModels/packages_offers/PackagesOffersViewModel.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/loadings/ShimmerLoading.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/others/OrderLogItem.dart b/lib/widgets/others/OrderLogItem.dart index ec93f0de..3dd22cbc 100644 --- a/lib/widgets/others/OrderLogItem.dart +++ b/lib/widgets/others/OrderLogItem.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/others/StarRating.dart b/lib/widgets/others/StarRating.dart index 78e84369..c4b89590 100644 --- a/lib/widgets/others/StarRating.dart +++ b/lib/widgets/others/StarRating.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; class StarRating extends StatelessWidget { diff --git a/lib/widgets/others/app_expandable_notifier.dart b/lib/widgets/others/app_expandable_notifier.dart index a1d9393e..2f827a4e 100644 --- a/lib/widgets/others/app_expandable_notifier.dart +++ b/lib/widgets/others/app_expandable_notifier.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/extensions/string_extensions.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/extensions/string_extensions.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:expandable/expandable.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/widgets/others/app_scaffold_pharmacy_widget.dart b/lib/widgets/others/app_scaffold_pharmacy_widget.dart index ec45fbfb..96ea278f 100644 --- a/lib/widgets/others/app_scaffold_pharmacy_widget.dart +++ b/lib/widgets/others/app_scaffold_pharmacy_widget.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/progress_indicator/app_loader_widget.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/progress_indicator/app_loader_widget.dart'; import 'package:flutter/material.dart'; import '../../locator.dart'; diff --git a/lib/widgets/others/app_scaffold_widget.dart b/lib/widgets/others/app_scaffold_widget.dart index 1103b31b..19dc0b7c 100644 --- a/lib/widgets/others/app_scaffold_widget.dart +++ b/lib/widgets/others/app_scaffold_widget.dart @@ -1,33 +1,33 @@ import 'package:auto_size_text/auto_size_text.dart'; import 'package:badges/badges.dart' as badge_import; import 'package:barcode_scan2/barcode_scan2.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/service/client/base_app_client.dart'; -import 'package:diplomaticquarterapp/core/viewModels/PharmacyPagesViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page_pharmcy.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/product-details/product-detail.dart'; -import 'package:diplomaticquarterapp/pages/search_products_page.dart'; -import 'package:diplomaticquarterapp/services/robo_search/event_provider.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/navigation_service.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/pharmacy/bottom_nav_pharmacy_bar.dart'; -import 'package:diplomaticquarterapp/widgets/progress_indicator/app_loader_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/service/client/base_app_client.dart'; +import 'package:hmg_patient_app/core/viewModels/PharmacyPagesViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page_pharmcy.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/product-details/product-detail.dart'; +import 'package:hmg_patient_app/pages/search_products_page.dart'; +import 'package:hmg_patient_app/services/robo_search/event_provider.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/navigation_service.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/pharmacy/bottom_nav_pharmacy_bar.dart'; +import 'package:hmg_patient_app/widgets/progress_indicator/app_loader_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; diff --git a/lib/widgets/others/arrow_back.dart b/lib/widgets/others/arrow_back.dart index 57ca3f1d..432806f2 100644 --- a/lib/widgets/others/arrow_back.dart +++ b/lib/widgets/others/arrow_back.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/others/bottom_bar.dart b/lib/widgets/others/bottom_bar.dart index cee0e6d7..14305f37 100644 --- a/lib/widgets/others/bottom_bar.dart +++ b/lib/widgets/others/bottom_bar.dart @@ -1,35 +1,35 @@ import 'dart:collection'; import 'dart:math'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorProfile.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/DoctorProfile.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/Search.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/BranchView.dart'; -import 'package:diplomaticquarterapp/pages/ErService/NearestEr.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/MyAppointments.dart'; -import 'package:diplomaticquarterapp/pages/feedback/feedback_home_page.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_approval_screen.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_home.dart'; -import 'package:diplomaticquarterapp/pages/medical/doctor/doctor_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/labs/labs_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/patient_sick_leave_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescriptions_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/radiology/radiology_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/reports/report_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/vital_sign/vital_sign_details_screen.dart'; -import 'package:diplomaticquarterapp/pages/vaccine/my_vaccines_screen.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/robo_search/event_provider.dart'; -import 'package:diplomaticquarterapp/services/robo_search/search_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorProfile.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/DoctorProfile.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/Search.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/BranchView.dart'; +import 'package:hmg_patient_app/pages/ErService/NearestEr.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/MyAppointments.dart'; +import 'package:hmg_patient_app/pages/feedback/feedback_home_page.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_approval_screen.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_home.dart'; +import 'package:hmg_patient_app/pages/medical/doctor/doctor_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/labs/labs_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/patient_sick_leave_page.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescriptions_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/radiology/radiology_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/reports/report_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/vital_sign/vital_sign_details_screen.dart'; +import 'package:hmg_patient_app/pages/vaccine/my_vaccines_screen.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/robo_search/event_provider.dart'; +import 'package:hmg_patient_app/services/robo_search/search_provider.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_tts/flutter_tts.dart'; diff --git a/lib/widgets/others/card_with_bg_widget.dart b/lib/widgets/others/card_with_bg_widget.dart index e31d3f27..3820f42e 100644 --- a/lib/widgets/others/card_with_bg_widget.dart +++ b/lib/widgets/others/card_with_bg_widget.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/others/entity_checkbox_list.dart b/lib/widgets/others/entity_checkbox_list.dart index 1e45d3da..a4d4f6de 100644 --- a/lib/widgets/others/entity_checkbox_list.dart +++ b/lib/widgets/others/entity_checkbox_list.dart @@ -1,8 +1,8 @@ -import 'package:diplomaticquarterapp/core/model/pharmacy/categorise_parent_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacy_categorise_view_model.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/network_base_view.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/core/model/pharmacy/categorise_parent_model.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacy_categorise_view_model.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/network_base_view.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/others/floating_button_search.dart b/lib/widgets/others/floating_button_search.dart index d7600bed..4e190def 100644 --- a/lib/widgets/others/floating_button_search.dart +++ b/lib/widgets/others/floating_button_search.dart @@ -4,62 +4,62 @@ import 'dart:io'; import 'dart:math'; import 'package:cached_network_image/cached_network_image.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/service/AuthenticatedUserObject.dart'; -import 'package:diplomaticquarterapp/core/service/medical/vital_sign_service.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/locator.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; -import 'package:diplomaticquarterapp/models/Appointments/DoctorProfile.dart'; -import 'package:diplomaticquarterapp/models/Authentication/authenticated_user.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/%E2%80%8B%20health_calculators.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/my_web_view.dart'; -import 'package:diplomaticquarterapp/pages/AlHabibMedicalService/parking_page.dart'; -import 'package:diplomaticquarterapp/pages/Blood/blood_donation.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/DoctorProfile.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/Search.dart'; -import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/BranchView.dart'; -import 'package:diplomaticquarterapp/pages/ContactUs/LiveChat/livechat_page.dart'; -import 'package:diplomaticquarterapp/pages/ContactUs/findus/findus_page.dart'; -import 'package:diplomaticquarterapp/pages/DrawerPages/family/my-family.dart'; -import 'package:diplomaticquarterapp/pages/ErService/AmbulanceReq.dart'; -import 'package:diplomaticquarterapp/pages/ErService/ErOptions.dart'; -import 'package:diplomaticquarterapp/pages/ErService/NearestEr.dart'; -import 'package:diplomaticquarterapp/pages/MyAppointments/MyAppointments.dart'; -import 'package:diplomaticquarterapp/pages/feedback/feedback_home_page.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_approval_screen.dart'; -import 'package:diplomaticquarterapp/pages/insurance/insurance_update_screen.dart'; -import 'package:diplomaticquarterapp/pages/livecare/livecare_home.dart'; -import 'package:diplomaticquarterapp/pages/login/welcome.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/advance_payment_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/balance/my_balance_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/doctor/doctor_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/labs/labs_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/medical_profile_page_new.dart'; -import 'package:diplomaticquarterapp/pages/medical/patient_sick_leave_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescriptions_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/radiology/radiology_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/reports/report_home_page.dart'; -import 'package:diplomaticquarterapp/pages/medical/vital_sign/vital_sign_details_screen.dart'; -import 'package:diplomaticquarterapp/pages/paymentService/payment_service.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/pharmacy_module_page.dart'; -import 'package:diplomaticquarterapp/pages/vaccine/my_vaccines_screen.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/appointment_services/GetDoctorsList.dart'; -import 'package:diplomaticquarterapp/services/permission/permission_service.dart'; -import 'package:diplomaticquarterapp/services/robo_search/event_provider.dart'; -import 'package:diplomaticquarterapp/services/robo_search/search_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/custom_text_button.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/service/AuthenticatedUserObject.dart'; +import 'package:hmg_patient_app/core/service/medical/vital_sign_service.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/locator.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorListResponse.dart'; +import 'package:hmg_patient_app/models/Appointments/DoctorProfile.dart'; +import 'package:hmg_patient_app/models/Authentication/authenticated_user.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/%E2%80%8B%20health_calculators.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/my_web_view.dart'; +import 'package:hmg_patient_app/pages/AlHabibMedicalService/parking_page.dart'; +import 'package:hmg_patient_app/pages/Blood/blood_donation.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/DoctorProfile.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/Search.dart'; +import 'package:hmg_patient_app/pages/BookAppointment/widgets/BranchView.dart'; +import 'package:hmg_patient_app/pages/ContactUs/LiveChat/livechat_page.dart'; +import 'package:hmg_patient_app/pages/ContactUs/findus/findus_page.dart'; +import 'package:hmg_patient_app/pages/DrawerPages/family/my-family.dart'; +import 'package:hmg_patient_app/pages/ErService/AmbulanceReq.dart'; +import 'package:hmg_patient_app/pages/ErService/ErOptions.dart'; +import 'package:hmg_patient_app/pages/ErService/NearestEr.dart'; +import 'package:hmg_patient_app/pages/MyAppointments/MyAppointments.dart'; +import 'package:hmg_patient_app/pages/feedback/feedback_home_page.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_approval_screen.dart'; +import 'package:hmg_patient_app/pages/insurance/insurance_update_screen.dart'; +import 'package:hmg_patient_app/pages/livecare/livecare_home.dart'; +import 'package:hmg_patient_app/pages/login/welcome.dart'; +import 'package:hmg_patient_app/pages/medical/balance/advance_payment_page.dart'; +import 'package:hmg_patient_app/pages/medical/balance/my_balance_page.dart'; +import 'package:hmg_patient_app/pages/medical/doctor/doctor_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/labs/labs_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/medical_profile_page_new.dart'; +import 'package:hmg_patient_app/pages/medical/patient_sick_leave_page.dart'; +import 'package:hmg_patient_app/pages/medical/prescriptions/prescriptions_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/radiology/radiology_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/reports/report_home_page.dart'; +import 'package:hmg_patient_app/pages/medical/vital_sign/vital_sign_details_screen.dart'; +import 'package:hmg_patient_app/pages/paymentService/payment_service.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/pharmacy_module_page.dart'; +import 'package:hmg_patient_app/pages/vaccine/my_vaccines_screen.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/appointment_services/GetDoctorsList.dart'; +import 'package:hmg_patient_app/services/permission/permission_service.dart'; +import 'package:hmg_patient_app/services/robo_search/event_provider.dart'; +import 'package:hmg_patient_app/services/robo_search/search_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/buttons/custom_text_button.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/foundation.dart' show TargetPlatform; import 'package:flutter/material.dart'; diff --git a/lib/widgets/others/network_base_view.dart b/lib/widgets/others/network_base_view.dart index cea174ea..f9305026 100644 --- a/lib/widgets/others/network_base_view.dart +++ b/lib/widgets/others/network_base_view.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/core/enum/viewstate.dart'; -import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart'; -import 'package:diplomaticquarterapp/widgets/Loader/gif_loader_container.dart'; -import 'package:diplomaticquarterapp/widgets/errors/app_embedded_error.dart'; +import 'package:hmg_patient_app/core/enum/viewstate.dart'; +import 'package:hmg_patient_app/core/viewModels/base_view_model.dart'; +import 'package:hmg_patient_app/widgets/Loader/gif_loader_container.dart'; +import 'package:hmg_patient_app/widgets/errors/app_embedded_error.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/widgets/others/not_auh_page.dart b/lib/widgets/others/not_auh_page.dart index 6389ba00..1557dfeb 100644 --- a/lib/widgets/others/not_auh_page.dart +++ b/lib/widgets/others/not_auh_page.dart @@ -1,16 +1,16 @@ import 'package:carousel_slider/carousel_slider.dart'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/model/ImagesInfo.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/select_device_imei_res.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart' as auth; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/secondary_button.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/model/ImagesInfo.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/select_device_imei_res.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart' as auth; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/buttons/secondary_button.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/svg.dart'; diff --git a/lib/widgets/otp/sms-popup.dart b/lib/widgets/otp/sms-popup.dart index 66bdb936..ebb78a77 100644 --- a/lib/widgets/otp/sms-popup.dart +++ b/lib/widgets/otp/sms-popup.dart @@ -1,11 +1,11 @@ import 'dart:async'; import 'dart:io'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/whatsapp_method_channel.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/whatsapp_method_channel.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/svg.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/pharmacy/bottom_nav_pharmacy_bar.dart b/lib/widgets/pharmacy/bottom_nav_pharmacy_bar.dart index 2abb9224..c53e1ad3 100644 --- a/lib/widgets/pharmacy/bottom_nav_pharmacy_bar.dart +++ b/lib/widgets/pharmacy/bottom_nav_pharmacy_bar.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/d_q_icons_icons.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/d_q_icons_icons.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; import 'package:flutter/material.dart'; import 'bottom_nav_pharmacy_home_item.dart'; diff --git a/lib/widgets/pharmacy/bottom_nav_pharmacy_home_item.dart b/lib/widgets/pharmacy/bottom_nav_pharmacy_home_item.dart index fe0e2c48..58e61424 100644 --- a/lib/widgets/pharmacy/bottom_nav_pharmacy_home_item.dart +++ b/lib/widgets/pharmacy/bottom_nav_pharmacy_home_item.dart @@ -1,7 +1,7 @@ -import 'package:diplomaticquarterapp/Constants.dart'; -import 'package:diplomaticquarterapp/pages/landing/landing_page.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/Constants.dart'; +import 'package:hmg_patient_app/pages/landing/landing_page.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; class BottomNavHomeItem extends StatelessWidget { diff --git a/lib/widgets/pharmacy/bottom_nav_pharmacy_item.dart b/lib/widgets/pharmacy/bottom_nav_pharmacy_item.dart index d35837b6..b7901b87 100644 --- a/lib/widgets/pharmacy/bottom_nav_pharmacy_item.dart +++ b/lib/widgets/pharmacy/bottom_nav_pharmacy_item.dart @@ -1,13 +1,13 @@ -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/config/shared_pref_kay.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/Authentication/select_device_imei_res.dart'; -import 'package:diplomaticquarterapp/routes.dart'; -import 'package:diplomaticquarterapp/services/authentication/auth_provider.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/config/shared_pref_kay.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/OrderPreviewViewModel.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/Authentication/select_device_imei_res.dart'; +import 'package:hmg_patient_app/routes.dart'; +import 'package:hmg_patient_app/services/authentication/auth_provider.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/pharmacy/drug_item.dart b/lib/widgets/pharmacy/drug_item.dart index 58d4ad8f..230ebf77 100644 --- a/lib/widgets/pharmacy/drug_item.dart +++ b/lib/widgets/pharmacy/drug_item.dart @@ -1,9 +1,9 @@ import 'dart:convert'; import 'dart:typed_data'; -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/others/rounded_container.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/others/rounded_container.dart'; import 'package:flutter/material.dart'; class MedicineItemWidget extends StatefulWidget { diff --git a/lib/widgets/pharmacy/my_account_items.dart b/lib/widgets/pharmacy/my_account_items.dart index 8a2a7293..418afcdf 100644 --- a/lib/widgets/pharmacy/my_account_items.dart +++ b/lib/widgets/pharmacy/my_account_items.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/widgets/pharmacy/my_account_services.dart b/lib/widgets/pharmacy/my_account_services.dart index 8da55305..e727df1b 100644 --- a/lib/widgets/pharmacy/my_account_services.dart +++ b/lib/widgets/pharmacy/my_account_services.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/widgets/data_display/text.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/widgets/data_display/text.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; diff --git a/lib/widgets/pharmacy/product_tile.dart b/lib/widgets/pharmacy/product_tile.dart index e6b6f350..f0f31d04 100644 --- a/lib/widgets/pharmacy/product_tile.dart +++ b/lib/widgets/pharmacy/product_tile.dart @@ -1,14 +1,14 @@ -import 'package:diplomaticquarterapp/core/model/pharmacies/PharmacyProduct.dart'; -import 'package:diplomaticquarterapp/core/viewModels/pharmacyModule/product_detail_view_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/pages/pharmacies/screens/cart-page/cart-order-page.dart'; -import 'package:diplomaticquarterapp/pages/pharmacy/order/ProductReview.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_toast.dart'; -import 'package:diplomaticquarterapp/uitl/gif_loader_dialog_utils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils.dart'; -import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart'; +import 'package:hmg_patient_app/core/model/pharmacies/PharmacyProduct.dart'; +import 'package:hmg_patient_app/core/viewModels/pharmacyModule/product_detail_view_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/pages/pharmacies/screens/cart-page/cart-order-page.dart'; +import 'package:hmg_patient_app/pages/pharmacy/order/ProductReview.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_toast.dart'; +import 'package:hmg_patient_app/uitl/gif_loader_dialog_utils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils.dart'; +import 'package:hmg_patient_app/widgets/transitions/fade_page.dart'; import 'package:flutter/material.dart'; import 'package:flutter_rating_bar/flutter_rating_bar.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; diff --git a/lib/widgets/photo_view_page.dart b/lib/widgets/photo_view_page.dart index 9d57865e..f7f2e60c 100644 --- a/lib/widgets/photo_view_page.dart +++ b/lib/widgets/photo_view_page.dart @@ -1,4 +1,4 @@ -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; import 'package:photo_view/photo_view.dart'; diff --git a/lib/widgets/pickupLocation/PickupLocationFromMap.dart b/lib/widgets/pickupLocation/PickupLocationFromMap.dart index 2f2276ae..06b22d6b 100644 --- a/lib/widgets/pickupLocation/PickupLocationFromMap.dart +++ b/lib/widgets/pickupLocation/PickupLocationFromMap.dart @@ -1,14 +1,14 @@ import 'dart:io'; -import 'package:diplomaticquarterapp/config/config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/models/ambulanceRequest/locationDetails.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/widgets/app_map/google_huawei_map.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; -import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; +import 'package:hmg_patient_app/config/config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/models/ambulanceRequest/locationDetails.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/app_shared_preferences.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/widgets/app_map/google_huawei_map.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:geocoding/geocoding.dart'; diff --git a/lib/widgets/show_zoom_image_dialog.dart b/lib/widgets/show_zoom_image_dialog.dart index 0864404c..f3f11c24 100644 --- a/lib/widgets/show_zoom_image_dialog.dart +++ b/lib/widgets/show_zoom_image_dialog.dart @@ -1,5 +1,5 @@ import 'package:cached_network_image/cached_network_image.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; import 'package:flutter/material.dart'; showZoomImageDialog(BuildContext context, String url, {bool isNetworkImage = true}) { diff --git a/lib/widgets/single_selection_dialog.dart b/lib/widgets/single_selection_dialog.dart index 02c2acf2..928c38fe 100644 --- a/lib/widgets/single_selection_dialog.dart +++ b/lib/widgets/single_selection_dialog.dart @@ -1,9 +1,9 @@ -import 'package:diplomaticquarterapp/core/model/packages_offers/responses/tamara_payment_option.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; -import 'package:diplomaticquarterapp/uitl/CalendarUtils.dart'; -import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; -import 'package:diplomaticquarterapp/uitl/utils_new.dart'; -import 'package:diplomaticquarterapp/widgets/buttons/defaultButton.dart'; +import 'package:hmg_patient_app/core/model/packages_offers/responses/tamara_payment_option.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; +import 'package:hmg_patient_app/uitl/CalendarUtils.dart'; +import 'package:hmg_patient_app/uitl/translations_delegate_base.dart'; +import 'package:hmg_patient_app/uitl/utils_new.dart'; +import 'package:hmg_patient_app/widgets/buttons/defaultButton.dart'; import 'package:flutter/material.dart'; import 'package:jiffy/jiffy.dart'; import 'package:manage_calendar_events/manage_calendar_events.dart'; diff --git a/lib/widgets/text/app_texts_widget.dart b/lib/widgets/text/app_texts_widget.dart index 0d1e6477..05180e47 100644 --- a/lib/widgets/text/app_texts_widget.dart +++ b/lib/widgets/text/app_texts_widget.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/config/size_config.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/theme/colors.dart'; +import 'package:hmg_patient_app/config/size_config.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/theme/colors.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; diff --git a/lib/widgets/typewriter/typewiter.dart b/lib/widgets/typewriter/typewiter.dart index d596bb85..d23ecaeb 100644 --- a/lib/widgets/typewriter/typewiter.dart +++ b/lib/widgets/typewriter/typewiter.dart @@ -1,5 +1,5 @@ -import 'package:diplomaticquarterapp/services/robo_search/event_provider.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/services/robo_search/event_provider.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; import 'package:flutter/material.dart'; class TyperAnimatedTextKit extends StatefulWidget { diff --git a/lib/widgets/weather_slider/weather_slider.dart b/lib/widgets/weather_slider/weather_slider.dart index a494c031..3365d299 100644 --- a/lib/widgets/weather_slider/weather_slider.dart +++ b/lib/widgets/weather_slider/weather_slider.dart @@ -1,6 +1,6 @@ -import 'package:diplomaticquarterapp/core/model/weahter/weather_model.dart'; -import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; -import 'package:diplomaticquarterapp/widgets/text/app_texts_widget.dart'; +import 'package:hmg_patient_app/core/model/weahter/weather_model.dart'; +import 'package:hmg_patient_app/core/viewModels/project_view_model.dart'; +import 'package:hmg_patient_app/widgets/text/app_texts_widget.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index dc3da8dc..eb2e70b6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ -name: diplomaticquarterapp +name: hmg_patient_app description: A new Flutter application. -version: 4.6.014+1 +version: 4.6.009+1 environment: sdk: ">=3.0.0 <3.13.0" @@ -14,10 +14,11 @@ dependencies: flutter_localizations: sdk: flutter # intl: ^0.18.1 - intl: ^0.19.0 + # webview_flutter: ^2.0.4 webview_flutter: ^4.8.0 + app_links: ^6.4.0 # http client http: ^0.13.4 @@ -189,13 +190,13 @@ dependencies: firebase_crashlytics: ^3.0.0 cloudflare_turnstile: ^2.0.1 - app_links: ^6.4.0 device_info_plus: ^10.1.2 -# app_links: ^6.4.0 # vital_sign_camera: # path: ./packages/vital_sign_camera dependency_overrides: + intl: ^0.20.2 + google_api_headers: ^4.5.4 dev_dependencies: flutter_test: diff --git a/test/widget_test.dart b/test/widget_test.dart index 68118458..155d0765 100644 --- a/test/widget_test.dart +++ b/test/widget_test.dart @@ -5,7 +5,7 @@ // gestures. You can also use WidgetTester to find child widgets in the widget // tree, read text, and verify that the values of widget properties are correct. -import 'package:diplomaticquarterapp/main.dart'; +import 'package:hmg_patient_app/main.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart';