@regulaforensics/ionic-native-document-reader 6.9.1 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/README.md +10 -9
  2. package/example/README.md +8 -6
  3. package/example/config.xml +5 -8
  4. package/example/package.json +14 -23
  5. package/example/src/app/home/home.module.ts +2 -4
  6. package/example/src/app/home/home.page.ts +82 -159
  7. package/index.d.ts +324 -342
  8. package/index.js +250 -96
  9. package/ngx/index.d.ts +324 -342
  10. package/ngx/index.js +254 -100
  11. package/package.json +1 -1
  12. package/reactExample/.browserslistrc +6 -0
  13. package/reactExample/.eslintrc.js +17 -0
  14. package/reactExample/README.md +9 -6
  15. package/reactExample/android/app/build.gradle +3 -0
  16. package/reactExample/android/app/capacitor.build.gradle +22 -0
  17. package/reactExample/android/app/src/main/AndroidManifest.xml +4 -7
  18. package/reactExample/android/app/src/main/assets/Regula/.gitkeep +0 -0
  19. package/reactExample/android/app/src/main/res/values/styles.xml +2 -2
  20. package/reactExample/android/build.gradle +9 -5
  21. package/reactExample/android/capacitor.settings.gradle +15 -0
  22. package/reactExample/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  23. package/reactExample/android/gradle/wrapper/gradle-wrapper.properties +2 -1
  24. package/reactExample/android/gradle.properties +0 -2
  25. package/reactExample/android/gradlew +164 -105
  26. package/reactExample/android/gradlew.bat +92 -89
  27. package/reactExample/android/variables.gradle +14 -12
  28. package/reactExample/capacitor.config.ts +4 -2
  29. package/reactExample/cypress/e2e/test.cy.ts +6 -0
  30. package/reactExample/cypress/fixtures/example.json +5 -0
  31. package/reactExample/cypress/support/commands.ts +37 -0
  32. package/reactExample/cypress/support/e2e.ts +20 -0
  33. package/reactExample/cypress.config.ts +10 -0
  34. package/reactExample/index.html +116 -0
  35. package/reactExample/ionic.config.json +6 -6
  36. package/reactExample/ios/App/App/App.entitlements +0 -1
  37. package/reactExample/ios/App/App/AppDelegate.swift +0 -11
  38. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +6 -108
  39. package/reactExample/ios/App/App/Info.plist +4 -4
  40. package/reactExample/ios/App/App.xcodeproj/project.pbxproj +14 -22
  41. package/reactExample/ios/App/Podfile +7 -3
  42. package/reactExample/package.json +58 -82
  43. package/reactExample/public/assets/.gitkeep +0 -0
  44. package/reactExample/src/components/ExploreContainer.css +24 -0
  45. package/reactExample/src/components/ExploreContainer.tsx +14 -0
  46. package/reactExample/src/main.tsx +11 -0
  47. package/reactExample/src/pages/Home.tsx +91 -162
  48. package/reactExample/src/theme/variables.css +6 -0
  49. package/reactExample/src/vite-env.d.ts +1 -0
  50. package/reactExample/tsconfig.json +10 -16
  51. package/reactExample/tsconfig.node.json +9 -0
  52. package/reactExample/vite.config.ts +16 -0
  53. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@1x.png +0 -0
  54. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x-1.png +0 -0
  55. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x.png +0 -0
  56. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@3x.png +0 -0
  57. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@1x.png +0 -0
  58. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x-1.png +0 -0
  59. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x.png +0 -0
  60. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png +0 -0
  61. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@1x.png +0 -0
  62. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png +0 -0
  63. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png +0 -0
  64. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png +0 -0
  65. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png +0 -0
  66. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png +0 -0
  67. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png +0 -0
  68. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png +0 -0
  69. package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png +0 -0
  70. package/reactExample/ios/App/App/capacitor.config.json +0 -6
  71. package/reactExample/ios/App/App/config.xml +0 -19
  72. package/reactExample/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  73. package/reactExample/public/assets/icon/icon.png +0 -0
  74. package/reactExample/public/assets/shapes.svg +0 -1
  75. package/reactExample/public/index.html +0 -114
  76. package/reactExample/src/assets/img/id.png +0 -0
  77. package/reactExample/src/assets/img/portrait.png +0 -0
  78. package/reactExample/src/index.tsx +0 -22
  79. package/reactExample/src/react-app-env.d.ts +0 -1
  80. package/reactExample/src/reportWebVitals.ts +0 -15
  81. package/reactExample/src/service-worker.ts +0 -80
  82. package/reactExample/src/serviceWorkerRegistration.ts +0 -142
  83. /package/reactExample/public/{assets/icon/favicon.png → favicon.png} +0 -0
