@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.
- package/README.md +10 -9
- package/example/README.md +8 -6
- package/example/config.xml +5 -8
- package/example/package.json +14 -23
- package/example/src/app/home/home.module.ts +2 -4
- package/example/src/app/home/home.page.ts +82 -159
- package/index.d.ts +324 -342
- package/index.js +250 -96
- package/ngx/index.d.ts +324 -342
- package/ngx/index.js +254 -100
- package/package.json +1 -1
- package/reactExample/.browserslistrc +6 -0
- package/reactExample/.eslintrc.js +17 -0
- package/reactExample/README.md +9 -6
- package/reactExample/android/app/build.gradle +3 -0
- package/reactExample/android/app/capacitor.build.gradle +22 -0
- package/reactExample/android/app/src/main/AndroidManifest.xml +4 -7
- package/reactExample/android/app/src/main/assets/Regula/.gitkeep +0 -0
- package/reactExample/android/app/src/main/res/values/styles.xml +2 -2
- package/reactExample/android/build.gradle +9 -5
- package/reactExample/android/capacitor.settings.gradle +15 -0
- package/reactExample/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/reactExample/android/gradle/wrapper/gradle-wrapper.properties +2 -1
- package/reactExample/android/gradle.properties +0 -2
- package/reactExample/android/gradlew +164 -105
- package/reactExample/android/gradlew.bat +92 -89
- package/reactExample/android/variables.gradle +14 -12
- package/reactExample/capacitor.config.ts +4 -2
- package/reactExample/cypress/e2e/test.cy.ts +6 -0
- package/reactExample/cypress/fixtures/example.json +5 -0
- package/reactExample/cypress/support/commands.ts +37 -0
- package/reactExample/cypress/support/e2e.ts +20 -0
- package/reactExample/cypress.config.ts +10 -0
- package/reactExample/index.html +116 -0
- package/reactExample/ionic.config.json +6 -6
- package/reactExample/ios/App/App/App.entitlements +0 -1
- package/reactExample/ios/App/App/AppDelegate.swift +0 -11
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +6 -108
- package/reactExample/ios/App/App/Info.plist +4 -4
- package/reactExample/ios/App/App.xcodeproj/project.pbxproj +14 -22
- package/reactExample/ios/App/Podfile +7 -3
- package/reactExample/package.json +58 -82
- package/reactExample/public/assets/.gitkeep +0 -0
- package/reactExample/src/components/ExploreContainer.css +24 -0
- package/reactExample/src/components/ExploreContainer.tsx +14 -0
- package/reactExample/src/main.tsx +11 -0
- package/reactExample/src/pages/Home.tsx +91 -162
- package/reactExample/src/theme/variables.css +6 -0
- package/reactExample/src/vite-env.d.ts +1 -0
- package/reactExample/tsconfig.json +10 -16
- package/reactExample/tsconfig.node.json +9 -0
- package/reactExample/vite.config.ts +16 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@1x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x-1.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-20x20@3x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@1x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x-1.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-29x29@3x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@1x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x-1.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-40x40@3x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-60x60@3x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@1x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-76x76@2x.png +0 -0
- package/reactExample/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-83.5x83.5@2x.png +0 -0
- package/reactExample/ios/App/App/capacitor.config.json +0 -6
- package/reactExample/ios/App/App/config.xml +0 -19
- package/reactExample/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/reactExample/public/assets/icon/icon.png +0 -0
- package/reactExample/public/assets/shapes.svg +0 -1
- package/reactExample/public/index.html +0 -114
- package/reactExample/src/assets/img/id.png +0 -0
- package/reactExample/src/assets/img/portrait.png +0 -0
- package/reactExample/src/index.tsx +0 -22
- package/reactExample/src/react-app-env.d.ts +0 -1
- package/reactExample/src/reportWebVitals.ts +0 -15
- package/reactExample/src/service-worker.ts +0 -80
- package/reactExample/src/serviceWorkerRegistration.ts +0 -142
- /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
|
-
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
+
);
|