rhodes 6.2.0 → 7.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CONTRIBUTING.md +1 -1
- data/CREDITS +3 -1
- data/Gemfile +3 -0
- data/LICENSE +1 -1
- data/README.html +2 -2
- data/README.md +28 -23
- data/Rakefile +194 -101
- data/SECURITY.md +19 -0
- data/appveyor.yml +127 -47
- data/azure-pipelines.yml +67 -0
- data/bin/rhodes-setup +4 -4
- data/doc/application.txt +21 -0
- data/doc/oss/DeveloperNotes.md +1 -1
- data/doc/oss/WM_CE_Installation_And_Build_Guidelines.md +1 -1
- data/ext/extconf.rb +16 -3
- data/extensions/emdk3-manager/ext/platform/android/Rakefile +2 -0
- data/extensions/instrumentation/ext/platform/iphone/Instrumentation.xcodeproj/project.pbxproj +4 -4
- data/extensions/rhoconnect-push/ext/build.bat +1 -1
- data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/Rakefile +18 -1
- data/extensions/rhoconnect-push/ext/rhoconnect-push/platform/android/src/com/rhomobile/rhoelements/ans/ANSManager.java +2 -2
- data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/Rakefile +19 -1
- data/extensions/rhoelementsext/ext/rhoelementsext/platform/android/rhoelements_temp/src/com/rho/rhoelements/graphics/BatteryIndicator.java +14 -1
- data/lib/build/buildgem.rb +26 -0
- data/lib/build/jake.rb +7 -5
- data/lib/commonAPI/ConnectionChecking/ext/build.bat +1 -1
- data/lib/commonAPI/RubyServer/ext/RubyServer.xml +101 -0
- data/lib/commonAPI/RubyServer/ext/build +19 -0
- data/lib/commonAPI/RubyServer/ext/build.bat +29 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/Rakefile +161 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/ext_java.files +9 -0
- data/lib/commonAPI/RubyServer/ext/platform/android/ext_native.files +7 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/Rakefile +20 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer.xcodeproj/project.pbxproj +322 -0
- data/lib/commonAPI/RubyServer/ext/platform/iphone/RubyServer_Prefix.pch +7 -0
- data/lib/commonAPI/RubyServer/ext/shared/RubyServerImpl.cpp +242 -0
- data/lib/commonAPI/RubyServer/ext.yml +21 -0
- data/lib/commonAPI/audiocapture/ext/build.bat +1 -1
- data/lib/commonAPI/audiocapture/ext/platform/android/src/com/rho/audiocapture/AudioCapture.java +4 -1
- data/lib/commonAPI/audiocapture/ext/platform/iphone/Audiocapture.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/audiocapture/ext/platform/iphone/Rakefile +9 -63
- data/lib/commonAPI/barcode/ext/barcode.xml +2 -6
- data/lib/commonAPI/barcode/ext/build +5 -0
- data/lib/commonAPI/barcode/ext/build.bat +1 -1
- data/lib/commonAPI/barcode/ext/platform/android/AndroidManifest.xml +16 -1
- data/lib/commonAPI/barcode/ext/platform/android/Rakefile +229 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_arrow_back.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_done.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_flash_off.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_flash_on.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable/barcode_replay.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/drawable-hdpi/icon.png +0 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/layout/barcode_capture.xml +98 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values/barcode_strings.xml +12 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values/barcode_styles.xml +8 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values/dimens.xml +5 -0
- data/lib/commonAPI/barcode/ext/platform/android/additional_files/res/values-w820dp/dimens.xml +6 -0
- data/lib/commonAPI/barcode/ext/platform/android/ext_java.files +11 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeCaptureActivity.java +667 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeFormats.java +64 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeGraphic.java +94 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeGraphicTracker.java +165 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/BarcodeTrackerFactory.java +47 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/CameraSource.java +1166 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/CameraSourcePreview.java +189 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/google/barcodereader/ui/camera/GraphicOverlay.java +309 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeCommon.java +199 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeFactory.java +89 -52
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeFactoryRhoListener.java +9 -1
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeRhoExtension.java +77 -9
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/BarcodeSingleton.java +75 -23
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/InternalAndroidBarcodeScanner.java +184 -0
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/ZXingScanner.java +48 -180
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/emdk3/EMDK3Scanner.java +8 -1
- data/lib/commonAPI/barcode/ext/platform/android/src/com/rho/barcode/emdk3/EMDK3ScannerSettings.java +4 -3
- data/lib/commonAPI/barcode/ext/platform/iphone/Barcode.xcodeproj/project.pbxproj +28 -56
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewController.h +38 -10
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewController.m +300 -22
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/BarcodeViewFactory.mm +6 -0
- data/lib/commonAPI/barcode/ext/platform/iphone/Classes/barcode.m +6 -2
- data/lib/commonAPI/barcode/ext/platform/iphone/Rakefile +9 -64
- data/lib/commonAPI/barcode/ext/platform/iphone/ZXingObjC/ZXingObjC/client/result/ZXResultParser.m +1 -1
- data/lib/commonAPI/barcode/ext/platform/iphone/ZXingObjC/ZXingObjC/datamatrix/decoder/ZXDataMatrixDecodedBitStreamParser.m +4 -4
- data/lib/commonAPI/barcode/ext/platform/iphone/ZXingObjC/ZXingObjC.xcodeproj/project.pbxproj +6 -6
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/Barcode.m +7 -3
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/BarcodeFactory.m +13 -0
- data/lib/commonAPI/barcode/ext/platform/iphone/impl/BarcodeSingleton.m +25 -3
- data/lib/commonAPI/barcode/ext/platform/qt/Barcode.pro +41 -37
- data/lib/commonAPI/barcode/ext/platform/qt/src/BarcodeDialogBuilder.h +2 -0
- data/lib/commonAPI/barcode/ext/platform/qt/src/BarcodeDialogView.cpp +6 -3
- data/lib/commonAPI/barcode/ext/platform/qt/src/BarcodeDialogView.h +1 -1
- data/lib/commonAPI/barcode/ext/platform/qt/src/qzxing/zxing/zxing/ZXing.h +5 -5
- data/lib/commonAPI/barcode/ext.yml +6 -1
- data/lib/commonAPI/bluetooth/ext/build.bat +1 -1
- data/lib/commonAPI/bluetooth/ext/platform/android/Rakefile +29 -10
- data/lib/commonAPI/bluetooth/ext/platform/android/src/com/rhomobile/rhodes/bluetooth/RhoBluetoothManagerNew.java +2 -0
- data/lib/commonAPI/bluetooth/ext/platform/iphone/Bluetooth.xcodeproj/project.pbxproj +6 -16
- data/lib/commonAPI/bluetooth/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/bluetooth/ext/platform/qt/Bluetooth.pro +8 -11
- data/lib/commonAPI/bluetooth/ext/platform/qt/src/bluetooth/bluetoothserver.h +1 -1
- data/lib/commonAPI/clipboard/ext/build.bat +1 -1
- data/lib/commonAPI/clipboard/ext/platform/android/Rakefile +29 -10
- data/lib/commonAPI/clipboard/ext/platform/iphone/Clipboard.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/clipboard/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/coreapi/RhoNativeTabbarApi.rb +1 -1
- data/lib/commonAPI/coreapi/RhoNotificationApi.rb +1 -1
- data/lib/commonAPI/coreapi/ext/Application.xml +2 -1
- data/lib/commonAPI/coreapi/ext/Notification.xml +47 -0
- data/lib/commonAPI/coreapi/ext/Timer.xml +21 -13
- data/lib/commonAPI/coreapi/ext/build +5 -0
- data/lib/commonAPI/coreapi/ext/build.bat +1 -1
- data/lib/commonAPI/coreapi/ext/platform/android/Rakefile +19 -12
- data/lib/commonAPI/coreapi/ext/platform/android/ext_java.files +2 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/intent/IntentSingleton.java +21 -7
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/AlarmReceiver.java +27 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/Notification.java +32 -12
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationFactory.java +14 -1
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationScheduler.java +260 -0
- data/lib/commonAPI/coreapi/ext/platform/android/src/com/rho/notification/NotificationSingleton.java +24 -2
- data/lib/commonAPI/coreapi/ext/platform/iphone/Coreapi.xcodeproj/project.pbxproj +27 -23
- data/lib/commonAPI/coreapi/ext/platform/iphone/cpp_based_impl/SystemImpl.mm +4 -2
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/IntentSingleton.m +2 -2
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.h +1 -0
- data/lib/commonAPI/coreapi/ext/platform/iphone/impl/NotificationSingleton.m +236 -3
- data/lib/commonAPI/coreapi/ext/platform/qt/coreapi.pro +17 -16
- data/lib/commonAPI/coreapi/ext/platform/qt/src/CNativeToolbarImpl.cpp +1 -1
- data/lib/commonAPI/coreapi/ext/platform/qt/src/CNotificationImpl.cpp +7 -0
- data/lib/commonAPI/coreapi/ext/platform/wm/src/NetworkDetect.h +2 -2
- data/lib/commonAPI/coreapi/ext/platform/wm/src/NotificationImpl.cpp +7 -0
- data/lib/commonAPI/coreapi/ext/platform/wm/src/SystemImpl.cpp +1 -3
- data/lib/commonAPI/coreapi/ext/push.xml +10 -5
- data/lib/commonAPI/coreapi/ext/shared/ApplicationImpl.cpp +7 -2
- data/lib/commonAPI/coreapi/ext/shared/InitExtension.cpp +8 -8
- data/lib/commonAPI/coreapi/ext/shared/NetworkDetectBase.cpp +1 -1
- data/lib/commonAPI/coreapi/ext/shared/SystemImplBase.cpp +2 -0
- data/lib/commonAPI/coreapi/ext/system.xml +3 -0
- data/lib/commonAPI/coreapi/public/api/rhoapi.js +18 -8
- data/lib/commonAPI/devicesecurity/ext/DeviceSecurity.xml +2 -2
- data/lib/commonAPI/devicesecurity/ext/build.bat +1 -1
- data/lib/commonAPI/devicesecurity/ext/platform/android/Rakefile +19 -0
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/DeviceSecurity.xcodeproj/project.pbxproj +20 -4
- data/lib/commonAPI/devicesecurity/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/eventsource/ext/platform/iphone/Eventsource.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/eventsource/ext/platform/iphone/Rakefile +9 -64
- data/lib/commonAPI/hardwarekeys/ext/keycapture.xml +11 -9
- data/lib/commonAPI/hardwarekeys/ext/platform/android/src/com/rho/keycapture/KeyCaptureRhoListener.java +11 -1
- data/lib/commonAPI/hardwarekeys/ext/platform/android/src/com/rho/keycapture/KeyCaptureSingleton.java +14 -1
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/HardwareKeys.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/impl/KeyCaptureSingleton.h +5 -3
- data/lib/commonAPI/hardwarekeys/ext/platform/iphone/impl/KeyCaptureSingleton.m +80 -67
- data/lib/commonAPI/indicators/ext/platform/iphone/Indicators.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/indicators/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/javascriptvm/ext/platform/iphone/Javascriptvm.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/javascriptvm/ext/platform/iphone/Rakefile +9 -63
- data/lib/commonAPI/logCapture/ext/build.bat +1 -1
- data/lib/commonAPI/logCapture/ext/platform/iphone/LogCapture.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/logCapture/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/mediacapture/ext/build +5 -0
- data/lib/commonAPI/mediacapture/ext/build.bat +1 -1
- data/lib/commonAPI/mediacapture/ext/camera.xml +4 -9
- data/lib/commonAPI/mediacapture/ext/platform/android/AndroidManifest_rhomobile.xml +1 -0
- data/lib/commonAPI/mediacapture/ext/platform/android/ApplicationFileProvider.erb +9 -0
- data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/xml/image_fileprovider_paths.xml +4 -0
- data/lib/commonAPI/mediacapture/ext/platform/android/ext_java.files +1 -9
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraExtension.java +0 -2
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraFactory.java +19 -24
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraObject.java +334 -664
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraRhoListener.java +273 -425
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/{CameraSingletonObject.java → CameraSingleton.java} +68 -74
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/videocapture/Videocapture.java +3 -1
- data/lib/commonAPI/mediacapture/ext/platform/iphone/Mediacapture.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/mediacapture/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/mediacapture/ext/platform/qt/{MediaCapture.pro → Mediacapture.pro} +19 -33
- data/lib/commonAPI/mediacapture/ext/platform/qt/src/Camera_impl.cpp +1 -1
- data/lib/commonAPI/mediacapture/ext.yml +4 -1
- data/lib/commonAPI/mediaplayer/ext/platform/iphone/Mediaplayer.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/mediaplayer/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/printing/ext/platform/iphone/Printing.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/printing/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/printing_epson/ext/platform/iphone/PrintingEpson.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/printing_epson/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/printing_zebra/ext/platform/android/Rakefile +18 -0
- data/lib/commonAPI/printing_zebra/ext/platform/android/src/com/rhomobile/printing/zebra/impl/ZebraPrintingProviderImpl.java +2 -1
- data/lib/commonAPI/printing_zebra/ext/platform/iphone/PrintingZebra.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/printing_zebra/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/screenorientation/ext/platform/android/src/com/rho/screenorientation/ScreenOrientationRhoListener.java +2 -1
- data/lib/commonAPI/screenorientation/ext/platform/android/src/com/rho/screenorientation/ScreenOrientationSingleton.java +19 -6
- data/lib/commonAPI/screenorientation/ext/platform/iphone/Rakefile +9 -63
- data/lib/commonAPI/screenorientation/ext/platform/iphone/Screenorientation.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/sensor/ext/platform/android/src/com/rho/sensor/Sensor.java +4 -4
- data/lib/commonAPI/sensor/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/sensor/ext/platform/iphone/Sensor.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/signature/ext/build.bat +8 -0
- data/lib/commonAPI/signature/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/signature/ext/platform/iphone/signature.xcodeproj/project.pbxproj +4 -4
- data/lib/commonAPI/signature/ext/platform/qt/Signature.pro +26 -12
- data/lib/commonAPI/signature/ext.yml +0 -1
- data/lib/commonAPI/smartcradle/ext/build.bat +1 -1
- data/lib/commonAPI/websocket/ext/platform/iphone/Rakefile +9 -62
- data/lib/commonAPI/websocket/ext/platform/iphone/Websocket.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/Development/ext/build.bat +1 -1
- data/lib/extensions/Development/ext/platform/iphone/Development.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/Development/ext/platform/iphone/Rakefile +9 -62
- data/lib/extensions/applePush/ext/platform/iphone/ApplePush.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/applePush/ext/platform/iphone/Rakefile +9 -62
- data/lib/extensions/audiocapture/ext/audiocapture/platform/iphone/Audiocapture.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/audiocapture/ext/audiocapture/platform/iphone/Rakefile +9 -62
- data/lib/extensions/bigdecimal/ext/Rakefile +2 -2
- data/lib/extensions/bigdecimal/ext/bigdecimal.pro +9 -0
- data/lib/extensions/bigdecimal/ext/build +4 -0
- data/lib/extensions/bigdecimal/ext/build.bat +1 -1
- data/lib/extensions/bigdecimal/ext/iphone/Bigdecimal.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/bigdecimal/ext/iphone/Rakefile +9 -62
- data/lib/extensions/debugger/debugger.rb +331 -180
- data/lib/extensions/decrypt/ext/build.bat +1 -1
- data/lib/extensions/decrypt/ext/platform/android/Rakefile +19 -1
- data/lib/extensions/decrypt/ext/platform/iphone/Decrypt.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/decrypt/ext/platform/iphone/Rakefile +9 -62
- data/lib/extensions/decryptstub/ext/build.bat +1 -1
- data/lib/extensions/decryptstub/ext/platform/android/Rakefile +19 -0
- data/lib/extensions/decryptstub/ext/platform/iphone/Decryptstub.xcodeproj/project.pbxproj +10 -6
- data/lib/extensions/decryptstub/ext/platform/iphone/Rakefile +9 -62
- data/lib/extensions/digest/ext/Rakefile +2 -2
- data/lib/extensions/digest/ext/build +4 -0
- data/lib/extensions/digest/ext/build.bat +1 -1
- data/lib/extensions/digest/ext/digest.pro +9 -0
- data/lib/extensions/digest/ext/iphone/Digest.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/digest/ext/iphone/Rakefile +9 -62
- data/lib/extensions/digest-md5/ext/Rakefile +2 -2
- data/lib/extensions/digest-md5/ext/android/Rakefile +18 -0
- data/lib/extensions/digest-md5/ext/build +4 -0
- data/lib/extensions/digest-md5/ext/build.bat +1 -1
- data/lib/extensions/digest-md5/ext/digest-md5.pro +9 -0
- data/lib/extensions/digest-md5/ext/iphone/Dmd5.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/digest-md5/ext/iphone/Rakefile +9 -62
- data/lib/extensions/digest-sha1/ext/Rakefile +2 -2
- data/lib/extensions/digest-sha1/ext/android/Rakefile +18 -0
- data/lib/extensions/digest-sha1/ext/build +4 -0
- data/lib/extensions/digest-sha1/ext/build.bat +1 -1
- data/lib/extensions/digest-sha1/ext/digest-sha1.pro +9 -0
- data/lib/extensions/digest-sha1/ext/iphone/Dsha1.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/digest-sha1/ext/iphone/Rakefile +9 -62
- data/lib/extensions/digest-sha2/ext/Rakefile +2 -2
- data/lib/extensions/digest-sha2/ext/android/Rakefile +18 -0
- data/lib/extensions/digest-sha2/ext/build +4 -0
- data/lib/extensions/digest-sha2/ext/build.bat +1 -1
- data/lib/extensions/digest-sha2/ext/digest-sha2.pro +9 -0
- data/lib/extensions/digest-sha2/ext/iphone/Dsha2.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/digest-sha2/ext/iphone/Rakefile +9 -62
- data/lib/extensions/esri/ext/esri/platform/iphone/Classes/MapViewControllerESRI.h +19 -19
- data/lib/extensions/esri/ext/esri/platform/iphone/ESRI.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/esri/ext/esri/platform/iphone/Rakefile +9 -65
- data/lib/extensions/fcm-push/ext/android/ApplicationManifestAdds.erb +15 -17
- data/lib/extensions/fcm-push/ext/android/Rakefile +77 -34
- data/lib/extensions/fcm-push/ext/android/ext_java.files +0 -1
- data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMFacade.java +13 -17
- data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMIntentService.java +90 -67
- data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMListener.java +0 -16
- data/lib/extensions/fcm-push/ext/iphone/Podfile +11 -0
- data/lib/extensions/fcm-push/ext/iphone/Rakefile +13 -66
- data/lib/extensions/fcm-push/ext/iphone/fcm-push.xcodeproj/project.pbxproj +99 -48
- data/lib/extensions/fcm-push/ext/iphone/impl/PushNotificationsReceiver.h +3 -1
- data/lib/extensions/fcm-push/ext/iphone/impl/PushNotificationsReceiver.mm +11 -4
- data/lib/extensions/fcm-push/ext/iphone/resources.txt +1 -0
- data/lib/extensions/fcm-push/ext.yml +6 -2
- data/lib/extensions/fcntl/ext/Rakefile +2 -2
- data/lib/extensions/fcntl/ext/build +4 -0
- data/lib/extensions/fcntl/ext/build.bat +1 -1
- data/lib/extensions/fcntl/ext/fcntl.pro +9 -0
- data/lib/extensions/fcntl/ext/iphone/Fcntl.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/fcntl/ext/iphone/Rakefile +9 -62
- data/lib/extensions/gcm-push/ext/android/Rakefile +19 -0
- data/lib/extensions/gmaps/ext/platform/android/ApplicationManifestAdds.erb +1 -0
- data/lib/extensions/gmaps/ext/platform/android/src/com/rhomobile/rhodes/gmaps/GMapActivity.java +12 -4
- data/lib/extensions/gmaps/ext.yml +3 -1
- data/lib/extensions/keyboard/ext/Keyboard.xml +28 -0
- data/lib/extensions/keyboard/ext/build +19 -0
- data/lib/extensions/keyboard/ext/build.bat +29 -0
- data/lib/extensions/keyboard/ext/platform/android/Rakefile +141 -0
- data/lib/extensions/keyboard/ext/platform/android/ext_java.files +9 -0
- data/lib/extensions/keyboard/ext/platform/android/ext_native.files +7 -0
- data/lib/extensions/keyboard/ext/platform/android/jni/Keyboard_impl.cpp +61 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/Keyboard.java +32 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/KeyboardFactory.java +18 -0
- data/lib/extensions/keyboard/ext/platform/android/src/com/rho/keyboard/KeyboardSingleton.java +29 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Keyboard.xcodeproj/project.pbxproj +368 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Keyboard_Prefix.pch +7 -0
- data/lib/extensions/keyboard/ext/platform/iphone/Rakefile +20 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/Keyboard.h +14 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/Keyboard.m +24 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardFactorySingleton.m +16 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSetup.m +9 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSingleton.h +17 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/KeyboardSingleton.m +23 -0
- data/lib/extensions/keyboard/ext/platform/iphone/impl/readme.txt +7 -0
- data/lib/extensions/keyboard/ext/platform/qt/Keyboard.pro +68 -0
- data/lib/extensions/keyboard/ext/platform/qt/Makefile +473 -0
- data/lib/extensions/keyboard/ext/platform/qt/Makefile.Release +408 -0
- data/lib/extensions/keyboard/ext/platform/qt/Rakefile +39 -0
- data/lib/extensions/keyboard/ext/platform/qt/src/Keyboard_impl.cpp +99 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.props +18 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.vcxproj +197 -0
- data/lib/extensions/keyboard/ext/platform/uwp/Keyboard.vcxproj.filters +50 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.csproj +119 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.props +8 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardImpl.targets +7 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.props +18 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.vcxproj +197 -0
- data/lib/extensions/keyboard/ext/platform/uwp/KeyboardLib.vcxproj.filters +58 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Keyboard_impl.cpp +76 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Keyboard_impl.cs +69 -0
- data/lib/extensions/keyboard/ext/platform/uwp/src/Properties/AssemblyInfo.cs +37 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.sln +52 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.vcproj +714 -0
- data/lib/extensions/keyboard/ext/platform/wm/Keyboard.vsprops +15 -0
- data/lib/extensions/keyboard/ext/platform/wm/src/Keyboard_impl.cpp +77 -0
- data/lib/extensions/keyboard/ext.yml +15 -0
- data/lib/extensions/openssl/ext/Rakefile +2 -2
- data/lib/extensions/openssl/ext/android/Rakefile +18 -0
- data/lib/extensions/openssl/ext/build +4 -0
- data/lib/extensions/openssl/ext/build.bat +1 -1
- data/lib/extensions/openssl/ext/iphone/Rakefile +9 -62
- data/lib/extensions/openssl/ext/iphone/openssl.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/openssl/ext/linux/extconf.h +65 -0
- data/lib/extensions/openssl/ext/openssl.pro +10 -0
- data/lib/extensions/openssl/ext/openssl_missing.c +4 -2
- data/lib/extensions/openssl/ext/ossl.h +3 -0
- data/lib/extensions/openssl/ext/ossl_x509cert.c +1 -1
- data/lib/extensions/openssl.so/ext/Rakefile +1 -1
- data/lib/extensions/openssl.so/ext/android/aarch64/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/android/armeabi/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/android/x86/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/build +4 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/howtobuild.txt +2 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libcrypto.a +0 -0
- data/lib/extensions/{fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/FirebaseAnalytics → openssl.so/ext/iphone/OpenSSl.SDK/libcrypto_sim.a} +0 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libssl.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/OpenSSl.SDK/libssl_sim.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/Rakefile +30 -54
- data/lib/extensions/openssl.so/ext/iphone/Release-iphoneos/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/Release-iphonesimulator/libopenssl.so.a +0 -0
- data/lib/extensions/openssl.so/ext/iphone/openssl.xcodeproj/project.pbxproj +116 -10
- data/lib/extensions/openssl.so/ext/sources/include/openssl/__DECC_INCLUDE_EPILOGUE.H +9 -3
- data/lib/extensions/openssl.so/ext/sources/include/openssl/__DECC_INCLUDE_PROLOGUE.H +10 -4
- data/lib/extensions/openssl.so/ext/sources/include/openssl/asn1.h +13 -226
- data/lib/extensions/openssl.so/ext/sources/include/openssl/asn1err.h +256 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/asn1t.h +24 -8
- data/lib/extensions/openssl.so/ext/sources/include/openssl/async.h +2 -24
- data/lib/extensions/openssl.so/ext/sources/include/openssl/asyncerr.h +42 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/bio.h +89 -139
- data/lib/extensions/openssl.so/ext/sources/include/openssl/bioerr.h +124 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/bn.h +75 -111
- data/lib/extensions/openssl.so/ext/sources/include/openssl/bnerr.h +100 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/buffer.h +2 -17
- data/lib/extensions/openssl.so/ext/sources/include/openssl/buffererr.h +34 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/cms.h +6 -179
- data/lib/extensions/openssl.so/ext/sources/include/openssl/cmserr.h +202 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/comp.h +2 -21
- data/lib/extensions/openssl.so/ext/sources/include/openssl/comperr.h +44 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/conf.h +2 -51
- data/lib/extensions/openssl.so/ext/sources/include/openssl/conferr.h +76 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/crypto.h +27 -49
- data/lib/extensions/openssl.so/ext/sources/include/openssl/cryptoerr.h +57 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ct.h +2 -61
- data/lib/extensions/openssl.so/ext/sources/include/openssl/cterr.h +80 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/dh.h +33 -54
- data/lib/extensions/openssl.so/ext/sources/include/openssl/dherr.h +88 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/dsa.h +21 -60
- data/lib/extensions/openssl.so/ext/sources/include/openssl/dsaerr.h +72 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/dtls1.h +7 -8
- data/lib/extensions/openssl.so/ext/sources/include/openssl/e_os2.h +21 -19
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ec.h +187 -284
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ecerr.h +275 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/engine.h +5 -94
- data/lib/extensions/openssl.so/ext/sources/include/openssl/engineerr.h +111 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/err.h +19 -5
- data/lib/extensions/openssl.so/ext/sources/include/openssl/evp.h +250 -180
- data/lib/extensions/openssl.so/ext/sources/include/openssl/evperr.h +205 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/hmac.h +4 -2
- data/lib/extensions/openssl.so/ext/sources/include/openssl/kdf.h +51 -29
- data/lib/extensions/openssl.so/ext/sources/include/openssl/kdferr.h +55 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/lhash.h +43 -19
- data/lib/extensions/openssl.so/ext/sources/include/openssl/modes.h +11 -6
- data/lib/extensions/openssl.so/ext/sources/include/openssl/obj_mac.h +632 -11
- data/lib/extensions/openssl.so/ext/sources/include/openssl/objects.h +3 -925
- data/lib/extensions/openssl.so/ext/sources/include/openssl/objectserr.h +42 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ocsp.h +21 -65
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ocsperr.h +78 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/opensslconf.h +36 -10
- data/lib/extensions/openssl.so/ext/sources/include/openssl/opensslv.h +3 -7
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ossl_typ.h +8 -1
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pem.h +13 -136
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pem2.h +4 -11
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pemerr.h +103 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs12.h +1 -60
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs12err.h +81 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs7.h +1 -86
- data/lib/extensions/openssl.so/ext/sources/include/openssl/pkcs7err.h +103 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/rand.h +22 -34
- data/lib/extensions/openssl.so/ext/sources/include/openssl/rand_drbg.h +130 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/randerr.h +94 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/rsa.h +96 -173
- data/lib/extensions/openssl.so/ext/sources/include/openssl/rsaerr.h +167 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/safestack.h +66 -23
- data/lib/extensions/openssl.so/ext/sources/include/openssl/srp.h +5 -1
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ssl.h +706 -828
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ssl3.h +49 -20
- data/lib/extensions/openssl.so/ext/sources/include/openssl/sslerr.h +773 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/stack.h +8 -3
- data/lib/extensions/openssl.so/ext/sources/include/openssl/store.h +266 -1
- data/lib/extensions/openssl.so/ext/sources/include/openssl/storeerr.h +91 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/symhacks.h +1 -16
- data/lib/extensions/openssl.so/ext/sources/include/openssl/tls1.h +350 -85
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ts.h +25 -109
- data/lib/extensions/openssl.so/ext/sources/include/openssl/tserr.h +132 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/txt_db.h +2 -2
- data/lib/extensions/openssl.so/ext/sources/include/openssl/ui.h +56 -66
- data/lib/extensions/openssl.so/ext/sources/include/openssl/uierr.h +65 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/x509.h +36 -112
- data/lib/extensions/openssl.so/ext/sources/include/openssl/x509_vfy.h +85 -1
- data/lib/extensions/openssl.so/ext/sources/include/openssl/x509err.h +130 -0
- data/lib/extensions/openssl.so/ext/sources/include/openssl/x509v3.h +72 -141
- data/lib/extensions/openssl.so/ext/sources/include/openssl/x509v3err.h +162 -0
- data/lib/extensions/openssl.so.src/ext/android/Rakefile +18 -0
- data/lib/extensions/openssl.so.src/ext/build +4 -0
- data/lib/extensions/rawsensors/ext/rawsensors/platform/iphone/Rakefile +9 -62
- data/lib/extensions/rawsensors/ext/rawsensors/platform/iphone/Rawsensors.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/serialport/ext/build.bat +1 -1
- data/lib/extensions/serialport/ext/serialport.pro +11 -11
- data/lib/extensions/videocapture/ext/videocapture/platform/iphone/Rakefile +9 -62
- data/lib/extensions/videocapture/ext/videocapture/platform/iphone/Videocapture.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/zlib/ext/Rakefile +2 -2
- data/lib/extensions/zlib/ext/build +4 -0
- data/lib/extensions/zlib/ext/build.bat +1 -1
- data/lib/extensions/zlib/ext/gzlib.c +1 -1
- data/lib/extensions/zlib/ext/gzread.c +2 -2
- data/lib/extensions/zlib/ext/gzwrite.c +3 -3
- data/lib/extensions/zlib/ext/iphone/Rakefile +9 -62
- data/lib/extensions/zlib/ext/iphone/zlib.xcodeproj/project.pbxproj +4 -4
- data/lib/extensions/zlib/ext/zlib.c +5 -1
- data/lib/extensions/zlib/ext/zlib.pro +24 -16
- data/lib/framework/autocomplete/Rho.rb +6 -2
- data/lib/framework/autocomplete/Rhodes.rb +1 -1
- data/lib/framework/rho/rho.rb +9 -0
- data/lib/framework/rho/rhoapplication.rb +4 -0
- data/lib/framework/rhodes.rb +2 -2
- data/lib/framework/set.rb +799 -0
- data/lib/framework/version.rb +1 -1
- data/lib/rhodes.rb +2 -2
- data/platform/android/Rhodes/jni/include/rhodes/RhoClassFactory.h +7 -3
- data/platform/android/Rhodes/jni/include/rhodes/SecurityTokenGenerator.h +30 -0
- data/platform/android/Rhodes/jni/include/rhodes/details/rhojava.inc +1 -0
- data/platform/android/Rhodes/jni/include/rhodes/sslimpl.h +94 -6
- data/platform/android/Rhodes/jni/include/rhodes.h +6 -0
- data/platform/android/Rhodes/jni/src/JNIRhoRuby.cpp +1 -1
- data/platform/android/Rhodes/jni/src/JNIRhoRubyCppWrapper.cpp +510 -0
- data/platform/android/Rhodes/jni/src/MethodResultJni.cpp +4 -0
- data/platform/android/Rhodes/jni/src/RhoClassFactory.cpp +36 -1
- data/platform/android/Rhodes/jni/src/SecurityTokenGenerator.cpp +60 -0
- data/platform/android/Rhodes/jni/src/fileapi.cpp +319 -12
- data/platform/android/Rhodes/jni/src/mapview.cpp +4 -0
- data/platform/android/Rhodes/jni/src/rhodes.cpp +1 -0
- data/platform/android/Rhodes/jni/src/rhodesapp.cpp +18 -0
- data/platform/android/Rhodes/jni/src/sslimpl.cpp +317 -3
- data/platform/android/Rhodes/res/drawable/ic_notification.png +0 -0
- data/platform/android/Rhodes/res/xml/network_security_config.xml +7 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/BaseActivity.java +24 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/LocalFileProvider.java +18 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoMain.java +8 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyArrayObjects.java +33 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyClassObject.java +20 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyObject.java +115 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubySingleton.java +85 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhoRubyTypes.java +15 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesActivity.java +3 -3
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/RhodesService.java +264 -176
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/SecurityTokenGenerator.java +57 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/alert/StatusNotification.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/extmanager/RhoExtManagerImpl.java +1 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocation.java +14 -14
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/geolocation/GeoLocationImpl.java +25 -10
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/mainview/SimpleMainView.java +9 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality.java +10 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality01.java +20 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality11.java +22 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionality26.java +153 -0
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/osfunctionality/AndroidFunctionalityManager.java +4 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/RhoSocketImpl.java +10 -2
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/socket/SSLImpl.java +292 -20
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/uri/LocalFileHandler.java +21 -18
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/GoogleWebView.java +20 -1
- data/platform/android/Rhodes/src/com/rhomobile/rhodes/webview/RhoWebViewClient.java +57 -1
- data/platform/android/build/CMakeLists.txt.erb +3 -33
- data/platform/android/build/CMakeListsExts.txt.erb +26 -0
- data/platform/android/build/Rakefile +30 -1
- data/platform/android/build/RhodesSRC_build.files +8 -0
- data/platform/android/build/aapt2_helper.rb +291 -0
- data/platform/android/build/android.rake +836 -468
- data/platform/android/build/android_studio_project_generator.rb +82 -0
- data/platform/android/build/android_tools.rb +147 -29
- data/platform/android/build/androidcommon.rb +115 -70
- data/platform/android/build/apk_builder.rb +42 -0
- data/platform/android/build/build_tools_finder.rb +46 -0
- data/platform/android/build/config.yml +5 -0
- data/platform/android/build/dex_builder.rb +88 -0
- data/platform/android/build/hostplatform.rb +9 -0
- data/platform/android/build/libcurl_build.files +1 -1
- data/platform/android/build/librhocommon_build.files +11 -0
- data/platform/android/build/librhodes_build.files +2 -0
- data/platform/android/build/manifest_generator.rb +10 -2
- data/platform/android/build/maven_deps_extractor.rb +143 -27
- data/platform/android/build/ndkwrapper.rb +157 -35
- data/platform/android/build/pom.erb +2 -2
- data/platform/android/proguard/proguard-base-rules.pro +27 -4
- data/platform/iphone/Classes/AppManager/AppManager.m +205 -158
- data/platform/iphone/Classes/Camera/PickImageDelegate.h +2 -0
- data/platform/iphone/Classes/Camera/PickImageDelegate.m +108 -23
- data/platform/iphone/Classes/CocoaServer/CCocoaServer.h +27 -0
- data/platform/iphone/Classes/CocoaServer/CCocoaServer.m +107 -0
- data/platform/iphone/Classes/CocoaServer/RhoHTTPConnection.h +16 -0
- data/platform/iphone/Classes/CocoaServer/RhoHTTPConnection.m +226 -0
- data/platform/iphone/Classes/MapView/GoogleGeocoder.h +3 -3
- data/platform/iphone/Classes/RhoAlert.m +2 -2
- data/platform/iphone/Classes/RhoMainViewStubImpl.h +38 -0
- data/platform/iphone/Classes/RhoMainViewStubImpl.m +88 -0
- data/platform/iphone/Classes/RhoUIWebView.h +6 -1
- data/platform/iphone/Classes/RhoUIWebView.m +15 -7
- data/platform/iphone/Classes/RhoWKWebView.h +6 -3
- data/platform/iphone/Classes/RhoWKWebView.mm +406 -0
- data/platform/iphone/Classes/RhoWebView.h +7 -7
- data/platform/iphone/Classes/RhoWebViewFabrique.h +1 -1
- data/platform/iphone/Classes/RhoWebViewFabrique.m +33 -16
- data/platform/iphone/Classes/Rhodes.h +7 -2
- data/platform/iphone/Classes/Rhodes.m +108 -19
- data/platform/iphone/Classes/SimpleMainView.m +24 -15
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.h +32 -3
- data/platform/iphone/Classes/URLProtocol/CRhoURLProtocol.m +96 -64
- data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.h +22 -0
- data/platform/iphone/Classes/URLProtocol/CRhoWKURLProtocol.m +246 -0
- data/platform/iphone/Classes/WebView.m +14 -2
- data/platform/iphone/Classes/rho/net/IPhoneNetRequest.mm +1 -1
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDData.h +14 -0
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDData.m +158 -0
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDNumber.h +12 -0
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDNumber.m +88 -0
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDRange.h +56 -0
- data/platform/iphone/CocoaHTTPServer/Core/Categories/DDRange.m +104 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPAuthenticationRequest.h +45 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPAuthenticationRequest.m +195 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPConnection.h +120 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPConnection.m +2708 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPLogging.h +136 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPMessage.h +48 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPMessage.m +113 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPResponse.h +149 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPServer.h +205 -0
- data/platform/iphone/CocoaHTTPServer/Core/HTTPServer.m +772 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartFormDataParser.h +65 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartFormDataParser.m +529 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeader.h +33 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeader.m +86 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeaderField.h +23 -0
- data/platform/iphone/CocoaHTTPServer/Core/Mime/MultipartMessageHeaderField.m +211 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPAsyncFileResponse.h +75 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPAsyncFileResponse.m +405 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDataResponse.h +13 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDataResponse.m +79 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDynamicFileResponse.h +52 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPDynamicFileResponse.m +292 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPErrorResponse.h +9 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPErrorResponse.m +38 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPFileResponse.h +25 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPFileResponse.m +237 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPRedirectResponse.h +12 -0
- data/platform/iphone/CocoaHTTPServer/Core/Responses/HTTPRedirectResponse.m +73 -0
- data/platform/iphone/CocoaHTTPServer/Core/WebSocket.h +105 -0
- data/platform/iphone/CocoaHTTPServer/Core/WebSocket.m +791 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVConnection.h +7 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVConnection.m +160 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVResponse.h +11 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DAVResponse.m +372 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DELETEResponse.h +7 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/DELETEResponse.m +49 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/PUTResponse.h +8 -0
- data/platform/iphone/CocoaHTTPServer/Extensions/WebDAV/PUTResponse.m +69 -0
- data/platform/iphone/CocoaHTTPServer/LICENSE.txt +18 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/About.txt +4 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/GCDAsyncSocket.h +1226 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaAsyncSocket/GCDAsyncSocket.m +8528 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/About.txt +33 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDASLLogger.h +41 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDASLLogger.m +99 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.h +102 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.m +727 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDFileLogger.h +334 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDFileLogger.m +1353 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDLog.h +601 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDLog.m +1083 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDTTYLogger.h +167 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/DDTTYLogger.m +1479 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.h +65 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.m +191 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.h +116 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.m +251 -0
- data/platform/iphone/CocoaHTTPServer/Vendor/CocoaLumberjack/Extensions/README.txt +7 -0
- data/platform/iphone/Default-568h@2x.png +0 -0
- data/platform/iphone/Default-667h@2x.png +0 -0
- data/platform/iphone/Default-736h@3x.png +0 -0
- data/platform/iphone/Default-812h@3x.png +0 -0
- data/platform/iphone/Default-896h@2x.png +0 -0
- data/platform/iphone/Default-896h@3x.png +0 -0
- data/platform/iphone/Default-Landscape-736h@3x.png +0 -0
- data/platform/iphone/Default-Landscape-812h@3x.png +0 -0
- data/platform/iphone/Default-Landscape-896h@2x.png +0 -0
- data/platform/iphone/Default-Landscape-896h@3x.png +0 -0
- data/platform/iphone/Default-Landscape.png +0 -0
- data/platform/iphone/Default-Landscape@2x.png +0 -0
- data/platform/iphone/Default-LandscapeLeft.png +0 -0
- data/platform/iphone/Default-LandscapeLeft@2x.png +0 -0
- data/platform/iphone/Default-LandscapeRight.png +0 -0
- data/platform/iphone/Default-LandscapeRight@2x.png +0 -0
- data/platform/iphone/Default-Portrait.png +0 -0
- data/platform/iphone/Default-Portrait@2x.png +0 -0
- data/platform/iphone/Default-PortraitUpsideDown.png +0 -0
- data/platform/iphone/Default-PortraitUpsideDown@2x.png +0 -0
- data/platform/iphone/Default.png +0 -0
- data/platform/iphone/Default@2x.png +0 -0
- data/platform/iphone/Entitlements.plist +1 -1
- data/platform/iphone/Framework/RhoApplication/RhoApplication.xcodeproj/project.pbxproj +401 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/Info.plist +24 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/Rhodes.h +21 -0
- data/platform/iphone/Framework/Rhodes/Rhodes/StubCode.m +15 -0
- data/platform/iphone/Framework/Rhodes/Rhodes.xcodeproj/project.pbxproj +1216 -0
- data/platform/iphone/Info.plist +1 -3
- data/platform/iphone/RhoAppBaseLib/RhoAppBaseLib.xcodeproj/project.pbxproj +878 -7
- data/platform/iphone/RhoLib/RhoLib.xcodeproj/project.pbxproj +470 -4
- data/platform/iphone/Rhodes.xcodeproj/project.pbxproj +55 -278
- data/platform/iphone/RhodesBaseDelegate.h +1 -1
- data/platform/iphone/curl/curl.xcodeproj/project.pbxproj +92 -6
- data/platform/iphone/rbuild/ApplicationPlist.erb +1 -1
- data/platform/iphone/rbuild/buildextension.rb +115 -0
- data/platform/iphone/rbuild/iphone.rake +883 -121
- data/platform/iphone/rbuild/iphonecommon.rb +15 -6
- data/platform/iphone/rhodes_stub.cpp +15 -0
- data/platform/iphone/rhodeslib/api/RhodesLib.h +28 -0
- data/platform/iphone/rhodeslib/impl/RhodesLib.m +52 -0
- data/platform/iphone/rhodesruby/api/IRefCountedObject.h +20 -0
- data/platform/iphone/rhodesruby/api/IRhoRuby.h +72 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyArray.h +12 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyBoolean.h +11 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyFloat.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyHash.h +15 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyInteger.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableArray.h +9 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableBoolean.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableFloat.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableHash.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableInteger.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyMutableString.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyNativeCallback.h +9 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyNil.h +10 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyObject.h +37 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyRunnable.h +8 -0
- data/platform/iphone/rhodesruby/api/IRhoRubyString.h +10 -0
- data/platform/iphone/rhodesruby/api/RhoRuby.h +26 -0
- data/platform/iphone/rhodesruby/api/RhoRubySingletone.h +14 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyFabrique.h +10 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyImpl.h +56 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyImpl.mm +432 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableArrayImpl.h +24 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableArrayImpl.mm +43 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableBooleanImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableBooleanImpl.mm +38 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableFloatImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableFloatImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableHashImpl.h +24 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableHashImpl.mm +48 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableIntegerImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableIntegerImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableStringImpl.h +23 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyMutableStringImpl.mm +35 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyNilImpl.h +22 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyNilImpl.mm +11 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyObjectImpl.h +31 -0
- data/platform/iphone/rhodesruby/impl/RhoRubyObjectImpl.mm +49 -0
- data/platform/iphone/rhodesruby/impl/RhoRubySingletone.m +19 -0
- data/platform/iphone/rhodesruby/impl/RubyServerResponceImpl.h +21 -0
- data/platform/iphone/rhodesruby/impl/RubyServerResponceImpl.mm +32 -0
- data/platform/iphone/rhoextlib/rhoextlib.xcodeproj/project.pbxproj +83 -3
- data/platform/iphone/rhorubylib/rhorubylib.xcodeproj/project.pbxproj +94 -3
- data/platform/iphone/rhorunner.xcodeproj/project.pbxproj +3 -3
- data/platform/iphone/rhosynclib/rhosynclib.xcodeproj/project.pbxproj +89 -3
- data/platform/linux/tasks/control.erb +8 -0
- data/platform/linux/tasks/getting sudo instruction.txt +8 -0
- data/platform/linux/tasks/install_dev_depes_alt.sh +9 -0
- data/platform/linux/tasks/install_dev_depes_astra.sh +7 -0
- data/platform/linux/tasks/install_dev_depes_redos.sh +10 -0
- data/platform/linux/tasks/install_dev_depes_rosa_r7.sh +15 -0
- data/platform/linux/tasks/install_dev_depes_rosa_x4.sh +21 -0
- data/platform/linux/tasks/install_dev_depes_ubuntu.sh +18 -0
- data/platform/linux/tasks/installation.txt +2 -0
- data/platform/linux/tasks/linter_exceptions.erb +2 -0
- data/platform/linux/tasks/linux.rake +498 -61
- data/platform/linux/tasks/rpm_spec.erb +33 -0
- data/platform/osx/bin/RhoSimulator/RhoSimulator.app.zip +0 -0
- data/platform/sailfish/build/coreapi.pro.erb +11 -12
- data/platform/sailfish/build/curl.pro.erb +12 -14
- data/platform/sailfish/build/harbour-SailfishRhodes.pro.erb +2 -2
- data/platform/sailfish/build/rho_build.cmd.erb +1 -0
- data/platform/sailfish/build/rho_clean.cmd.erb +1 -0
- data/platform/sailfish/build/rho_deploy.cmd.erb +1 -0
- data/platform/sailfish/build/rho_rpm.cmd.erb +1 -0
- data/platform/sailfish/build/rho_rpmvalidation.cmd.erb +1 -0
- data/platform/sailfish/build/rhodes.pro.erb +43 -38
- data/platform/sailfish/build/rholib.pro.erb +21 -57
- data/platform/sailfish/build/rubylib.pro.erb +25 -30
- data/platform/sailfish/build/sailfish.rake +56 -9
- data/platform/sailfish/build/sqlite3.pro.erb +9 -9
- data/platform/sailfish/build/syncengine.pro.erb +9 -16
- data/platform/sailfish/build/unzip.pro.erb +66 -0
- data/platform/sailfish/build/zlib.pro.erb +72 -0
- data/platform/shared/api_generator/Api.h +5 -0
- data/platform/shared/common/CMakeLists.txt.erb +2 -52
- data/platform/shared/common/IRhoClassFactory.h +56 -2
- data/platform/shared/common/ISecurityTokenGenerator.h +16 -0
- data/platform/shared/common/RhoDefs.h +0 -1
- data/platform/shared/common/RhoFile.cpp +11 -0
- data/platform/shared/common/RhoFile.h +2 -0
- data/platform/shared/common/RhoMath.h +14 -0
- data/platform/shared/common/RhoMutexLock.h +14 -1
- data/platform/shared/common/RhoSystem.h +1 -1
- data/platform/shared/common/RhoThread.cpp +25 -0
- data/platform/shared/common/RhodesApp.cpp +127 -13
- data/platform/shared/common/RhodesApp.h +29 -1
- data/platform/shared/common/RhodesAppBase.cpp +4 -2
- data/platform/shared/common/RhodesAppBase.h +5 -0
- data/platform/shared/common/iphone/RhoClassfactory.h +7 -1
- data/platform/shared/common/iphone/RhoCryptImpl.mm +21 -2
- data/platform/shared/common/map/BaseMapEngine.cpp +2 -2
- data/platform/shared/common/map/GeocodingMapEngine.cpp +1 -1
- data/platform/shared/common/map/GoogleMapEngine.cpp +1 -1
- data/platform/shared/common/map/OSMMapEngine.cpp +1 -1
- data/platform/shared/curl/CMakeLists.txt.erb +1 -94
- data/platform/shared/curl/lib/asyn-thread.c +2 -1
- data/platform/shared/curl/lib/curl_addrinfo.h +39 -0
- data/platform/shared/curl/lib/curl_config.h +30 -3
- data/platform/shared/curl/lib/curl_setup.h +4 -0
- data/platform/shared/curl/lib/multi.c +0 -1
- data/platform/shared/curl/lib/transfer.c +21 -2
- data/platform/shared/curl/lib/vtls/vtls.h +3 -0
- data/platform/shared/db/CMakeLists.txt.erb +1 -6
- data/platform/shared/db/DBAdapter.cpp +28 -14
- data/platform/shared/json/RJSONTokener.c +1 -8
- data/platform/shared/json/json_object.c +2 -2
- data/platform/shared/json/json_tokener.c +1 -1
- data/platform/shared/json.new/CMakeLists.txt.erb +1 -15
- data/platform/shared/json.new/JSONIterator.cpp +2 -2
- data/platform/shared/json.new/RJSONTokener.c +0 -7
- data/platform/shared/json.new/json_object.c +5 -5
- data/platform/shared/json.new/json_pointer.c +2 -2
- data/platform/shared/json.new/json_tokener.c +1 -1
- data/platform/shared/logging/CMakeLists.txt.erb +1 -5
- data/platform/shared/logging/RhoLogConf.cpp +82 -3
- data/platform/shared/net/CURLNetRequest.cpp +6 -7
- data/platform/shared/net/HttpServer.cpp +286 -4
- data/platform/shared/net/HttpServer.h +35 -0
- data/platform/shared/net/INetRequest.cpp +54 -0
- data/platform/shared/net/INetRequest.h +6 -0
- data/platform/shared/net/linux/SSLImpl.cpp +2 -1
- data/platform/shared/net/ssl.h +26 -0
- data/platform/shared/qt/RhoRubylib.pro +10 -0
- data/platform/shared/qt/RhoSimulator.pro +25 -13
- data/platform/shared/qt/RhoSimulator_dev.pro +30 -15
- data/platform/shared/qt/curl/curl.pro +27 -16
- data/platform/shared/qt/rhodes/iexecutable.h +1 -1
- data/platform/shared/qt/rhodes/impl/AlertImpl.cpp +13 -0
- data/platform/shared/qt/rhodes/impl/CameraImpl.cpp +6 -0
- data/platform/shared/qt/rhodes/impl/DateTimePickerImpl.cpp +4 -0
- data/platform/shared/qt/rhodes/impl/MainWindowImpl.cpp +36 -7
- data/platform/shared/qt/rhodes/impl/MainWindowImpl.h +12 -1
- data/platform/shared/qt/rhodes/impl/NativeTabbarImpl.cpp +21 -2
- data/platform/shared/qt/rhodes/impl/NativeTabbarImpl.h +1 -0
- data/platform/shared/qt/rhodes/impl/NativeToolbarImpl.cpp +10 -0
- data/platform/shared/qt/rhodes/impl/QtSystemImpl.cpp +55 -3
- data/platform/shared/qt/rhodes/impl/RhoClassFactoryImpl.h +12 -1
- data/platform/shared/qt/rhodes/impl/RhoThreadImpl.cpp +72 -8
- data/platform/shared/qt/rhodes/impl/RhoThreadImpl.h +79 -2
- data/platform/shared/qt/rhodes/impl/RhodesImpl.cpp +16 -6
- data/platform/shared/qt/rhodes/impl/SecurityTokenGeneratorImpl.cpp +37 -0
- data/platform/shared/qt/rhodes/impl/SecurityTokenGeneratorImpl.h +25 -0
- data/platform/shared/qt/rhodes/impl/SignatureImpl.cpp +2 -0
- data/platform/shared/qt/rhodes/impl/WebViewImpl.cpp +27 -0
- data/platform/shared/qt/rhodes/impl/notificationsound.cpp +16 -2
- data/platform/shared/qt/rhodes/impl/notificationsound.h +11 -1
- data/platform/shared/qt/rhodes/newVersion/QtMainWindow.cpp +50 -26
- data/platform/shared/qt/rhodes/newVersion/QtMainWindow.h +4 -1
- data/platform/shared/qt/rhodes/newVersion/{qtwebenginepage.cpp → QtWebEnginePage.cpp} +1 -1
- data/platform/shared/qt/rhodes/newVersion/{qtwebenginepage.h → QtWebEnginePage.h} +0 -0
- data/platform/shared/qt/rhodes/newVersion/{qtwebengineview.cpp → QtWebEngineView.cpp} +1 -1
- data/platform/shared/qt/rhodes/newVersion/{qtwebengineview.h → QtWebEngineView.h} +0 -0
- data/platform/shared/qt/rhodes/newVersion/WebUrlRequestInterceptor.cpp +17 -0
- data/platform/shared/qt/rhodes/newVersion/main.cpp +5 -6
- data/platform/shared/qt/rhodes/resources/rho.png +0 -0
- data/platform/shared/qt/rhodes/rhodes.pro +155 -85
- data/platform/shared/qt/rhodes/rhorubyVersion/rhodeslib.cpp +148 -0
- data/platform/shared/qt/rhodes/rhorubyVersion/rhodeslib.h +12 -0
- data/platform/shared/qt/rholib/rholib.pro +66 -30
- data/platform/shared/qt/rhoruby_win32_build.bat +19 -0
- data/platform/shared/qt/rhoruby_win32_build_debug.bat +19 -0
- data/platform/shared/qt/rhosimulator_win32_build.bat +1 -1
- data/platform/shared/qt/rhosimulator_win32_build_debug.bat +19 -0
- data/platform/shared/qt/rubylib/rubylib.pro +38 -34
- data/platform/shared/qt/sailfish/SailfishRhodes.pro +1 -1
- data/platform/shared/qt/sailfish/icons/172x172/harbour-sailfishrhodes.png +0 -0
- data/platform/shared/qt/sailfish/qml/pages/BarcodePage.qml +18 -48
- data/platform/shared/qt/sqlite3/sqlite3.pro +17 -10
- data/platform/shared/qt/syncengine/syncengine.pro +19 -15
- data/platform/shared/qt/unzip/unzip.pro +133 -0
- data/platform/shared/rhoruby/api/IArray.h +20 -0
- data/platform/shared/rhoruby/api/IBoolean.h +17 -0
- data/platform/shared/rhoruby/api/IFloat.h +17 -0
- data/platform/shared/rhoruby/api/IHash.h +23 -0
- data/platform/shared/rhoruby/api/IInteger.h +18 -0
- data/platform/shared/rhoruby/api/IMutableArray.h +18 -0
- data/platform/shared/rhoruby/api/IMutableBoolean.h +18 -0
- data/platform/shared/rhoruby/api/IMutableFloat.h +17 -0
- data/platform/shared/rhoruby/api/IMutableHash.h +18 -0
- data/platform/shared/rhoruby/api/IMutableInteger.h +17 -0
- data/platform/shared/rhoruby/api/IMutableString.h +17 -0
- data/platform/shared/rhoruby/api/INil.h +16 -0
- data/platform/shared/rhoruby/api/IObject.h +46 -0
- data/platform/shared/rhoruby/api/IRefCountedObject.h +20 -0
- data/platform/shared/rhoruby/api/IRhoRuby.h +78 -0
- data/platform/shared/rhoruby/api/IRunnable.h +17 -0
- data/platform/shared/rhoruby/api/IString.h +17 -0
- data/platform/shared/rhoruby/api/RhoRuby.h +29 -0
- data/platform/shared/rhoruby/api/RhoRubySingletone.h +19 -0
- data/platform/shared/rhoruby/api/SmartPointer.h +27 -0
- data/platform/shared/rhoruby/impl/MutableArrayImpl.cpp +54 -0
- data/platform/shared/rhoruby/impl/MutableArrayImpl.h +48 -0
- data/platform/shared/rhoruby/impl/MutableBooleanImpl.cpp +44 -0
- data/platform/shared/rhoruby/impl/MutableBooleanImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableFloatImpl.cpp +41 -0
- data/platform/shared/rhoruby/impl/MutableFloatImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableHashImpl.cpp +64 -0
- data/platform/shared/rhoruby/impl/MutableHashImpl.h +49 -0
- data/platform/shared/rhoruby/impl/MutableIntegerImpl.cpp +41 -0
- data/platform/shared/rhoruby/impl/MutableIntegerImpl.h +44 -0
- data/platform/shared/rhoruby/impl/MutableStringImpl.cpp +52 -0
- data/platform/shared/rhoruby/impl/MutableStringImpl.h +44 -0
- data/platform/shared/rhoruby/impl/NilImpl.cpp +23 -0
- data/platform/shared/rhoruby/impl/NilImpl.h +32 -0
- data/platform/shared/rhoruby/impl/ObjectImpl.cpp +77 -0
- data/platform/shared/rhoruby/impl/ObjectImpl.h +53 -0
- data/platform/shared/rhoruby/impl/RefCountedObjectImpl.cpp +28 -0
- data/platform/shared/rhoruby/impl/RefCountedObjectImpl.h +33 -0
- data/platform/shared/rhoruby/impl/RhoRubyImpl.cpp +804 -0
- data/platform/shared/rhoruby/impl/RhoRubyImpl.h +86 -0
- data/platform/shared/rhoruby/impl/RhoRubySingletone.cpp +20 -0
- data/platform/shared/rhoruby/impl/RubyServerResponceImpl.cpp +32 -0
- data/platform/shared/rhoruby/impl/RubyServerResponceImpl.h +21 -0
- data/platform/shared/ruby/CMakeLists.txt.erb +1 -129
- data/platform/shared/ruby/android/ruby/config.h +55 -3
- data/platform/shared/ruby/dln_find.c +1 -1
- data/platform/shared/ruby/error.c +2 -2
- data/platform/shared/ruby/ext/rho/rhoruby.c +88 -14
- data/platform/shared/ruby/ext/rho/rhoruby.h +4 -0
- data/platform/shared/ruby/ext/socket/addrinfo.h +2 -1
- data/platform/shared/ruby/ext/socket/ipsocket.c +3 -3
- data/platform/shared/ruby/file.c +3 -3
- data/platform/shared/ruby/io.c +46 -46
- data/platform/shared/ruby/linux/ruby/config.h +94 -34
- data/platform/shared/ruby/linux/ruby/config_linux.h +403 -0
- data/platform/shared/ruby/missing/langinfo.c +1 -1
- data/platform/shared/ruby/missing/memmove.c +4 -0
- data/platform/shared/ruby/osx/ruby/config.h +2 -0
- data/platform/shared/ruby/posixnames.h +2 -8
- data/platform/shared/ruby/process.c +7 -7
- data/platform/shared/ruby/ruby.c +10 -10
- data/platform/shared/ruby/sailfish/ruby/config.h +1 -1
- data/platform/shared/ruby/thread_pthread.c +1 -1
- data/platform/shared/ruby/time.c +2 -2
- data/platform/shared/ruby/uwp/win32/win32.c +12 -12
- data/platform/shared/ruby/win32/ruby/config.h +1 -1
- data/platform/shared/ruby/win32/win32.c +10 -3
- data/platform/shared/rubyext/NativeToolbarExt.h +1 -0
- data/platform/shared/sqlite/CMakeLists.txt.erb +1 -1
- data/platform/shared/sqlite/sqlite3.c +23 -0
- data/platform/shared/sync/CMakeLists.txt.erb +1 -1
- data/platform/shared/unzip/gzlib.cpp +1 -1
- data/platform/shared/unzip/gzwrite.cpp +3 -3
- data/platform/shared/unzip/unzip.cpp +3 -10
- data/platform/shared/unzip/zip.cpp +3 -8
- data/platform/uwp/rhodes/App.xaml.cs +9 -9
- data/platform/uwp/rhodes/rhodes_TemporaryKey.pfx +0 -0
- data/platform/uwp/rhoruntime/common/RhoClassFactory.h +7 -1
- data/platform/win32/RhoSimulator/Qt5Core.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Gui.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Multimedia.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Network.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Positioning.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5PrintSupport.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Qml.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Quick.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5QuickWidgets.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5SerialPort.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Svg.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebChannel.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngine.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngineCore.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5WebEngineWidgets.dll +0 -0
- data/platform/win32/RhoSimulator/Qt5Widgets.dll +0 -0
- data/platform/win32/RhoSimulator/QtWebEngineProcess.exe +0 -0
- data/platform/win32/RhoSimulator/RhoSimulator.exe +0 -0
- data/platform/win32/RhoSimulator/audio/qtaudio_wasapi.dll +0 -0
- data/platform/win32/RhoSimulator/audio/qtaudio_windows.dll +0 -0
- data/platform/win32/RhoSimulator/bearer/qgenericbearer.dll +0 -0
- data/platform/win32/RhoSimulator/concrt140.dll +0 -0
- data/platform/win32/RhoSimulator/iconengines/qsvgicon.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qgif.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qicns.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qico.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qjpeg.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qsvg.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qtga.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qtiff.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qwbmp.dll +0 -0
- data/platform/win32/RhoSimulator/imageformats/qwebp.dll +0 -0
- data/platform/win32/RhoSimulator/libEGL.dll +0 -0
- data/platform/win32/RhoSimulator/libGLESV2.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/dsengine.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/qtmedia_audioengine.dll +0 -0
- data/platform/win32/RhoSimulator/mediaservice/wmfengine.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140chs.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140cht.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140deu.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140enu.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140esn.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140fra.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140ita.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140jpn.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140kor.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140rus.dll +0 -0
- data/platform/win32/RhoSimulator/mfc140u.dll +0 -0
- data/platform/win32/RhoSimulator/mfcm140.dll +0 -0
- data/platform/win32/RhoSimulator/mfcm140u.dll +0 -0
- data/platform/win32/RhoSimulator/msvcp140.dll +0 -0
- data/platform/win32/RhoSimulator/msvcp140_1.dll +0 -0
- data/platform/win32/RhoSimulator/msvcp140_2.dll +0 -0
- data/platform/win32/RhoSimulator/platforms/qwindows.dll +0 -0
- data/platform/win32/RhoSimulator/playlistformats/qtmultimedia_m3u.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_positionpoll.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_serialnmea.dll +0 -0
- data/platform/win32/RhoSimulator/position/qtposition_winrt.dll +0 -0
- data/platform/win32/RhoSimulator/printsupport/windowsprintersupport.dll +0 -0
- data/platform/win32/RhoSimulator/resources/icudtl.dat +0 -0
- data/platform/win32/RhoSimulator/resources/qtwebengine_devtools_resources.pak +0 -0
- data/platform/win32/RhoSimulator/resources/qtwebengine_resources.pak +0 -0
- data/platform/win32/RhoSimulator/resources/qtwebengine_resources_100p.pak +0 -0
- data/platform/win32/RhoSimulator/resources/qtwebengine_resources_200p.pak +0 -0
- data/platform/win32/RhoSimulator/styles/qwindowsvistastyle.dll +0 -0
- data/platform/win32/RhoSimulator/translations/qt_ca.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qt_da.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qt_de.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qt_fi.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qt_ru.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qt_zh_TW.qm +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/am.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ar.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/bg.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/bn.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ca.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/cs.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/da.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/de.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/el.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/en-GB.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/en-US.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/es-419.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/es.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/et.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fa.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fi.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fil.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/fr.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/gu.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/he.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/hi.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/hr.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/hu.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/id.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/it.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ja.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/kn.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ko.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/lt.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/lv.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ml.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/mr.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ms.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/nb.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/nl.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/pl.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/pt-BR.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/pt-PT.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ro.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ru.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sk.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sl.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sr.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sv.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/sw.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/ta.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/te.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/th.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/tr.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/uk.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/vi.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/zh-CN.pak +0 -0
- data/platform/win32/RhoSimulator/translations/qtwebengine_locales/zh-TW.pak +0 -0
- data/platform/win32/RhoSimulator/vcamp140.dll +0 -0
- data/platform/win32/RhoSimulator/vccorlib140.dll +0 -0
- data/platform/win32/RhoSimulator/vcomp140.dll +0 -0
- data/platform/win32/RhoSimulator/vcruntime140.dll +0 -0
- data/platform/win32/build/rhodes.nsi +184 -0
- data/platform/win32/build/win32.rake +876 -0
- data/platform/wm/build/wm.rake +17 -967
- data/platform/wm/rhodes/rho/common/ExtManager.cpp +30 -0
- data/platform/wm/rhodes/rho/common/RhoClassFactory.h +7 -1
- data/platform/wm/rhodes/rho/rubyext/SystemImpl.cpp +3 -0
- data/platform/wm/rubylib/rubylib.vcxproj +6 -0
- data/platform/wm/syncengine/syncengine.vcproj +24 -16
- data/platform/wp8/rhoruntime/common/RhoClassFactory.h +7 -1
- data/rakefile.rb +194 -101
- data/res/build-tools/RhoRuby.exe +0 -0
- data/res/build-tools/aapt2/linux/aapt2 +0 -0
- data/res/build-tools/aapt2/osx/aapt2 +0 -0
- data/res/build-tools/aapt2/windows/aapt2.exe +0 -0
- data/res/build-tools/bundletool.jar +0 -0
- data/res/build-tools/helpers/ext/android/build_common.rb +160 -0
- data/res/build-tools/iphonesim/build/Release/iphonesim_8 +29 -19
- data/res/build-tools/maven/LICENSE +18 -89
- data/res/build-tools/maven/NOTICE +1 -1
- data/res/build-tools/maven/README.txt +12 -12
- data/res/build-tools/maven/bin/m2.conf +2 -2
- data/res/build-tools/maven/bin/mvn +122 -125
- data/res/build-tools/maven/bin/mvn.cmd +205 -0
- data/res/build-tools/maven/bin/mvnDebug +10 -176
- data/res/build-tools/maven/bin/mvnDebug.cmd +33 -0
- data/res/build-tools/maven/bin/mvnyjp +9 -181
- data/res/build-tools/maven/boot/plexus-classworlds-2.6.0.jar +0 -0
- data/res/build-tools/maven/conf/logging/simplelogger.properties +8 -1
- data/res/build-tools/maven/conf/settings.xml +1 -1
- data/res/build-tools/maven/conf/toolchains.xml +103 -0
- data/res/build-tools/maven/lib/animal-sniffer-annotations-1.14.jar +0 -0
- data/res/build-tools/maven/lib/animal-sniffer-annotations.license +14 -0
- data/res/build-tools/maven/lib/checker-compat-qual-2.0.0.jar +0 -0
- data/res/build-tools/maven/lib/checker-compat-qual.license +14 -0
- data/res/build-tools/maven/lib/commons-cli-1.4.jar +0 -0
- data/res/build-tools/maven/lib/commons-io-2.5.jar +0 -0
- data/res/build-tools/maven/lib/commons-lang3-3.8.1.jar +0 -0
- data/res/build-tools/maven/lib/error_prone_annotations-2.1.3.jar +0 -0
- data/res/build-tools/maven/lib/guava-25.1-android.jar +0 -0
- data/res/build-tools/maven/lib/guice-4.2.1-no_aop.jar +0 -0
- data/res/build-tools/maven/lib/j2objc-annotations-1.1.jar +0 -0
- data/res/build-tools/maven/lib/jansi-1.17.1.jar +0 -0
- data/res/build-tools/maven/lib/jansi-native/README.txt +7 -0
- data/res/build-tools/maven/lib/jansi-native/freebsd32/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/freebsd64/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/linux32/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/linux64/libjansi.so +0 -0
- data/res/build-tools/maven/lib/jansi-native/osx/libjansi.jnilib +0 -0
- data/res/build-tools/maven/lib/jansi-native/windows32/jansi.dll +0 -0
- data/res/build-tools/maven/lib/jansi-native/windows64/jansi.dll +0 -0
- data/res/build-tools/maven/lib/jcl-over-slf4j-1.7.25.jar +0 -0
- data/res/build-tools/maven/lib/jcl-over-slf4j.license +14 -0
- data/res/build-tools/maven/lib/jsr250-api.license +383 -405
- data/res/build-tools/maven/lib/jsr305-3.0.2.jar +0 -0
- data/res/build-tools/maven/lib/maven-artifact-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-builder-support-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-compat-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-core-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-embedder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-plugin-api-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-repository-metadata-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-api-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-connector-basic-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-impl-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-provider-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-spi-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-transport-wagon-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-resolver-util-1.3.3.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-shared-utils-3.2.1.jar +0 -0
- data/res/build-tools/maven/lib/maven-slf4j-provider-3.6.1.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject-0.3.3.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject.license +210 -261
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus-0.3.3.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus.license +210 -261
- data/res/build-tools/maven/lib/plexus-component-annotations-1.7.1.jar +0 -0
- data/res/build-tools/maven/lib/plexus-interpolation-1.25.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher-1.4.jar +0 -0
- data/res/build-tools/maven/lib/plexus-utils-3.2.0.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api-1.7.25.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api.license +10 -186
- data/res/build-tools/maven/lib/wagon-file-3.3.2.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-3.3.2-shaded.jar +0 -0
- data/res/build-tools/maven/lib/wagon-provider-api-3.3.2.jar +0 -0
- data/res/generators/rhogen.rb +163 -3
- data/res/generators/templates/api/platform/iphone/generated/stub_impl/MontanaSetup.m +2 -2
- data/res/generators/templates/application/AndroidManifest.erb +17 -6
- data/res/generators/templates/application/Podfile.example +43 -0
- data/res/generators/templates/application/app/Settings/index.erb +52 -55
- data/res/generators/templates/application/app/Settings/javascript_index.html +51 -46
- data/res/generators/templates/application/app/Settings/javascript_login.html +24 -17
- data/res/generators/templates/application/app/Settings/login.erb +5 -12
- data/res/generators/templates/application/app/Settings/reset.erb +10 -14
- data/res/generators/templates/application/app/index.erb +26 -30
- data/res/generators/templates/application/app/javascript_index.html +36 -30
- data/res/generators/templates/application/app/javascript_index.js +13 -4
- data/res/generators/templates/application/app/layout.erb +18 -4
- data/res/generators/templates/application/app/loading.png +0 -0
- data/res/generators/templates/application/build.yml +34 -2
- data/res/generators/templates/application/nodejs_build.yml +1 -1
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.css +3899 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.min.css +7 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-grid.min.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.css +327 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.min.css +8 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap-reboot.min.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.css +10224 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.min.css +7 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/css/bootstrap.min.css.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.js +7134 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.js.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.min.js +7 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.bundle.min.js.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.js +4521 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.js.map +1 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.min.js +7 -0
- data/res/generators/templates/application/public/libs/bootstrap-4.4.1-dist/js/bootstrap.min.js.map +1 -0
- data/res/generators/templates/application/public/libs/feather/js/feather.js +2413 -0
- data/res/generators/templates/application/public/libs/feather/js/feather.min.js +13 -0
- data/res/generators/templates/application/public/libs/feather/svg/activity.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/airplay.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/alert-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/alert-octagon.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/alert-triangle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/align-center.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/align-justify.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/align-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/align-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/anchor.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/aperture.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/archive.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-down-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-down-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-down-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-left-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-right-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-up-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-up-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-up-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/arrow-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/at-sign.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/award.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bar-chart-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bar-chart.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/battery-charging.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/battery.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bell-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bell.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bluetooth.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bold.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/book-open.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/book.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/bookmark.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/box.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/briefcase.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/calendar.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/camera-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/camera.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cast.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/check-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/check-square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/check.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevron-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevron-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevron-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevron-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevrons-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevrons-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevrons-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chevrons-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/chrome.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/clipboard.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/clock.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud-drizzle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud-lightning.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud-rain.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud-snow.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cloud.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/code.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/codepen.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/codesandbox.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/coffee.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/columns.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/command.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/compass.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/copy.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-down-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-down-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-left-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-left-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-right-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-right-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-up-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/corner-up-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/cpu.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/credit-card.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/crop.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/crosshair.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/database.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/delete.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/disc.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/dollar-sign.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/download-cloud.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/download.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/droplet.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/edit-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/edit-3.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/edit.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/external-link.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/eye-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/eye.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/facebook.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/fast-forward.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/feather.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/figma.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/file-minus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/file-plus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/file-text.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/file.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/film.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/filter.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/flag.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/folder-minus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/folder-plus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/folder.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/framer.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/frown.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/gift.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/git-branch.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/git-commit.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/git-merge.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/git-pull-request.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/github.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/gitlab.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/globe.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/grid.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/hard-drive.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/hash.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/headphones.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/heart.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/help-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/hexagon.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/home.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/image.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/inbox.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/info.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/instagram.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/italic.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/key.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/layers.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/layout.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/life-buoy.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/link-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/link.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/linkedin.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/list.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/loader.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/lock.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/log-in.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/log-out.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/mail.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/map-pin.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/map.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/maximize-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/maximize.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/meh.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/menu.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/message-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/message-square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/mic-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/mic.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/minimize-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/minimize.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/minus-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/minus-square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/minus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/monitor.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/moon.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/more-horizontal.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/more-vertical.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/mouse-pointer.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/move.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/music.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/navigation-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/navigation.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/octagon.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/package.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/paperclip.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/pause-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/pause.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/pen-tool.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/percent.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-call.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-forwarded.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-incoming.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-missed.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone-outgoing.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/phone.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/pie-chart.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/play-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/play.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/plus-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/plus-square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/plus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/pocket.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/power.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/printer.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/radio.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/refresh-ccw.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/refresh-cw.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/repeat.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/rewind.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/rotate-ccw.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/rotate-cw.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/rss.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/save.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/scissors.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/search.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/send.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/server.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/settings.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/share-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/share.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/shield-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/shield.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/shopping-bag.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/shopping-cart.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/shuffle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/sidebar.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/skip-back.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/skip-forward.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/slack.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/slash.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/sliders.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/smartphone.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/smile.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/speaker.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/star.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/stop-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/sun.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/sunrise.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/sunset.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/tablet.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/tag.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/target.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/terminal.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/thermometer.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/thumbs-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/thumbs-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/toggle-left.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/toggle-right.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/tool.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/trash-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/trash.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/trello.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/trending-down.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/trending-up.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/triangle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/truck.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/tv.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/twitch.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/twitter.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/type.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/umbrella.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/underline.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/unlock.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/upload-cloud.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/upload.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/user-check.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/user-minus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/user-plus.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/user-x.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/user.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/users.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/video-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/video.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/voicemail.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/volume-1.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/volume-2.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/volume-x.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/volume.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/watch.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/wifi-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/wifi.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/wind.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/x-circle.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/x-octagon.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/x-square.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/x.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/youtube.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/zap-off.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/zap.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/zoom-in.svg +1 -0
- data/res/generators/templates/application/public/libs/feather/svg/zoom-out.svg +1 -0
- data/res/generators/templates/application/public/libs/jquery-3.5.1/jquery-3.5.1.js +10872 -0
- data/res/generators/templates/application/public/libs/jquery-3.5.1/jquery-3.5.1.min.js +2 -0
- data/res/generators/templates/application/public/libs/jquery-3.5.1/jquery-3.5.1.min.map +1 -0
- data/res/generators/templates/application/public/libs/popper-2.4.0/popper-2.4.0.js +1802 -0
- data/res/generators/templates/application/public/libs/popper-2.4.0/popper-2.4.0.min.js +6 -0
- data/res/generators/templates/application/resources/android/res/drawable/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-hdpi/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-ldpi/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-mdpi/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-xhdpi/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-xxhdpi/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/drawable-xxxhdpi/loading.png +0 -0
- data/res/generators/templates/application/resources/android/res/xml/network_security_config.xml +7 -0
- data/res/generators/templates/application/resources/ios/Default-568h@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-667h@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-736h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-812h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-896h@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-896h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape-736h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape-812h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape-896h@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape-896h@3x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Landscape@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Portrait.png +0 -0
- data/res/generators/templates/application/resources/ios/Default-Portrait@2x.png +0 -0
- data/res/generators/templates/application/resources/ios/Default.png +0 -0
- data/res/generators/templates/application/resources/ios/Default@2x.png +0 -0
- data/res/generators/templates/application/rhoconfig.txt +25 -6
- data/res/generators/templates/application/rhoconfig_rubynode.txt +139 -0
- data/res/generators/templates/application/rubynodejs_build.yml +95 -0
- data/res/generators/templates/extension/extensions/montana/ext/build +5 -0
- data/res/generators/templates/extension/extensions/montana/ext/build.bat +1 -1
- data/res/generators/templates/extension/extensions/montana/ext/platform/android/Rakefile +1 -141
- data/res/generators/templates/extension/extensions/montana/ext/platform/iphone/Montana.xcodeproj/project.pbxproj +4 -4
- data/res/generators/templates/extension/extensions/montana/ext/platform/iphone/Podfile.example +16 -0
- data/res/generators/templates/extension/extensions/montana/ext/platform/iphone/Rakefile +9 -62
- data/res/generators/templates/extension/extensions/montana/ext/platform/qt/Montana.pro +26 -1
- data/res/generators/templates/iphone_project/Bremen8.xcodeproj/project.pbxproj +34 -55
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-568h@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-667h@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-736h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-812h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-896h@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-896h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-736h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-812h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-896h@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape-896h@3x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Portrait.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default.png +0 -0
- data/res/generators/templates/iphone_project/Media.xcassets/LaunchImage.launchimage/Default@2x.png +0 -0
- data/res/generators/templates/iphone_project/Rhodes/Rhodes.xcodeproj/project.pbxproj +4 -4
- data/res/generators/templates/iphone_project/buildRhoBundle +2 -10
- data/res/generators/templates/iphone_project/root/Entitlements.plist +1 -1
- data/res/generators/templates/iphone_project/root/Info.plist +5 -3
- data/res/generators/templates/iphone_project/root/rhorunner_development.entitlements +1 -1
- data/res/generators/templates/iphone_project/root/rhorunner_production.entitlements +1 -1
- data/res/generators/templates/model/edit.erb +10 -12
- data/res/generators/templates/model/index.erb +27 -29
- data/res/generators/templates/model/javascript_edit.html +18 -17
- data/res/generators/templates/model/javascript_index.html +22 -21
- data/res/generators/templates/model/javascript_index.js +12 -7
- data/res/generators/templates/model/javascript_new.html +20 -16
- data/res/generators/templates/model/javascript_show.html +30 -32
- data/res/generators/templates/model/new.erb +8 -12
- data/res/generators/templates/model/show.erb +22 -28
- data/res/generators/templates/project/android_studio_project/app/CMakeLists.txt.erb +15 -2
- data/res/generators/templates/project/android_studio_project/app/build.gradle.erb +22 -19
- data/res/generators/templates/project/android_studio_project/build.gradle +3 -1
- data/res/generators/templates/spec/app/SpecRunner/controller.rb +1 -1
- data/res/generators/templates/spec/app/mspec.rb +1 -1
- data/res/generators/templates/spec/app/spec_runner.rb +23 -4
- data/res/prebuild_base_app/rhoconfig.txt +11 -8
- data/rhobuild.yml.example +7 -4
- data/rhodes-core.gemspec +1 -2
- data/rhodes.gemspec +20 -27
- data/rhomobile-debug.gemspec +0 -1
- data/version +1 -1
- metadata +766 -192
- data/extensions/emdk3-manager/ext/platform/android/ext_native.files +0 -0
- data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/drawable/camera_btn.xml +0 -14
- data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/layout/camera_land.xml +0 -23
- data/lib/commonAPI/mediacapture/ext/platform/android/adds/res/layout/camera_port.xml +0 -23
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraActivity.java +0 -156
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraEclair.java +0 -216
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraGingerbread.java +0 -122
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraPreview.java +0 -183
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingletonEclair.java +0 -14
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/CameraSingletonGingerbread.java +0 -60
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraObject.java +0 -19
- data/lib/commonAPI/mediacapture/ext/platform/android/src/com/rho/camera/ICameraSingletonObject.java +0 -8
- data/lib/extensions/fcm-push/ext/android/src/com/rhomobile/rhodes/fcm/FCMTokenRefresherService.java +0 -27
- data/lib/extensions/fcm-push/ext/iphone/Firebase.h +0 -68
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics+AppDelegate.h +0 -62
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h +0 -115
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsConfiguration.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalyticsSwiftNameSupport.h +0 -13
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRApp.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRConfiguration.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIREventNames.h +0 -389
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIROptions.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRParameterNames.h +0 -485
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FIRUserPropertyNames.h +0 -15
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Headers/FirebaseAnalytics.h +0 -10
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseAnalytics.framework/Modules/module.modulemap +0 -10
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/FirebaseCore +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRAnalyticsConfiguration.h +0 -52
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRApp.h +0 -130
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRConfiguration.h +0 -78
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIRLoggerLevel.h +0 -35
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FIROptions.h +0 -133
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Headers/FirebaseCore.h +0 -5
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.framework/Modules/module.modulemap +0 -7
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCoreDiagnostics.framework/Modules/module.modulemap +0 -6
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/FirebaseInstanceID +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FIRInstanceID.h +0 -276
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/Headers/FirebaseInstanceID.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseInstanceID.framework/Modules/module.modulemap +0 -7
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/FirebaseMessaging +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FIRMessaging.h +0 -508
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/Headers/FirebaseMessaging.h +0 -1
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseMessaging.framework/Modules/module.modulemap +0 -8
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseNanoPB.framework/FirebaseNanoPB +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/GoogleToolboxForMac.framework/GoogleToolboxForMac +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/GoogleToolboxForMac.framework/Modules/module.modulemap +0 -5
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/Protobuf.framework/Modules/module.modulemap +0 -5
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/Protobuf.framework/Protobuf +0 -0
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/nanopb.framework/Modules/module.modulemap +0 -5
- data/lib/extensions/fcm-push/ext/iphone/Frameworks/nanopb.framework/nanopb +0 -0
- data/platform/android/Rhodes/AndroidManifest.xml.erb +0 -79
- data/platform/iphone/Classes/RhoWKWebView.m +0 -196
- data/platform/win32/RhoSimulator/position/qtposition_geoclue.dll +0 -0
- data/platform/win32/build/RhoRuntimeQt5-VS2008.nsi +0 -162
- data/platform/win32/build/RhoRuntimeQt5.5.0.0_VS2012.nsi +0 -178
- data/platform/win32/build/RhoRuntimeQt5.bat +0 -2
- data/platform/win32/build/RhoRuntimeQt5.ico +0 -0
- data/platform/win32/build/RhoRuntimeQt5.nsi +0 -165
- data/res/build-tools/maven/bin/mvn.bat +0 -197
- data/res/build-tools/maven/bin/mvnDebug.bat +0 -200
- data/res/build-tools/maven/boot/plexus-classworlds-2.5.2.jar +0 -0
- data/res/build-tools/maven/lib/aether-api-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-api.license +0 -261
- data/res/build-tools/maven/lib/aether-connector-basic-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-connector-basic.license +0 -261
- data/res/build-tools/maven/lib/aether-impl-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-impl.license +0 -261
- data/res/build-tools/maven/lib/aether-spi-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-spi.license +0 -261
- data/res/build-tools/maven/lib/aether-transport-wagon-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-transport-wagon.license +0 -261
- data/res/build-tools/maven/lib/aether-util-1.0.0.v20140518.jar +0 -0
- data/res/build-tools/maven/lib/aether-util.license +0 -261
- data/res/build-tools/maven/lib/cdi-api.license +0 -445
- data/res/build-tools/maven/lib/commons-cli-1.2.jar +0 -0
- data/res/build-tools/maven/lib/commons-io-2.2.jar +0 -0
- data/res/build-tools/maven/lib/commons-lang-2.6.jar +0 -0
- data/res/build-tools/maven/lib/guava-18.0.jar +0 -0
- data/res/build-tools/maven/lib/jsoup-1.7.2.jar +0 -0
- data/res/build-tools/maven/lib/jsoup.license +0 -66
- data/res/build-tools/maven/lib/maven-aether-provider-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-aether-provider.license +0 -202
- data/res/build-tools/maven/lib/maven-artifact-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-artifact.license +0 -202
- data/res/build-tools/maven/lib/maven-compat-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-compat.license +0 -202
- data/res/build-tools/maven/lib/maven-core-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-core.license +0 -202
- data/res/build-tools/maven/lib/maven-embedder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-embedder.license +0 -202
- data/res/build-tools/maven/lib/maven-model-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-model-builder.license +0 -202
- data/res/build-tools/maven/lib/maven-model.license +0 -202
- data/res/build-tools/maven/lib/maven-plugin-api-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-plugin-api.license +0 -202
- data/res/build-tools/maven/lib/maven-repository-metadata-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-repository-metadata.license +0 -202
- data/res/build-tools/maven/lib/maven-settings-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder-3.2.5.jar +0 -0
- data/res/build-tools/maven/lib/maven-settings-builder.license +0 -202
- data/res/build-tools/maven/lib/maven-settings.license +0 -202
- data/res/build-tools/maven/lib/org.eclipse.sisu.inject-0.3.0.M1.jar +0 -0
- data/res/build-tools/maven/lib/org.eclipse.sisu.plexus-0.3.0.M1.jar +0 -0
- data/res/build-tools/maven/lib/plexus-cipher.license +0 -445
- data/res/build-tools/maven/lib/plexus-component-annotations-1.5.5.jar +0 -0
- data/res/build-tools/maven/lib/plexus-interpolation-1.21.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher-1.3.jar +0 -0
- data/res/build-tools/maven/lib/plexus-sec-dispatcher.license +0 -445
- data/res/build-tools/maven/lib/plexus-utils-3.0.20.jar +0 -0
- data/res/build-tools/maven/lib/sisu-guice-3.2.3-no_aop.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-api-1.7.5.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-simple-1.7.5.jar +0 -0
- data/res/build-tools/maven/lib/slf4j-simple.license +0 -190
- data/res/build-tools/maven/lib/wagon-file-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-file.license +0 -202
- data/res/build-tools/maven/lib/wagon-http-2.8-shaded.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-shared-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-http-shared.license +0 -202
- data/res/build-tools/maven/lib/wagon-http.license +0 -202
- data/res/build-tools/maven/lib/wagon-provider-api-2.8.jar +0 -0
- data/res/build-tools/maven/lib/wagon-provider-api.license +0 -202
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.css +0 -587
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.css.map +0 -1
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.min.css +0 -6
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap-theme.min.css.map +0 -1
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.css +0 -6757
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.css.map +0 -1
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.min.css +0 -6
- data/res/generators/templates/application/public/bootstrap-3.3.7/css/bootstrap.min.css.map +0 -1
- data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.eot +0 -0
- data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.svg +0 -288
- data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff +0 -0
- data/res/generators/templates/application/public/bootstrap-3.3.7/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/res/generators/templates/application/public/bootstrap-3.3.7/js/bootstrap.js +0 -2377
- data/res/generators/templates/application/public/bootstrap-3.3.7/js/bootstrap.min.js +0 -7
- data/res/generators/templates/application/public/bootstrap-3.3.7/js/npm.js +0 -13
- data/res/generators/templates/application/public/jquery/jquery-3.1.1.min.js +0 -4
- data/res/generators/templates/application/public/jquery/jquery-3.1.1.min.map +0 -1
- data/res/generators/templates/application/public/jquery/jquery-3.2.1.min.js +0 -4
@@ -1,2377 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3
|
-
* Copyright 2011-2016 Twitter, Inc.
|
4
|
-
* Licensed under the MIT license
|
5
|
-
*/
|
6
|
-
|
7
|
-
if (typeof jQuery === 'undefined') {
|
8
|
-
throw new Error('Bootstrap\'s JavaScript requires jQuery')
|
9
|
-
}
|
10
|
-
|
11
|
-
+function ($) {
|
12
|
-
'use strict';
|
13
|
-
var version = $.fn.jquery.split(' ')[0].split('.')
|
14
|
-
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) {
|
15
|
-
throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')
|
16
|
-
}
|
17
|
-
}(jQuery);
|
18
|
-
|
19
|
-
/* ========================================================================
|
20
|
-
* Bootstrap: transition.js v3.3.7
|
21
|
-
* http://getbootstrap.com/javascript/#transitions
|
22
|
-
* ========================================================================
|
23
|
-
* Copyright 2011-2016 Twitter, Inc.
|
24
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
25
|
-
* ======================================================================== */
|
26
|
-
|
27
|
-
|
28
|
-
+function ($) {
|
29
|
-
'use strict';
|
30
|
-
|
31
|
-
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
|
32
|
-
// ============================================================
|
33
|
-
|
34
|
-
function transitionEnd() {
|
35
|
-
var el = document.createElement('bootstrap')
|
36
|
-
|
37
|
-
var transEndEventNames = {
|
38
|
-
WebkitTransition : 'webkitTransitionEnd',
|
39
|
-
MozTransition : 'transitionend',
|
40
|
-
OTransition : 'oTransitionEnd otransitionend',
|
41
|
-
transition : 'transitionend'
|
42
|
-
}
|
43
|
-
|
44
|
-
for (var name in transEndEventNames) {
|
45
|
-
if (el.style[name] !== undefined) {
|
46
|
-
return { end: transEndEventNames[name] }
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
return false // explicit for ie8 ( ._.)
|
51
|
-
}
|
52
|
-
|
53
|
-
// http://blog.alexmaccaw.com/css-transitions
|
54
|
-
$.fn.emulateTransitionEnd = function (duration) {
|
55
|
-
var called = false
|
56
|
-
var $el = this
|
57
|
-
$(this).one('bsTransitionEnd', function () { called = true })
|
58
|
-
var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
|
59
|
-
setTimeout(callback, duration)
|
60
|
-
return this
|
61
|
-
}
|
62
|
-
|
63
|
-
$(function () {
|
64
|
-
$.support.transition = transitionEnd()
|
65
|
-
|
66
|
-
if (!$.support.transition) return
|
67
|
-
|
68
|
-
$.event.special.bsTransitionEnd = {
|
69
|
-
bindType: $.support.transition.end,
|
70
|
-
delegateType: $.support.transition.end,
|
71
|
-
handle: function (e) {
|
72
|
-
if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
|
73
|
-
}
|
74
|
-
}
|
75
|
-
})
|
76
|
-
|
77
|
-
}(jQuery);
|
78
|
-
|
79
|
-
/* ========================================================================
|
80
|
-
* Bootstrap: alert.js v3.3.7
|
81
|
-
* http://getbootstrap.com/javascript/#alerts
|
82
|
-
* ========================================================================
|
83
|
-
* Copyright 2011-2016 Twitter, Inc.
|
84
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
85
|
-
* ======================================================================== */
|
86
|
-
|
87
|
-
|
88
|
-
+function ($) {
|
89
|
-
'use strict';
|
90
|
-
|
91
|
-
// ALERT CLASS DEFINITION
|
92
|
-
// ======================
|
93
|
-
|
94
|
-
var dismiss = '[data-dismiss="alert"]'
|
95
|
-
var Alert = function (el) {
|
96
|
-
$(el).on('click', dismiss, this.close)
|
97
|
-
}
|
98
|
-
|
99
|
-
Alert.VERSION = '3.3.7'
|
100
|
-
|
101
|
-
Alert.TRANSITION_DURATION = 150
|
102
|
-
|
103
|
-
Alert.prototype.close = function (e) {
|
104
|
-
var $this = $(this)
|
105
|
-
var selector = $this.attr('data-target')
|
106
|
-
|
107
|
-
if (!selector) {
|
108
|
-
selector = $this.attr('href')
|
109
|
-
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
|
110
|
-
}
|
111
|
-
|
112
|
-
var $parent = $(selector === '#' ? [] : selector)
|
113
|
-
|
114
|
-
if (e) e.preventDefault()
|
115
|
-
|
116
|
-
if (!$parent.length) {
|
117
|
-
$parent = $this.closest('.alert')
|
118
|
-
}
|
119
|
-
|
120
|
-
$parent.trigger(e = $.Event('close.bs.alert'))
|
121
|
-
|
122
|
-
if (e.isDefaultPrevented()) return
|
123
|
-
|
124
|
-
$parent.removeClass('in')
|
125
|
-
|
126
|
-
function removeElement() {
|
127
|
-
// detach from parent, fire event then clean up data
|
128
|
-
$parent.detach().trigger('closed.bs.alert').remove()
|
129
|
-
}
|
130
|
-
|
131
|
-
$.support.transition && $parent.hasClass('fade') ?
|
132
|
-
$parent
|
133
|
-
.one('bsTransitionEnd', removeElement)
|
134
|
-
.emulateTransitionEnd(Alert.TRANSITION_DURATION) :
|
135
|
-
removeElement()
|
136
|
-
}
|
137
|
-
|
138
|
-
|
139
|
-
// ALERT PLUGIN DEFINITION
|
140
|
-
// =======================
|
141
|
-
|
142
|
-
function Plugin(option) {
|
143
|
-
return this.each(function () {
|
144
|
-
var $this = $(this)
|
145
|
-
var data = $this.data('bs.alert')
|
146
|
-
|
147
|
-
if (!data) $this.data('bs.alert', (data = new Alert(this)))
|
148
|
-
if (typeof option == 'string') data[option].call($this)
|
149
|
-
})
|
150
|
-
}
|
151
|
-
|
152
|
-
var old = $.fn.alert
|
153
|
-
|
154
|
-
$.fn.alert = Plugin
|
155
|
-
$.fn.alert.Constructor = Alert
|
156
|
-
|
157
|
-
|
158
|
-
// ALERT NO CONFLICT
|
159
|
-
// =================
|
160
|
-
|
161
|
-
$.fn.alert.noConflict = function () {
|
162
|
-
$.fn.alert = old
|
163
|
-
return this
|
164
|
-
}
|
165
|
-
|
166
|
-
|
167
|
-
// ALERT DATA-API
|
168
|
-
// ==============
|
169
|
-
|
170
|
-
$(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
|
171
|
-
|
172
|
-
}(jQuery);
|
173
|
-
|
174
|
-
/* ========================================================================
|
175
|
-
* Bootstrap: button.js v3.3.7
|
176
|
-
* http://getbootstrap.com/javascript/#buttons
|
177
|
-
* ========================================================================
|
178
|
-
* Copyright 2011-2016 Twitter, Inc.
|
179
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
180
|
-
* ======================================================================== */
|
181
|
-
|
182
|
-
|
183
|
-
+function ($) {
|
184
|
-
'use strict';
|
185
|
-
|
186
|
-
// BUTTON PUBLIC CLASS DEFINITION
|
187
|
-
// ==============================
|
188
|
-
|
189
|
-
var Button = function (element, options) {
|
190
|
-
this.$element = $(element)
|
191
|
-
this.options = $.extend({}, Button.DEFAULTS, options)
|
192
|
-
this.isLoading = false
|
193
|
-
}
|
194
|
-
|
195
|
-
Button.VERSION = '3.3.7'
|
196
|
-
|
197
|
-
Button.DEFAULTS = {
|
198
|
-
loadingText: 'loading...'
|
199
|
-
}
|
200
|
-
|
201
|
-
Button.prototype.setState = function (state) {
|
202
|
-
var d = 'disabled'
|
203
|
-
var $el = this.$element
|
204
|
-
var val = $el.is('input') ? 'val' : 'html'
|
205
|
-
var data = $el.data()
|
206
|
-
|
207
|
-
state += 'Text'
|
208
|
-
|
209
|
-
if (data.resetText == null) $el.data('resetText', $el[val]())
|
210
|
-
|
211
|
-
// push to event loop to allow forms to submit
|
212
|
-
setTimeout($.proxy(function () {
|
213
|
-
$el[val](data[state] == null ? this.options[state] : data[state])
|
214
|
-
|
215
|
-
if (state == 'loadingText') {
|
216
|
-
this.isLoading = true
|
217
|
-
$el.addClass(d).attr(d, d).prop(d, true)
|
218
|
-
} else if (this.isLoading) {
|
219
|
-
this.isLoading = false
|
220
|
-
$el.removeClass(d).removeAttr(d).prop(d, false)
|
221
|
-
}
|
222
|
-
}, this), 0)
|
223
|
-
}
|
224
|
-
|
225
|
-
Button.prototype.toggle = function () {
|
226
|
-
var changed = true
|
227
|
-
var $parent = this.$element.closest('[data-toggle="buttons"]')
|
228
|
-
|
229
|
-
if ($parent.length) {
|
230
|
-
var $input = this.$element.find('input')
|
231
|
-
if ($input.prop('type') == 'radio') {
|
232
|
-
if ($input.prop('checked')) changed = false
|
233
|
-
$parent.find('.active').removeClass('active')
|
234
|
-
this.$element.addClass('active')
|
235
|
-
} else if ($input.prop('type') == 'checkbox') {
|
236
|
-
if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false
|
237
|
-
this.$element.toggleClass('active')
|
238
|
-
}
|
239
|
-
$input.prop('checked', this.$element.hasClass('active'))
|
240
|
-
if (changed) $input.trigger('change')
|
241
|
-
} else {
|
242
|
-
this.$element.attr('aria-pressed', !this.$element.hasClass('active'))
|
243
|
-
this.$element.toggleClass('active')
|
244
|
-
}
|
245
|
-
}
|
246
|
-
|
247
|
-
|
248
|
-
// BUTTON PLUGIN DEFINITION
|
249
|
-
// ========================
|
250
|
-
|
251
|
-
function Plugin(option) {
|
252
|
-
return this.each(function () {
|
253
|
-
var $this = $(this)
|
254
|
-
var data = $this.data('bs.button')
|
255
|
-
var options = typeof option == 'object' && option
|
256
|
-
|
257
|
-
if (!data) $this.data('bs.button', (data = new Button(this, options)))
|
258
|
-
|
259
|
-
if (option == 'toggle') data.toggle()
|
260
|
-
else if (option) data.setState(option)
|
261
|
-
})
|
262
|
-
}
|
263
|
-
|
264
|
-
var old = $.fn.button
|
265
|
-
|
266
|
-
$.fn.button = Plugin
|
267
|
-
$.fn.button.Constructor = Button
|
268
|
-
|
269
|
-
|
270
|
-
// BUTTON NO CONFLICT
|
271
|
-
// ==================
|
272
|
-
|
273
|
-
$.fn.button.noConflict = function () {
|
274
|
-
$.fn.button = old
|
275
|
-
return this
|
276
|
-
}
|
277
|
-
|
278
|
-
|
279
|
-
// BUTTON DATA-API
|
280
|
-
// ===============
|
281
|
-
|
282
|
-
$(document)
|
283
|
-
.on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
|
284
|
-
var $btn = $(e.target).closest('.btn')
|
285
|
-
Plugin.call($btn, 'toggle')
|
286
|
-
if (!($(e.target).is('input[type="radio"], input[type="checkbox"]'))) {
|
287
|
-
// Prevent double click on radios, and the double selections (so cancellation) on checkboxes
|
288
|
-
e.preventDefault()
|
289
|
-
// The target component still receive the focus
|
290
|
-
if ($btn.is('input,button')) $btn.trigger('focus')
|
291
|
-
else $btn.find('input:visible,button:visible').first().trigger('focus')
|
292
|
-
}
|
293
|
-
})
|
294
|
-
.on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
|
295
|
-
$(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
|
296
|
-
})
|
297
|
-
|
298
|
-
}(jQuery);
|
299
|
-
|
300
|
-
/* ========================================================================
|
301
|
-
* Bootstrap: carousel.js v3.3.7
|
302
|
-
* http://getbootstrap.com/javascript/#carousel
|
303
|
-
* ========================================================================
|
304
|
-
* Copyright 2011-2016 Twitter, Inc.
|
305
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
306
|
-
* ======================================================================== */
|
307
|
-
|
308
|
-
|
309
|
-
+function ($) {
|
310
|
-
'use strict';
|
311
|
-
|
312
|
-
// CAROUSEL CLASS DEFINITION
|
313
|
-
// =========================
|
314
|
-
|
315
|
-
var Carousel = function (element, options) {
|
316
|
-
this.$element = $(element)
|
317
|
-
this.$indicators = this.$element.find('.carousel-indicators')
|
318
|
-
this.options = options
|
319
|
-
this.paused = null
|
320
|
-
this.sliding = null
|
321
|
-
this.interval = null
|
322
|
-
this.$active = null
|
323
|
-
this.$items = null
|
324
|
-
|
325
|
-
this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))
|
326
|
-
|
327
|
-
this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element
|
328
|
-
.on('mouseenter.bs.carousel', $.proxy(this.pause, this))
|
329
|
-
.on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
|
330
|
-
}
|
331
|
-
|
332
|
-
Carousel.VERSION = '3.3.7'
|
333
|
-
|
334
|
-
Carousel.TRANSITION_DURATION = 600
|
335
|
-
|
336
|
-
Carousel.DEFAULTS = {
|
337
|
-
interval: 5000,
|
338
|
-
pause: 'hover',
|
339
|
-
wrap: true,
|
340
|
-
keyboard: true
|
341
|
-
}
|
342
|
-
|
343
|
-
Carousel.prototype.keydown = function (e) {
|
344
|
-
if (/input|textarea/i.test(e.target.tagName)) return
|
345
|
-
switch (e.which) {
|
346
|
-
case 37: this.prev(); break
|
347
|
-
case 39: this.next(); break
|
348
|
-
default: return
|
349
|
-
}
|
350
|
-
|
351
|
-
e.preventDefault()
|
352
|
-
}
|
353
|
-
|
354
|
-
Carousel.prototype.cycle = function (e) {
|
355
|
-
e || (this.paused = false)
|
356
|
-
|
357
|
-
this.interval && clearInterval(this.interval)
|
358
|
-
|
359
|
-
this.options.interval
|
360
|
-
&& !this.paused
|
361
|
-
&& (this.interval = setInterval($.proxy(this.next, this), this.options.interval))
|
362
|
-
|
363
|
-
return this
|
364
|
-
}
|
365
|
-
|
366
|
-
Carousel.prototype.getItemIndex = function (item) {
|
367
|
-
this.$items = item.parent().children('.item')
|
368
|
-
return this.$items.index(item || this.$active)
|
369
|
-
}
|
370
|
-
|
371
|
-
Carousel.prototype.getItemForDirection = function (direction, active) {
|
372
|
-
var activeIndex = this.getItemIndex(active)
|
373
|
-
var willWrap = (direction == 'prev' && activeIndex === 0)
|
374
|
-
|| (direction == 'next' && activeIndex == (this.$items.length - 1))
|
375
|
-
if (willWrap && !this.options.wrap) return active
|
376
|
-
var delta = direction == 'prev' ? -1 : 1
|
377
|
-
var itemIndex = (activeIndex + delta) % this.$items.length
|
378
|
-
return this.$items.eq(itemIndex)
|
379
|
-
}
|
380
|
-
|
381
|
-
Carousel.prototype.to = function (pos) {
|
382
|
-
var that = this
|
383
|
-
var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))
|
384
|
-
|
385
|
-
if (pos > (this.$items.length - 1) || pos < 0) return
|
386
|
-
|
387
|
-
if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid"
|
388
|
-
if (activeIndex == pos) return this.pause().cycle()
|
389
|
-
|
390
|
-
return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))
|
391
|
-
}
|
392
|
-
|
393
|
-
Carousel.prototype.pause = function (e) {
|
394
|
-
e || (this.paused = true)
|
395
|
-
|
396
|
-
if (this.$element.find('.next, .prev').length && $.support.transition) {
|
397
|
-
this.$element.trigger($.support.transition.end)
|
398
|
-
this.cycle(true)
|
399
|
-
}
|
400
|
-
|
401
|
-
this.interval = clearInterval(this.interval)
|
402
|
-
|
403
|
-
return this
|
404
|
-
}
|
405
|
-
|
406
|
-
Carousel.prototype.next = function () {
|
407
|
-
if (this.sliding) return
|
408
|
-
return this.slide('next')
|
409
|
-
}
|
410
|
-
|
411
|
-
Carousel.prototype.prev = function () {
|
412
|
-
if (this.sliding) return
|
413
|
-
return this.slide('prev')
|
414
|
-
}
|
415
|
-
|
416
|
-
Carousel.prototype.slide = function (type, next) {
|
417
|
-
var $active = this.$element.find('.item.active')
|
418
|
-
var $next = next || this.getItemForDirection(type, $active)
|
419
|
-
var isCycling = this.interval
|
420
|
-
var direction = type == 'next' ? 'left' : 'right'
|
421
|
-
var that = this
|
422
|
-
|
423
|
-
if ($next.hasClass('active')) return (this.sliding = false)
|
424
|
-
|
425
|
-
var relatedTarget = $next[0]
|
426
|
-
var slideEvent = $.Event('slide.bs.carousel', {
|
427
|
-
relatedTarget: relatedTarget,
|
428
|
-
direction: direction
|
429
|
-
})
|
430
|
-
this.$element.trigger(slideEvent)
|
431
|
-
if (slideEvent.isDefaultPrevented()) return
|
432
|
-
|
433
|
-
this.sliding = true
|
434
|
-
|
435
|
-
isCycling && this.pause()
|
436
|
-
|
437
|
-
if (this.$indicators.length) {
|
438
|
-
this.$indicators.find('.active').removeClass('active')
|
439
|
-
var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])
|
440
|
-
$nextIndicator && $nextIndicator.addClass('active')
|
441
|
-
}
|
442
|
-
|
443
|
-
var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid"
|
444
|
-
if ($.support.transition && this.$element.hasClass('slide')) {
|
445
|
-
$next.addClass(type)
|
446
|
-
$next[0].offsetWidth // force reflow
|
447
|
-
$active.addClass(direction)
|
448
|
-
$next.addClass(direction)
|
449
|
-
$active
|
450
|
-
.one('bsTransitionEnd', function () {
|
451
|
-
$next.removeClass([type, direction].join(' ')).addClass('active')
|
452
|
-
$active.removeClass(['active', direction].join(' '))
|
453
|
-
that.sliding = false
|
454
|
-
setTimeout(function () {
|
455
|
-
that.$element.trigger(slidEvent)
|
456
|
-
}, 0)
|
457
|
-
})
|
458
|
-
.emulateTransitionEnd(Carousel.TRANSITION_DURATION)
|
459
|
-
} else {
|
460
|
-
$active.removeClass('active')
|
461
|
-
$next.addClass('active')
|
462
|
-
this.sliding = false
|
463
|
-
this.$element.trigger(slidEvent)
|
464
|
-
}
|
465
|
-
|
466
|
-
isCycling && this.cycle()
|
467
|
-
|
468
|
-
return this
|
469
|
-
}
|
470
|
-
|
471
|
-
|
472
|
-
// CAROUSEL PLUGIN DEFINITION
|
473
|
-
// ==========================
|
474
|
-
|
475
|
-
function Plugin(option) {
|
476
|
-
return this.each(function () {
|
477
|
-
var $this = $(this)
|
478
|
-
var data = $this.data('bs.carousel')
|
479
|
-
var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)
|
480
|
-
var action = typeof option == 'string' ? option : options.slide
|
481
|
-
|
482
|
-
if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))
|
483
|
-
if (typeof option == 'number') data.to(option)
|
484
|
-
else if (action) data[action]()
|
485
|
-
else if (options.interval) data.pause().cycle()
|
486
|
-
})
|
487
|
-
}
|
488
|
-
|
489
|
-
var old = $.fn.carousel
|
490
|
-
|
491
|
-
$.fn.carousel = Plugin
|
492
|
-
$.fn.carousel.Constructor = Carousel
|
493
|
-
|
494
|
-
|
495
|
-
// CAROUSEL NO CONFLICT
|
496
|
-
// ====================
|
497
|
-
|
498
|
-
$.fn.carousel.noConflict = function () {
|
499
|
-
$.fn.carousel = old
|
500
|
-
return this
|
501
|
-
}
|
502
|
-
|
503
|
-
|
504
|
-
// CAROUSEL DATA-API
|
505
|
-
// =================
|
506
|
-
|
507
|
-
var clickHandler = function (e) {
|
508
|
-
var href
|
509
|
-
var $this = $(this)
|
510
|
-
var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7
|
511
|
-
if (!$target.hasClass('carousel')) return
|
512
|
-
var options = $.extend({}, $target.data(), $this.data())
|
513
|
-
var slideIndex = $this.attr('data-slide-to')
|
514
|
-
if (slideIndex) options.interval = false
|
515
|
-
|
516
|
-
Plugin.call($target, options)
|
517
|
-
|
518
|
-
if (slideIndex) {
|
519
|
-
$target.data('bs.carousel').to(slideIndex)
|
520
|
-
}
|
521
|
-
|
522
|
-
e.preventDefault()
|
523
|
-
}
|
524
|
-
|
525
|
-
$(document)
|
526
|
-
.on('click.bs.carousel.data-api', '[data-slide]', clickHandler)
|
527
|
-
.on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler)
|
528
|
-
|
529
|
-
$(window).on('load', function () {
|
530
|
-
$('[data-ride="carousel"]').each(function () {
|
531
|
-
var $carousel = $(this)
|
532
|
-
Plugin.call($carousel, $carousel.data())
|
533
|
-
})
|
534
|
-
})
|
535
|
-
|
536
|
-
}(jQuery);
|
537
|
-
|
538
|
-
/* ========================================================================
|
539
|
-
* Bootstrap: collapse.js v3.3.7
|
540
|
-
* http://getbootstrap.com/javascript/#collapse
|
541
|
-
* ========================================================================
|
542
|
-
* Copyright 2011-2016 Twitter, Inc.
|
543
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
544
|
-
* ======================================================================== */
|
545
|
-
|
546
|
-
/* jshint latedef: false */
|
547
|
-
|
548
|
-
+function ($) {
|
549
|
-
'use strict';
|
550
|
-
|
551
|
-
// COLLAPSE PUBLIC CLASS DEFINITION
|
552
|
-
// ================================
|
553
|
-
|
554
|
-
var Collapse = function (element, options) {
|
555
|
-
this.$element = $(element)
|
556
|
-
this.options = $.extend({}, Collapse.DEFAULTS, options)
|
557
|
-
this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' +
|
558
|
-
'[data-toggle="collapse"][data-target="#' + element.id + '"]')
|
559
|
-
this.transitioning = null
|
560
|
-
|
561
|
-
if (this.options.parent) {
|
562
|
-
this.$parent = this.getParent()
|
563
|
-
} else {
|
564
|
-
this.addAriaAndCollapsedClass(this.$element, this.$trigger)
|
565
|
-
}
|
566
|
-
|
567
|
-
if (this.options.toggle) this.toggle()
|
568
|
-
}
|
569
|
-
|
570
|
-
Collapse.VERSION = '3.3.7'
|
571
|
-
|
572
|
-
Collapse.TRANSITION_DURATION = 350
|
573
|
-
|
574
|
-
Collapse.DEFAULTS = {
|
575
|
-
toggle: true
|
576
|
-
}
|
577
|
-
|
578
|
-
Collapse.prototype.dimension = function () {
|
579
|
-
var hasWidth = this.$element.hasClass('width')
|
580
|
-
return hasWidth ? 'width' : 'height'
|
581
|
-
}
|
582
|
-
|
583
|
-
Collapse.prototype.show = function () {
|
584
|
-
if (this.transitioning || this.$element.hasClass('in')) return
|
585
|
-
|
586
|
-
var activesData
|
587
|
-
var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')
|
588
|
-
|
589
|
-
if (actives && actives.length) {
|
590
|
-
activesData = actives.data('bs.collapse')
|
591
|
-
if (activesData && activesData.transitioning) return
|
592
|
-
}
|
593
|
-
|
594
|
-
var startEvent = $.Event('show.bs.collapse')
|
595
|
-
this.$element.trigger(startEvent)
|
596
|
-
if (startEvent.isDefaultPrevented()) return
|
597
|
-
|
598
|
-
if (actives && actives.length) {
|
599
|
-
Plugin.call(actives, 'hide')
|
600
|
-
activesData || actives.data('bs.collapse', null)
|
601
|
-
}
|
602
|
-
|
603
|
-
var dimension = this.dimension()
|
604
|
-
|
605
|
-
this.$element
|
606
|
-
.removeClass('collapse')
|
607
|
-
.addClass('collapsing')[dimension](0)
|
608
|
-
.attr('aria-expanded', true)
|
609
|
-
|
610
|
-
this.$trigger
|
611
|
-
.removeClass('collapsed')
|
612
|
-
.attr('aria-expanded', true)
|
613
|
-
|
614
|
-
this.transitioning = 1
|
615
|
-
|
616
|
-
var complete = function () {
|
617
|
-
this.$element
|
618
|
-
.removeClass('collapsing')
|
619
|
-
.addClass('collapse in')[dimension]('')
|
620
|
-
this.transitioning = 0
|
621
|
-
this.$element
|
622
|
-
.trigger('shown.bs.collapse')
|
623
|
-
}
|
624
|
-
|
625
|
-
if (!$.support.transition) return complete.call(this)
|
626
|
-
|
627
|
-
var scrollSize = $.camelCase(['scroll', dimension].join('-'))
|
628
|
-
|
629
|
-
this.$element
|
630
|
-
.one('bsTransitionEnd', $.proxy(complete, this))
|
631
|
-
.emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])
|
632
|
-
}
|
633
|
-
|
634
|
-
Collapse.prototype.hide = function () {
|
635
|
-
if (this.transitioning || !this.$element.hasClass('in')) return
|
636
|
-
|
637
|
-
var startEvent = $.Event('hide.bs.collapse')
|
638
|
-
this.$element.trigger(startEvent)
|
639
|
-
if (startEvent.isDefaultPrevented()) return
|
640
|
-
|
641
|
-
var dimension = this.dimension()
|
642
|
-
|
643
|
-
this.$element[dimension](this.$element[dimension]())[0].offsetHeight
|
644
|
-
|
645
|
-
this.$element
|
646
|
-
.addClass('collapsing')
|
647
|
-
.removeClass('collapse in')
|
648
|
-
.attr('aria-expanded', false)
|
649
|
-
|
650
|
-
this.$trigger
|
651
|
-
.addClass('collapsed')
|
652
|
-
.attr('aria-expanded', false)
|
653
|
-
|
654
|
-
this.transitioning = 1
|
655
|
-
|
656
|
-
var complete = function () {
|
657
|
-
this.transitioning = 0
|
658
|
-
this.$element
|
659
|
-
.removeClass('collapsing')
|
660
|
-
.addClass('collapse')
|
661
|
-
.trigger('hidden.bs.collapse')
|
662
|
-
}
|
663
|
-
|
664
|
-
if (!$.support.transition) return complete.call(this)
|
665
|
-
|
666
|
-
this.$element
|
667
|
-
[dimension](0)
|
668
|
-
.one('bsTransitionEnd', $.proxy(complete, this))
|
669
|
-
.emulateTransitionEnd(Collapse.TRANSITION_DURATION)
|
670
|
-
}
|
671
|
-
|
672
|
-
Collapse.prototype.toggle = function () {
|
673
|
-
this[this.$element.hasClass('in') ? 'hide' : 'show']()
|
674
|
-
}
|
675
|
-
|
676
|
-
Collapse.prototype.getParent = function () {
|
677
|
-
return $(this.options.parent)
|
678
|
-
.find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]')
|
679
|
-
.each($.proxy(function (i, element) {
|
680
|
-
var $element = $(element)
|
681
|
-
this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)
|
682
|
-
}, this))
|
683
|
-
.end()
|
684
|
-
}
|
685
|
-
|
686
|
-
Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {
|
687
|
-
var isOpen = $element.hasClass('in')
|
688
|
-
|
689
|
-
$element.attr('aria-expanded', isOpen)
|
690
|
-
$trigger
|
691
|
-
.toggleClass('collapsed', !isOpen)
|
692
|
-
.attr('aria-expanded', isOpen)
|
693
|
-
}
|
694
|
-
|
695
|
-
function getTargetFromTrigger($trigger) {
|
696
|
-
var href
|
697
|
-
var target = $trigger.attr('data-target')
|
698
|
-
|| (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7
|
699
|
-
|
700
|
-
return $(target)
|
701
|
-
}
|
702
|
-
|
703
|
-
|
704
|
-
// COLLAPSE PLUGIN DEFINITION
|
705
|
-
// ==========================
|
706
|
-
|
707
|
-
function Plugin(option) {
|
708
|
-
return this.each(function () {
|
709
|
-
var $this = $(this)
|
710
|
-
var data = $this.data('bs.collapse')
|
711
|
-
var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)
|
712
|
-
|
713
|
-
if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false
|
714
|
-
if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))
|
715
|
-
if (typeof option == 'string') data[option]()
|
716
|
-
})
|
717
|
-
}
|
718
|
-
|
719
|
-
var old = $.fn.collapse
|
720
|
-
|
721
|
-
$.fn.collapse = Plugin
|
722
|
-
$.fn.collapse.Constructor = Collapse
|
723
|
-
|
724
|
-
|
725
|
-
// COLLAPSE NO CONFLICT
|
726
|
-
// ====================
|
727
|
-
|
728
|
-
$.fn.collapse.noConflict = function () {
|
729
|
-
$.fn.collapse = old
|
730
|
-
return this
|
731
|
-
}
|
732
|
-
|
733
|
-
|
734
|
-
// COLLAPSE DATA-API
|
735
|
-
// =================
|
736
|
-
|
737
|
-
$(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) {
|
738
|
-
var $this = $(this)
|
739
|
-
|
740
|
-
if (!$this.attr('data-target')) e.preventDefault()
|
741
|
-
|
742
|
-
var $target = getTargetFromTrigger($this)
|
743
|
-
var data = $target.data('bs.collapse')
|
744
|
-
var option = data ? 'toggle' : $this.data()
|
745
|
-
|
746
|
-
Plugin.call($target, option)
|
747
|
-
})
|
748
|
-
|
749
|
-
}(jQuery);
|
750
|
-
|
751
|
-
/* ========================================================================
|
752
|
-
* Bootstrap: dropdown.js v3.3.7
|
753
|
-
* http://getbootstrap.com/javascript/#dropdowns
|
754
|
-
* ========================================================================
|
755
|
-
* Copyright 2011-2016 Twitter, Inc.
|
756
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
757
|
-
* ======================================================================== */
|
758
|
-
|
759
|
-
|
760
|
-
+function ($) {
|
761
|
-
'use strict';
|
762
|
-
|
763
|
-
// DROPDOWN CLASS DEFINITION
|
764
|
-
// =========================
|
765
|
-
|
766
|
-
var backdrop = '.dropdown-backdrop'
|
767
|
-
var toggle = '[data-toggle="dropdown"]'
|
768
|
-
var Dropdown = function (element) {
|
769
|
-
$(element).on('click.bs.dropdown', this.toggle)
|
770
|
-
}
|
771
|
-
|
772
|
-
Dropdown.VERSION = '3.3.7'
|
773
|
-
|
774
|
-
function getParent($this) {
|
775
|
-
var selector = $this.attr('data-target')
|
776
|
-
|
777
|
-
if (!selector) {
|
778
|
-
selector = $this.attr('href')
|
779
|
-
selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
|
780
|
-
}
|
781
|
-
|
782
|
-
var $parent = selector && $(selector)
|
783
|
-
|
784
|
-
return $parent && $parent.length ? $parent : $this.parent()
|
785
|
-
}
|
786
|
-
|
787
|
-
function clearMenus(e) {
|
788
|
-
if (e && e.which === 3) return
|
789
|
-
$(backdrop).remove()
|
790
|
-
$(toggle).each(function () {
|
791
|
-
var $this = $(this)
|
792
|
-
var $parent = getParent($this)
|
793
|
-
var relatedTarget = { relatedTarget: this }
|
794
|
-
|
795
|
-
if (!$parent.hasClass('open')) return
|
796
|
-
|
797
|
-
if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return
|
798
|
-
|
799
|
-
$parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))
|
800
|
-
|
801
|
-
if (e.isDefaultPrevented()) return
|
802
|
-
|
803
|
-
$this.attr('aria-expanded', 'false')
|
804
|
-
$parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget))
|
805
|
-
})
|
806
|
-
}
|
807
|
-
|
808
|
-
Dropdown.prototype.toggle = function (e) {
|
809
|
-
var $this = $(this)
|
810
|
-
|
811
|
-
if ($this.is('.disabled, :disabled')) return
|
812
|
-
|
813
|
-
var $parent = getParent($this)
|
814
|
-
var isActive = $parent.hasClass('open')
|
815
|
-
|
816
|
-
clearMenus()
|
817
|
-
|
818
|
-
if (!isActive) {
|
819
|
-
if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
|
820
|
-
// if mobile we use a backdrop because click events don't delegate
|
821
|
-
$(document.createElement('div'))
|
822
|
-
.addClass('dropdown-backdrop')
|
823
|
-
.insertAfter($(this))
|
824
|
-
.on('click', clearMenus)
|
825
|
-
}
|
826
|
-
|
827
|
-
var relatedTarget = { relatedTarget: this }
|
828
|
-
$parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))
|
829
|
-
|
830
|
-
if (e.isDefaultPrevented()) return
|
831
|
-
|
832
|
-
$this
|
833
|
-
.trigger('focus')
|
834
|
-
.attr('aria-expanded', 'true')
|
835
|
-
|
836
|
-
$parent
|
837
|
-
.toggleClass('open')
|
838
|
-
.trigger($.Event('shown.bs.dropdown', relatedTarget))
|
839
|
-
}
|
840
|
-
|
841
|
-
return false
|
842
|
-
}
|
843
|
-
|
844
|
-
Dropdown.prototype.keydown = function (e) {
|
845
|
-
if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return
|
846
|
-
|
847
|
-
var $this = $(this)
|
848
|
-
|
849
|
-
e.preventDefault()
|
850
|
-
e.stopPropagation()
|
851
|
-
|
852
|
-
if ($this.is('.disabled, :disabled')) return
|
853
|
-
|
854
|
-
var $parent = getParent($this)
|
855
|
-
var isActive = $parent.hasClass('open')
|
856
|
-
|
857
|
-
if (!isActive && e.which != 27 || isActive && e.which == 27) {
|
858
|
-
if (e.which == 27) $parent.find(toggle).trigger('focus')
|
859
|
-
return $this.trigger('click')
|
860
|
-
}
|
861
|
-
|
862
|
-
var desc = ' li:not(.disabled):visible a'
|
863
|
-
var $items = $parent.find('.dropdown-menu' + desc)
|
864
|
-
|
865
|
-
if (!$items.length) return
|
866
|
-
|
867
|
-
var index = $items.index(e.target)
|
868
|
-
|
869
|
-
if (e.which == 38 && index > 0) index-- // up
|
870
|
-
if (e.which == 40 && index < $items.length - 1) index++ // down
|
871
|
-
if (!~index) index = 0
|
872
|
-
|
873
|
-
$items.eq(index).trigger('focus')
|
874
|
-
}
|
875
|
-
|
876
|
-
|
877
|
-
// DROPDOWN PLUGIN DEFINITION
|
878
|
-
// ==========================
|
879
|
-
|
880
|
-
function Plugin(option) {
|
881
|
-
return this.each(function () {
|
882
|
-
var $this = $(this)
|
883
|
-
var data = $this.data('bs.dropdown')
|
884
|
-
|
885
|
-
if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))
|
886
|
-
if (typeof option == 'string') data[option].call($this)
|
887
|
-
})
|
888
|
-
}
|
889
|
-
|
890
|
-
var old = $.fn.dropdown
|
891
|
-
|
892
|
-
$.fn.dropdown = Plugin
|
893
|
-
$.fn.dropdown.Constructor = Dropdown
|
894
|
-
|
895
|
-
|
896
|
-
// DROPDOWN NO CONFLICT
|
897
|
-
// ====================
|
898
|
-
|
899
|
-
$.fn.dropdown.noConflict = function () {
|
900
|
-
$.fn.dropdown = old
|
901
|
-
return this
|
902
|
-
}
|
903
|
-
|
904
|
-
|
905
|
-
// APPLY TO STANDARD DROPDOWN ELEMENTS
|
906
|
-
// ===================================
|
907
|
-
|
908
|
-
$(document)
|
909
|
-
.on('click.bs.dropdown.data-api', clearMenus)
|
910
|
-
.on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
911
|
-
.on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
|
912
|
-
.on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)
|
913
|
-
.on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown)
|
914
|
-
|
915
|
-
}(jQuery);
|
916
|
-
|
917
|
-
/* ========================================================================
|
918
|
-
* Bootstrap: modal.js v3.3.7
|
919
|
-
* http://getbootstrap.com/javascript/#modals
|
920
|
-
* ========================================================================
|
921
|
-
* Copyright 2011-2016 Twitter, Inc.
|
922
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
923
|
-
* ======================================================================== */
|
924
|
-
|
925
|
-
|
926
|
-
+function ($) {
|
927
|
-
'use strict';
|
928
|
-
|
929
|
-
// MODAL CLASS DEFINITION
|
930
|
-
// ======================
|
931
|
-
|
932
|
-
var Modal = function (element, options) {
|
933
|
-
this.options = options
|
934
|
-
this.$body = $(document.body)
|
935
|
-
this.$element = $(element)
|
936
|
-
this.$dialog = this.$element.find('.modal-dialog')
|
937
|
-
this.$backdrop = null
|
938
|
-
this.isShown = null
|
939
|
-
this.originalBodyPad = null
|
940
|
-
this.scrollbarWidth = 0
|
941
|
-
this.ignoreBackdropClick = false
|
942
|
-
|
943
|
-
if (this.options.remote) {
|
944
|
-
this.$element
|
945
|
-
.find('.modal-content')
|
946
|
-
.load(this.options.remote, $.proxy(function () {
|
947
|
-
this.$element.trigger('loaded.bs.modal')
|
948
|
-
}, this))
|
949
|
-
}
|
950
|
-
}
|
951
|
-
|
952
|
-
Modal.VERSION = '3.3.7'
|
953
|
-
|
954
|
-
Modal.TRANSITION_DURATION = 300
|
955
|
-
Modal.BACKDROP_TRANSITION_DURATION = 150
|
956
|
-
|
957
|
-
Modal.DEFAULTS = {
|
958
|
-
backdrop: true,
|
959
|
-
keyboard: true,
|
960
|
-
show: true
|
961
|
-
}
|
962
|
-
|
963
|
-
Modal.prototype.toggle = function (_relatedTarget) {
|
964
|
-
return this.isShown ? this.hide() : this.show(_relatedTarget)
|
965
|
-
}
|
966
|
-
|
967
|
-
Modal.prototype.show = function (_relatedTarget) {
|
968
|
-
var that = this
|
969
|
-
var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })
|
970
|
-
|
971
|
-
this.$element.trigger(e)
|
972
|
-
|
973
|
-
if (this.isShown || e.isDefaultPrevented()) return
|
974
|
-
|
975
|
-
this.isShown = true
|
976
|
-
|
977
|
-
this.checkScrollbar()
|
978
|
-
this.setScrollbar()
|
979
|
-
this.$body.addClass('modal-open')
|
980
|
-
|
981
|
-
this.escape()
|
982
|
-
this.resize()
|
983
|
-
|
984
|
-
this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this))
|
985
|
-
|
986
|
-
this.$dialog.on('mousedown.dismiss.bs.modal', function () {
|
987
|
-
that.$element.one('mouseup.dismiss.bs.modal', function (e) {
|
988
|
-
if ($(e.target).is(that.$element)) that.ignoreBackdropClick = true
|
989
|
-
})
|
990
|
-
})
|
991
|
-
|
992
|
-
this.backdrop(function () {
|
993
|
-
var transition = $.support.transition && that.$element.hasClass('fade')
|
994
|
-
|
995
|
-
if (!that.$element.parent().length) {
|
996
|
-
that.$element.appendTo(that.$body) // don't move modals dom position
|
997
|
-
}
|
998
|
-
|
999
|
-
that.$element
|
1000
|
-
.show()
|
1001
|
-
.scrollTop(0)
|
1002
|
-
|
1003
|
-
that.adjustDialog()
|
1004
|
-
|
1005
|
-
if (transition) {
|
1006
|
-
that.$element[0].offsetWidth // force reflow
|
1007
|
-
}
|
1008
|
-
|
1009
|
-
that.$element.addClass('in')
|
1010
|
-
|
1011
|
-
that.enforceFocus()
|
1012
|
-
|
1013
|
-
var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })
|
1014
|
-
|
1015
|
-
transition ?
|
1016
|
-
that.$dialog // wait for modal to slide in
|
1017
|
-
.one('bsTransitionEnd', function () {
|
1018
|
-
that.$element.trigger('focus').trigger(e)
|
1019
|
-
})
|
1020
|
-
.emulateTransitionEnd(Modal.TRANSITION_DURATION) :
|
1021
|
-
that.$element.trigger('focus').trigger(e)
|
1022
|
-
})
|
1023
|
-
}
|
1024
|
-
|
1025
|
-
Modal.prototype.hide = function (e) {
|
1026
|
-
if (e) e.preventDefault()
|
1027
|
-
|
1028
|
-
e = $.Event('hide.bs.modal')
|
1029
|
-
|
1030
|
-
this.$element.trigger(e)
|
1031
|
-
|
1032
|
-
if (!this.isShown || e.isDefaultPrevented()) return
|
1033
|
-
|
1034
|
-
this.isShown = false
|
1035
|
-
|
1036
|
-
this.escape()
|
1037
|
-
this.resize()
|
1038
|
-
|
1039
|
-
$(document).off('focusin.bs.modal')
|
1040
|
-
|
1041
|
-
this.$element
|
1042
|
-
.removeClass('in')
|
1043
|
-
.off('click.dismiss.bs.modal')
|
1044
|
-
.off('mouseup.dismiss.bs.modal')
|
1045
|
-
|
1046
|
-
this.$dialog.off('mousedown.dismiss.bs.modal')
|
1047
|
-
|
1048
|
-
$.support.transition && this.$element.hasClass('fade') ?
|
1049
|
-
this.$element
|
1050
|
-
.one('bsTransitionEnd', $.proxy(this.hideModal, this))
|
1051
|
-
.emulateTransitionEnd(Modal.TRANSITION_DURATION) :
|
1052
|
-
this.hideModal()
|
1053
|
-
}
|
1054
|
-
|
1055
|
-
Modal.prototype.enforceFocus = function () {
|
1056
|
-
$(document)
|
1057
|
-
.off('focusin.bs.modal') // guard against infinite focus loop
|
1058
|
-
.on('focusin.bs.modal', $.proxy(function (e) {
|
1059
|
-
if (document !== e.target &&
|
1060
|
-
this.$element[0] !== e.target &&
|
1061
|
-
!this.$element.has(e.target).length) {
|
1062
|
-
this.$element.trigger('focus')
|
1063
|
-
}
|
1064
|
-
}, this))
|
1065
|
-
}
|
1066
|
-
|
1067
|
-
Modal.prototype.escape = function () {
|
1068
|
-
if (this.isShown && this.options.keyboard) {
|
1069
|
-
this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) {
|
1070
|
-
e.which == 27 && this.hide()
|
1071
|
-
}, this))
|
1072
|
-
} else if (!this.isShown) {
|
1073
|
-
this.$element.off('keydown.dismiss.bs.modal')
|
1074
|
-
}
|
1075
|
-
}
|
1076
|
-
|
1077
|
-
Modal.prototype.resize = function () {
|
1078
|
-
if (this.isShown) {
|
1079
|
-
$(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this))
|
1080
|
-
} else {
|
1081
|
-
$(window).off('resize.bs.modal')
|
1082
|
-
}
|
1083
|
-
}
|
1084
|
-
|
1085
|
-
Modal.prototype.hideModal = function () {
|
1086
|
-
var that = this
|
1087
|
-
this.$element.hide()
|
1088
|
-
this.backdrop(function () {
|
1089
|
-
that.$body.removeClass('modal-open')
|
1090
|
-
that.resetAdjustments()
|
1091
|
-
that.resetScrollbar()
|
1092
|
-
that.$element.trigger('hidden.bs.modal')
|
1093
|
-
})
|
1094
|
-
}
|
1095
|
-
|
1096
|
-
Modal.prototype.removeBackdrop = function () {
|
1097
|
-
this.$backdrop && this.$backdrop.remove()
|
1098
|
-
this.$backdrop = null
|
1099
|
-
}
|
1100
|
-
|
1101
|
-
Modal.prototype.backdrop = function (callback) {
|
1102
|
-
var that = this
|
1103
|
-
var animate = this.$element.hasClass('fade') ? 'fade' : ''
|
1104
|
-
|
1105
|
-
if (this.isShown && this.options.backdrop) {
|
1106
|
-
var doAnimate = $.support.transition && animate
|
1107
|
-
|
1108
|
-
this.$backdrop = $(document.createElement('div'))
|
1109
|
-
.addClass('modal-backdrop ' + animate)
|
1110
|
-
.appendTo(this.$body)
|
1111
|
-
|
1112
|
-
this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {
|
1113
|
-
if (this.ignoreBackdropClick) {
|
1114
|
-
this.ignoreBackdropClick = false
|
1115
|
-
return
|
1116
|
-
}
|
1117
|
-
if (e.target !== e.currentTarget) return
|
1118
|
-
this.options.backdrop == 'static'
|
1119
|
-
? this.$element[0].focus()
|
1120
|
-
: this.hide()
|
1121
|
-
}, this))
|
1122
|
-
|
1123
|
-
if (doAnimate) this.$backdrop[0].offsetWidth // force reflow
|
1124
|
-
|
1125
|
-
this.$backdrop.addClass('in')
|
1126
|
-
|
1127
|
-
if (!callback) return
|
1128
|
-
|
1129
|
-
doAnimate ?
|
1130
|
-
this.$backdrop
|
1131
|
-
.one('bsTransitionEnd', callback)
|
1132
|
-
.emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
|
1133
|
-
callback()
|
1134
|
-
|
1135
|
-
} else if (!this.isShown && this.$backdrop) {
|
1136
|
-
this.$backdrop.removeClass('in')
|
1137
|
-
|
1138
|
-
var callbackRemove = function () {
|
1139
|
-
that.removeBackdrop()
|
1140
|
-
callback && callback()
|
1141
|
-
}
|
1142
|
-
$.support.transition && this.$element.hasClass('fade') ?
|
1143
|
-
this.$backdrop
|
1144
|
-
.one('bsTransitionEnd', callbackRemove)
|
1145
|
-
.emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :
|
1146
|
-
callbackRemove()
|
1147
|
-
|
1148
|
-
} else if (callback) {
|
1149
|
-
callback()
|
1150
|
-
}
|
1151
|
-
}
|
1152
|
-
|
1153
|
-
// these following methods are used to handle overflowing modals
|
1154
|
-
|
1155
|
-
Modal.prototype.handleUpdate = function () {
|
1156
|
-
this.adjustDialog()
|
1157
|
-
}
|
1158
|
-
|
1159
|
-
Modal.prototype.adjustDialog = function () {
|
1160
|
-
var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight
|
1161
|
-
|
1162
|
-
this.$element.css({
|
1163
|
-
paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',
|
1164
|
-
paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''
|
1165
|
-
})
|
1166
|
-
}
|
1167
|
-
|
1168
|
-
Modal.prototype.resetAdjustments = function () {
|
1169
|
-
this.$element.css({
|
1170
|
-
paddingLeft: '',
|
1171
|
-
paddingRight: ''
|
1172
|
-
})
|
1173
|
-
}
|
1174
|
-
|
1175
|
-
Modal.prototype.checkScrollbar = function () {
|
1176
|
-
var fullWindowWidth = window.innerWidth
|
1177
|
-
if (!fullWindowWidth) { // workaround for missing window.innerWidth in IE8
|
1178
|
-
var documentElementRect = document.documentElement.getBoundingClientRect()
|
1179
|
-
fullWindowWidth = documentElementRect.right - Math.abs(documentElementRect.left)
|
1180
|
-
}
|
1181
|
-
this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth
|
1182
|
-
this.scrollbarWidth = this.measureScrollbar()
|
1183
|
-
}
|
1184
|
-
|
1185
|
-
Modal.prototype.setScrollbar = function () {
|
1186
|
-
var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)
|
1187
|
-
this.originalBodyPad = document.body.style.paddingRight || ''
|
1188
|
-
if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)
|
1189
|
-
}
|
1190
|
-
|
1191
|
-
Modal.prototype.resetScrollbar = function () {
|
1192
|
-
this.$body.css('padding-right', this.originalBodyPad)
|
1193
|
-
}
|
1194
|
-
|
1195
|
-
Modal.prototype.measureScrollbar = function () { // thx walsh
|
1196
|
-
var scrollDiv = document.createElement('div')
|
1197
|
-
scrollDiv.className = 'modal-scrollbar-measure'
|
1198
|
-
this.$body.append(scrollDiv)
|
1199
|
-
var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth
|
1200
|
-
this.$body[0].removeChild(scrollDiv)
|
1201
|
-
return scrollbarWidth
|
1202
|
-
}
|
1203
|
-
|
1204
|
-
|
1205
|
-
// MODAL PLUGIN DEFINITION
|
1206
|
-
// =======================
|
1207
|
-
|
1208
|
-
function Plugin(option, _relatedTarget) {
|
1209
|
-
return this.each(function () {
|
1210
|
-
var $this = $(this)
|
1211
|
-
var data = $this.data('bs.modal')
|
1212
|
-
var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)
|
1213
|
-
|
1214
|
-
if (!data) $this.data('bs.modal', (data = new Modal(this, options)))
|
1215
|
-
if (typeof option == 'string') data[option](_relatedTarget)
|
1216
|
-
else if (options.show) data.show(_relatedTarget)
|
1217
|
-
})
|
1218
|
-
}
|
1219
|
-
|
1220
|
-
var old = $.fn.modal
|
1221
|
-
|
1222
|
-
$.fn.modal = Plugin
|
1223
|
-
$.fn.modal.Constructor = Modal
|
1224
|
-
|
1225
|
-
|
1226
|
-
// MODAL NO CONFLICT
|
1227
|
-
// =================
|
1228
|
-
|
1229
|
-
$.fn.modal.noConflict = function () {
|
1230
|
-
$.fn.modal = old
|
1231
|
-
return this
|
1232
|
-
}
|
1233
|
-
|
1234
|
-
|
1235
|
-
// MODAL DATA-API
|
1236
|
-
// ==============
|
1237
|
-
|
1238
|
-
$(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) {
|
1239
|
-
var $this = $(this)
|
1240
|
-
var href = $this.attr('href')
|
1241
|
-
var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7
|
1242
|
-
var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())
|
1243
|
-
|
1244
|
-
if ($this.is('a')) e.preventDefault()
|
1245
|
-
|
1246
|
-
$target.one('show.bs.modal', function (showEvent) {
|
1247
|
-
if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown
|
1248
|
-
$target.one('hidden.bs.modal', function () {
|
1249
|
-
$this.is(':visible') && $this.trigger('focus')
|
1250
|
-
})
|
1251
|
-
})
|
1252
|
-
Plugin.call($target, option, this)
|
1253
|
-
})
|
1254
|
-
|
1255
|
-
}(jQuery);
|
1256
|
-
|
1257
|
-
/* ========================================================================
|
1258
|
-
* Bootstrap: tooltip.js v3.3.7
|
1259
|
-
* http://getbootstrap.com/javascript/#tooltip
|
1260
|
-
* Inspired by the original jQuery.tipsy by Jason Frame
|
1261
|
-
* ========================================================================
|
1262
|
-
* Copyright 2011-2016 Twitter, Inc.
|
1263
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
1264
|
-
* ======================================================================== */
|
1265
|
-
|
1266
|
-
|
1267
|
-
+function ($) {
|
1268
|
-
'use strict';
|
1269
|
-
|
1270
|
-
// TOOLTIP PUBLIC CLASS DEFINITION
|
1271
|
-
// ===============================
|
1272
|
-
|
1273
|
-
var Tooltip = function (element, options) {
|
1274
|
-
this.type = null
|
1275
|
-
this.options = null
|
1276
|
-
this.enabled = null
|
1277
|
-
this.timeout = null
|
1278
|
-
this.hoverState = null
|
1279
|
-
this.$element = null
|
1280
|
-
this.inState = null
|
1281
|
-
|
1282
|
-
this.init('tooltip', element, options)
|
1283
|
-
}
|
1284
|
-
|
1285
|
-
Tooltip.VERSION = '3.3.7'
|
1286
|
-
|
1287
|
-
Tooltip.TRANSITION_DURATION = 150
|
1288
|
-
|
1289
|
-
Tooltip.DEFAULTS = {
|
1290
|
-
animation: true,
|
1291
|
-
placement: 'top',
|
1292
|
-
selector: false,
|
1293
|
-
template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
|
1294
|
-
trigger: 'hover focus',
|
1295
|
-
title: '',
|
1296
|
-
delay: 0,
|
1297
|
-
html: false,
|
1298
|
-
container: false,
|
1299
|
-
viewport: {
|
1300
|
-
selector: 'body',
|
1301
|
-
padding: 0
|
1302
|
-
}
|
1303
|
-
}
|
1304
|
-
|
1305
|
-
Tooltip.prototype.init = function (type, element, options) {
|
1306
|
-
this.enabled = true
|
1307
|
-
this.type = type
|
1308
|
-
this.$element = $(element)
|
1309
|
-
this.options = this.getOptions(options)
|
1310
|
-
this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))
|
1311
|
-
this.inState = { click: false, hover: false, focus: false }
|
1312
|
-
|
1313
|
-
if (this.$element[0] instanceof document.constructor && !this.options.selector) {
|
1314
|
-
throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')
|
1315
|
-
}
|
1316
|
-
|
1317
|
-
var triggers = this.options.trigger.split(' ')
|
1318
|
-
|
1319
|
-
for (var i = triggers.length; i--;) {
|
1320
|
-
var trigger = triggers[i]
|
1321
|
-
|
1322
|
-
if (trigger == 'click') {
|
1323
|
-
this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
|
1324
|
-
} else if (trigger != 'manual') {
|
1325
|
-
var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
|
1326
|
-
var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
|
1327
|
-
|
1328
|
-
this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
|
1329
|
-
this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
|
1330
|
-
}
|
1331
|
-
}
|
1332
|
-
|
1333
|
-
this.options.selector ?
|
1334
|
-
(this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
|
1335
|
-
this.fixTitle()
|
1336
|
-
}
|
1337
|
-
|
1338
|
-
Tooltip.prototype.getDefaults = function () {
|
1339
|
-
return Tooltip.DEFAULTS
|
1340
|
-
}
|
1341
|
-
|
1342
|
-
Tooltip.prototype.getOptions = function (options) {
|
1343
|
-
options = $.extend({}, this.getDefaults(), this.$element.data(), options)
|
1344
|
-
|
1345
|
-
if (options.delay && typeof options.delay == 'number') {
|
1346
|
-
options.delay = {
|
1347
|
-
show: options.delay,
|
1348
|
-
hide: options.delay
|
1349
|
-
}
|
1350
|
-
}
|
1351
|
-
|
1352
|
-
return options
|
1353
|
-
}
|
1354
|
-
|
1355
|
-
Tooltip.prototype.getDelegateOptions = function () {
|
1356
|
-
var options = {}
|
1357
|
-
var defaults = this.getDefaults()
|
1358
|
-
|
1359
|
-
this._options && $.each(this._options, function (key, value) {
|
1360
|
-
if (defaults[key] != value) options[key] = value
|
1361
|
-
})
|
1362
|
-
|
1363
|
-
return options
|
1364
|
-
}
|
1365
|
-
|
1366
|
-
Tooltip.prototype.enter = function (obj) {
|
1367
|
-
var self = obj instanceof this.constructor ?
|
1368
|
-
obj : $(obj.currentTarget).data('bs.' + this.type)
|
1369
|
-
|
1370
|
-
if (!self) {
|
1371
|
-
self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
|
1372
|
-
$(obj.currentTarget).data('bs.' + this.type, self)
|
1373
|
-
}
|
1374
|
-
|
1375
|
-
if (obj instanceof $.Event) {
|
1376
|
-
self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true
|
1377
|
-
}
|
1378
|
-
|
1379
|
-
if (self.tip().hasClass('in') || self.hoverState == 'in') {
|
1380
|
-
self.hoverState = 'in'
|
1381
|
-
return
|
1382
|
-
}
|
1383
|
-
|
1384
|
-
clearTimeout(self.timeout)
|
1385
|
-
|
1386
|
-
self.hoverState = 'in'
|
1387
|
-
|
1388
|
-
if (!self.options.delay || !self.options.delay.show) return self.show()
|
1389
|
-
|
1390
|
-
self.timeout = setTimeout(function () {
|
1391
|
-
if (self.hoverState == 'in') self.show()
|
1392
|
-
}, self.options.delay.show)
|
1393
|
-
}
|
1394
|
-
|
1395
|
-
Tooltip.prototype.isInStateTrue = function () {
|
1396
|
-
for (var key in this.inState) {
|
1397
|
-
if (this.inState[key]) return true
|
1398
|
-
}
|
1399
|
-
|
1400
|
-
return false
|
1401
|
-
}
|
1402
|
-
|
1403
|
-
Tooltip.prototype.leave = function (obj) {
|
1404
|
-
var self = obj instanceof this.constructor ?
|
1405
|
-
obj : $(obj.currentTarget).data('bs.' + this.type)
|
1406
|
-
|
1407
|
-
if (!self) {
|
1408
|
-
self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
|
1409
|
-
$(obj.currentTarget).data('bs.' + this.type, self)
|
1410
|
-
}
|
1411
|
-
|
1412
|
-
if (obj instanceof $.Event) {
|
1413
|
-
self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false
|
1414
|
-
}
|
1415
|
-
|
1416
|
-
if (self.isInStateTrue()) return
|
1417
|
-
|
1418
|
-
clearTimeout(self.timeout)
|
1419
|
-
|
1420
|
-
self.hoverState = 'out'
|
1421
|
-
|
1422
|
-
if (!self.options.delay || !self.options.delay.hide) return self.hide()
|
1423
|
-
|
1424
|
-
self.timeout = setTimeout(function () {
|
1425
|
-
if (self.hoverState == 'out') self.hide()
|
1426
|
-
}, self.options.delay.hide)
|
1427
|
-
}
|
1428
|
-
|
1429
|
-
Tooltip.prototype.show = function () {
|
1430
|
-
var e = $.Event('show.bs.' + this.type)
|
1431
|
-
|
1432
|
-
if (this.hasContent() && this.enabled) {
|
1433
|
-
this.$element.trigger(e)
|
1434
|
-
|
1435
|
-
var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])
|
1436
|
-
if (e.isDefaultPrevented() || !inDom) return
|
1437
|
-
var that = this
|
1438
|
-
|
1439
|
-
var $tip = this.tip()
|
1440
|
-
|
1441
|
-
var tipId = this.getUID(this.type)
|
1442
|
-
|
1443
|
-
this.setContent()
|
1444
|
-
$tip.attr('id', tipId)
|
1445
|
-
this.$element.attr('aria-describedby', tipId)
|
1446
|
-
|
1447
|
-
if (this.options.animation) $tip.addClass('fade')
|
1448
|
-
|
1449
|
-
var placement = typeof this.options.placement == 'function' ?
|
1450
|
-
this.options.placement.call(this, $tip[0], this.$element[0]) :
|
1451
|
-
this.options.placement
|
1452
|
-
|
1453
|
-
var autoToken = /\s?auto?\s?/i
|
1454
|
-
var autoPlace = autoToken.test(placement)
|
1455
|
-
if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
|
1456
|
-
|
1457
|
-
$tip
|
1458
|
-
.detach()
|
1459
|
-
.css({ top: 0, left: 0, display: 'block' })
|
1460
|
-
.addClass(placement)
|
1461
|
-
.data('bs.' + this.type, this)
|
1462
|
-
|
1463
|
-
this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
|
1464
|
-
this.$element.trigger('inserted.bs.' + this.type)
|
1465
|
-
|
1466
|
-
var pos = this.getPosition()
|
1467
|
-
var actualWidth = $tip[0].offsetWidth
|
1468
|
-
var actualHeight = $tip[0].offsetHeight
|
1469
|
-
|
1470
|
-
if (autoPlace) {
|
1471
|
-
var orgPlacement = placement
|
1472
|
-
var viewportDim = this.getPosition(this.$viewport)
|
1473
|
-
|
1474
|
-
placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' :
|
1475
|
-
placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' :
|
1476
|
-
placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' :
|
1477
|
-
placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' :
|
1478
|
-
placement
|
1479
|
-
|
1480
|
-
$tip
|
1481
|
-
.removeClass(orgPlacement)
|
1482
|
-
.addClass(placement)
|
1483
|
-
}
|
1484
|
-
|
1485
|
-
var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
|
1486
|
-
|
1487
|
-
this.applyPlacement(calculatedOffset, placement)
|
1488
|
-
|
1489
|
-
var complete = function () {
|
1490
|
-
var prevHoverState = that.hoverState
|
1491
|
-
that.$element.trigger('shown.bs.' + that.type)
|
1492
|
-
that.hoverState = null
|
1493
|
-
|
1494
|
-
if (prevHoverState == 'out') that.leave(that)
|
1495
|
-
}
|
1496
|
-
|
1497
|
-
$.support.transition && this.$tip.hasClass('fade') ?
|
1498
|
-
$tip
|
1499
|
-
.one('bsTransitionEnd', complete)
|
1500
|
-
.emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
|
1501
|
-
complete()
|
1502
|
-
}
|
1503
|
-
}
|
1504
|
-
|
1505
|
-
Tooltip.prototype.applyPlacement = function (offset, placement) {
|
1506
|
-
var $tip = this.tip()
|
1507
|
-
var width = $tip[0].offsetWidth
|
1508
|
-
var height = $tip[0].offsetHeight
|
1509
|
-
|
1510
|
-
// manually read margins because getBoundingClientRect includes difference
|
1511
|
-
var marginTop = parseInt($tip.css('margin-top'), 10)
|
1512
|
-
var marginLeft = parseInt($tip.css('margin-left'), 10)
|
1513
|
-
|
1514
|
-
// we must check for NaN for ie 8/9
|
1515
|
-
if (isNaN(marginTop)) marginTop = 0
|
1516
|
-
if (isNaN(marginLeft)) marginLeft = 0
|
1517
|
-
|
1518
|
-
offset.top += marginTop
|
1519
|
-
offset.left += marginLeft
|
1520
|
-
|
1521
|
-
// $.fn.offset doesn't round pixel values
|
1522
|
-
// so we use setOffset directly with our own function B-0
|
1523
|
-
$.offset.setOffset($tip[0], $.extend({
|
1524
|
-
using: function (props) {
|
1525
|
-
$tip.css({
|
1526
|
-
top: Math.round(props.top),
|
1527
|
-
left: Math.round(props.left)
|
1528
|
-
})
|
1529
|
-
}
|
1530
|
-
}, offset), 0)
|
1531
|
-
|
1532
|
-
$tip.addClass('in')
|
1533
|
-
|
1534
|
-
// check to see if placing tip in new offset caused the tip to resize itself
|
1535
|
-
var actualWidth = $tip[0].offsetWidth
|
1536
|
-
var actualHeight = $tip[0].offsetHeight
|
1537
|
-
|
1538
|
-
if (placement == 'top' && actualHeight != height) {
|
1539
|
-
offset.top = offset.top + height - actualHeight
|
1540
|
-
}
|
1541
|
-
|
1542
|
-
var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
|
1543
|
-
|
1544
|
-
if (delta.left) offset.left += delta.left
|
1545
|
-
else offset.top += delta.top
|
1546
|
-
|
1547
|
-
var isVertical = /top|bottom/.test(placement)
|
1548
|
-
var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
|
1549
|
-
var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'
|
1550
|
-
|
1551
|
-
$tip.offset(offset)
|
1552
|
-
this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
|
1553
|
-
}
|
1554
|
-
|
1555
|
-
Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
|
1556
|
-
this.arrow()
|
1557
|
-
.css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
|
1558
|
-
.css(isVertical ? 'top' : 'left', '')
|
1559
|
-
}
|
1560
|
-
|
1561
|
-
Tooltip.prototype.setContent = function () {
|
1562
|
-
var $tip = this.tip()
|
1563
|
-
var title = this.getTitle()
|
1564
|
-
|
1565
|
-
$tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
|
1566
|
-
$tip.removeClass('fade in top bottom left right')
|
1567
|
-
}
|
1568
|
-
|
1569
|
-
Tooltip.prototype.hide = function (callback) {
|
1570
|
-
var that = this
|
1571
|
-
var $tip = $(this.$tip)
|
1572
|
-
var e = $.Event('hide.bs.' + this.type)
|
1573
|
-
|
1574
|
-
function complete() {
|
1575
|
-
if (that.hoverState != 'in') $tip.detach()
|
1576
|
-
if (that.$element) { // TODO: Check whether guarding this code with this `if` is really necessary.
|
1577
|
-
that.$element
|
1578
|
-
.removeAttr('aria-describedby')
|
1579
|
-
.trigger('hidden.bs.' + that.type)
|
1580
|
-
}
|
1581
|
-
callback && callback()
|
1582
|
-
}
|
1583
|
-
|
1584
|
-
this.$element.trigger(e)
|
1585
|
-
|
1586
|
-
if (e.isDefaultPrevented()) return
|
1587
|
-
|
1588
|
-
$tip.removeClass('in')
|
1589
|
-
|
1590
|
-
$.support.transition && $tip.hasClass('fade') ?
|
1591
|
-
$tip
|
1592
|
-
.one('bsTransitionEnd', complete)
|
1593
|
-
.emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
|
1594
|
-
complete()
|
1595
|
-
|
1596
|
-
this.hoverState = null
|
1597
|
-
|
1598
|
-
return this
|
1599
|
-
}
|
1600
|
-
|
1601
|
-
Tooltip.prototype.fixTitle = function () {
|
1602
|
-
var $e = this.$element
|
1603
|
-
if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') {
|
1604
|
-
$e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
|
1605
|
-
}
|
1606
|
-
}
|
1607
|
-
|
1608
|
-
Tooltip.prototype.hasContent = function () {
|
1609
|
-
return this.getTitle()
|
1610
|
-
}
|
1611
|
-
|
1612
|
-
Tooltip.prototype.getPosition = function ($element) {
|
1613
|
-
$element = $element || this.$element
|
1614
|
-
|
1615
|
-
var el = $element[0]
|
1616
|
-
var isBody = el.tagName == 'BODY'
|
1617
|
-
|
1618
|
-
var elRect = el.getBoundingClientRect()
|
1619
|
-
if (elRect.width == null) {
|
1620
|
-
// width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
|
1621
|
-
elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
|
1622
|
-
}
|
1623
|
-
var isSvg = window.SVGElement && el instanceof window.SVGElement
|
1624
|
-
// Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3.
|
1625
|
-
// See https://github.com/twbs/bootstrap/issues/20280
|
1626
|
-
var elOffset = isBody ? { top: 0, left: 0 } : (isSvg ? null : $element.offset())
|
1627
|
-
var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
|
1628
|
-
var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null
|
1629
|
-
|
1630
|
-
return $.extend({}, elRect, scroll, outerDims, elOffset)
|
1631
|
-
}
|
1632
|
-
|
1633
|
-
Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
|
1634
|
-
return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :
|
1635
|
-
placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
|
1636
|
-
placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
|
1637
|
-
/* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
|
1638
|
-
|
1639
|
-
}
|
1640
|
-
|
1641
|
-
Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
|
1642
|
-
var delta = { top: 0, left: 0 }
|
1643
|
-
if (!this.$viewport) return delta
|
1644
|
-
|
1645
|
-
var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
|
1646
|
-
var viewportDimensions = this.getPosition(this.$viewport)
|
1647
|
-
|
1648
|
-
if (/right|left/.test(placement)) {
|
1649
|
-
var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll
|
1650
|
-
var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
|
1651
|
-
if (topEdgeOffset < viewportDimensions.top) { // top overflow
|
1652
|
-
delta.top = viewportDimensions.top - topEdgeOffset
|
1653
|
-
} else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
|
1654
|
-
delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
|
1655
|
-
}
|
1656
|
-
} else {
|
1657
|
-
var leftEdgeOffset = pos.left - viewportPadding
|
1658
|
-
var rightEdgeOffset = pos.left + viewportPadding + actualWidth
|
1659
|
-
if (leftEdgeOffset < viewportDimensions.left) { // left overflow
|
1660
|
-
delta.left = viewportDimensions.left - leftEdgeOffset
|
1661
|
-
} else if (rightEdgeOffset > viewportDimensions.right) { // right overflow
|
1662
|
-
delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
|
1663
|
-
}
|
1664
|
-
}
|
1665
|
-
|
1666
|
-
return delta
|
1667
|
-
}
|
1668
|
-
|
1669
|
-
Tooltip.prototype.getTitle = function () {
|
1670
|
-
var title
|
1671
|
-
var $e = this.$element
|
1672
|
-
var o = this.options
|
1673
|
-
|
1674
|
-
title = $e.attr('data-original-title')
|
1675
|
-
|| (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)
|
1676
|
-
|
1677
|
-
return title
|
1678
|
-
}
|
1679
|
-
|
1680
|
-
Tooltip.prototype.getUID = function (prefix) {
|
1681
|
-
do prefix += ~~(Math.random() * 1000000)
|
1682
|
-
while (document.getElementById(prefix))
|
1683
|
-
return prefix
|
1684
|
-
}
|
1685
|
-
|
1686
|
-
Tooltip.prototype.tip = function () {
|
1687
|
-
if (!this.$tip) {
|
1688
|
-
this.$tip = $(this.options.template)
|
1689
|
-
if (this.$tip.length != 1) {
|
1690
|
-
throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!')
|
1691
|
-
}
|
1692
|
-
}
|
1693
|
-
return this.$tip
|
1694
|
-
}
|
1695
|
-
|
1696
|
-
Tooltip.prototype.arrow = function () {
|
1697
|
-
return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
|
1698
|
-
}
|
1699
|
-
|
1700
|
-
Tooltip.prototype.enable = function () {
|
1701
|
-
this.enabled = true
|
1702
|
-
}
|
1703
|
-
|
1704
|
-
Tooltip.prototype.disable = function () {
|
1705
|
-
this.enabled = false
|
1706
|
-
}
|
1707
|
-
|
1708
|
-
Tooltip.prototype.toggleEnabled = function () {
|
1709
|
-
this.enabled = !this.enabled
|
1710
|
-
}
|
1711
|
-
|
1712
|
-
Tooltip.prototype.toggle = function (e) {
|
1713
|
-
var self = this
|
1714
|
-
if (e) {
|
1715
|
-
self = $(e.currentTarget).data('bs.' + this.type)
|
1716
|
-
if (!self) {
|
1717
|
-
self = new this.constructor(e.currentTarget, this.getDelegateOptions())
|
1718
|
-
$(e.currentTarget).data('bs.' + this.type, self)
|
1719
|
-
}
|
1720
|
-
}
|
1721
|
-
|
1722
|
-
if (e) {
|
1723
|
-
self.inState.click = !self.inState.click
|
1724
|
-
if (self.isInStateTrue()) self.enter(self)
|
1725
|
-
else self.leave(self)
|
1726
|
-
} else {
|
1727
|
-
self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
|
1728
|
-
}
|
1729
|
-
}
|
1730
|
-
|
1731
|
-
Tooltip.prototype.destroy = function () {
|
1732
|
-
var that = this
|
1733
|
-
clearTimeout(this.timeout)
|
1734
|
-
this.hide(function () {
|
1735
|
-
that.$element.off('.' + that.type).removeData('bs.' + that.type)
|
1736
|
-
if (that.$tip) {
|
1737
|
-
that.$tip.detach()
|
1738
|
-
}
|
1739
|
-
that.$tip = null
|
1740
|
-
that.$arrow = null
|
1741
|
-
that.$viewport = null
|
1742
|
-
that.$element = null
|
1743
|
-
})
|
1744
|
-
}
|
1745
|
-
|
1746
|
-
|
1747
|
-
// TOOLTIP PLUGIN DEFINITION
|
1748
|
-
// =========================
|
1749
|
-
|
1750
|
-
function Plugin(option) {
|
1751
|
-
return this.each(function () {
|
1752
|
-
var $this = $(this)
|
1753
|
-
var data = $this.data('bs.tooltip')
|
1754
|
-
var options = typeof option == 'object' && option
|
1755
|
-
|
1756
|
-
if (!data && /destroy|hide/.test(option)) return
|
1757
|
-
if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
|
1758
|
-
if (typeof option == 'string') data[option]()
|
1759
|
-
})
|
1760
|
-
}
|
1761
|
-
|
1762
|
-
var old = $.fn.tooltip
|
1763
|
-
|
1764
|
-
$.fn.tooltip = Plugin
|
1765
|
-
$.fn.tooltip.Constructor = Tooltip
|
1766
|
-
|
1767
|
-
|
1768
|
-
// TOOLTIP NO CONFLICT
|
1769
|
-
// ===================
|
1770
|
-
|
1771
|
-
$.fn.tooltip.noConflict = function () {
|
1772
|
-
$.fn.tooltip = old
|
1773
|
-
return this
|
1774
|
-
}
|
1775
|
-
|
1776
|
-
}(jQuery);
|
1777
|
-
|
1778
|
-
/* ========================================================================
|
1779
|
-
* Bootstrap: popover.js v3.3.7
|
1780
|
-
* http://getbootstrap.com/javascript/#popovers
|
1781
|
-
* ========================================================================
|
1782
|
-
* Copyright 2011-2016 Twitter, Inc.
|
1783
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
1784
|
-
* ======================================================================== */
|
1785
|
-
|
1786
|
-
|
1787
|
-
+function ($) {
|
1788
|
-
'use strict';
|
1789
|
-
|
1790
|
-
// POPOVER PUBLIC CLASS DEFINITION
|
1791
|
-
// ===============================
|
1792
|
-
|
1793
|
-
var Popover = function (element, options) {
|
1794
|
-
this.init('popover', element, options)
|
1795
|
-
}
|
1796
|
-
|
1797
|
-
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
|
1798
|
-
|
1799
|
-
Popover.VERSION = '3.3.7'
|
1800
|
-
|
1801
|
-
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
|
1802
|
-
placement: 'right',
|
1803
|
-
trigger: 'click',
|
1804
|
-
content: '',
|
1805
|
-
template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
|
1806
|
-
})
|
1807
|
-
|
1808
|
-
|
1809
|
-
// NOTE: POPOVER EXTENDS tooltip.js
|
1810
|
-
// ================================
|
1811
|
-
|
1812
|
-
Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)
|
1813
|
-
|
1814
|
-
Popover.prototype.constructor = Popover
|
1815
|
-
|
1816
|
-
Popover.prototype.getDefaults = function () {
|
1817
|
-
return Popover.DEFAULTS
|
1818
|
-
}
|
1819
|
-
|
1820
|
-
Popover.prototype.setContent = function () {
|
1821
|
-
var $tip = this.tip()
|
1822
|
-
var title = this.getTitle()
|
1823
|
-
var content = this.getContent()
|
1824
|
-
|
1825
|
-
$tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
|
1826
|
-
$tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events
|
1827
|
-
this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
|
1828
|
-
](content)
|
1829
|
-
|
1830
|
-
$tip.removeClass('fade top bottom left right in')
|
1831
|
-
|
1832
|
-
// IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
|
1833
|
-
// this manually by checking the contents.
|
1834
|
-
if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
|
1835
|
-
}
|
1836
|
-
|
1837
|
-
Popover.prototype.hasContent = function () {
|
1838
|
-
return this.getTitle() || this.getContent()
|
1839
|
-
}
|
1840
|
-
|
1841
|
-
Popover.prototype.getContent = function () {
|
1842
|
-
var $e = this.$element
|
1843
|
-
var o = this.options
|
1844
|
-
|
1845
|
-
return $e.attr('data-content')
|
1846
|
-
|| (typeof o.content == 'function' ?
|
1847
|
-
o.content.call($e[0]) :
|
1848
|
-
o.content)
|
1849
|
-
}
|
1850
|
-
|
1851
|
-
Popover.prototype.arrow = function () {
|
1852
|
-
return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
|
1853
|
-
}
|
1854
|
-
|
1855
|
-
|
1856
|
-
// POPOVER PLUGIN DEFINITION
|
1857
|
-
// =========================
|
1858
|
-
|
1859
|
-
function Plugin(option) {
|
1860
|
-
return this.each(function () {
|
1861
|
-
var $this = $(this)
|
1862
|
-
var data = $this.data('bs.popover')
|
1863
|
-
var options = typeof option == 'object' && option
|
1864
|
-
|
1865
|
-
if (!data && /destroy|hide/.test(option)) return
|
1866
|
-
if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
|
1867
|
-
if (typeof option == 'string') data[option]()
|
1868
|
-
})
|
1869
|
-
}
|
1870
|
-
|
1871
|
-
var old = $.fn.popover
|
1872
|
-
|
1873
|
-
$.fn.popover = Plugin
|
1874
|
-
$.fn.popover.Constructor = Popover
|
1875
|
-
|
1876
|
-
|
1877
|
-
// POPOVER NO CONFLICT
|
1878
|
-
// ===================
|
1879
|
-
|
1880
|
-
$.fn.popover.noConflict = function () {
|
1881
|
-
$.fn.popover = old
|
1882
|
-
return this
|
1883
|
-
}
|
1884
|
-
|
1885
|
-
}(jQuery);
|
1886
|
-
|
1887
|
-
/* ========================================================================
|
1888
|
-
* Bootstrap: scrollspy.js v3.3.7
|
1889
|
-
* http://getbootstrap.com/javascript/#scrollspy
|
1890
|
-
* ========================================================================
|
1891
|
-
* Copyright 2011-2016 Twitter, Inc.
|
1892
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
1893
|
-
* ======================================================================== */
|
1894
|
-
|
1895
|
-
|
1896
|
-
+function ($) {
|
1897
|
-
'use strict';
|
1898
|
-
|
1899
|
-
// SCROLLSPY CLASS DEFINITION
|
1900
|
-
// ==========================
|
1901
|
-
|
1902
|
-
function ScrollSpy(element, options) {
|
1903
|
-
this.$body = $(document.body)
|
1904
|
-
this.$scrollElement = $(element).is(document.body) ? $(window) : $(element)
|
1905
|
-
this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
|
1906
|
-
this.selector = (this.options.target || '') + ' .nav li > a'
|
1907
|
-
this.offsets = []
|
1908
|
-
this.targets = []
|
1909
|
-
this.activeTarget = null
|
1910
|
-
this.scrollHeight = 0
|
1911
|
-
|
1912
|
-
this.$scrollElement.on('scroll.bs.scrollspy', $.proxy(this.process, this))
|
1913
|
-
this.refresh()
|
1914
|
-
this.process()
|
1915
|
-
}
|
1916
|
-
|
1917
|
-
ScrollSpy.VERSION = '3.3.7'
|
1918
|
-
|
1919
|
-
ScrollSpy.DEFAULTS = {
|
1920
|
-
offset: 10
|
1921
|
-
}
|
1922
|
-
|
1923
|
-
ScrollSpy.prototype.getScrollHeight = function () {
|
1924
|
-
return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)
|
1925
|
-
}
|
1926
|
-
|
1927
|
-
ScrollSpy.prototype.refresh = function () {
|
1928
|
-
var that = this
|
1929
|
-
var offsetMethod = 'offset'
|
1930
|
-
var offsetBase = 0
|
1931
|
-
|
1932
|
-
this.offsets = []
|
1933
|
-
this.targets = []
|
1934
|
-
this.scrollHeight = this.getScrollHeight()
|
1935
|
-
|
1936
|
-
if (!$.isWindow(this.$scrollElement[0])) {
|
1937
|
-
offsetMethod = 'position'
|
1938
|
-
offsetBase = this.$scrollElement.scrollTop()
|
1939
|
-
}
|
1940
|
-
|
1941
|
-
this.$body
|
1942
|
-
.find(this.selector)
|
1943
|
-
.map(function () {
|
1944
|
-
var $el = $(this)
|
1945
|
-
var href = $el.data('target') || $el.attr('href')
|
1946
|
-
var $href = /^#./.test(href) && $(href)
|
1947
|
-
|
1948
|
-
return ($href
|
1949
|
-
&& $href.length
|
1950
|
-
&& $href.is(':visible')
|
1951
|
-
&& [[$href[offsetMethod]().top + offsetBase, href]]) || null
|
1952
|
-
})
|
1953
|
-
.sort(function (a, b) { return a[0] - b[0] })
|
1954
|
-
.each(function () {
|
1955
|
-
that.offsets.push(this[0])
|
1956
|
-
that.targets.push(this[1])
|
1957
|
-
})
|
1958
|
-
}
|
1959
|
-
|
1960
|
-
ScrollSpy.prototype.process = function () {
|
1961
|
-
var scrollTop = this.$scrollElement.scrollTop() + this.options.offset
|
1962
|
-
var scrollHeight = this.getScrollHeight()
|
1963
|
-
var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height()
|
1964
|
-
var offsets = this.offsets
|
1965
|
-
var targets = this.targets
|
1966
|
-
var activeTarget = this.activeTarget
|
1967
|
-
var i
|
1968
|
-
|
1969
|
-
if (this.scrollHeight != scrollHeight) {
|
1970
|
-
this.refresh()
|
1971
|
-
}
|
1972
|
-
|
1973
|
-
if (scrollTop >= maxScroll) {
|
1974
|
-
return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
|
1975
|
-
}
|
1976
|
-
|
1977
|
-
if (activeTarget && scrollTop < offsets[0]) {
|
1978
|
-
this.activeTarget = null
|
1979
|
-
return this.clear()
|
1980
|
-
}
|
1981
|
-
|
1982
|
-
for (i = offsets.length; i--;) {
|
1983
|
-
activeTarget != targets[i]
|
1984
|
-
&& scrollTop >= offsets[i]
|
1985
|
-
&& (offsets[i + 1] === undefined || scrollTop < offsets[i + 1])
|
1986
|
-
&& this.activate(targets[i])
|
1987
|
-
}
|
1988
|
-
}
|
1989
|
-
|
1990
|
-
ScrollSpy.prototype.activate = function (target) {
|
1991
|
-
this.activeTarget = target
|
1992
|
-
|
1993
|
-
this.clear()
|
1994
|
-
|
1995
|
-
var selector = this.selector +
|
1996
|
-
'[data-target="' + target + '"],' +
|
1997
|
-
this.selector + '[href="' + target + '"]'
|
1998
|
-
|
1999
|
-
var active = $(selector)
|
2000
|
-
.parents('li')
|
2001
|
-
.addClass('active')
|
2002
|
-
|
2003
|
-
if (active.parent('.dropdown-menu').length) {
|
2004
|
-
active = active
|
2005
|
-
.closest('li.dropdown')
|
2006
|
-
.addClass('active')
|
2007
|
-
}
|
2008
|
-
|
2009
|
-
active.trigger('activate.bs.scrollspy')
|
2010
|
-
}
|
2011
|
-
|
2012
|
-
ScrollSpy.prototype.clear = function () {
|
2013
|
-
$(this.selector)
|
2014
|
-
.parentsUntil(this.options.target, '.active')
|
2015
|
-
.removeClass('active')
|
2016
|
-
}
|
2017
|
-
|
2018
|
-
|
2019
|
-
// SCROLLSPY PLUGIN DEFINITION
|
2020
|
-
// ===========================
|
2021
|
-
|
2022
|
-
function Plugin(option) {
|
2023
|
-
return this.each(function () {
|
2024
|
-
var $this = $(this)
|
2025
|
-
var data = $this.data('bs.scrollspy')
|
2026
|
-
var options = typeof option == 'object' && option
|
2027
|
-
|
2028
|
-
if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))
|
2029
|
-
if (typeof option == 'string') data[option]()
|
2030
|
-
})
|
2031
|
-
}
|
2032
|
-
|
2033
|
-
var old = $.fn.scrollspy
|
2034
|
-
|
2035
|
-
$.fn.scrollspy = Plugin
|
2036
|
-
$.fn.scrollspy.Constructor = ScrollSpy
|
2037
|
-
|
2038
|
-
|
2039
|
-
// SCROLLSPY NO CONFLICT
|
2040
|
-
// =====================
|
2041
|
-
|
2042
|
-
$.fn.scrollspy.noConflict = function () {
|
2043
|
-
$.fn.scrollspy = old
|
2044
|
-
return this
|
2045
|
-
}
|
2046
|
-
|
2047
|
-
|
2048
|
-
// SCROLLSPY DATA-API
|
2049
|
-
// ==================
|
2050
|
-
|
2051
|
-
$(window).on('load.bs.scrollspy.data-api', function () {
|
2052
|
-
$('[data-spy="scroll"]').each(function () {
|
2053
|
-
var $spy = $(this)
|
2054
|
-
Plugin.call($spy, $spy.data())
|
2055
|
-
})
|
2056
|
-
})
|
2057
|
-
|
2058
|
-
}(jQuery);
|
2059
|
-
|
2060
|
-
/* ========================================================================
|
2061
|
-
* Bootstrap: tab.js v3.3.7
|
2062
|
-
* http://getbootstrap.com/javascript/#tabs
|
2063
|
-
* ========================================================================
|
2064
|
-
* Copyright 2011-2016 Twitter, Inc.
|
2065
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
2066
|
-
* ======================================================================== */
|
2067
|
-
|
2068
|
-
|
2069
|
-
+function ($) {
|
2070
|
-
'use strict';
|
2071
|
-
|
2072
|
-
// TAB CLASS DEFINITION
|
2073
|
-
// ====================
|
2074
|
-
|
2075
|
-
var Tab = function (element) {
|
2076
|
-
// jscs:disable requireDollarBeforejQueryAssignment
|
2077
|
-
this.element = $(element)
|
2078
|
-
// jscs:enable requireDollarBeforejQueryAssignment
|
2079
|
-
}
|
2080
|
-
|
2081
|
-
Tab.VERSION = '3.3.7'
|
2082
|
-
|
2083
|
-
Tab.TRANSITION_DURATION = 150
|
2084
|
-
|
2085
|
-
Tab.prototype.show = function () {
|
2086
|
-
var $this = this.element
|
2087
|
-
var $ul = $this.closest('ul:not(.dropdown-menu)')
|
2088
|
-
var selector = $this.data('target')
|
2089
|
-
|
2090
|
-
if (!selector) {
|
2091
|
-
selector = $this.attr('href')
|
2092
|
-
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
|
2093
|
-
}
|
2094
|
-
|
2095
|
-
if ($this.parent('li').hasClass('active')) return
|
2096
|
-
|
2097
|
-
var $previous = $ul.find('.active:last a')
|
2098
|
-
var hideEvent = $.Event('hide.bs.tab', {
|
2099
|
-
relatedTarget: $this[0]
|
2100
|
-
})
|
2101
|
-
var showEvent = $.Event('show.bs.tab', {
|
2102
|
-
relatedTarget: $previous[0]
|
2103
|
-
})
|
2104
|
-
|
2105
|
-
$previous.trigger(hideEvent)
|
2106
|
-
$this.trigger(showEvent)
|
2107
|
-
|
2108
|
-
if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return
|
2109
|
-
|
2110
|
-
var $target = $(selector)
|
2111
|
-
|
2112
|
-
this.activate($this.closest('li'), $ul)
|
2113
|
-
this.activate($target, $target.parent(), function () {
|
2114
|
-
$previous.trigger({
|
2115
|
-
type: 'hidden.bs.tab',
|
2116
|
-
relatedTarget: $this[0]
|
2117
|
-
})
|
2118
|
-
$this.trigger({
|
2119
|
-
type: 'shown.bs.tab',
|
2120
|
-
relatedTarget: $previous[0]
|
2121
|
-
})
|
2122
|
-
})
|
2123
|
-
}
|
2124
|
-
|
2125
|
-
Tab.prototype.activate = function (element, container, callback) {
|
2126
|
-
var $active = container.find('> .active')
|
2127
|
-
var transition = callback
|
2128
|
-
&& $.support.transition
|
2129
|
-
&& ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)
|
2130
|
-
|
2131
|
-
function next() {
|
2132
|
-
$active
|
2133
|
-
.removeClass('active')
|
2134
|
-
.find('> .dropdown-menu > .active')
|
2135
|
-
.removeClass('active')
|
2136
|
-
.end()
|
2137
|
-
.find('[data-toggle="tab"]')
|
2138
|
-
.attr('aria-expanded', false)
|
2139
|
-
|
2140
|
-
element
|
2141
|
-
.addClass('active')
|
2142
|
-
.find('[data-toggle="tab"]')
|
2143
|
-
.attr('aria-expanded', true)
|
2144
|
-
|
2145
|
-
if (transition) {
|
2146
|
-
element[0].offsetWidth // reflow for transition
|
2147
|
-
element.addClass('in')
|
2148
|
-
} else {
|
2149
|
-
element.removeClass('fade')
|
2150
|
-
}
|
2151
|
-
|
2152
|
-
if (element.parent('.dropdown-menu').length) {
|
2153
|
-
element
|
2154
|
-
.closest('li.dropdown')
|
2155
|
-
.addClass('active')
|
2156
|
-
.end()
|
2157
|
-
.find('[data-toggle="tab"]')
|
2158
|
-
.attr('aria-expanded', true)
|
2159
|
-
}
|
2160
|
-
|
2161
|
-
callback && callback()
|
2162
|
-
}
|
2163
|
-
|
2164
|
-
$active.length && transition ?
|
2165
|
-
$active
|
2166
|
-
.one('bsTransitionEnd', next)
|
2167
|
-
.emulateTransitionEnd(Tab.TRANSITION_DURATION) :
|
2168
|
-
next()
|
2169
|
-
|
2170
|
-
$active.removeClass('in')
|
2171
|
-
}
|
2172
|
-
|
2173
|
-
|
2174
|
-
// TAB PLUGIN DEFINITION
|
2175
|
-
// =====================
|
2176
|
-
|
2177
|
-
function Plugin(option) {
|
2178
|
-
return this.each(function () {
|
2179
|
-
var $this = $(this)
|
2180
|
-
var data = $this.data('bs.tab')
|
2181
|
-
|
2182
|
-
if (!data) $this.data('bs.tab', (data = new Tab(this)))
|
2183
|
-
if (typeof option == 'string') data[option]()
|
2184
|
-
})
|
2185
|
-
}
|
2186
|
-
|
2187
|
-
var old = $.fn.tab
|
2188
|
-
|
2189
|
-
$.fn.tab = Plugin
|
2190
|
-
$.fn.tab.Constructor = Tab
|
2191
|
-
|
2192
|
-
|
2193
|
-
// TAB NO CONFLICT
|
2194
|
-
// ===============
|
2195
|
-
|
2196
|
-
$.fn.tab.noConflict = function () {
|
2197
|
-
$.fn.tab = old
|
2198
|
-
return this
|
2199
|
-
}
|
2200
|
-
|
2201
|
-
|
2202
|
-
// TAB DATA-API
|
2203
|
-
// ============
|
2204
|
-
|
2205
|
-
var clickHandler = function (e) {
|
2206
|
-
e.preventDefault()
|
2207
|
-
Plugin.call($(this), 'show')
|
2208
|
-
}
|
2209
|
-
|
2210
|
-
$(document)
|
2211
|
-
.on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler)
|
2212
|
-
.on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler)
|
2213
|
-
|
2214
|
-
}(jQuery);
|
2215
|
-
|
2216
|
-
/* ========================================================================
|
2217
|
-
* Bootstrap: affix.js v3.3.7
|
2218
|
-
* http://getbootstrap.com/javascript/#affix
|
2219
|
-
* ========================================================================
|
2220
|
-
* Copyright 2011-2016 Twitter, Inc.
|
2221
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
2222
|
-
* ======================================================================== */
|
2223
|
-
|
2224
|
-
|
2225
|
-
+function ($) {
|
2226
|
-
'use strict';
|
2227
|
-
|
2228
|
-
// AFFIX CLASS DEFINITION
|
2229
|
-
// ======================
|
2230
|
-
|
2231
|
-
var Affix = function (element, options) {
|
2232
|
-
this.options = $.extend({}, Affix.DEFAULTS, options)
|
2233
|
-
|
2234
|
-
this.$target = $(this.options.target)
|
2235
|
-
.on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))
|
2236
|
-
.on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))
|
2237
|
-
|
2238
|
-
this.$element = $(element)
|
2239
|
-
this.affixed = null
|
2240
|
-
this.unpin = null
|
2241
|
-
this.pinnedOffset = null
|
2242
|
-
|
2243
|
-
this.checkPosition()
|
2244
|
-
}
|
2245
|
-
|
2246
|
-
Affix.VERSION = '3.3.7'
|
2247
|
-
|
2248
|
-
Affix.RESET = 'affix affix-top affix-bottom'
|
2249
|
-
|
2250
|
-
Affix.DEFAULTS = {
|
2251
|
-
offset: 0,
|
2252
|
-
target: window
|
2253
|
-
}
|
2254
|
-
|
2255
|
-
Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) {
|
2256
|
-
var scrollTop = this.$target.scrollTop()
|
2257
|
-
var position = this.$element.offset()
|
2258
|
-
var targetHeight = this.$target.height()
|
2259
|
-
|
2260
|
-
if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false
|
2261
|
-
|
2262
|
-
if (this.affixed == 'bottom') {
|
2263
|
-
if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom'
|
2264
|
-
return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom'
|
2265
|
-
}
|
2266
|
-
|
2267
|
-
var initializing = this.affixed == null
|
2268
|
-
var colliderTop = initializing ? scrollTop : position.top
|
2269
|
-
var colliderHeight = initializing ? targetHeight : height
|
2270
|
-
|
2271
|
-
if (offsetTop != null && scrollTop <= offsetTop) return 'top'
|
2272
|
-
if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom'
|
2273
|
-
|
2274
|
-
return false
|
2275
|
-
}
|
2276
|
-
|
2277
|
-
Affix.prototype.getPinnedOffset = function () {
|
2278
|
-
if (this.pinnedOffset) return this.pinnedOffset
|
2279
|
-
this.$element.removeClass(Affix.RESET).addClass('affix')
|
2280
|
-
var scrollTop = this.$target.scrollTop()
|
2281
|
-
var position = this.$element.offset()
|
2282
|
-
return (this.pinnedOffset = position.top - scrollTop)
|
2283
|
-
}
|
2284
|
-
|
2285
|
-
Affix.prototype.checkPositionWithEventLoop = function () {
|
2286
|
-
setTimeout($.proxy(this.checkPosition, this), 1)
|
2287
|
-
}
|
2288
|
-
|
2289
|
-
Affix.prototype.checkPosition = function () {
|
2290
|
-
if (!this.$element.is(':visible')) return
|
2291
|
-
|
2292
|
-
var height = this.$element.height()
|
2293
|
-
var offset = this.options.offset
|
2294
|
-
var offsetTop = offset.top
|
2295
|
-
var offsetBottom = offset.bottom
|
2296
|
-
var scrollHeight = Math.max($(document).height(), $(document.body).height())
|
2297
|
-
|
2298
|
-
if (typeof offset != 'object') offsetBottom = offsetTop = offset
|
2299
|
-
if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)
|
2300
|
-
if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)
|
2301
|
-
|
2302
|
-
var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom)
|
2303
|
-
|
2304
|
-
if (this.affixed != affix) {
|
2305
|
-
if (this.unpin != null) this.$element.css('top', '')
|
2306
|
-
|
2307
|
-
var affixType = 'affix' + (affix ? '-' + affix : '')
|
2308
|
-
var e = $.Event(affixType + '.bs.affix')
|
2309
|
-
|
2310
|
-
this.$element.trigger(e)
|
2311
|
-
|
2312
|
-
if (e.isDefaultPrevented()) return
|
2313
|
-
|
2314
|
-
this.affixed = affix
|
2315
|
-
this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null
|
2316
|
-
|
2317
|
-
this.$element
|
2318
|
-
.removeClass(Affix.RESET)
|
2319
|
-
.addClass(affixType)
|
2320
|
-
.trigger(affixType.replace('affix', 'affixed') + '.bs.affix')
|
2321
|
-
}
|
2322
|
-
|
2323
|
-
if (affix == 'bottom') {
|
2324
|
-
this.$element.offset({
|
2325
|
-
top: scrollHeight - height - offsetBottom
|
2326
|
-
})
|
2327
|
-
}
|
2328
|
-
}
|
2329
|
-
|
2330
|
-
|
2331
|
-
// AFFIX PLUGIN DEFINITION
|
2332
|
-
// =======================
|
2333
|
-
|
2334
|
-
function Plugin(option) {
|
2335
|
-
return this.each(function () {
|
2336
|
-
var $this = $(this)
|
2337
|
-
var data = $this.data('bs.affix')
|
2338
|
-
var options = typeof option == 'object' && option
|
2339
|
-
|
2340
|
-
if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
|
2341
|
-
if (typeof option == 'string') data[option]()
|
2342
|
-
})
|
2343
|
-
}
|
2344
|
-
|
2345
|
-
var old = $.fn.affix
|
2346
|
-
|
2347
|
-
$.fn.affix = Plugin
|
2348
|
-
$.fn.affix.Constructor = Affix
|
2349
|
-
|
2350
|
-
|
2351
|
-
// AFFIX NO CONFLICT
|
2352
|
-
// =================
|
2353
|
-
|
2354
|
-
$.fn.affix.noConflict = function () {
|
2355
|
-
$.fn.affix = old
|
2356
|
-
return this
|
2357
|
-
}
|
2358
|
-
|
2359
|
-
|
2360
|
-
// AFFIX DATA-API
|
2361
|
-
// ==============
|
2362
|
-
|
2363
|
-
$(window).on('load', function () {
|
2364
|
-
$('[data-spy="affix"]').each(function () {
|
2365
|
-
var $spy = $(this)
|
2366
|
-
var data = $spy.data()
|
2367
|
-
|
2368
|
-
data.offset = data.offset || {}
|
2369
|
-
|
2370
|
-
if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom
|
2371
|
-
if (data.offsetTop != null) data.offset.top = data.offsetTop
|
2372
|
-
|
2373
|
-
Plugin.call($spy, data)
|
2374
|
-
})
|
2375
|
-
})
|
2376
|
-
|
2377
|
-
}(jQuery);
|