@@ -8,6 +8,7 @@
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
10
  2FAD9763203C412B000D30F8 /* config.xml in Resources */ = {isa = PBXBuildFile; fileRef = 2FAD9762203C412B000D30F8 /* config.xml */; };
11
+ 34A6AF322B8641BF00266440 /* db.dat in Resources */ = {isa = PBXBuildFile; fileRef = 34A6AF312B8641BF00266440 /* db.dat */; };
11
12
  50379B232058CBB4000EE86E /* capacitor.config.json in Resources */ = {isa = PBXBuildFile; fileRef = 50379B222058CBB4000EE86E /* capacitor.config.json */; };
12
13
  504EC3081FED79650016851F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 504EC3071FED79650016851F /* AppDelegate.swift */; };
13
14
  504EC30D1FED79650016851F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30B1FED79650016851F /* Main.storyboard */; };
@@ -19,6 +20,8 @@
19
20
 
20
21
  /* Begin PBXFileReference section */
21
22
  2FAD9762203C412B000D30F8 /* config.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = config.xml; sourceTree = "<group>"; };
23
+ 34A6AF312B8641BF00266440 /* db.dat */ = {isa = PBXFileReference; lastKnownFileType = file; path = db.dat; sourceTree = "<group>"; };
24
+ 34ADEF8A2B6C25C900B38C44 /* App.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = App.entitlements; sourceTree = "<group>"; };
22
25
  50379B222058CBB4000EE86E /* capacitor.config.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = capacitor.config.json; sourceTree = "<group>"; };
23
26
  504EC3041FED79650016851F /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; };
24
27
  504EC3071FED79650016851F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@@ -27,7 +30,6 @@
27
30
  504EC3111FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
28
31
  504EC3131FED79650016851F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
29
32
  50B271D01FEDC1A000F3C39B /* public */ = {isa = PBXFileReference; lastKnownFileType = folder; path = public; sourceTree = "<group>"; };
30
- 8C2F137927B4187A00CA3AC4 /* App.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = App.entitlements; sourceTree = "<group>"; };
31
33
  AF277DCFFFF123FFC6DF26C7 /* Pods_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_App.framework; sourceTree = BUILT_PRODUCTS_DIR; };
32
34
  AF51FD2D460BCFE21FA515B2 /* Pods-App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.release.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.release.xcconfig"; sourceTree = "<group>"; };
33
35
  FC68EB0AF532CFC21C3344DD /* Pods-App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App.debug.xcconfig"; path = "Pods/Target Support Files/Pods-App/Pods-App.debug.xcconfig"; sourceTree = "<group>"; };
@@ -74,7 +76,8 @@
74
76
  504EC3061FED79650016851F /* App */ = {
75
77
  isa = PBXGroup;
76
78
  children = (
77
- 8C2F137927B4187A00CA3AC4 /* App.entitlements */,
79
+ 34A6AF312B8641BF00266440 /* db.dat */,
80
+ 34ADEF8A2B6C25C900B38C44 /* App.entitlements */,
78
81
  50379B222058CBB4000EE86E /* capacitor.config.json */,
79
82
  504EC3071FED79650016851F /* AppDelegate.swift */,
80
83
  504EC30B1FED79650016851F /* Main.storyboard */,
@@ -108,7 +111,6 @@
108
111
  504EC3011FED79650016851F /* Frameworks */,
109
112
  504EC3021FED79650016851F /* Resources */,
110
113
  9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */,
111
- 692AC052DEBB9C5241587AC1 /* [CP] Copy Pods Resources */,
112
114
  );
113
115
  buildRules = (
114
116
  );
@@ -164,6 +166,7 @@
164
166
  50379B232058CBB4000EE86E /* capacitor.config.json in Resources */,
165
167
  504EC30D1FED79650016851F /* Main.storyboard in Resources */,
166
168
  2FAD9763203C412B000D30F8 /* config.xml in Resources */,
169
+ 34A6AF322B8641BF00266440 /* db.dat in Resources */,
167
170
  );
168
171
  runOnlyForDeploymentPostprocessing = 0;
169
172
  };
@@ -188,21 +191,6 @@
188
191
  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";
189
192
  showEnvVarsInLog = 0;
190
193
  };
191
- 692AC052DEBB9C5241587AC1 /* [CP] Copy Pods Resources */ = {
192
- isa = PBXShellScriptBuildPhase;
193
- buildActionMask = 2147483647;
194
- files = (
195
- );
196
- inputPaths = (
197
- );
198
- name = "[CP] Copy Pods Resources";
199
- outputPaths = (
200
- );
201
- runOnlyForDeploymentPostprocessing = 0;
202
- shellPath = /bin/sh;
203
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-App/Pods-App-resources.sh\"\n";
204
- showEnvVarsInLog = 0;
205
- };
206
194
  9592DBEFFC6D2A0C8D5DEB22 /* [CP] Embed Pods Frameworks */ = {
207
195
  isa = PBXShellScriptBuildPhase;
208
196
  buildActionMask = 2147483647;
@@ -299,7 +287,7 @@
299
287
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
300
288
  GCC_WARN_UNUSED_FUNCTION = YES;
301
289
  GCC_WARN_UNUSED_VARIABLE = YES;
302
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
290
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
303
291
  MTL_ENABLE_DEBUG_INFO = YES;
304
292
  ONLY_ACTIVE_ARCH = YES;
305
293
  SDKROOT = iphoneos;
@@ -350,7 +338,7 @@
350
338
  GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
351
339
  GCC_WARN_UNUSED_FUNCTION = YES;
352
340
  GCC_WARN_UNUSED_VARIABLE = YES;
353
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
341
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
354
342
  MTL_ENABLE_DEBUG_INFO = NO;
355
343
  SDKROOT = iphoneos;
356
344
  SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
@@ -365,9 +353,11 @@
365
353
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
366
354
  CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
367
355
  CODE_SIGN_STYLE = Automatic;
356
+ CURRENT_PROJECT_VERSION = 1;
368
357
  INFOPLIST_FILE = App/Info.plist;
369
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
358
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
370
359
  LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
360
+ MARKETING_VERSION = 1.0;
371
361
  OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
372
362
  PRODUCT_BUNDLE_IDENTIFIER = regula.DocumentReader;
373
363
  PRODUCT_NAME = "$(TARGET_NAME)";
@@ -384,9 +374,11 @@
384
374
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
385
375
  CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
386
376
  CODE_SIGN_STYLE = Automatic;
377
+ CURRENT_PROJECT_VERSION = 1;
387
378
  INFOPLIST_FILE = App/Info.plist;
388
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
379
+ IPHONEOS_DEPLOYMENT_TARGET = 13.0;
389
380
  LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
381
+ MARKETING_VERSION = 1.0;
390
382
  PRODUCT_BUNDLE_IDENTIFIER = regula.DocumentReader;
391
383
  PRODUCT_NAME = "$(TARGET_NAME)";
392
384
  SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
@@ -1,4 +1,6 @@
1
- platform :ios, '12.0'
1
+ require_relative '../../node_modules/@capacitor/ios/scripts/pods_helpers'
2
+
3
+ platform :ios, '13.0'
2
4
  use_frameworks!
3
5
 
4
6
  # workaround to avoid Xcode caching of Pods that requires
@@ -13,11 +15,13 @@ def capacitor_pods
13
15
  pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics'
14
16
  pod 'CapacitorKeyboard', :path => '../../node_modules/@capacitor/keyboard'
15
17
  pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
16
- pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
17
- pod 'CordovaPluginsResources', :path => '../capacitor-cordova-ios-plugins'
18
18
  end
19
19
 
20
20
  target 'App' do
21
21
  capacitor_pods
22
22
  # Add your Pods here
23
23
  end
24
+
25
+ post_install do |installer|
26
+ assertDeploymentTarget(installer)
27
+ end
@@ -1,84 +1,60 @@
1
1
  {
2
- "name": "test",
3
- "version": "0.0.1",
4
- "private": true,
5
- "dependencies": {
6
- "@capacitor/android": "3.4.0",
7
- "@capacitor/app": "1.1.0",
8
- "@capacitor/core": "3.4.0",
9
- "@capacitor/haptics": "1.1.4",
10
- "@capacitor/ios": "3.4.0",
11
- "@capacitor/keyboard": "1.2.1",
12
- "@capacitor/status-bar": "1.0.7",
13
- "@awesome-cordova-plugins/android-permissions": "^5.36.0",
14
- "@awesome-cordova-plugins/core": "^5.36.0",
15
- "@awesome-cordova-plugins/file": "^5.36.0",
16
- "@awesome-cordova-plugins/image-picker": "^5.36.0",
17
- "@ionic/react": "^6.0.0",
18
- "@ionic/react-router": "^6.0.0",
19
- "@regulaforensics/cordova-plugin-document-reader-api": "6.9.1",
20
- "@regulaforensics/cordova-plugin-document-reader-core-fullrfid": "6.9.0",
21
- "@regulaforensics/ionic-native-document-reader": "6.9.1",
22
- "@testing-library/jest-dom": "^5.11.9",
23
- "@testing-library/react": "^11.2.5",
24
- "@testing-library/user-event": "^12.6.3",
25
- "@types/jest": "^26.0.20",
26
- "@types/node": "^12.19.15",
27
- "@types/react": "^16.14.3",
28
- "@types/react-dom": "^16.9.10",
29
- "@types/react-router": "^5.1.11",
30
- "@types/react-router-dom": "^5.1.7",
31
- "cordova-plugin-android-permissions": "^1.1.3",
32
- "cordova-plugin-file": "^6.0.2",
33
- "cordova-plugin-telerik-imagepicker": "^2.3.6",
34
- "ionicons": "^5.4.0",
35
- "jetifier": "^2.0.0",
36
- "react": "^17.0.1",
37
- "react-dom": "^17.0.1",
38
- "react-router": "^5.2.0",
39
- "react-router-dom": "^5.2.0",
40
- "react-scripts": "^5.0.0",
41
- "typescript": "^4.1.3",
42
- "web-vitals": "^0.2.4",
43
- "workbox-background-sync": "^5.1.4",
44
- "workbox-broadcast-update": "^5.1.4",
45
- "workbox-cacheable-response": "^5.1.4",
46
- "workbox-core": "^5.1.4",
47
- "workbox-expiration": "^5.1.4",
48
- "workbox-google-analytics": "^5.1.4",
49
- "workbox-navigation-preload": "^5.1.4",
50
- "workbox-precaching": "^5.1.4",
51
- "workbox-range-requests": "^5.1.4",
52
- "workbox-routing": "^5.1.4",
53
- "workbox-strategies": "^5.1.4",
54
- "workbox-streams": "^5.1.4"
55
- },
56
- "scripts": {
57
- "start": "react-scripts start",
58
- "build": "react-scripts build",
59
- "test": "react-scripts test --transformIgnorePatterns 'node_modules/(?!(@ionic/react|@ionic/react-router|@ionic/core|@stencil/core|ionicons)/)'",
60
- "eject": "react-scripts eject"
61
- },
62
- "eslintConfig": {
63
- "extends": [
64
- "react-app",
65
- "react-app/jest"
66
- ]
67
- },
68
- "browserslist": {
69
- "production": [
70
- ">0.2%",
71
- "not dead",
72
- "not op_mini all"
73
- ],
74
- "development": [
75
- "last 1 chrome version",
76
- "last 1 firefox version",
77
- "last 1 safari version"
78
- ]
79
- },
80
- "devDependencies": {
81
- "@capacitor/cli": "3.4.0"
82
- },
83
- "description": "An Ionic project"
2
+ "name": "DocumentReader",
3
+ "private": true,
4
+ "version": "0.0.1",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "tsc && vite build",
9
+ "preview": "vite preview",
10
+ "test.e2e": "cypress run",
11
+ "test.unit": "vitest",
12
+ "lint": "eslint"
13
+ },
14
+ "dependencies": {
15
+ "@regulaforensics/cordova-plugin-document-reader-api": "7.1.0",
16
+ "@regulaforensics/cordova-plugin-document-reader-core-fullrfid": "7.1.0",
17
+ "@regulaforensics/ionic-native-document-reader": "7.1.0",
18
+ "@awesome-cordova-plugins/camera": "6.6.0",
19
+ "@awesome-cordova-plugins/file": "6.6.0",
20
+ "@capacitor/android": "5.6.0",
21
+ "@capacitor/app": "5.0.7",
22
+ "@capacitor/core": "5.6.0",
23
+ "@capacitor/haptics": "5.0.7",
24
+ "@capacitor/ios": "5.6.0",
25
+ "@capacitor/keyboard": "5.0.8",
26
+ "@capacitor/status-bar": "5.0.7",
27
+ "@ionic/react": "^7.0.0",
28
+ "@ionic/react-router": "^7.0.0",
29
+ "@types/react-router": "^5.1.20",
30
+ "@types/react-router-dom": "^5.3.3",
31
+ "cordova-plugin-camera": "7.0.0",
32
+ "cordova-plugin-file": "8.0.1",
33
+ "jetifier": "2.0.0",
34
+ "ionicons": "^7.0.0",
35
+ "react": "^18.2.0",
36
+ "react-dom": "^18.2.0",
37
+ "react-router": "^5.3.4",
38
+ "react-router-dom": "^5.3.4"
39
+ },
40
+ "devDependencies": {
41
+ "@capacitor/cli": "5.6.0",
42
+ "@testing-library/dom": ">=7.21.4",
43
+ "@testing-library/jest-dom": "^5.16.5",
44
+ "@testing-library/react": "^14.0.0",
45
+ "@testing-library/user-event": "^14.4.3",
46
+ "@types/react": "^18.0.27",
47
+ "@types/react-dom": "^18.0.10",
48
+ "@vitejs/plugin-legacy": "^5.0.0",
49
+ "@vitejs/plugin-react": "^4.0.1",
50
+ "cypress": "^13.5.0",
51
+ "eslint": "^8.35.0",
52
+ "eslint-plugin-react": "^7.32.2",
53
+ "jsdom": "^22.1.0",
54
+ "terser": "^5.4.0",
55
+ "typescript": "^5.1.6",
56
+ "vite": "^5.0.0",
57
+ "vitest": "^0.34.6"
58
+ },
59
+ "description": "An Ionic project"
84
60
  }
File without changes
@@ -0,0 +1,24 @@
1
+ #container {
2
+ text-align: center;
3
+ position: absolute;
4
+ left: 0;
5
+ right: 0;
6
+ top: 50%;
7
+ transform: translateY(-50%);
8
+ }
9
+
10
+ #container strong {
11
+ font-size: 20px;
12
+ line-height: 26px;
13
+ }
14
+
15
+ #container p {
16
+ font-size: 16px;
17
+ line-height: 22px;
18
+ color: #8c8c8c;
19
+ margin: 0;
20
+ }
21
+
22
+ #container a {
23
+ text-decoration: none;
24
+ }
@@ -0,0 +1,14 @@
1
+ import './ExploreContainer.css';
2
+
3
+ interface ContainerProps { }
4
+
5
+ const ExploreContainer: React.FC<ContainerProps> = () => {
6
+ return (
7
+ <div id="container">
8
+ <strong>Ready to create an app?</strong>
9
+ <p>Start with Ionic <a target="_blank" rel="noopener noreferrer" href="https://ionicframework.com/docs/components">UI Components</a></p>
10
+ </div>
11
+ );
12
+ };
13
+
14
+ export default ExploreContainer;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { createRoot } from 'react-dom/client';
3
+ import App from './App';
4
+
5
+ const container = document.getElementById('root');
6
+ const root = createRoot(container!);
7
+ root.render(
8
+ <React.StrictMode>
9
+ <App />
10
+ </React.StrictMode>
11
+ );