date_picker 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/date_picker/form_tag_helper.rb +6 -8
- data/lib/date_picker/styles/bootstrap.rb +5 -3
- data/lib/date_picker/version.rb +1 -1
- data/test/date_picker_test.rb +1 -1
- data/test/dummy/app/views/events/_form.html.erb +7 -1
- data/test/dummy/bower.json +3 -1
- data/test/dummy/config/application.rb +1 -1
- data/test/dummy/config/locales/de.yml +25 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +7548 -0
- data/test/dummy/log/test.log +53 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-8O4y3ggFiCS6l2ghfLx5jNhbai_agGSwvfw5E_nJxQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-f9DWVDMmQefFSDt3w15NNkm5qhvtdv7tX6ooxX2zxI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0zlJMBhKmu2vTsTh22HNGBzzmrz2BbkHoX7Bh-GA1FA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1XpURRZplXvYz9QRtLNTxNtDNicIljEaZb1cDSFv2yM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/24GlbirhuBMtq5hQzhqV2Ilf1Ev8Yls56Tfd6eOfIrA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3Z8xnNl9CvkMrB_dJ80avERt0Z-X6QGLZ3A2UBj2BrE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3cDPl6PTkPKsB0zdEXtAm7Fb76RFeoxAsu9Kt350OAo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3cp1ZHjyynbgOQZ0EUfQi24MaYyMRKSTQXfYWVComzg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3k9SVw7U9eDuL5ifC76tTIyy9ilfd1t6y8NiyDscuf0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3tWDgQRBSflnIKdtBmjqAYO6r8efxsfw5TdqKkIzOHE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3xcZe3mCzNkXedWyMjE0nMShsE8pATwd4Uh86cgou1s.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4J-csYAoBFMk9r8FNykt21jL7yxmlrGFJ_0tkn724-k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/60DImw8_vLj-GS_eapLxMy8XseVPyWLsKMq6vwXEIiU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6_XR-Ji3qhTT9pMPXWVNWqVpPqUVen7je6wBvVtzcho.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8Gla90O5DBD8XC5MkUovJCnOEjKEzhmEJu9YQeRqCkQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8HJegO8w1N1Q0bkS5ytzhlfIf282A-j0KsT5HCr-hWE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8Y5o1B5h76ega_UN-kzeK6J8E_luB_I_jkbZ6xTwYqw.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8bNflCb70VFtLkhKgmfwToXf4lGQMC_v84krWLs1ZxQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9BKgxSB7mo33TdAqXUQPNHZi7WTN7BCs-mn2Miew7No.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9JGo0_oO3xpvtpQaC5LFkfdsgmnVwAGUykUf31_C_FA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9b3K1dsznJBDoQDqx1BX6j4Of36xhNgo-s9jWckfP-A.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9vLdecjoDCWzBMeglad75P98Ba7Hq19mjhcwuYPAmH8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/A4O74qFpxGHzHQqj9bKmjCi7ua1GfSwglfwRcxWwRuA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BBtzneBZJHY_6PR0T-pycx_1SdaGLtK_owvfyAntdhQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BLMMn6WgXsOlHMbr_HD9RUGOZiO5vLHgqC-Ct1PqiEk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BjrLi-Lz5u1SonV2i1RxGZLcfVGoiWPwnFH1BAgnkxM.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BpjsLldPl9ePUjrXxljqf_hInXfDlsDVOJ84YMTuX2Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BqmRx-MHVYpDBIkuIgM4FNTVIiLBzPsXlcHAo9hXuhA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/C308wuv9b9KYxwxJWy170pboOkJLmaSe1t1C4egeFsI.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CK3buEyfWgn85lpjn_t4kPYdOdCsUQz-Hrr4BgRUwQ4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CuCkvu3Jeo5ACaIKWJrFEzVZB8fJ_WiHRTx2l9VgdiI.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DILp9t2I7gWHM4Pg0SVykxsJahUXYw56tA0m5WMzBgk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FUr483UlzOLGZIFj9ac9ZX7Dn5BpVWL8DkMRIFwlIfg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Fs9_IHkeyf7GH2s3YUqHuK-faomeogV1k4BcBYVqN6Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Gh3kCIZ697-bjRUQj0qPNZi_1s10p3tGA0kmxb_6ROc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/HLVHx_AitG-r1VEiC8q1o_T6qeuWrlPTJZEUHQyht6c.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Jl72Zt-Z70pEOb1nCYRZxRh2T0WwxiuXHDZoM_d-Bys.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JoTYRw-PybCFOzpQ17g3IrpRjDWWqQ81gDRihYwFRcc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Jz9Lem-NdLiV9dyryNBakNfJlaM23-TQH8w2Pehu138.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KSSV-U3BRH11y7AYH6cpBIzekvdv2RGE09_XdHrYv5s.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KqZ2q92hIfQUl3GnW8CqRVHCKheexmreTl0apZHM8UI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Lz99fLjXkuH6q9R892qYaIMb5993zrXkbSYtA5lEeS4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MYDV3QvTQrwKeNSlM8ToNaxyEiB8gVa0KzKNCY_hOzc.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MaXmK6cb7Bx1FCpFJP-I0BqQruYTnTzppLSPcXnPUvo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MhHWcd8OSJUsTgkCF6fjEkBNCzY61DulY9HN3ujVC3o.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NF6mdbz0q1g__BVMvMBRVywdq5RVViHSuWa0LdanMrM.cache +4 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NQijxdRa7AgvdyBAXd0fTbhlRV0w39r0kbwnJJ0XgKU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/O9Gy8UQxcmZhq-IXr6vZTnsdtCcN1dzcf4OdNkD-M_w.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Obtf5KUGBNJmL81c6qS85hOgRlaw5dxus2x2gPrc_ZE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PB830Q15xKwu2t1G3_NHiFM29G0fRlJrg72VE5u8yj4.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PQIPUFfEbEE7aX0flnscwetnEfd9OB13YLMVbel8008.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PdZ5Vs1iZd77I9-bGbqLQnoGLSjzvvlVAPlZ0nWHwHo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Q2KLUe6DVaRnlMW6XCiur0AFrcyzmjpBxv2MO3uE_0M.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Q2rDDQ6ocbRrhvsnU0RKuvX3YyvfWPAn3vKcJBVfAnI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QK8O3pS2Jb2qPJ-iJ6lW4WIc8eQlcIUNnodA10UDOGo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/R0Lkjgl0uKryOMaQ0Tzf-TUoqkKvNeMMV0W9biwdbas.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RQTkpFIOSqMhRZMJNGOmwY3o1_OpRZO89VrvKiR9bNI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RdNKkePVAXRsJV6-m-R4t80fQLNdzFcLaC70FxAMCi0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SFeahljjYr8f5Tg3kP3dTw9kF0z4nHUgUKAT074-PZY.cache +4 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SGOoYGD3GXmXfS8XQKNXMl7WVbFcR9wob-D-2ys-nPI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SR1wknvQIEbYT4BYyiDGnTJLG7q7avAS6DroliBv0yE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TmGulbzd8gSTImhLSpuFV6EatPXBorzL9poqiWrtIpU.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UDRMcPCBVMnweRpk2tGSdTIVADJepObiSHfZ2DfashI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UqNvwyvUC3aVfDxaNioW-yCAfpZ8jnpvtPOkUeJD3eg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/V8KUFs4dl_-NGILaekUOFgxw2JY7_1ZgvVqynZ1CpB4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vi1BUwU5-mE7HlilaXhG_dpnRGnBz7R_HIK9UhnaeOY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vklyj4FsNBpztN-p7tTLRRaahcINR8vVS09D7gi5DMw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/VtmmXvomtABaCeHM93t4NEseebW9dSNeA5cEyS3Af40.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WfSk-P5vx3b3d8gWdNmH4BI6rHnskkavagk3X9Aogzs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Wfp-4QANT1bfhxgiibtXxIfVeL7PJEIq1MGWaaws2N0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XSfbbYsWtJwypHi89U1bfSIZEyegYJf-5oDWSLGaZmA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Y-36mIYz7K5IYk4ID9OgRSGUK9Zhmu69LbxfnuUrWx8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZYvKNKkiia3C97DvaOdVaAbJgdns_waHuG7EYj1RP2M.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Z_yKuBUYtzXtrctNQo8QToEg_JzOyyxOtMF3rJxc2y0.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_FBWUqJqfCgoRSXkaoktBE0oMOHcSUvduSCj2B0opsg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_iwslT0f8QN95KnYR6CNi5U_eAab8Gz-0_EI_3btpiI.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a0N1UQXZpzX_filUutCuja_HgoQEwkBL0to5oMleB-k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/a5_6hc5lPOLYmBtwRWnsqkgC_-XDBBxLu6qT4plQzjc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bVvNsjPFB5G_h33Qjx-y8L-pWXWpHWOH_afs3hIoChg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bYudJ58NQOvUj3zIa3sA_njeSuOgMmUk278q6GNcX_s.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bd1tr9XDUCQF8aIK8f6nWK-2tOV7H6-OspX83eEo-ys.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/brxG22gqmq7pYyioKiT8fIRQAKwmYnLz7kRuCgRA4I4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/buVfBh11_A1bTMWTSFpTeTRWa29CXAXCaRLlaIlqnzY.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/c9X_ULEajrC9zVkfHfawIWXEMFAsojFsaRH3LYLVkBE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cc9SCNOyBL9zQabXOFAwymxrVXXqNYOLkR3gHqDDD7E.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/czBt-vYOxNHRt9rHM-acZiB1zK6YQPQrN83va7QXkXs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/e84IQQ_PDYkCQLaFwEn-BuSDxFefWxUvM5_i7RqOp5Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eEMP73MQFBOXLaQy1jpKFMnASFdC54Pq9cQc8gUVfuc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fVJwubwXFiysTnpkML5bY2m3HWcvf2Jrs62NWucHS9Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g-nVjVnlp6S9yFxrQHrXztZc_Sd0gy-F_V1sMRuQAgQ.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g0t8r5brGIlh4rPvOe5pl3TJ-2ens0erYZmEWHcJKnk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g9HztOdoQIGG4o1d5QcZ2j8tKmXGJ59fq8JDFlPIm7w.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gHIHRkP9KOyMAN-fmwL-yrOzUeFOnX1_HOw0iGdvqpQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gV_HOGVndEexVaRaN43hDYnZRjFbKVgKkdbXtU7b0Rs.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gXIqypbuCPBYVAngi0_uAkmFBUaSjO_576wuUGYkFZI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gmxgmvmfJZSsClEZW_Q8FBKBlzMxA9tQCS_HE5C2WG0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gv3vLdJaBO4yfP3MARPVKkqoGG5Nf_EO3xqalVglb0k.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/h4p5PWuUgqM0XiRx5RpR1wRBim6pS1R4IbebL4wRYas.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hIk1IbOpvMqqLDZI71ilM_d46VlvC00rT1Qmgx63V2E.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hZH5UdM7h2ds4DjIAba38pHEg4lwAj3N1CGaOtbtRbg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i-9lVfwhv2T6x0FCEU0LXvKAI1SiV3sgLILbo7qMk7M.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i9KFCgI-wFL4sUDyZvTLPZHcEG1QPXSKYmHR1L7Al9k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iU8bFZigipY0VTXDupaNfeEYWXggqjVFwhA73bNnV6A.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i_rkUPFCl662aQV_ToZBfAhU3TldbvV-BdANe7LtDzE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iaFuob7KOJeFZNWIH_Cg9yXUyWQbrnUsviqFDlMVtno.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jFH5Zor-Nk8IWfIF8ARAsSaKRFsxew7oIghgtQOeqPg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jazk3C2PL5GA4iB4RPp2rjopAFBpeVmz9YIUlCNfUZQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k_6_E39Fbrrm8gXSM4g_jn1SXl6PW0OmZVJNHAw4gX0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ktEdvRowtjkYUiyhscTON8BCGLXjPSNQjTDgQ26-gxk.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/l5rARDMpLXvDCJUs5Z2_MhQGxPu7tTFIHi56ETkFBUs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lMFEMdDY3pQNj0SndXwq1TWJvRWmYTZuf_-vem5Qc-A.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/l_868lTbFLSAuY9wb8i7SK3VSHYAH5--6SzigH7o_LI.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lf2qq90kraNfS6BANybjI90sG5Ffgl1V7QkkanhBDkw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lhGtomNmls_7dWlloeghf533VnVvzdJGu2l40zovnK0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ls2uanW--NmFa73nm25bqGT6YjOhv4Obe0gQgX3aj44.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lyb5sE8Kx_VD44GEywtEEZJMF9F7XFkyEJEZIrs7jEE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/m4K7V_ayYBBS3lSbOpajng7wprQKcA4MbjgK5hcAKA8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mbNi1zDMCTRJNvdx0elM7eg7sG2iD1lDwLQkQfPlSEE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/n7JI3B8GArysdoQ9sJ6Yks9LPVm-LVPXOFL16Dss1us.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nuSfSDIWohqxJjgPkC__yFyAN33eb_z4nxePnzAj7H4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ny48GJC10WXxO2k_jef7U9ilETyMsu5FpArp8YEWHVk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nz7VHQVkCBnxYuNeBaUiIKdalHfrvLKDtkkli3qE57k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/o0p99xItzB4VOS_76lokZlvMDDtVIn7j-1iUb3kClHA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/odXdjGzmrY1I1KsCjHK5dSXMR-KFPIa57807UHbH_lI.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/py-50N8JV8fW06AkQyHjFziT8tFQ9cyZXkO68OLg8FY.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/q7IhSJmPr4XYN7bRTJydDdWeGSBStPXCsWwzAdRDHD8.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qCOSGD7xiX9-kteobcTp66_qXwo9QHRjMWJl-Qw9StA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qrKLw4Q7NkMvRWgulVSe0Kj_KKxhy671Aaalr-DUE_k.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qvRHbSFQ9VDD-JItDCFVlL1Mvmm26bXsSWtS1U87W9I.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/qxZhpbIyOii2JGS53PxEluN8YBInSBss3g-JrdNgPPQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rxQc-Da-9M09OGyU296gIdlPPyTKUmV4KiVQ63Yx23I.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/sOcoa0VB6ARE3CwAF7kYRVCSnbWcIdBomnA8pGHYm-4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/slmEfg4in_kWb9A6oVY7TkAO3f62TNWeb3h4vtLQfcU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tCT50N5Do922cFkvSMCG7vKRHZCExNRWIkZD8NzLN6A.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tZ7h37lmYVkCeLKVHSLM8-sVUeZSbyZ_PqbNRCSzYHA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/t_RDkU91l12URIZKRcF-hLanzoBVaG7Pi6qURaxdqYs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tcY6IFGUDaT9KmDhBeR0RdIr3Ed-VYhQiB7iytLlZu4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uWXKfyOWFxNF1L6l2JgRdfmXZnyCEiU321YAB3wEbtc.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ucbZp464hD75mlyMdSwKeF-a-thTGRZ7THKF1SYZfYA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uuIcKYWUaGhBUUfnAntK6fnjC4i5l03giUT_wmCycZw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/v1UmYJ7PkH0Ssdd9SZhuXshj3pttgN5UQ11pWVetnQc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vmwuvvOYLAyd84b0m1AbA3SgZe4caQhjZ9V46RXEeDg.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/w3QfyLfuKDoiuR2gC1enoQ1nEIRQZ6pFUbKSbanS6Uw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wRJA55IL-4AIoAxqO6XMVJR8ekmLIXSne2yX0qcSIEE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xXsiV0MYcgdOWTftYrEED0Amz65HDjoKT75l9TwJrIE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xmTYhndaOC_PRB6RVAstS9XCMwlgAspAJJGpuCUMQDg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xpn5l5da7G2TbW372NK2JTdbXGsKlHB01g6s2TTt1oo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yRjeulc3ZS_4eVw4cM0RKkVAUxRpcllyheRFC0da1Rs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z0tBQnKRTnwBuuViUrZbkFeXR_lIziIeL6i-PY9mH6o.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z28u48LbS2VjftnbUy-XPJIMUJ1bUii253vK00Wb4Ws.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z6IgqnYyw9bfqQs-4nEt6MEHZd23cvpMqtv2uCyV59U.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zEVQeKm2isr6lCET0roS4JjlhUoe99MamB080eOtSTc.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zWCGKXOngOYarRrijlIxsjj3_Cy7_5Ns4OXQF-V2hP4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zsYBQ3-U4eYcrR2ovZXchbRnYrLRbIngl-q1loSpZUE.cache +2 -0
- data/test/dummy/vendor/assets/components/bootstrap/Gruntfile.js +38 -18
- data/test/dummy/vendor/assets/components/bootstrap/README.md +13 -10
- data/test/dummy/vendor/assets/components/bootstrap/bower.json +3 -8
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.css +125 -14
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.css.map +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.min.css +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap.css +292 -76
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap.css.map +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/dist/css/bootstrap.min.css +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/dist/js/bootstrap.js +143 -97
- data/test/dummy/vendor/assets/components/bootstrap/dist/js/bootstrap.min.js +4 -4
- data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-commonjs-generator.js +9 -2
- data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-glyphicons-data-generator.js +4 -3
- data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-lessdoc-parser.js +6 -7
- data/test/dummy/vendor/assets/components/bootstrap/grunt/bs-raw-files-generator.js +6 -8
- data/test/dummy/vendor/assets/components/bootstrap/grunt/configBridge.json +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/grunt/sauce_browsers.yml +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/js/affix.js +3 -3
- data/test/dummy/vendor/assets/components/bootstrap/js/alert.js +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/js/button.js +13 -9
- data/test/dummy/vendor/assets/components/bootstrap/js/carousel.js +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/js/collapse.js +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/js/dropdown.js +46 -42
- data/test/dummy/vendor/assets/components/bootstrap/js/modal.js +5 -7
- data/test/dummy/vendor/assets/components/bootstrap/js/popover.js +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/js/scrollspy.js +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/js/tab.js +5 -3
- data/test/dummy/vendor/assets/components/bootstrap/js/tooltip.js +58 -20
- data/test/dummy/vendor/assets/components/bootstrap/js/transition.js +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/badges.less +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/bootstrap.less +6 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/button-groups.less +3 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/buttons.less +11 -5
- data/test/dummy/vendor/assets/components/bootstrap/less/carousel.less +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/dropdowns.less +3 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/forms.less +44 -11
- data/test/dummy/vendor/assets/components/bootstrap/less/input-groups.less +1 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/jumbotron.less +5 -3
- data/test/dummy/vendor/assets/components/bootstrap/less/list-group.less +9 -3
- data/test/dummy/vendor/assets/components/bootstrap/less/media.less +5 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins.less +1 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/background-variant.less +2 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/buttons.less +18 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/grid-framework.less +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/grid.less +2 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/hide-text.less +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/list-group.less +2 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/pagination.less +2 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/reset-text.less +18 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/responsive-visibility.less +1 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/mixins/text-emphasis.less +2 -1
- data/test/dummy/vendor/assets/components/bootstrap/less/normalize.less +8 -11
- data/test/dummy/vendor/assets/components/bootstrap/less/pagination.less +3 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/panels.less +6 -0
- data/test/dummy/vendor/assets/components/bootstrap/less/popovers.less +4 -8
- data/test/dummy/vendor/assets/components/bootstrap/less/print.less +0 -6
- data/test/dummy/vendor/assets/components/bootstrap/less/scaffolding.less +1 -2
- data/test/dummy/vendor/assets/components/bootstrap/less/theme.less +23 -5
- data/test/dummy/vendor/assets/components/bootstrap/less/tooltip.less +4 -5
- data/test/dummy/vendor/assets/components/bootstrap/less/variables.less +7 -1
- data/test/dummy/vendor/assets/components/bootstrap/package.js +5 -2
- data/test/dummy/vendor/assets/components/bootstrap/package.json +26 -32
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +1 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/Gruntfile.js +42 -45
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/README.md +11 -4
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/bower.json +3 -2
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css +103 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +3 -2
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +2 -369
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +3 -4
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/component.json +1 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/composer.json +1 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/ChangeLog.md +222 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/ContributorsGuide.md +126 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Events.md +96 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Extras.md +95 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/FAQ.md +22 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Functions.md +670 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Installing.md +161 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Options.md +473 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Version 4 Changelog.md +6 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/Version 4 Contributors guide.md +6 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/index.md +592 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/mkdocs.yml +17 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/package.json +41 -41
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +189 -64
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less +3 -2
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +1 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +6 -2
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +8 -4
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/nuget/install.ps1 +1 -1
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +11 -11
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/tasks/bump_version.js +7 -7
- data/test/dummy/vendor/assets/components/jquery/bower.json +2 -1
- data/test/dummy/vendor/assets/components/jquery/dist/jquery.js +9 -4
- data/test/dummy/vendor/assets/components/jquery/dist/jquery.min.js +4 -4
- data/test/dummy/vendor/assets/components/jquery/dist/jquery.min.map +1 -1
- data/test/dummy/vendor/assets/components/jquery/src/core.js +6 -1
- data/test/dummy/vendor/assets/components/moment-timezone/LICENSE +20 -0
- data/test/dummy/vendor/assets/components/moment-timezone/README.md +36 -0
- data/test/dummy/vendor/assets/components/moment-timezone/bower.json +19 -0
- data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data-2010-2020.js +1015 -0
- data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data-2010-2020.min.js +6 -0
- data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data.js +1015 -0
- data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone-with-data.min.js +7 -0
- data/test/dummy/vendor/assets/components/moment-timezone/builds/moment-timezone.min.js +6 -0
- data/test/dummy/vendor/assets/components/moment-timezone/changelog.md +82 -0
- data/test/dummy/vendor/assets/components/moment-timezone/composer.json +43 -0
- data/test/dummy/vendor/assets/components/moment-timezone/data/meta/latest.json +5012 -0
- data/test/dummy/vendor/assets/components/moment-timezone/data/packed/latest.json +589 -0
- data/test/dummy/vendor/assets/components/moment-timezone/data/unpacked/latest.json +123054 -0
- data/test/dummy/vendor/assets/components/moment-timezone/moment-timezone-utils.js +288 -0
- data/test/dummy/vendor/assets/components/moment-timezone/moment-timezone.js +426 -0
- data/test/dummy/vendor/assets/components/moment/CHANGELOG.md +24 -0
- data/test/dummy/vendor/assets/components/moment/LICENSE +1 -1
- data/test/dummy/vendor/assets/components/moment/README.md +3 -0
- data/test/dummy/vendor/assets/components/moment/bower.json +6 -4
- data/test/dummy/vendor/assets/components/moment/locale/af.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ar-ma.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ar-sa.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/ar-tn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ar.js +4 -4
- data/test/dummy/vendor/assets/components/moment/locale/az.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/be.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/bg.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/bn.js +4 -4
- data/test/dummy/vendor/assets/components/moment/locale/bo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/br.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/bs.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ca.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/cs.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/cv.js +23 -23
- data/test/dummy/vendor/assets/components/moment/locale/cy.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/da.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/de-at.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/de.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/el.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/en-au.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/en-ca.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/en-gb.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/eo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/es.js +8 -8
- data/test/dummy/vendor/assets/components/moment/locale/et.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/eu.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/fa.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/fi.js +4 -4
- data/test/dummy/vendor/assets/components/moment/locale/fo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/fr-ca.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/fr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/fy.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/gl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/he.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/hi.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/hr.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/hu.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/hy-am.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/id.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/is.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/it.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ja.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/jv.js +82 -0
- data/test/dummy/vendor/assets/components/moment/locale/ka.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/km.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ko.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/lb.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/lt.js +16 -6
- data/test/dummy/vendor/assets/components/moment/locale/lv.js +36 -19
- data/test/dummy/vendor/assets/components/moment/locale/me.js +108 -0
- data/test/dummy/vendor/assets/components/moment/locale/mk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ml.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/mr.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/ms-my.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ms.js +81 -0
- data/test/dummy/vendor/assets/components/moment/locale/my.js +5 -4
- data/test/dummy/vendor/assets/components/moment/locale/nb.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/ne.js +2 -2
- data/test/dummy/vendor/assets/components/moment/locale/nl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/nn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/pl.js +9 -4
- data/test/dummy/vendor/assets/components/moment/locale/pt-br.js +9 -9
- data/test/dummy/vendor/assets/components/moment/locale/pt.js +8 -8
- data/test/dummy/vendor/assets/components/moment/locale/ro.js +1 -1
- data/test/dummy/vendor/assets/components/moment/locale/ru.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/si.js +64 -0
- data/test/dummy/vendor/assets/components/moment/locale/sk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/sl.js +52 -39
- data/test/dummy/vendor/assets/components/moment/locale/sq.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/sr-cyrl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/sr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/sv.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/ta.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/th.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/tl-ph.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/tr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/tzl.js +84 -0
- data/test/dummy/vendor/assets/components/moment/locale/tzm-latn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/tzm.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/uk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/uz.js +3 -3
- data/test/dummy/vendor/assets/components/moment/locale/vi.js +5 -5
- data/test/dummy/vendor/assets/components/moment/locale/zh-cn.js +15 -15
- data/test/dummy/vendor/assets/components/moment/locale/zh-tw.js +5 -5
- data/test/dummy/vendor/assets/components/moment/min/locales.js +759 -344
- data/test/dummy/vendor/assets/components/moment/min/locales.min.js +14 -13
- data/test/dummy/vendor/assets/components/moment/min/moment-with-locales.js +1060 -532
- data/test/dummy/vendor/assets/components/moment/min/moment-with-locales.min.js +21 -20
- data/test/dummy/vendor/assets/components/moment/min/moment.min.js +3 -3
- data/test/dummy/vendor/assets/components/moment/min/tests.js +3573 -1245
- data/test/dummy/vendor/assets/components/moment/moment.js +300 -188
- data/test/dummy/vendor/assets/components/moment/src/lib/create/check-overflow.js +4 -3
- data/test/dummy/vendor/assets/components/moment/src/lib/create/from-anything.js +15 -12
- data/test/dummy/vendor/assets/components/moment/src/lib/create/from-array.js +2 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/create/from-string-and-array.js +5 -6
- data/test/dummy/vendor/assets/components/moment/src/lib/create/from-string-and-format.js +12 -9
- data/test/dummy/vendor/assets/components/moment/src/lib/create/from-string.js +5 -4
- data/test/dummy/vendor/assets/components/moment/src/lib/create/{default-parsing-flags.js → parsing-flags.js} +8 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/create/valid.js +14 -11
- data/test/dummy/vendor/assets/components/moment/src/lib/duration/as.js +9 -9
- data/test/dummy/vendor/assets/components/moment/src/lib/duration/bubble.js +23 -16
- data/test/dummy/vendor/assets/components/moment/src/lib/duration/iso-string.js +30 -6
- data/test/dummy/vendor/assets/components/moment/src/lib/format/format.js +2 -5
- data/test/dummy/vendor/assets/components/moment/src/lib/locale/formats.js +13 -9
- data/test/dummy/vendor/assets/components/moment/src/lib/locale/locales.js +1 -3
- data/test/dummy/vendor/assets/components/moment/src/lib/locale/set.js +1 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/calendar.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/constructor.js +4 -3
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/from.js +3 -0
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/min-max.js +1 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/prototype.js +5 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/to-type.js +13 -0
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/to.js +13 -0
- data/test/dummy/vendor/assets/components/moment/src/lib/moment/valid.js +3 -2
- data/test/dummy/vendor/assets/components/moment/src/lib/parse/regex.js +8 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/units/day-of-week.js +16 -15
- data/test/dummy/vendor/assets/components/moment/src/lib/units/day-of-year.js +9 -9
- data/test/dummy/vendor/assets/components/moment/src/lib/units/hour.js +2 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/units/millisecond.js +30 -8
- data/test/dummy/vendor/assets/components/moment/src/lib/units/month.js +2 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/units/offset.js +19 -12
- data/test/dummy/vendor/assets/components/moment/src/lib/units/year.js +4 -2
- data/test/dummy/vendor/assets/components/moment/src/lib/utils/abs-ceil.js +7 -0
- data/test/dummy/vendor/assets/components/moment/src/lib/utils/deprecate.js +2 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/utils/is-date.js +1 -1
- data/test/dummy/vendor/assets/components/moment/src/lib/utils/to-int.js +3 -5
- data/test/dummy/vendor/assets/components/moment/src/lib/utils/zero-fill.js +4 -6
- data/test/dummy/vendor/assets/components/moment/src/locale/af.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ar-ma.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ar-sa.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/ar-tn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ar.js +4 -4
- data/test/dummy/vendor/assets/components/moment/src/locale/az.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/be.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/bg.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/bn.js +4 -4
- data/test/dummy/vendor/assets/components/moment/src/locale/bo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/br.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/bs.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ca.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/cs.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/cv.js +23 -24
- data/test/dummy/vendor/assets/components/moment/src/locale/cy.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/da.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/de-at.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/de.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/el.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/en-au.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/en-ca.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/en-gb.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/eo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/es.js +8 -8
- data/test/dummy/vendor/assets/components/moment/src/locale/et.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/eu.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/fa.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/fi.js +4 -4
- data/test/dummy/vendor/assets/components/moment/src/locale/fo.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/fr-ca.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/fr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/fy.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/gl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/he.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/hi.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/hr.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/hu.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/hy-am.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/id.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/is.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/it.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ja.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/jv.js +73 -0
- data/test/dummy/vendor/assets/components/moment/src/locale/ka.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/km.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ko.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/lb.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/lt.js +16 -6
- data/test/dummy/vendor/assets/components/moment/src/locale/lv.js +36 -19
- data/test/dummy/vendor/assets/components/moment/src/locale/me.js +99 -0
- data/test/dummy/vendor/assets/components/moment/src/locale/mk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ml.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/mr.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/ms-my.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ms.js +73 -0
- data/test/dummy/vendor/assets/components/moment/src/locale/my.js +5 -4
- data/test/dummy/vendor/assets/components/moment/src/locale/nb.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/ne.js +2 -2
- data/test/dummy/vendor/assets/components/moment/src/locale/nl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/nn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/pl.js +9 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/pt-br.js +9 -9
- data/test/dummy/vendor/assets/components/moment/src/locale/pt.js +8 -8
- data/test/dummy/vendor/assets/components/moment/src/locale/ro.js +1 -1
- data/test/dummy/vendor/assets/components/moment/src/locale/ru.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/si.js +56 -0
- data/test/dummy/vendor/assets/components/moment/src/locale/sk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/sl.js +52 -40
- data/test/dummy/vendor/assets/components/moment/src/locale/sq.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/sr-cyrl.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/sr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/sv.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/ta.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/th.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/tl-ph.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/tr.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/tzl.js +78 -0
- data/test/dummy/vendor/assets/components/moment/src/locale/tzm-latn.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/tzm.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/uk.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/uz.js +3 -3
- data/test/dummy/vendor/assets/components/moment/src/locale/vi.js +5 -5
- data/test/dummy/vendor/assets/components/moment/src/locale/zh-cn.js +15 -15
- data/test/dummy/vendor/assets/components/moment/src/locale/zh-tw.js +5 -6
- data/test/dummy/vendor/assets/components/moment/src/moment.js +2 -2
- metadata +404 -20
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/nuget/Bootstrap.v3.Datetimepicker.4.0.0.nupkg +0 -0
- data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/nuget/Bootstrap.v3.Datetimepicker.CSS.4.0.0.nupkg +0 -0
- data/test/dummy/vendor/assets/components/moment/Moment.js.nuspec +0 -28
- data/test/dummy/vendor/assets/components/moment/benchmarks/clone.js +0 -10
- data/test/dummy/vendor/assets/components/moment/meteor/README.md +0 -25
- data/test/dummy/vendor/assets/components/moment/meteor/export.js +0 -3
- data/test/dummy/vendor/assets/components/moment/meteor/test.js +0 -5
- data/test/dummy/vendor/assets/components/moment/scripts/npm_prepublish.sh +0 -43
@@ -1,372 +1,5 @@
|
|
1
1
|
/*!
|
2
2
|
* Datetimepicker for Bootstrap 3
|
3
|
-
*
|
3
|
+
* version : 4.17.37
|
4
4
|
* https://github.com/Eonasdan/bootstrap-datetimepicker/
|
5
|
-
|
6
|
-
.bootstrap-datetimepicker-widget {
|
7
|
-
list-style: none;
|
8
|
-
}
|
9
|
-
.bootstrap-datetimepicker-widget.dropdown-menu {
|
10
|
-
margin: 2px 0;
|
11
|
-
padding: 4px;
|
12
|
-
width: 19em;
|
13
|
-
}
|
14
|
-
@media (min-width: 768px) {
|
15
|
-
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
16
|
-
width: 38em;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
@media (min-width: 992px) {
|
20
|
-
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
21
|
-
width: 38em;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
@media (min-width: 1200px) {
|
25
|
-
.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs {
|
26
|
-
width: 38em;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
.bootstrap-datetimepicker-widget.dropdown-menu:before,
|
30
|
-
.bootstrap-datetimepicker-widget.dropdown-menu:after {
|
31
|
-
content: '';
|
32
|
-
display: inline-block;
|
33
|
-
position: absolute;
|
34
|
-
}
|
35
|
-
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before {
|
36
|
-
border-left: 7px solid transparent;
|
37
|
-
border-right: 7px solid transparent;
|
38
|
-
border-bottom: 7px solid #cccccc;
|
39
|
-
border-bottom-color: rgba(0, 0, 0, 0.2);
|
40
|
-
top: -7px;
|
41
|
-
left: 7px;
|
42
|
-
}
|
43
|
-
.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after {
|
44
|
-
border-left: 6px solid transparent;
|
45
|
-
border-right: 6px solid transparent;
|
46
|
-
border-bottom: 6px solid white;
|
47
|
-
top: -6px;
|
48
|
-
left: 8px;
|
49
|
-
}
|
50
|
-
.bootstrap-datetimepicker-widget.dropdown-menu.top:before {
|
51
|
-
border-left: 7px solid transparent;
|
52
|
-
border-right: 7px solid transparent;
|
53
|
-
border-top: 7px solid #cccccc;
|
54
|
-
border-top-color: rgba(0, 0, 0, 0.2);
|
55
|
-
bottom: -7px;
|
56
|
-
left: 6px;
|
57
|
-
}
|
58
|
-
.bootstrap-datetimepicker-widget.dropdown-menu.top:after {
|
59
|
-
border-left: 6px solid transparent;
|
60
|
-
border-right: 6px solid transparent;
|
61
|
-
border-top: 6px solid white;
|
62
|
-
bottom: -6px;
|
63
|
-
left: 7px;
|
64
|
-
}
|
65
|
-
.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before {
|
66
|
-
left: auto;
|
67
|
-
right: 6px;
|
68
|
-
}
|
69
|
-
.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after {
|
70
|
-
left: auto;
|
71
|
-
right: 7px;
|
72
|
-
}
|
73
|
-
.bootstrap-datetimepicker-widget .list-unstyled {
|
74
|
-
margin: 0;
|
75
|
-
}
|
76
|
-
.bootstrap-datetimepicker-widget a[data-action] {
|
77
|
-
padding: 6px 0;
|
78
|
-
}
|
79
|
-
.bootstrap-datetimepicker-widget a[data-action]:active {
|
80
|
-
box-shadow: none;
|
81
|
-
}
|
82
|
-
.bootstrap-datetimepicker-widget .timepicker-hour,
|
83
|
-
.bootstrap-datetimepicker-widget .timepicker-minute,
|
84
|
-
.bootstrap-datetimepicker-widget .timepicker-second {
|
85
|
-
width: 54px;
|
86
|
-
font-weight: bold;
|
87
|
-
font-size: 1.2em;
|
88
|
-
margin: 0;
|
89
|
-
}
|
90
|
-
.bootstrap-datetimepicker-widget button[data-action] {
|
91
|
-
padding: 6px;
|
92
|
-
}
|
93
|
-
.bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after {
|
94
|
-
position: absolute;
|
95
|
-
width: 1px;
|
96
|
-
height: 1px;
|
97
|
-
margin: -1px;
|
98
|
-
padding: 0;
|
99
|
-
overflow: hidden;
|
100
|
-
clip: rect(0, 0, 0, 0);
|
101
|
-
border: 0;
|
102
|
-
content: "Increment Hours";
|
103
|
-
}
|
104
|
-
.bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after {
|
105
|
-
position: absolute;
|
106
|
-
width: 1px;
|
107
|
-
height: 1px;
|
108
|
-
margin: -1px;
|
109
|
-
padding: 0;
|
110
|
-
overflow: hidden;
|
111
|
-
clip: rect(0, 0, 0, 0);
|
112
|
-
border: 0;
|
113
|
-
content: "Increment Minutes";
|
114
|
-
}
|
115
|
-
.bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after {
|
116
|
-
position: absolute;
|
117
|
-
width: 1px;
|
118
|
-
height: 1px;
|
119
|
-
margin: -1px;
|
120
|
-
padding: 0;
|
121
|
-
overflow: hidden;
|
122
|
-
clip: rect(0, 0, 0, 0);
|
123
|
-
border: 0;
|
124
|
-
content: "Decrement Hours";
|
125
|
-
}
|
126
|
-
.bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after {
|
127
|
-
position: absolute;
|
128
|
-
width: 1px;
|
129
|
-
height: 1px;
|
130
|
-
margin: -1px;
|
131
|
-
padding: 0;
|
132
|
-
overflow: hidden;
|
133
|
-
clip: rect(0, 0, 0, 0);
|
134
|
-
border: 0;
|
135
|
-
content: "Decrement Minutes";
|
136
|
-
}
|
137
|
-
.bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after {
|
138
|
-
position: absolute;
|
139
|
-
width: 1px;
|
140
|
-
height: 1px;
|
141
|
-
margin: -1px;
|
142
|
-
padding: 0;
|
143
|
-
overflow: hidden;
|
144
|
-
clip: rect(0, 0, 0, 0);
|
145
|
-
border: 0;
|
146
|
-
content: "Show Hours";
|
147
|
-
}
|
148
|
-
.bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after {
|
149
|
-
position: absolute;
|
150
|
-
width: 1px;
|
151
|
-
height: 1px;
|
152
|
-
margin: -1px;
|
153
|
-
padding: 0;
|
154
|
-
overflow: hidden;
|
155
|
-
clip: rect(0, 0, 0, 0);
|
156
|
-
border: 0;
|
157
|
-
content: "Show Minutes";
|
158
|
-
}
|
159
|
-
.bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after {
|
160
|
-
position: absolute;
|
161
|
-
width: 1px;
|
162
|
-
height: 1px;
|
163
|
-
margin: -1px;
|
164
|
-
padding: 0;
|
165
|
-
overflow: hidden;
|
166
|
-
clip: rect(0, 0, 0, 0);
|
167
|
-
border: 0;
|
168
|
-
content: "Toggle AM/PM";
|
169
|
-
}
|
170
|
-
.bootstrap-datetimepicker-widget .btn[data-action="clear"]::after {
|
171
|
-
position: absolute;
|
172
|
-
width: 1px;
|
173
|
-
height: 1px;
|
174
|
-
margin: -1px;
|
175
|
-
padding: 0;
|
176
|
-
overflow: hidden;
|
177
|
-
clip: rect(0, 0, 0, 0);
|
178
|
-
border: 0;
|
179
|
-
content: "Clear the picker";
|
180
|
-
}
|
181
|
-
.bootstrap-datetimepicker-widget .btn[data-action="today"]::after {
|
182
|
-
position: absolute;
|
183
|
-
width: 1px;
|
184
|
-
height: 1px;
|
185
|
-
margin: -1px;
|
186
|
-
padding: 0;
|
187
|
-
overflow: hidden;
|
188
|
-
clip: rect(0, 0, 0, 0);
|
189
|
-
border: 0;
|
190
|
-
content: "Set the date to today";
|
191
|
-
}
|
192
|
-
.bootstrap-datetimepicker-widget .picker-switch {
|
193
|
-
text-align: center;
|
194
|
-
}
|
195
|
-
.bootstrap-datetimepicker-widget .picker-switch::after {
|
196
|
-
position: absolute;
|
197
|
-
width: 1px;
|
198
|
-
height: 1px;
|
199
|
-
margin: -1px;
|
200
|
-
padding: 0;
|
201
|
-
overflow: hidden;
|
202
|
-
clip: rect(0, 0, 0, 0);
|
203
|
-
border: 0;
|
204
|
-
content: "Toggle Date and Time Screens";
|
205
|
-
}
|
206
|
-
.bootstrap-datetimepicker-widget .picker-switch td {
|
207
|
-
padding: 0;
|
208
|
-
margin: 0;
|
209
|
-
height: auto;
|
210
|
-
width: auto;
|
211
|
-
line-height: inherit;
|
212
|
-
}
|
213
|
-
.bootstrap-datetimepicker-widget .picker-switch td span {
|
214
|
-
line-height: 2.5;
|
215
|
-
height: 2.5em;
|
216
|
-
width: 100%;
|
217
|
-
}
|
218
|
-
.bootstrap-datetimepicker-widget table {
|
219
|
-
width: 100%;
|
220
|
-
margin: 0;
|
221
|
-
}
|
222
|
-
.bootstrap-datetimepicker-widget table td,
|
223
|
-
.bootstrap-datetimepicker-widget table th {
|
224
|
-
text-align: center;
|
225
|
-
border-radius: 4px;
|
226
|
-
}
|
227
|
-
.bootstrap-datetimepicker-widget table th {
|
228
|
-
height: 20px;
|
229
|
-
line-height: 20px;
|
230
|
-
width: 20px;
|
231
|
-
}
|
232
|
-
.bootstrap-datetimepicker-widget table th.picker-switch {
|
233
|
-
width: 145px;
|
234
|
-
}
|
235
|
-
.bootstrap-datetimepicker-widget table th.disabled,
|
236
|
-
.bootstrap-datetimepicker-widget table th.disabled:hover {
|
237
|
-
background: none;
|
238
|
-
color: #777777;
|
239
|
-
cursor: not-allowed;
|
240
|
-
}
|
241
|
-
.bootstrap-datetimepicker-widget table th.prev::after {
|
242
|
-
position: absolute;
|
243
|
-
width: 1px;
|
244
|
-
height: 1px;
|
245
|
-
margin: -1px;
|
246
|
-
padding: 0;
|
247
|
-
overflow: hidden;
|
248
|
-
clip: rect(0, 0, 0, 0);
|
249
|
-
border: 0;
|
250
|
-
content: "Previous Month";
|
251
|
-
}
|
252
|
-
.bootstrap-datetimepicker-widget table th.next::after {
|
253
|
-
position: absolute;
|
254
|
-
width: 1px;
|
255
|
-
height: 1px;
|
256
|
-
margin: -1px;
|
257
|
-
padding: 0;
|
258
|
-
overflow: hidden;
|
259
|
-
clip: rect(0, 0, 0, 0);
|
260
|
-
border: 0;
|
261
|
-
content: "Next Month";
|
262
|
-
}
|
263
|
-
.bootstrap-datetimepicker-widget table thead tr:first-child th {
|
264
|
-
cursor: pointer;
|
265
|
-
}
|
266
|
-
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
|
267
|
-
background: #eeeeee;
|
268
|
-
}
|
269
|
-
.bootstrap-datetimepicker-widget table td {
|
270
|
-
height: 54px;
|
271
|
-
line-height: 54px;
|
272
|
-
width: 54px;
|
273
|
-
}
|
274
|
-
.bootstrap-datetimepicker-widget table td.cw {
|
275
|
-
font-size: .8em;
|
276
|
-
height: 20px;
|
277
|
-
line-height: 20px;
|
278
|
-
color: #777777;
|
279
|
-
}
|
280
|
-
.bootstrap-datetimepicker-widget table td.day {
|
281
|
-
height: 20px;
|
282
|
-
line-height: 20px;
|
283
|
-
width: 20px;
|
284
|
-
}
|
285
|
-
.bootstrap-datetimepicker-widget table td.day:hover,
|
286
|
-
.bootstrap-datetimepicker-widget table td.hour:hover,
|
287
|
-
.bootstrap-datetimepicker-widget table td.minute:hover,
|
288
|
-
.bootstrap-datetimepicker-widget table td.second:hover {
|
289
|
-
background: #eeeeee;
|
290
|
-
cursor: pointer;
|
291
|
-
}
|
292
|
-
.bootstrap-datetimepicker-widget table td.old,
|
293
|
-
.bootstrap-datetimepicker-widget table td.new {
|
294
|
-
color: #777777;
|
295
|
-
}
|
296
|
-
.bootstrap-datetimepicker-widget table td.today {
|
297
|
-
position: relative;
|
298
|
-
}
|
299
|
-
.bootstrap-datetimepicker-widget table td.today:before {
|
300
|
-
content: '';
|
301
|
-
display: inline-block;
|
302
|
-
border: 0 0 7px 7px solid transparent;
|
303
|
-
border-bottom-color: #337ab7;
|
304
|
-
border-top-color: rgba(0, 0, 0, 0.2);
|
305
|
-
position: absolute;
|
306
|
-
bottom: 4px;
|
307
|
-
right: 4px;
|
308
|
-
}
|
309
|
-
.bootstrap-datetimepicker-widget table td.active,
|
310
|
-
.bootstrap-datetimepicker-widget table td.active:hover {
|
311
|
-
background-color: #337ab7;
|
312
|
-
color: #ffffff;
|
313
|
-
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
314
|
-
}
|
315
|
-
.bootstrap-datetimepicker-widget table td.active.today:before {
|
316
|
-
border-bottom-color: #fff;
|
317
|
-
}
|
318
|
-
.bootstrap-datetimepicker-widget table td.disabled,
|
319
|
-
.bootstrap-datetimepicker-widget table td.disabled:hover {
|
320
|
-
background: none;
|
321
|
-
color: #777777;
|
322
|
-
cursor: not-allowed;
|
323
|
-
}
|
324
|
-
.bootstrap-datetimepicker-widget table td span {
|
325
|
-
display: inline-block;
|
326
|
-
width: 54px;
|
327
|
-
height: 54px;
|
328
|
-
line-height: 54px;
|
329
|
-
margin: 2px 1.5px;
|
330
|
-
cursor: pointer;
|
331
|
-
border-radius: 4px;
|
332
|
-
}
|
333
|
-
.bootstrap-datetimepicker-widget table td span:hover {
|
334
|
-
background: #eeeeee;
|
335
|
-
}
|
336
|
-
.bootstrap-datetimepicker-widget table td span.active {
|
337
|
-
background-color: #337ab7;
|
338
|
-
color: #ffffff;
|
339
|
-
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
340
|
-
}
|
341
|
-
.bootstrap-datetimepicker-widget table td span.old {
|
342
|
-
color: #777777;
|
343
|
-
}
|
344
|
-
.bootstrap-datetimepicker-widget table td span.disabled,
|
345
|
-
.bootstrap-datetimepicker-widget table td span.disabled:hover {
|
346
|
-
background: none;
|
347
|
-
color: #777777;
|
348
|
-
cursor: not-allowed;
|
349
|
-
}
|
350
|
-
.bootstrap-datetimepicker-widget.usetwentyfour td.hour {
|
351
|
-
height: 27px;
|
352
|
-
line-height: 27px;
|
353
|
-
}
|
354
|
-
.bootstrap-datetimepicker-widget.wider {
|
355
|
-
width: 21em;
|
356
|
-
}
|
357
|
-
.bootstrap-datetimepicker-widget .datepicker-decades .decade {
|
358
|
-
line-height: 1.8em !important;
|
359
|
-
}
|
360
|
-
.input-group.date .input-group-addon {
|
361
|
-
cursor: pointer;
|
362
|
-
}
|
363
|
-
.sr-only {
|
364
|
-
position: absolute;
|
365
|
-
width: 1px;
|
366
|
-
height: 1px;
|
367
|
-
margin: -1px;
|
368
|
-
padding: 0;
|
369
|
-
overflow: hidden;
|
370
|
-
clip: rect(0, 0, 0, 0);
|
371
|
-
border: 0;
|
372
|
-
}
|
5
|
+
*/.bootstrap-datetimepicker-widget{list-style:none}.bootstrap-datetimepicker-widget.dropdown-menu{margin:2px 0;padding:4px;width:19em}@media (min-width:768px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:992px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}@media (min-width:1200px){.bootstrap-datetimepicker-widget.dropdown-menu.timepicker-sbs{width:38em}}.bootstrap-datetimepicker-widget.dropdown-menu:before,.bootstrap-datetimepicker-widget.dropdown-menu:after{content:'';display:inline-block;position:absolute}.bootstrap-datetimepicker-widget.dropdown-menu.bottom:before{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);top:-7px;left:7px}.bootstrap-datetimepicker-widget.dropdown-menu.bottom:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid white;top:-6px;left:8px}.bootstrap-datetimepicker-widget.dropdown-menu.top:before{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #ccc;border-top-color:rgba(0,0,0,0.2);bottom:-7px;left:6px}.bootstrap-datetimepicker-widget.dropdown-menu.top:after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid white;bottom:-6px;left:7px}.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:before{left:auto;right:6px}.bootstrap-datetimepicker-widget.dropdown-menu.pull-right:after{left:auto;right:7px}.bootstrap-datetimepicker-widget .list-unstyled{margin:0}.bootstrap-datetimepicker-widget a[data-action]{padding:6px 0}.bootstrap-datetimepicker-widget a[data-action]:active{box-shadow:none}.bootstrap-datetimepicker-widget .timepicker-hour,.bootstrap-datetimepicker-widget .timepicker-minute,.bootstrap-datetimepicker-widget .timepicker-second{width:54px;font-weight:bold;font-size:1.2em;margin:0}.bootstrap-datetimepicker-widget button[data-action]{padding:6px}.bootstrap-datetimepicker-widget .btn[data-action="incrementHours"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Increment Hours"}.bootstrap-datetimepicker-widget .btn[data-action="incrementMinutes"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Increment Minutes"}.bootstrap-datetimepicker-widget .btn[data-action="decrementHours"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Decrement Hours"}.bootstrap-datetimepicker-widget .btn[data-action="decrementMinutes"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Decrement Minutes"}.bootstrap-datetimepicker-widget .btn[data-action="showHours"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Show Hours"}.bootstrap-datetimepicker-widget .btn[data-action="showMinutes"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Show Minutes"}.bootstrap-datetimepicker-widget .btn[data-action="togglePeriod"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Toggle AM/PM"}.bootstrap-datetimepicker-widget .btn[data-action="clear"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Clear the picker"}.bootstrap-datetimepicker-widget .btn[data-action="today"]::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Set the date to today"}.bootstrap-datetimepicker-widget .picker-switch{text-align:center}.bootstrap-datetimepicker-widget .picker-switch::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Toggle Date and Time Screens"}.bootstrap-datetimepicker-widget .picker-switch td{padding:0;margin:0;height:auto;width:auto;line-height:inherit}.bootstrap-datetimepicker-widget .picker-switch td span{line-height:2.5;height:2.5em;width:100%}.bootstrap-datetimepicker-widget table{width:100%;margin:0}.bootstrap-datetimepicker-widget table td,.bootstrap-datetimepicker-widget table th{text-align:center;border-radius:4px}.bootstrap-datetimepicker-widget table th{height:20px;line-height:20px;width:20px}.bootstrap-datetimepicker-widget table th.picker-switch{width:145px}.bootstrap-datetimepicker-widget table th.disabled,.bootstrap-datetimepicker-widget table th.disabled:hover{background:none;color:#777;cursor:not-allowed}.bootstrap-datetimepicker-widget table th.prev::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Previous Month"}.bootstrap-datetimepicker-widget table th.next::after{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;content:"Next Month"}.bootstrap-datetimepicker-widget table thead tr:first-child th{cursor:pointer}.bootstrap-datetimepicker-widget table thead tr:first-child th:hover{background:#eee}.bootstrap-datetimepicker-widget table td{height:54px;line-height:54px;width:54px}.bootstrap-datetimepicker-widget table td.cw{font-size:.8em;height:20px;line-height:20px;color:#777}.bootstrap-datetimepicker-widget table td.day{height:20px;line-height:20px;width:20px}.bootstrap-datetimepicker-widget table td.day:hover,.bootstrap-datetimepicker-widget table td.hour:hover,.bootstrap-datetimepicker-widget table td.minute:hover,.bootstrap-datetimepicker-widget table td.second:hover{background:#eee;cursor:pointer}.bootstrap-datetimepicker-widget table td.old,.bootstrap-datetimepicker-widget table td.new{color:#777}.bootstrap-datetimepicker-widget table td.today{position:relative}.bootstrap-datetimepicker-widget table td.today:before{content:'';display:inline-block;border:solid transparent;border-width:0 0 7px 7px;border-bottom-color:#337ab7;border-top-color:rgba(0,0,0,0.2);position:absolute;bottom:4px;right:4px}.bootstrap-datetimepicker-widget table td.active,.bootstrap-datetimepicker-widget table td.active:hover{background-color:#337ab7;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget table td.active.today:before{border-bottom-color:#fff}.bootstrap-datetimepicker-widget table td.disabled,.bootstrap-datetimepicker-widget table td.disabled:hover{background:none;color:#777;cursor:not-allowed}.bootstrap-datetimepicker-widget table td span{display:inline-block;width:54px;height:54px;line-height:54px;margin:2px 1.5px;cursor:pointer;border-radius:4px}.bootstrap-datetimepicker-widget table td span:hover{background:#eee}.bootstrap-datetimepicker-widget table td span.active{background-color:#337ab7;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget table td span.old{color:#777}.bootstrap-datetimepicker-widget table td span.disabled,.bootstrap-datetimepicker-widget table td span.disabled:hover{background:none;color:#777;cursor:not-allowed}.bootstrap-datetimepicker-widget.usetwentyfour td.hour{height:27px;line-height:27px}.bootstrap-datetimepicker-widget.wider{width:21em}.bootstrap-datetimepicker-widget .datepicker-decades .decade{line-height:1.8em !important}.input-group.date .input-group-addon{cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}
|
@@ -1,10 +1,9 @@
|
|
1
|
-
/*! version : 4.
|
1
|
+
/*! version : 4.17.37
|
2
2
|
=========================================================
|
3
3
|
bootstrap-datetimejs
|
4
4
|
https://github.com/Eonasdan/bootstrap-datetimepicker
|
5
5
|
Copyright (c) 2015 Jonathan Peterson
|
6
6
|
=========================================================
|
7
7
|
*/
|
8
|
-
!function(a){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],a);else if("object"==typeof exports)a(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";a(jQuery,moment)}}(function(a,b){"use strict";if(!b)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var c=function(c,d){var e,f,g,h,i,j={},k=b().startOf("d"),l=k.clone(),m=!0,n=!1,o=!1,p=0,q=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],r=["days","months","years","decades"],s=["top","bottom","auto"],t=["left","right","auto"],u=["default","top","bottom"],v={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t","delete":46,46:"delete"},w={},x=function(a){if("string"!=typeof a||a.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(a){case"y":return-1!==g.indexOf("Y");case"M":return-1!==g.indexOf("M");case"d":return-1!==g.toLowerCase().indexOf("d");case"h":case"H":return-1!==g.toLowerCase().indexOf("h");case"m":return-1!==g.indexOf("m");case"s":return-1!==g.indexOf("s");default:return!1}},y=function(){return x("h")||x("m")||x("s")},z=function(){return x("y")||x("M")||x("d")},A=function(){var b=a("<thead>").append(a("<tr>").append(a("<th>").addClass("prev").attr("data-action","previous").append(a("<span>").addClass(d.icons.previous))).append(a("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",d.calendarWeeks?"6":"5")).append(a("<th>").addClass("next").attr("data-action","next").append(a("<span>").addClass(d.icons.next)))),c=a("<tbody>").append(a("<tr>").append(a("<td>").attr("colspan",d.calendarWeeks?"8":"7")));return[a("<div>").addClass("datepicker-days").append(a("<table>").addClass("table-condensed").append(b).append(a("<tbody>"))),a("<div>").addClass("datepicker-months").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone())),a("<div>").addClass("datepicker-years").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone())),a("<div>").addClass("datepicker-decades").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone()))]},B=function(){var b=a("<tr>"),c=a("<tr>"),e=a("<tr>");return x("h")&&(b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:"Increment Hour"}).addClass("btn").attr("data-action","incrementHours").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:"Pick Hour"}).attr("data-action","showHours"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:"Decrement Hour"}).addClass("btn").attr("data-action","decrementHours").append(a("<span>").addClass(d.icons.down))))),x("m")&&(x("h")&&(b.append(a("<td>").addClass("separator")),c.append(a("<td>").addClass("separator").html(":")),e.append(a("<td>").addClass("separator"))),b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:"Increment Minute"}).addClass("btn").attr("data-action","incrementMinutes").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:"Pick Minute"}).attr("data-action","showMinutes"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:"Decrement Minute"}).addClass("btn").attr("data-action","decrementMinutes").append(a("<span>").addClass(d.icons.down))))),x("s")&&(x("m")&&(b.append(a("<td>").addClass("separator")),c.append(a("<td>").addClass("separator").html(":")),e.append(a("<td>").addClass("separator"))),b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:"Increment Second"}).addClass("btn").attr("data-action","incrementSeconds").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:"Pick Second"}).attr("data-action","showSeconds"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:"Decrement Second"}).addClass("btn").attr("data-action","decrementSeconds").append(a("<span>").addClass(d.icons.down))))),f||(b.append(a("<td>").addClass("separator")),c.append(a("<td>").append(a("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:"Toggle Period"}))),e.append(a("<td>").addClass("separator"))),a("<div>").addClass("timepicker-picker").append(a("<table>").addClass("table-condensed").append([b,c,e]))},C=function(){var b=a("<div>").addClass("timepicker-hours").append(a("<table>").addClass("table-condensed")),c=a("<div>").addClass("timepicker-minutes").append(a("<table>").addClass("table-condensed")),d=a("<div>").addClass("timepicker-seconds").append(a("<table>").addClass("table-condensed")),e=[B()];return x("h")&&e.push(b),x("m")&&e.push(c),x("s")&&e.push(d),e},D=function(){var b=[];return d.showTodayButton&&b.push(a("<td>").append(a("<a>").attr({"data-action":"today",title:"Go to today"}).append(a("<span>").addClass(d.icons.today)))),!d.sideBySide&&z()&&y()&&b.push(a("<td>").append(a("<a>").attr({"data-action":"togglePicker",title:"Select Time"}).append(a("<span>").addClass(d.icons.time)))),d.showClear&&b.push(a("<td>").append(a("<a>").attr({"data-action":"clear",title:"Clear selection"}).append(a("<span>").addClass(d.icons.clear)))),d.showClose&&b.push(a("<td>").append(a("<a>").attr({"data-action":"close",title:"Close the picker"}).append(a("<span>").addClass(d.icons.close)))),a("<table>").addClass("table-condensed").append(a("<tbody>").append(a("<tr>").append(b)))},E=function(){var b=a("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),c=a("<div>").addClass("datepicker").append(A()),e=a("<div>").addClass("timepicker").append(C()),g=a("<ul>").addClass("list-unstyled"),h=a("<li>").addClass("picker-switch"+(d.collapse?" accordion-toggle":"")).append(D());return d.inline&&b.removeClass("dropdown-menu"),f&&b.addClass("usetwentyfour"),x("s")&&!f&&b.addClass("wider"),d.sideBySide&&z()&&y()?(b.addClass("timepicker-sbs"),b.append(a("<div>").addClass("row").append(c.addClass("col-sm-6")).append(e.addClass("col-sm-6"))),b.append(h),b):("top"===d.toolbarPlacement&&g.append(h),z()&&g.append(a("<li>").addClass(d.collapse&&y()?"collapse in":"").append(c)),"default"===d.toolbarPlacement&&g.append(h),y()&&g.append(a("<li>").addClass(d.collapse&&z()?"collapse":"").append(e)),"bottom"===d.toolbarPlacement&&g.append(h),b.append(g))},F=function(){var b,e={};return b=c.is("input")||d.inline?c.data():c.find("input").data(),b.dateOptions&&b.dateOptions instanceof Object&&(e=a.extend(!0,e,b.dateOptions)),a.each(d,function(a){var c="date"+a.charAt(0).toUpperCase()+a.slice(1);void 0!==b[c]&&(e[a]=b[c])}),e},G=function(){var b,e=(n||c).position(),f=(n||c).offset(),g=d.widgetPositioning.vertical,h=d.widgetPositioning.horizontal;if(d.widgetParent)b=d.widgetParent.append(o);else if(c.is("input"))b=c.after(o);else{if(d.inline)return void(b=c.append(o));b=c,c.children().first().after(o)}if("auto"===g&&(g=f.top+1.5*o.height()>=a(window).height()+a(window).scrollTop()&&o.height()+c.outerHeight()<f.top?"top":"bottom"),"auto"===h&&(h=b.width()<f.left+o.outerWidth()/2&&f.left+o.outerWidth()>a(window).width()?"right":"left"),"top"===g?o.addClass("top").removeClass("bottom"):o.addClass("bottom").removeClass("top"),"right"===h?o.addClass("pull-right"):o.removeClass("pull-right"),"relative"!==b.css("position")&&(b=b.parents().filter(function(){return"relative"===a(this).css("position")}).first()),0===b.length)throw new Error("datetimepicker component should be placed within a relative positioned container");o.css({top:"top"===g?"auto":e.top+c.outerHeight(),bottom:"top"===g?e.top+c.outerHeight():"auto",left:"left"===h?b.css("padding-left"):"auto",right:"left"===h?"auto":b.width()-c.outerWidth()})},H=function(a){"dp.change"===a.type&&(a.date&&a.date.isSame(a.oldDate)||!a.date&&!a.oldDate)||c.trigger(a)},I=function(a){"y"===a&&(a="YYYY"),H({type:"dp.update",change:a,viewDate:l.clone()})},J=function(a){o&&(a&&(i=Math.max(p,Math.min(3,i+a))),o.find(".datepicker > div").hide().filter(".datepicker-"+q[i].clsName).show())},K=function(){var b=a("<tr>"),c=l.clone().startOf("w").startOf("d");for(d.calendarWeeks===!0&&b.append(a("<th>").addClass("cw").text("#"));c.isBefore(l.clone().endOf("w"));)b.append(a("<th>").addClass("dow").text(c.format("dd"))),c.add(1,"d");o.find(".datepicker-days thead").append(b)},L=function(a){return d.disabledDates[a.format("YYYY-MM-DD")]===!0},M=function(a){return d.enabledDates[a.format("YYYY-MM-DD")]===!0},N=function(a){return d.disabledHours[a.format("H")]===!0},O=function(a){return d.enabledHours[a.format("H")]===!0},P=function(b,c){if(!b.isValid())return!1;if(d.disabledDates&&"M"!==c&&L(b))return!1;if(d.enabledDates&&"M"!==c&&!M(b))return!1;if(d.minDate&&b.isBefore(d.minDate,c))return!1;if(d.maxDate&&b.isAfter(d.maxDate,c))return!1;if(d.daysOfWeekDisabled&&"d"===c&&-1!==d.daysOfWeekDisabled.indexOf(b.day()))return!1;if(d.disabledHours&&("h"===c||"m"===c||"s"===c)&&N(b))return!1;if(d.enabledHours&&("h"===c||"m"===c||"s"===c)&&!O(b))return!1;if(d.disabledTimeIntervals&&("h"===c||"m"===c||"s"===c)){var e=!1;if(a.each(d.disabledTimeIntervals,function(){return b.isBetween(this[0],this[1])?(e=!0,!1):void 0}),e)return!1}return!0},Q=function(){for(var b=[],c=l.clone().startOf("y").startOf("d");c.isSame(l,"y");)b.push(a("<span>").attr("data-action","selectMonth").addClass("month").text(c.format("MMM"))),c.add(1,"M");o.find(".datepicker-months td").empty().append(b)},R=function(){var b=o.find(".datepicker-months"),c=b.find("th"),d=b.find("tbody").find("span");c.eq(0).find("span").attr("title","Previous Year"),c.eq(1).attr("title","Select Year"),c.eq(2).find("span").attr("title","Next Year"),b.find(".disabled").removeClass("disabled"),P(l.clone().subtract(1,"y"),"y")||c.eq(0).addClass("disabled"),c.eq(1).text(l.year()),P(l.clone().add(1,"y"),"y")||c.eq(2).addClass("disabled"),d.removeClass("active"),k.isSame(l,"y")&&!m&&d.eq(k.month()).addClass("active"),d.each(function(b){P(l.clone().month(b),"M")||a(this).addClass("disabled")})},S=function(){var a=o.find(".datepicker-years"),b=a.find("th"),c=l.clone().subtract(5,"y"),e=l.clone().add(6,"y"),f="";for(b.eq(0).find("span").attr("title","Previous Decade"),b.eq(1).attr("title","Select Decade"),b.eq(2).find("span").attr("title","Next Decade"),a.find(".disabled").removeClass("disabled"),d.minDate&&d.minDate.isAfter(c,"y")&&b.eq(0).addClass("disabled"),b.eq(1).text(c.year()+"-"+e.year()),d.maxDate&&d.maxDate.isBefore(e,"y")&&b.eq(2).addClass("disabled");!c.isAfter(e,"y");)f+='<span data-action="selectYear" class="year'+(c.isSame(k,"y")&&!m?" active":"")+(P(c,"y")?"":" disabled")+'">'+c.year()+"</span>",c.add(1,"y");a.find("td").html(f)},T=function(){var a=o.find(".datepicker-decades"),c=a.find("th"),e=b(l.isBefore(b({y:1999}))?{y:1899}:{y:1999}),f=e.clone().add(100,"y"),g="";for(c.eq(0).find("span").attr("title","Previous Century"),c.eq(2).find("span").attr("title","Next Century"),a.find(".disabled").removeClass("disabled"),(e.isSame(b({y:1900}))||d.minDate&&d.minDate.isAfter(e,"y"))&&c.eq(0).addClass("disabled"),c.eq(1).text(e.year()+"-"+f.year()),(e.isSame(b({y:2e3}))||d.maxDate&&d.maxDate.isBefore(f,"y"))&&c.eq(2).addClass("disabled");!e.isAfter(f,"y");)g+='<span data-action="selectDecade" class="decade'+(e.isSame(k,"y")?" active":"")+(P(e,"y")?"":" disabled")+'" data-selection="'+(e.year()+6)+'">'+(e.year()+1)+" - "+(e.year()+12)+"</span>",e.add(12,"y");g+="<span></span><span></span><span></span>",a.find("td").html(g)},U=function(){var c,e,f,g,h=o.find(".datepicker-days"),i=h.find("th"),j=[];if(z()){for(i.eq(0).find("span").attr("title","Previous Month"),i.eq(1).attr("title","Select Month"),i.eq(2).find("span").attr("title","Next Month"),h.find(".disabled").removeClass("disabled"),i.eq(1).text(l.format(d.dayViewHeaderFormat)),P(l.clone().subtract(1,"M"),"M")||i.eq(0).addClass("disabled"),P(l.clone().add(1,"M"),"M")||i.eq(2).addClass("disabled"),c=l.clone().startOf("M").startOf("w").startOf("d"),g=0;42>g;g++)0===c.weekday()&&(e=a("<tr>"),d.calendarWeeks&&e.append('<td class="cw">'+c.week()+"</td>"),j.push(e)),f="",c.isBefore(l,"M")&&(f+=" old"),c.isAfter(l,"M")&&(f+=" new"),c.isSame(k,"d")&&!m&&(f+=" active"),P(c,"d")||(f+=" disabled"),c.isSame(b(),"d")&&(f+=" today"),(0===c.day()||6===c.day())&&(f+=" weekend"),e.append('<td data-action="selectDay" data-day="'+c.format("L")+'" class="day'+f+'">'+c.date()+"</td>"),c.add(1,"d");h.find("tbody").empty().append(j),R(),S(),T()}},V=function(){var b=o.find(".timepicker-hours table"),c=l.clone().startOf("d"),d=[],e=a("<tr>");for(l.hour()>11&&!f&&c.hour(12);c.isSame(l,"d")&&(f||l.hour()<12&&c.hour()<12||l.hour()>11);)c.hour()%4===0&&(e=a("<tr>"),d.push(e)),e.append('<td data-action="selectHour" class="hour'+(P(c,"h")?"":" disabled")+'">'+c.format(f?"HH":"hh")+"</td>"),c.add(1,"h");b.empty().append(d)},W=function(){for(var b=o.find(".timepicker-minutes table"),c=l.clone().startOf("h"),e=[],f=a("<tr>"),g=1===d.stepping?5:d.stepping;l.isSame(c,"h");)c.minute()%(4*g)===0&&(f=a("<tr>"),e.push(f)),f.append('<td data-action="selectMinute" class="minute'+(P(c,"m")?"":" disabled")+'">'+c.format("mm")+"</td>"),c.add(g,"m");b.empty().append(e)},X=function(){for(var b=o.find(".timepicker-seconds table"),c=l.clone().startOf("m"),d=[],e=a("<tr>");l.isSame(c,"m");)c.second()%20===0&&(e=a("<tr>"),d.push(e)),e.append('<td data-action="selectSecond" class="second'+(P(c,"s")?"":" disabled")+'">'+c.format("ss")+"</td>"),c.add(5,"s");b.empty().append(d)},Y=function(){var a=o.find(".timepicker span[data-time-component]");f||o.find(".timepicker [data-action=togglePeriod]").text(k.format("A")),a.filter("[data-time-component=hours]").text(k.format(f?"HH":"hh")),a.filter("[data-time-component=minutes]").text(k.format("mm")),a.filter("[data-time-component=seconds]").text(k.format("ss")),V(),W(),X()},Z=function(){o&&(U(),Y())},$=function(a){var b=m?null:k;return a?(a=a.clone().locale(d.locale),1!==d.stepping&&a.minutes(Math.round(a.minutes()/d.stepping)*d.stepping%60).seconds(0),void(P(a)?(k=a,l=k.clone(),e.val(k.format(g)),c.data("date",k.format(g)),m=!1,Z(),H({type:"dp.change",date:k.clone(),oldDate:b})):(d.keepInvalid||e.val(m?"":k.format(g)),H({type:"dp.error",date:a})))):(m=!0,e.val(""),c.data("date",""),H({type:"dp.change",date:null,oldDate:b}),void Z())},_=function(){var b=!1;return o?(o.find(".collapse").each(function(){var c=a(this).data("collapse");return c&&c.transitioning?(b=!0,!1):!0}),b?j:(n&&n.hasClass("btn")&&n.toggleClass("active"),o.hide(),a(window).off("resize",G),o.off("click","[data-action]"),o.off("mousedown",!1),o.remove(),o=!1,H({type:"dp.hide",date:k.clone()}),j)):j},aa=function(){$(null)},ba={next:function(){var a=q[i].navFnc;l.add(q[i].navStep,a),U(),I(a)},previous:function(){var a=q[i].navFnc;l.subtract(q[i].navStep,a),U(),I(a)},pickerSwitch:function(){J(1)},selectMonth:function(b){var c=a(b.target).closest("tbody").find("span").index(a(b.target));l.month(c),i===p?($(k.clone().year(l.year()).month(l.month())),d.inline||_()):(J(-1),U()),I("M")},selectYear:function(b){var c=parseInt(a(b.target).text(),10)||0;l.year(c),i===p?($(k.clone().year(l.year())),d.inline||_()):(J(-1),U()),I("YYYY")},selectDecade:function(b){var c=parseInt(a(b.target).data("selection"),10)||0;l.year(c),i===p?($(k.clone().year(l.year())),d.inline||_()):(J(-1),U()),I("YYYY")},selectDay:function(b){var c=l.clone();a(b.target).is(".old")&&c.subtract(1,"M"),a(b.target).is(".new")&&c.add(1,"M"),$(c.date(parseInt(a(b.target).text(),10))),y()||d.keepOpen||d.inline||_()},incrementHours:function(){var a=k.clone().add(1,"h");P(a,"h")&&$(a)},incrementMinutes:function(){var a=k.clone().add(d.stepping,"m");P(a,"m")&&$(a)},incrementSeconds:function(){var a=k.clone().add(1,"s");P(a,"s")&&$(a)},decrementHours:function(){var a=k.clone().subtract(1,"h");P(a,"h")&&$(a)},decrementMinutes:function(){var a=k.clone().subtract(d.stepping,"m");P(a,"m")&&$(a)},decrementSeconds:function(){var a=k.clone().subtract(1,"s");P(a,"s")&&$(a)},togglePeriod:function(){$(k.clone().add(k.hours()>=12?-12:12,"h"))},togglePicker:function(b){var c,e=a(b.target),f=e.closest("ul"),g=f.find(".in"),h=f.find(".collapse:not(.in)");if(g&&g.length){if(c=g.data("collapse"),c&&c.transitioning)return;g.collapse?(g.collapse("hide"),h.collapse("show")):(g.removeClass("in"),h.addClass("in")),e.is("span")?e.toggleClass(d.icons.time+" "+d.icons.date):e.find("span").toggleClass(d.icons.time+" "+d.icons.date)}},showPicker:function(){o.find(".timepicker > div:not(.timepicker-picker)").hide(),o.find(".timepicker .timepicker-picker").show()},showHours:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-hours").show()},showMinutes:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-seconds").show()},selectHour:function(b){var c=parseInt(a(b.target).text(),10);f||(k.hours()>=12?12!==c&&(c+=12):12===c&&(c=0)),$(k.clone().hours(c)),ba.showPicker.call(j)},selectMinute:function(b){$(k.clone().minutes(parseInt(a(b.target).text(),10))),ba.showPicker.call(j)},selectSecond:function(b){$(k.clone().seconds(parseInt(a(b.target).text(),10))),ba.showPicker.call(j)},clear:aa,today:function(){P(b(),"d")&&$(b())},close:_},ca=function(b){return a(b.currentTarget).is(".disabled")?!1:(ba[a(b.currentTarget).data("action")].apply(j,arguments),!1)},da=function(){var c,f={year:function(a){return a.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(a){return a.date(1).hours(0).seconds(0).minutes(0)},day:function(a){return a.hours(0).seconds(0).minutes(0)},hour:function(a){return a.seconds(0).minutes(0)},minute:function(a){return a.seconds(0)}};return e.prop("disabled")||!d.ignoreReadonly&&e.prop("readonly")||o?j:(d.useCurrent&&m&&(e.is("input")&&0===e.val().trim().length||d.inline)&&(c=b(),"string"==typeof d.useCurrent&&(c=f[d.useCurrent](c)),$(c)),o=E(),K(),Q(),o.find(".timepicker-hours").hide(),o.find(".timepicker-minutes").hide(),o.find(".timepicker-seconds").hide(),Z(),J(),a(window).on("resize",G),o.on("click","[data-action]",ca),o.on("mousedown",!1),n&&n.hasClass("btn")&&n.toggleClass("active"),o.show(),G(),d.focusOnShow&&!e.is(":focus")&&e.focus(),H({type:"dp.show"}),j)},ea=function(){return o?_():da()},fa=function(a){return a=b.isMoment(a)||a instanceof Date?b(a):b(a,h,d.useStrict),a.locale(d.locale),a},ga=function(a){var b,c,e,f,g=null,h=[],i={},k=a.which,l="p";w[k]=l;for(b in w)w.hasOwnProperty(b)&&w[b]===l&&(h.push(b),parseInt(b,10)!==k&&(i[b]=!0));for(b in d.keyBinds)if(d.keyBinds.hasOwnProperty(b)&&"function"==typeof d.keyBinds[b]&&(e=b.split(" "),e.length===h.length&&v[k]===e[e.length-1])){for(f=!0,c=e.length-2;c>=0;c--)if(!(v[e[c]]in i)){f=!1;break}if(f){g=d.keyBinds[b];break}}g&&(g.call(j,o),a.stopPropagation(),a.preventDefault())},ha=function(a){w[a.which]="r",a.stopPropagation(),a.preventDefault()},ia=function(b){var c=a(b.target).val().trim(),d=c?fa(c):null;return $(d),b.stopImmediatePropagation(),!1},ja=function(){e.on({change:ia,blur:d.debug?"":_,keydown:ga,keyup:ha,focus:d.allowInputToggle?da:""}),c.is("input")?e.on({focus:da}):n&&(n.on("click",ea),n.on("mousedown",!1))},ka=function(){e.off({change:ia,blur:_,keydown:ga,keyup:ha,focus:d.allowInputToggle?_:""}),c.is("input")?e.off({focus:da}):n&&(n.off("click",ea),n.off("mousedown",!1))},la=function(b){var c={};return a.each(b,function(){var a=fa(this);a.isValid()&&(c[a.format("YYYY-MM-DD")]=!0)}),Object.keys(c).length?c:!1},ma=function(b){var c={};return a.each(b,function(){c[this]=!0}),Object.keys(c).length?c:!1},na=function(){var a=d.format||"L LT";g=a.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(a){var b=k.localeData().longDateFormat(a)||a;return b.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(a){return k.localeData().longDateFormat(a)||a})}),h=d.extraFormats?d.extraFormats.slice():[],h.indexOf(a)<0&&h.indexOf(g)<0&&h.push(g),f=g.toLowerCase().indexOf("a")<1&&g.replace(/\[.*?\]/g,"").indexOf("h")<1,x("y")&&(p=2),x("M")&&(p=1),x("d")&&(p=0),i=Math.max(p,i),m||$(k)};if(j.destroy=function(){_(),ka(),c.removeData("DateTimePicker"),c.removeData("date")},j.toggle=ea,j.show=da,j.hide=_,j.disable=function(){return _(),n&&n.hasClass("btn")&&n.addClass("disabled"),e.prop("disabled",!0),j},j.enable=function(){return n&&n.hasClass("btn")&&n.removeClass("disabled"),e.prop("disabled",!1),j},j.ignoreReadonly=function(a){if(0===arguments.length)return d.ignoreReadonly;if("boolean"!=typeof a)throw new TypeError("ignoreReadonly () expects a boolean parameter");return d.ignoreReadonly=a,j},j.options=function(b){if(0===arguments.length)return a.extend(!0,{},d);if(!(b instanceof Object))throw new TypeError("options() options parameter should be an object");return a.extend(!0,d,b),a.each(d,function(a,b){if(void 0===j[a])throw new TypeError("option "+a+" is not recognized!");j[a](b)}),j},j.date=function(a){if(0===arguments.length)return m?null:k.clone();if(!(null===a||"string"==typeof a||b.isMoment(a)||a instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return $(null===a?null:fa(a)),j},j.format=function(a){if(0===arguments.length)return d.format;if("string"!=typeof a&&("boolean"!=typeof a||a!==!1))throw new TypeError("format() expects a sting or boolean:false parameter "+a);return d.format=a,g&&na(),j},j.dayViewHeaderFormat=function(a){if(0===arguments.length)return d.dayViewHeaderFormat;if("string"!=typeof a)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return d.dayViewHeaderFormat=a,j},j.extraFormats=function(a){if(0===arguments.length)return d.extraFormats;if(a!==!1&&!(a instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return d.extraFormats=a,h&&na(),j},j.disabledDates=function(b){if(0===arguments.length)return d.disabledDates?a.extend({},d.disabledDates):d.disabledDates;if(!b)return d.disabledDates=!1,Z(),j;if(!(b instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return d.disabledDates=la(b),d.enabledDates=!1,Z(),j},j.enabledDates=function(b){if(0===arguments.length)return d.enabledDates?a.extend({},d.enabledDates):d.enabledDates;if(!b)return d.enabledDates=!1,Z(),j;if(!(b instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return d.enabledDates=la(b),d.disabledDates=!1,Z(),j},j.daysOfWeekDisabled=function(a){if(0===arguments.length)return d.daysOfWeekDisabled.splice(0);if("boolean"==typeof a&&!a)return d.daysOfWeekDisabled=!1,Z(),j;if(!(a instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(d.daysOfWeekDisabled=a.reduce(function(a,b){return b=parseInt(b,10),b>6||0>b||isNaN(b)?a:(-1===a.indexOf(b)&&a.push(b),a)},[]).sort(),d.useCurrent&&!d.keepInvalid){for(var b=0;!P(k,"d");){if(k.add(1,"d"),7===b)throw"Tried 7 times to find a valid date";b++}$(k)}return Z(),j},j.maxDate=function(a){if(0===arguments.length)return d.maxDate?d.maxDate.clone():d.maxDate;if("boolean"==typeof a&&a===!1)return d.maxDate=!1,Z(),j;"string"==typeof a&&("now"===a||"moment"===a)&&(a=b());var c=fa(a);if(!c.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+a);if(d.minDate&&c.isBefore(d.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+c.format(g));return d.maxDate=c,d.useCurrent&&!d.keepInvalid&&k.isAfter(a)&&$(d.maxDate),l.isAfter(c)&&(l=c.clone()),Z(),j},j.minDate=function(a){if(0===arguments.length)return d.minDate?d.minDate.clone():d.minDate;if("boolean"==typeof a&&a===!1)return d.minDate=!1,Z(),j;"string"==typeof a&&("now"===a||"moment"===a)&&(a=b());var c=fa(a);if(!c.isValid())throw new TypeError("minDate() Could not parse date parameter: "+a);if(d.maxDate&&c.isAfter(d.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+c.format(g));return d.minDate=c,d.useCurrent&&!d.keepInvalid&&k.isBefore(a)&&$(d.minDate),l.isBefore(c)&&(l=c.clone()),Z(),j},j.defaultDate=function(a){if(0===arguments.length)return d.defaultDate?d.defaultDate.clone():d.defaultDate;if(!a)return d.defaultDate=!1,j;"string"==typeof a&&("now"===a||"moment"===a)&&(a=b());var c=fa(a);if(!c.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+a);if(!P(c))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return d.defaultDate=c,(d.defaultDate&&d.inline||""===e.val().trim()&&void 0===e.attr("placeholder"))&&$(d.defaultDate),j},j.locale=function(a){if(0===arguments.length)return d.locale;if(!b.localeData(a))throw new TypeError("locale() locale "+a+" is not loaded from moment locales!");return d.locale=a,k.locale(d.locale),l.locale(d.locale),g&&na(),o&&(_(),da()),j},j.stepping=function(a){return 0===arguments.length?d.stepping:(a=parseInt(a,10),(isNaN(a)||1>a)&&(a=1),d.stepping=a,j)},j.useCurrent=function(a){var b=["year","month","day","hour","minute"];if(0===arguments.length)return d.useCurrent;if("boolean"!=typeof a&&"string"!=typeof a)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof a&&-1===b.indexOf(a.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+b.join(", "));return d.useCurrent=a,j},j.collapse=function(a){if(0===arguments.length)return d.collapse;if("boolean"!=typeof a)throw new TypeError("collapse() expects a boolean parameter");return d.collapse===a?j:(d.collapse=a,o&&(_(),da()),j)},j.icons=function(b){if(0===arguments.length)return a.extend({},d.icons);if(!(b instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return a.extend(d.icons,b),o&&(_(),da()),j},j.useStrict=function(a){if(0===arguments.length)return d.useStrict;if("boolean"!=typeof a)throw new TypeError("useStrict() expects a boolean parameter");return d.useStrict=a,j},j.sideBySide=function(a){if(0===arguments.length)return d.sideBySide;if("boolean"!=typeof a)throw new TypeError("sideBySide() expects a boolean parameter");return d.sideBySide=a,o&&(_(),da()),j},j.viewMode=function(a){if(0===arguments.length)return d.viewMode;if("string"!=typeof a)throw new TypeError("viewMode() expects a string parameter");if(-1===r.indexOf(a))throw new TypeError("viewMode() parameter must be one of ("+r.join(", ")+") value");return d.viewMode=a,i=Math.max(r.indexOf(a),p),J(),j},j.toolbarPlacement=function(a){if(0===arguments.length)return d.toolbarPlacement;if("string"!=typeof a)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===u.indexOf(a))throw new TypeError("toolbarPlacement() parameter must be one of ("+u.join(", ")+") value");return d.toolbarPlacement=a,o&&(_(),da()),j},j.widgetPositioning=function(b){if(0===arguments.length)return a.extend({},d.widgetPositioning);if("[object Object]"!=={}.toString.call(b))throw new TypeError("widgetPositioning() expects an object variable");if(b.horizontal){if("string"!=typeof b.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(b.horizontal=b.horizontal.toLowerCase(),-1===t.indexOf(b.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+t.join(", ")+")");d.widgetPositioning.horizontal=b.horizontal}if(b.vertical){if("string"!=typeof b.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(b.vertical=b.vertical.toLowerCase(),-1===s.indexOf(b.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+s.join(", ")+")");d.widgetPositioning.vertical=b.vertical}return Z(),j},j.calendarWeeks=function(a){if(0===arguments.length)return d.calendarWeeks;if("boolean"!=typeof a)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return d.calendarWeeks=a,Z(),j},j.showTodayButton=function(a){if(0===arguments.length)return d.showTodayButton;if("boolean"!=typeof a)throw new TypeError("showTodayButton() expects a boolean parameter");return d.showTodayButton=a,o&&(_(),da()),j},j.showClear=function(a){if(0===arguments.length)return d.showClear;if("boolean"!=typeof a)throw new TypeError("showClear() expects a boolean parameter");return d.showClear=a,o&&(_(),da()),j},j.widgetParent=function(b){if(0===arguments.length)return d.widgetParent;if("string"==typeof b&&(b=a(b)),null!==b&&"string"!=typeof b&&!(b instanceof a))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return d.widgetParent=b,o&&(_(),da()),j},j.keepOpen=function(a){if(0===arguments.length)return d.keepOpen;if("boolean"!=typeof a)throw new TypeError("keepOpen() expects a boolean parameter");return d.keepOpen=a,j},j.focusOnShow=function(a){if(0===arguments.length)return d.focusOnShow;if("boolean"!=typeof a)throw new TypeError("focusOnShow() expects a boolean parameter");return d.focusOnShow=a,j},j.inline=function(a){if(0===arguments.length)return d.inline;if("boolean"!=typeof a)throw new TypeError("inline() expects a boolean parameter");return d.inline=a,j},j.clear=function(){return aa(),j},j.keyBinds=function(a){return d.keyBinds=a,j},j.debug=function(a){if("boolean"!=typeof a)throw new TypeError("debug() expects a boolean parameter");return d.debug=a,j},j.allowInputToggle=function(a){if(0===arguments.length)return d.allowInputToggle;if("boolean"!=typeof a)throw new TypeError("allowInputToggle() expects a boolean parameter");return d.allowInputToggle=a,j},j.showClose=function(a){if(0===arguments.length)return d.showClose;if("boolean"!=typeof a)throw new TypeError("showClose() expects a boolean parameter");return d.showClose=a,j},j.keepInvalid=function(a){if(0===arguments.length)return d.keepInvalid;if("boolean"!=typeof a)throw new TypeError("keepInvalid() expects a boolean parameter");return d.keepInvalid=a,j},j.datepickerInput=function(a){if(0===arguments.length)return d.datepickerInput;if("string"!=typeof a)throw new TypeError("datepickerInput() expects a string parameter");return d.datepickerInput=a,j},j.disabledTimeIntervals=function(b){if(0===arguments.length)return d.disabledTimeIntervals?a.extend({},d.disabledTimeIntervals):d.disabledTimeIntervals;if(!b)return d.disabledTimeIntervals=!1,Z(),j;if(!(b instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return d.disabledTimeIntervals=b,Z(),j},j.disabledHours=function(b){if(0===arguments.length)return d.disabledHours?a.extend({},d.disabledHours):d.disabledHours;if(!b)return d.disabledHours=!1,Z(),j;if(!(b instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(d.disabledHours=ma(b),d.enabledHours=!1,d.useCurrent&&!d.keepInvalid){for(var c=0;!P(k,"h");){if(k.add(1,"h"),7===c)throw"Tried 7 times to find a valid date";c++}$(k)}return Z(),j},j.enabledHours=function(b){if(0===arguments.length)return d.enabledHours?a.extend({},d.enabledHours):d.enabledHours;if(!b)return d.enabledHours=!1,Z(),j;if(!(b instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(d.enabledHours=ma(b),d.disabledHours=!1,d.useCurrent&&!d.keepInvalid){for(var c=0;!P(k,"h");){if(k.add(1,"h"),7===c)throw"Tried 7 times to find a valid date";c++}$(k)}return Z(),j},j.viewDate=function(a){if(0===arguments.length)return l.clone();if(!a)return l=k.clone(),j;if(!("string"==typeof a||b.isMoment(a)||a instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");
|
9
|
-
|
10
|
-
return l=fa(a),I(),j},c.is("input"))e=c;else if(e=c.find(d.datepickerInput),0===e.size())e=c.find("input");else if(!e.is("input"))throw new Error('CSS class "'+d.datepickerInput+'" cannot be applied to non input element');if(c.hasClass("input-group")&&(n=c.find(0===c.find(".datepickerbutton").size()?'[class^="input-group-"]':".datepickerbutton")),!d.inline&&!e.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return a.extend(!0,d,F()),j.options(d),na(),ja(),e.prop("disabled")&&j.disable(),e.is("input")&&0!==e.val().trim().length?$(fa(e.val().trim())):d.defaultDate&&void 0===e.attr("placeholder")&&$(d.defaultDate),d.inline&&da(),j};a.fn.datetimepicker=function(b){return this.each(function(){var d=a(this);d.data("DateTimePicker")||(b=a.extend(!0,{},a.fn.datetimepicker.defaults,b),d.data("DateTimePicker",c(d,b)))})},a.fn.datetimepicker.defaults={format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:b.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(a){if(a){var c=this.date()||b();this.date(a.find(".datepicker").is(":visible")?c.clone().subtract(7,"d"):c.clone().add(1,"m"))}},down:function(a){if(!a)return void this.show();var c=this.date()||b();this.date(a.find(".datepicker").is(":visible")?c.clone().add(7,"d"):c.clone().subtract(1,"m"))},"control up":function(a){if(a){var c=this.date()||b();this.date(a.find(".datepicker").is(":visible")?c.clone().subtract(1,"y"):c.clone().add(1,"h"))}},"control down":function(a){if(a){var c=this.date()||b();this.date(a.find(".datepicker").is(":visible")?c.clone().add(1,"y"):c.clone().subtract(1,"h"))}},left:function(a){if(a){var c=this.date()||b();a.find(".datepicker").is(":visible")&&this.date(c.clone().subtract(1,"d"))}},right:function(a){if(a){var c=this.date()||b();a.find(".datepicker").is(":visible")&&this.date(c.clone().add(1,"d"))}},pageUp:function(a){if(a){var c=this.date()||b();a.find(".datepicker").is(":visible")&&this.date(c.clone().subtract(1,"M"))}},pageDown:function(a){if(a){var c=this.date()||b();a.find(".datepicker").is(":visible")&&this.date(c.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(a){a.find(".timepicker").is(":visible")&&a.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(b())},"delete":function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1}});
|
8
|
+
!function(a){"use strict";if("function"==typeof define&&define.amd)define(["jquery","moment"],a);else if("object"==typeof exports)a(require("jquery"),require("moment"));else{if("undefined"==typeof jQuery)throw"bootstrap-datetimepicker requires jQuery to be loaded first";if("undefined"==typeof moment)throw"bootstrap-datetimepicker requires Moment.js to be loaded first";a(jQuery,moment)}}(function(a,b){"use strict";if(!b)throw new Error("bootstrap-datetimepicker requires Moment.js to be loaded first");var c=function(c,d){var e,f,g,h,i,j,k,l={},m=!0,n=!1,o=!1,p=0,q=[{clsName:"days",navFnc:"M",navStep:1},{clsName:"months",navFnc:"y",navStep:1},{clsName:"years",navFnc:"y",navStep:10},{clsName:"decades",navFnc:"y",navStep:100}],r=["days","months","years","decades"],s=["top","bottom","auto"],t=["left","right","auto"],u=["default","top","bottom"],v={up:38,38:"up",down:40,40:"down",left:37,37:"left",right:39,39:"right",tab:9,9:"tab",escape:27,27:"escape",enter:13,13:"enter",pageUp:33,33:"pageUp",pageDown:34,34:"pageDown",shift:16,16:"shift",control:17,17:"control",space:32,32:"space",t:84,84:"t","delete":46,46:"delete"},w={},x=function(a){var c,e,f,g,h,i=!1;return void 0!==b.tz&&void 0!==d.timeZone&&null!==d.timeZone&&""!==d.timeZone&&(i=!0),void 0===a||null===a?c=i?b().tz(d.timeZone).startOf("d"):b().startOf("d"):i?(e=b().tz(d.timeZone).utcOffset(),f=b(a,j,d.useStrict).utcOffset(),f!==e?(g=b().tz(d.timeZone).format("Z"),h=b(a,j,d.useStrict).format("YYYY-MM-DD[T]HH:mm:ss")+g,c=b(h,j,d.useStrict).tz(d.timeZone)):c=b(a,j,d.useStrict).tz(d.timeZone)):c=b(a,j,d.useStrict),c},y=function(a){if("string"!=typeof a||a.length>1)throw new TypeError("isEnabled expects a single character string parameter");switch(a){case"y":return-1!==i.indexOf("Y");case"M":return-1!==i.indexOf("M");case"d":return-1!==i.toLowerCase().indexOf("d");case"h":case"H":return-1!==i.toLowerCase().indexOf("h");case"m":return-1!==i.indexOf("m");case"s":return-1!==i.indexOf("s");default:return!1}},z=function(){return y("h")||y("m")||y("s")},A=function(){return y("y")||y("M")||y("d")},B=function(){var b=a("<thead>").append(a("<tr>").append(a("<th>").addClass("prev").attr("data-action","previous").append(a("<span>").addClass(d.icons.previous))).append(a("<th>").addClass("picker-switch").attr("data-action","pickerSwitch").attr("colspan",d.calendarWeeks?"6":"5")).append(a("<th>").addClass("next").attr("data-action","next").append(a("<span>").addClass(d.icons.next)))),c=a("<tbody>").append(a("<tr>").append(a("<td>").attr("colspan",d.calendarWeeks?"8":"7")));return[a("<div>").addClass("datepicker-days").append(a("<table>").addClass("table-condensed").append(b).append(a("<tbody>"))),a("<div>").addClass("datepicker-months").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone())),a("<div>").addClass("datepicker-years").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone())),a("<div>").addClass("datepicker-decades").append(a("<table>").addClass("table-condensed").append(b.clone()).append(c.clone()))]},C=function(){var b=a("<tr>"),c=a("<tr>"),e=a("<tr>");return y("h")&&(b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementHour}).addClass("btn").attr("data-action","incrementHours").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-hour").attr({"data-time-component":"hours",title:d.tooltips.pickHour}).attr("data-action","showHours"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementHour}).addClass("btn").attr("data-action","decrementHours").append(a("<span>").addClass(d.icons.down))))),y("m")&&(y("h")&&(b.append(a("<td>").addClass("separator")),c.append(a("<td>").addClass("separator").html(":")),e.append(a("<td>").addClass("separator"))),b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementMinute}).addClass("btn").attr("data-action","incrementMinutes").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-minute").attr({"data-time-component":"minutes",title:d.tooltips.pickMinute}).attr("data-action","showMinutes"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementMinute}).addClass("btn").attr("data-action","decrementMinutes").append(a("<span>").addClass(d.icons.down))))),y("s")&&(y("m")&&(b.append(a("<td>").addClass("separator")),c.append(a("<td>").addClass("separator").html(":")),e.append(a("<td>").addClass("separator"))),b.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.incrementSecond}).addClass("btn").attr("data-action","incrementSeconds").append(a("<span>").addClass(d.icons.up)))),c.append(a("<td>").append(a("<span>").addClass("timepicker-second").attr({"data-time-component":"seconds",title:d.tooltips.pickSecond}).attr("data-action","showSeconds"))),e.append(a("<td>").append(a("<a>").attr({href:"#",tabindex:"-1",title:d.tooltips.decrementSecond}).addClass("btn").attr("data-action","decrementSeconds").append(a("<span>").addClass(d.icons.down))))),h||(b.append(a("<td>").addClass("separator")),c.append(a("<td>").append(a("<button>").addClass("btn btn-primary").attr({"data-action":"togglePeriod",tabindex:"-1",title:d.tooltips.togglePeriod}))),e.append(a("<td>").addClass("separator"))),a("<div>").addClass("timepicker-picker").append(a("<table>").addClass("table-condensed").append([b,c,e]))},D=function(){var b=a("<div>").addClass("timepicker-hours").append(a("<table>").addClass("table-condensed")),c=a("<div>").addClass("timepicker-minutes").append(a("<table>").addClass("table-condensed")),d=a("<div>").addClass("timepicker-seconds").append(a("<table>").addClass("table-condensed")),e=[C()];return y("h")&&e.push(b),y("m")&&e.push(c),y("s")&&e.push(d),e},E=function(){var b=[];return d.showTodayButton&&b.push(a("<td>").append(a("<a>").attr({"data-action":"today",title:d.tooltips.today}).append(a("<span>").addClass(d.icons.today)))),!d.sideBySide&&A()&&z()&&b.push(a("<td>").append(a("<a>").attr({"data-action":"togglePicker",title:d.tooltips.selectTime}).append(a("<span>").addClass(d.icons.time)))),d.showClear&&b.push(a("<td>").append(a("<a>").attr({"data-action":"clear",title:d.tooltips.clear}).append(a("<span>").addClass(d.icons.clear)))),d.showClose&&b.push(a("<td>").append(a("<a>").attr({"data-action":"close",title:d.tooltips.close}).append(a("<span>").addClass(d.icons.close)))),a("<table>").addClass("table-condensed").append(a("<tbody>").append(a("<tr>").append(b)))},F=function(){var b=a("<div>").addClass("bootstrap-datetimepicker-widget dropdown-menu"),c=a("<div>").addClass("datepicker").append(B()),e=a("<div>").addClass("timepicker").append(D()),f=a("<ul>").addClass("list-unstyled"),g=a("<li>").addClass("picker-switch"+(d.collapse?" accordion-toggle":"")).append(E());return d.inline&&b.removeClass("dropdown-menu"),h&&b.addClass("usetwentyfour"),y("s")&&!h&&b.addClass("wider"),d.sideBySide&&A()&&z()?(b.addClass("timepicker-sbs"),"top"===d.toolbarPlacement&&b.append(g),b.append(a("<div>").addClass("row").append(c.addClass("col-md-6")).append(e.addClass("col-md-6"))),"bottom"===d.toolbarPlacement&&b.append(g),b):("top"===d.toolbarPlacement&&f.append(g),A()&&f.append(a("<li>").addClass(d.collapse&&z()?"collapse in":"").append(c)),"default"===d.toolbarPlacement&&f.append(g),z()&&f.append(a("<li>").addClass(d.collapse&&A()?"collapse":"").append(e)),"bottom"===d.toolbarPlacement&&f.append(g),b.append(f))},G=function(){var b,e={};return b=c.is("input")||d.inline?c.data():c.find("input").data(),b.dateOptions&&b.dateOptions instanceof Object&&(e=a.extend(!0,e,b.dateOptions)),a.each(d,function(a){var c="date"+a.charAt(0).toUpperCase()+a.slice(1);void 0!==b[c]&&(e[a]=b[c])}),e},H=function(){var b,e=(n||c).position(),f=(n||c).offset(),g=d.widgetPositioning.vertical,h=d.widgetPositioning.horizontal;if(d.widgetParent)b=d.widgetParent.append(o);else if(c.is("input"))b=c.after(o).parent();else{if(d.inline)return void(b=c.append(o));b=c,c.children().first().after(o)}if("auto"===g&&(g=f.top+1.5*o.height()>=a(window).height()+a(window).scrollTop()&&o.height()+c.outerHeight()<f.top?"top":"bottom"),"auto"===h&&(h=b.width()<f.left+o.outerWidth()/2&&f.left+o.outerWidth()>a(window).width()?"right":"left"),"top"===g?o.addClass("top").removeClass("bottom"):o.addClass("bottom").removeClass("top"),"right"===h?o.addClass("pull-right"):o.removeClass("pull-right"),"relative"!==b.css("position")&&(b=b.parents().filter(function(){return"relative"===a(this).css("position")}).first()),0===b.length)throw new Error("datetimepicker component should be placed within a relative positioned container");o.css({top:"top"===g?"auto":e.top+c.outerHeight(),bottom:"top"===g?e.top+c.outerHeight():"auto",left:"left"===h?b===c?0:e.left:"auto",right:"left"===h?"auto":b.outerWidth()-c.outerWidth()-(b===c?0:e.left)})},I=function(a){"dp.change"===a.type&&(a.date&&a.date.isSame(a.oldDate)||!a.date&&!a.oldDate)||c.trigger(a)},J=function(a){"y"===a&&(a="YYYY"),I({type:"dp.update",change:a,viewDate:f.clone()})},K=function(a){o&&(a&&(k=Math.max(p,Math.min(3,k+a))),o.find(".datepicker > div").hide().filter(".datepicker-"+q[k].clsName).show())},L=function(){var b=a("<tr>"),c=f.clone().startOf("w").startOf("d");for(d.calendarWeeks===!0&&b.append(a("<th>").addClass("cw").text("#"));c.isBefore(f.clone().endOf("w"));)b.append(a("<th>").addClass("dow").text(c.format("dd"))),c.add(1,"d");o.find(".datepicker-days thead").append(b)},M=function(a){return d.disabledDates[a.format("YYYY-MM-DD")]===!0},N=function(a){return d.enabledDates[a.format("YYYY-MM-DD")]===!0},O=function(a){return d.disabledHours[a.format("H")]===!0},P=function(a){return d.enabledHours[a.format("H")]===!0},Q=function(b,c){if(!b.isValid())return!1;if(d.disabledDates&&"d"===c&&M(b))return!1;if(d.enabledDates&&"d"===c&&!N(b))return!1;if(d.minDate&&b.isBefore(d.minDate,c))return!1;if(d.maxDate&&b.isAfter(d.maxDate,c))return!1;if(d.daysOfWeekDisabled&&"d"===c&&-1!==d.daysOfWeekDisabled.indexOf(b.day()))return!1;if(d.disabledHours&&("h"===c||"m"===c||"s"===c)&&O(b))return!1;if(d.enabledHours&&("h"===c||"m"===c||"s"===c)&&!P(b))return!1;if(d.disabledTimeIntervals&&("h"===c||"m"===c||"s"===c)){var e=!1;if(a.each(d.disabledTimeIntervals,function(){return b.isBetween(this[0],this[1])?(e=!0,!1):void 0}),e)return!1}return!0},R=function(){for(var b=[],c=f.clone().startOf("y").startOf("d");c.isSame(f,"y");)b.push(a("<span>").attr("data-action","selectMonth").addClass("month").text(c.format("MMM"))),c.add(1,"M");o.find(".datepicker-months td").empty().append(b)},S=function(){var b=o.find(".datepicker-months"),c=b.find("th"),g=b.find("tbody").find("span");c.eq(0).find("span").attr("title",d.tooltips.prevYear),c.eq(1).attr("title",d.tooltips.selectYear),c.eq(2).find("span").attr("title",d.tooltips.nextYear),b.find(".disabled").removeClass("disabled"),Q(f.clone().subtract(1,"y"),"y")||c.eq(0).addClass("disabled"),c.eq(1).text(f.year()),Q(f.clone().add(1,"y"),"y")||c.eq(2).addClass("disabled"),g.removeClass("active"),e.isSame(f,"y")&&!m&&g.eq(e.month()).addClass("active"),g.each(function(b){Q(f.clone().month(b),"M")||a(this).addClass("disabled")})},T=function(){var a=o.find(".datepicker-years"),b=a.find("th"),c=f.clone().subtract(5,"y"),g=f.clone().add(6,"y"),h="";for(b.eq(0).find("span").attr("title",d.tooltips.prevDecade),b.eq(1).attr("title",d.tooltips.selectDecade),b.eq(2).find("span").attr("title",d.tooltips.nextDecade),a.find(".disabled").removeClass("disabled"),d.minDate&&d.minDate.isAfter(c,"y")&&b.eq(0).addClass("disabled"),b.eq(1).text(c.year()+"-"+g.year()),d.maxDate&&d.maxDate.isBefore(g,"y")&&b.eq(2).addClass("disabled");!c.isAfter(g,"y");)h+='<span data-action="selectYear" class="year'+(c.isSame(e,"y")&&!m?" active":"")+(Q(c,"y")?"":" disabled")+'">'+c.year()+"</span>",c.add(1,"y");a.find("td").html(h)},U=function(){var a=o.find(".datepicker-decades"),c=a.find("th"),g=b({y:f.year()-f.year()%100-1}),h=g.clone().add(100,"y"),i=g.clone(),j="";for(c.eq(0).find("span").attr("title",d.tooltips.prevCentury),c.eq(2).find("span").attr("title",d.tooltips.nextCentury),a.find(".disabled").removeClass("disabled"),(g.isSame(b({y:1900}))||d.minDate&&d.minDate.isAfter(g,"y"))&&c.eq(0).addClass("disabled"),c.eq(1).text(g.year()+"-"+h.year()),(g.isSame(b({y:2e3}))||d.maxDate&&d.maxDate.isBefore(h,"y"))&&c.eq(2).addClass("disabled");!g.isAfter(h,"y");)j+='<span data-action="selectDecade" class="decade'+(g.isSame(e,"y")?" active":"")+(Q(g,"y")?"":" disabled")+'" data-selection="'+(g.year()+6)+'">'+(g.year()+1)+" - "+(g.year()+12)+"</span>",g.add(12,"y");j+="<span></span><span></span><span></span>",a.find("td").html(j),c.eq(1).text(i.year()+1+"-"+g.year())},V=function(){var b,c,g,h,i=o.find(".datepicker-days"),j=i.find("th"),k=[];if(A()){for(j.eq(0).find("span").attr("title",d.tooltips.prevMonth),j.eq(1).attr("title",d.tooltips.selectMonth),j.eq(2).find("span").attr("title",d.tooltips.nextMonth),i.find(".disabled").removeClass("disabled"),j.eq(1).text(f.format(d.dayViewHeaderFormat)),Q(f.clone().subtract(1,"M"),"M")||j.eq(0).addClass("disabled"),Q(f.clone().add(1,"M"),"M")||j.eq(2).addClass("disabled"),b=f.clone().startOf("M").startOf("w").startOf("d"),h=0;42>h;h++)0===b.weekday()&&(c=a("<tr>"),d.calendarWeeks&&c.append('<td class="cw">'+b.week()+"</td>"),k.push(c)),g="",b.isBefore(f,"M")&&(g+=" old"),b.isAfter(f,"M")&&(g+=" new"),b.isSame(e,"d")&&!m&&(g+=" active"),Q(b,"d")||(g+=" disabled"),b.isSame(x(),"d")&&(g+=" today"),(0===b.day()||6===b.day())&&(g+=" weekend"),c.append('<td data-action="selectDay" data-day="'+b.format("L")+'" class="day'+g+'">'+b.date()+"</td>"),b.add(1,"d");i.find("tbody").empty().append(k),S(),T(),U()}},W=function(){var b=o.find(".timepicker-hours table"),c=f.clone().startOf("d"),d=[],e=a("<tr>");for(f.hour()>11&&!h&&c.hour(12);c.isSame(f,"d")&&(h||f.hour()<12&&c.hour()<12||f.hour()>11);)c.hour()%4===0&&(e=a("<tr>"),d.push(e)),e.append('<td data-action="selectHour" class="hour'+(Q(c,"h")?"":" disabled")+'">'+c.format(h?"HH":"hh")+"</td>"),c.add(1,"h");b.empty().append(d)},X=function(){for(var b=o.find(".timepicker-minutes table"),c=f.clone().startOf("h"),e=[],g=a("<tr>"),h=1===d.stepping?5:d.stepping;f.isSame(c,"h");)c.minute()%(4*h)===0&&(g=a("<tr>"),e.push(g)),g.append('<td data-action="selectMinute" class="minute'+(Q(c,"m")?"":" disabled")+'">'+c.format("mm")+"</td>"),c.add(h,"m");b.empty().append(e)},Y=function(){for(var b=o.find(".timepicker-seconds table"),c=f.clone().startOf("m"),d=[],e=a("<tr>");f.isSame(c,"m");)c.second()%20===0&&(e=a("<tr>"),d.push(e)),e.append('<td data-action="selectSecond" class="second'+(Q(c,"s")?"":" disabled")+'">'+c.format("ss")+"</td>"),c.add(5,"s");b.empty().append(d)},Z=function(){var a,b,c=o.find(".timepicker span[data-time-component]");h||(a=o.find(".timepicker [data-action=togglePeriod]"),b=e.clone().add(e.hours()>=12?-12:12,"h"),a.text(e.format("A")),Q(b,"h")?a.removeClass("disabled"):a.addClass("disabled")),c.filter("[data-time-component=hours]").text(e.format(h?"HH":"hh")),c.filter("[data-time-component=minutes]").text(e.format("mm")),c.filter("[data-time-component=seconds]").text(e.format("ss")),W(),X(),Y()},$=function(){o&&(V(),Z())},_=function(a){var b=m?null:e;return a?(a=a.clone().locale(d.locale),1!==d.stepping&&a.minutes(Math.round(a.minutes()/d.stepping)*d.stepping%60).seconds(0),void(Q(a)?(e=a,f=e.clone(),g.val(e.format(i)),c.data("date",e.format(i)),m=!1,$(),I({type:"dp.change",date:e.clone(),oldDate:b})):(d.keepInvalid||g.val(m?"":e.format(i)),I({type:"dp.error",date:a})))):(m=!0,g.val(""),c.data("date",""),I({type:"dp.change",date:!1,oldDate:b}),void $())},aa=function(){var b=!1;return o?(o.find(".collapse").each(function(){var c=a(this).data("collapse");return c&&c.transitioning?(b=!0,!1):!0}),b?l:(n&&n.hasClass("btn")&&n.toggleClass("active"),o.hide(),a(window).off("resize",H),o.off("click","[data-action]"),o.off("mousedown",!1),o.remove(),o=!1,I({type:"dp.hide",date:e.clone()}),g.blur(),l)):l},ba=function(){_(null)},ca={next:function(){var a=q[k].navFnc;f.add(q[k].navStep,a),V(),J(a)},previous:function(){var a=q[k].navFnc;f.subtract(q[k].navStep,a),V(),J(a)},pickerSwitch:function(){K(1)},selectMonth:function(b){var c=a(b.target).closest("tbody").find("span").index(a(b.target));f.month(c),k===p?(_(e.clone().year(f.year()).month(f.month())),d.inline||aa()):(K(-1),V()),J("M")},selectYear:function(b){var c=parseInt(a(b.target).text(),10)||0;f.year(c),k===p?(_(e.clone().year(f.year())),d.inline||aa()):(K(-1),V()),J("YYYY")},selectDecade:function(b){var c=parseInt(a(b.target).data("selection"),10)||0;f.year(c),k===p?(_(e.clone().year(f.year())),d.inline||aa()):(K(-1),V()),J("YYYY")},selectDay:function(b){var c=f.clone();a(b.target).is(".old")&&c.subtract(1,"M"),a(b.target).is(".new")&&c.add(1,"M"),_(c.date(parseInt(a(b.target).text(),10))),z()||d.keepOpen||d.inline||aa()},incrementHours:function(){var a=e.clone().add(1,"h");Q(a,"h")&&_(a)},incrementMinutes:function(){var a=e.clone().add(d.stepping,"m");Q(a,"m")&&_(a)},incrementSeconds:function(){var a=e.clone().add(1,"s");Q(a,"s")&&_(a)},decrementHours:function(){var a=e.clone().subtract(1,"h");Q(a,"h")&&_(a)},decrementMinutes:function(){var a=e.clone().subtract(d.stepping,"m");Q(a,"m")&&_(a)},decrementSeconds:function(){var a=e.clone().subtract(1,"s");Q(a,"s")&&_(a)},togglePeriod:function(){_(e.clone().add(e.hours()>=12?-12:12,"h"))},togglePicker:function(b){var c,e=a(b.target),f=e.closest("ul"),g=f.find(".in"),h=f.find(".collapse:not(.in)");if(g&&g.length){if(c=g.data("collapse"),c&&c.transitioning)return;g.collapse?(g.collapse("hide"),h.collapse("show")):(g.removeClass("in"),h.addClass("in")),e.is("span")?e.toggleClass(d.icons.time+" "+d.icons.date):e.find("span").toggleClass(d.icons.time+" "+d.icons.date)}},showPicker:function(){o.find(".timepicker > div:not(.timepicker-picker)").hide(),o.find(".timepicker .timepicker-picker").show()},showHours:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-hours").show()},showMinutes:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-minutes").show()},showSeconds:function(){o.find(".timepicker .timepicker-picker").hide(),o.find(".timepicker .timepicker-seconds").show()},selectHour:function(b){var c=parseInt(a(b.target).text(),10);h||(e.hours()>=12?12!==c&&(c+=12):12===c&&(c=0)),_(e.clone().hours(c)),ca.showPicker.call(l)},selectMinute:function(b){_(e.clone().minutes(parseInt(a(b.target).text(),10))),ca.showPicker.call(l)},selectSecond:function(b){_(e.clone().seconds(parseInt(a(b.target).text(),10))),ca.showPicker.call(l)},clear:ba,today:function(){var a=x();Q(a,"d")&&_(a)},close:aa},da=function(b){return a(b.currentTarget).is(".disabled")?!1:(ca[a(b.currentTarget).data("action")].apply(l,arguments),!1)},ea=function(){var b,c={year:function(a){return a.month(0).date(1).hours(0).seconds(0).minutes(0)},month:function(a){return a.date(1).hours(0).seconds(0).minutes(0)},day:function(a){return a.hours(0).seconds(0).minutes(0)},hour:function(a){return a.seconds(0).minutes(0)},minute:function(a){return a.seconds(0)}};return g.prop("disabled")||!d.ignoreReadonly&&g.prop("readonly")||o?l:(void 0!==g.val()&&0!==g.val().trim().length?_(ga(g.val().trim())):d.useCurrent&&m&&(g.is("input")&&0===g.val().trim().length||d.inline)&&(b=x(),"string"==typeof d.useCurrent&&(b=c[d.useCurrent](b)),_(b)),o=F(),L(),R(),o.find(".timepicker-hours").hide(),o.find(".timepicker-minutes").hide(),o.find(".timepicker-seconds").hide(),$(),K(),a(window).on("resize",H),o.on("click","[data-action]",da),o.on("mousedown",!1),n&&n.hasClass("btn")&&n.toggleClass("active"),o.show(),H(),d.focusOnShow&&!g.is(":focus")&&g.focus(),I({type:"dp.show"}),l)},fa=function(){return o?aa():ea()},ga=function(a){return a=void 0===d.parseInputDate?b.isMoment(a)||a instanceof Date?b(a):x(a):d.parseInputDate(a),a.locale(d.locale),a},ha=function(a){var b,c,e,f,g=null,h=[],i={},j=a.which,k="p";w[j]=k;for(b in w)w.hasOwnProperty(b)&&w[b]===k&&(h.push(b),parseInt(b,10)!==j&&(i[b]=!0));for(b in d.keyBinds)if(d.keyBinds.hasOwnProperty(b)&&"function"==typeof d.keyBinds[b]&&(e=b.split(" "),e.length===h.length&&v[j]===e[e.length-1])){for(f=!0,c=e.length-2;c>=0;c--)if(!(v[e[c]]in i)){f=!1;break}if(f){g=d.keyBinds[b];break}}g&&(g.call(l,o),a.stopPropagation(),a.preventDefault())},ia=function(a){w[a.which]="r",a.stopPropagation(),a.preventDefault()},ja=function(b){var c=a(b.target).val().trim(),d=c?ga(c):null;return _(d),b.stopImmediatePropagation(),!1},ka=function(){g.on({change:ja,blur:d.debug?"":aa,keydown:ha,keyup:ia,focus:d.allowInputToggle?ea:""}),c.is("input")?g.on({focus:ea}):n&&(n.on("click",fa),n.on("mousedown",!1))},la=function(){g.off({change:ja,blur:blur,keydown:ha,keyup:ia,focus:d.allowInputToggle?aa:""}),c.is("input")?g.off({focus:ea}):n&&(n.off("click",fa),n.off("mousedown",!1))},ma=function(b){var c={};return a.each(b,function(){var a=ga(this);a.isValid()&&(c[a.format("YYYY-MM-DD")]=!0)}),Object.keys(c).length?c:!1},na=function(b){var c={};return a.each(b,function(){c[this]=!0}),Object.keys(c).length?c:!1},oa=function(){var a=d.format||"L LT";i=a.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(a){var b=e.localeData().longDateFormat(a)||a;return b.replace(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,function(a){return e.localeData().longDateFormat(a)||a})}),j=d.extraFormats?d.extraFormats.slice():[],j.indexOf(a)<0&&j.indexOf(i)<0&&j.push(i),h=i.toLowerCase().indexOf("a")<1&&i.replace(/\[.*?\]/g,"").indexOf("h")<1,y("y")&&(p=2),y("M")&&(p=1),y("d")&&(p=0),k=Math.max(p,k),m||_(e)};if(l.destroy=function(){aa(),la(),c.removeData("DateTimePicker"),c.removeData("date")},l.toggle=fa,l.show=ea,l.hide=aa,l.disable=function(){return aa(),n&&n.hasClass("btn")&&n.addClass("disabled"),g.prop("disabled",!0),l},l.enable=function(){return n&&n.hasClass("btn")&&n.removeClass("disabled"),g.prop("disabled",!1),l},l.ignoreReadonly=function(a){if(0===arguments.length)return d.ignoreReadonly;if("boolean"!=typeof a)throw new TypeError("ignoreReadonly () expects a boolean parameter");return d.ignoreReadonly=a,l},l.options=function(b){if(0===arguments.length)return a.extend(!0,{},d);if(!(b instanceof Object))throw new TypeError("options() options parameter should be an object");return a.extend(!0,d,b),a.each(d,function(a,b){if(void 0===l[a])throw new TypeError("option "+a+" is not recognized!");l[a](b)}),l},l.date=function(a){if(0===arguments.length)return m?null:e.clone();if(!(null===a||"string"==typeof a||b.isMoment(a)||a instanceof Date))throw new TypeError("date() parameter must be one of [null, string, moment or Date]");return _(null===a?null:ga(a)),l},l.format=function(a){if(0===arguments.length)return d.format;if("string"!=typeof a&&("boolean"!=typeof a||a!==!1))throw new TypeError("format() expects a sting or boolean:false parameter "+a);return d.format=a,i&&oa(),l},l.timeZone=function(a){return 0===arguments.length?d.timeZone:(d.timeZone=a,l)},l.dayViewHeaderFormat=function(a){if(0===arguments.length)return d.dayViewHeaderFormat;if("string"!=typeof a)throw new TypeError("dayViewHeaderFormat() expects a string parameter");return d.dayViewHeaderFormat=a,l},l.extraFormats=function(a){if(0===arguments.length)return d.extraFormats;if(a!==!1&&!(a instanceof Array))throw new TypeError("extraFormats() expects an array or false parameter");return d.extraFormats=a,j&&oa(),l},l.disabledDates=function(b){if(0===arguments.length)return d.disabledDates?a.extend({},d.disabledDates):d.disabledDates;if(!b)return d.disabledDates=!1,$(),l;if(!(b instanceof Array))throw new TypeError("disabledDates() expects an array parameter");return d.disabledDates=ma(b),d.enabledDates=!1,$(),l},l.enabledDates=function(b){if(0===arguments.length)return d.enabledDates?a.extend({},d.enabledDates):d.enabledDates;if(!b)return d.enabledDates=!1,$(),l;if(!(b instanceof Array))throw new TypeError("enabledDates() expects an array parameter");return d.enabledDates=ma(b),d.disabledDates=!1,$(),l},l.daysOfWeekDisabled=function(a){if(0===arguments.length)return d.daysOfWeekDisabled.splice(0);if("boolean"==typeof a&&!a)return d.daysOfWeekDisabled=!1,$(),l;if(!(a instanceof Array))throw new TypeError("daysOfWeekDisabled() expects an array parameter");if(d.daysOfWeekDisabled=a.reduce(function(a,b){return b=parseInt(b,10),b>6||0>b||isNaN(b)?a:(-1===a.indexOf(b)&&a.push(b),a)},[]).sort(),d.useCurrent&&!d.keepInvalid){for(var b=0;!Q(e,"d");){if(e.add(1,"d"),7===b)throw"Tried 7 times to find a valid date";b++}_(e)}return $(),l},l.maxDate=function(a){if(0===arguments.length)return d.maxDate?d.maxDate.clone():d.maxDate;if("boolean"==typeof a&&a===!1)return d.maxDate=!1,$(),l;"string"==typeof a&&("now"===a||"moment"===a)&&(a=x());var b=ga(a);if(!b.isValid())throw new TypeError("maxDate() Could not parse date parameter: "+a);if(d.minDate&&b.isBefore(d.minDate))throw new TypeError("maxDate() date parameter is before options.minDate: "+b.format(i));return d.maxDate=b,d.useCurrent&&!d.keepInvalid&&e.isAfter(a)&&_(d.maxDate),f.isAfter(b)&&(f=b.clone().subtract(d.stepping,"m")),$(),l},l.minDate=function(a){if(0===arguments.length)return d.minDate?d.minDate.clone():d.minDate;if("boolean"==typeof a&&a===!1)return d.minDate=!1,$(),l;"string"==typeof a&&("now"===a||"moment"===a)&&(a=x());var b=ga(a);if(!b.isValid())throw new TypeError("minDate() Could not parse date parameter: "+a);if(d.maxDate&&b.isAfter(d.maxDate))throw new TypeError("minDate() date parameter is after options.maxDate: "+b.format(i));return d.minDate=b,d.useCurrent&&!d.keepInvalid&&e.isBefore(a)&&_(d.minDate),f.isBefore(b)&&(f=b.clone().add(d.stepping,"m")),$(),l},l.defaultDate=function(a){if(0===arguments.length)return d.defaultDate?d.defaultDate.clone():d.defaultDate;if(!a)return d.defaultDate=!1,l;"string"==typeof a&&("now"===a||"moment"===a)&&(a=x());var b=ga(a);if(!b.isValid())throw new TypeError("defaultDate() Could not parse date parameter: "+a);if(!Q(b))throw new TypeError("defaultDate() date passed is invalid according to component setup validations");return d.defaultDate=b,(d.defaultDate&&d.inline||""===g.val().trim())&&_(d.defaultDate),l},l.locale=function(a){if(0===arguments.length)return d.locale;if(!b.localeData(a))throw new TypeError("locale() locale "+a+" is not loaded from moment locales!");return d.locale=a,e.locale(d.locale),f.locale(d.locale),i&&oa(),o&&(aa(),ea()),l},l.stepping=function(a){return 0===arguments.length?d.stepping:(a=parseInt(a,10),(isNaN(a)||1>a)&&(a=1),d.stepping=a,l)},l.useCurrent=function(a){var b=["year","month","day","hour","minute"];if(0===arguments.length)return d.useCurrent;if("boolean"!=typeof a&&"string"!=typeof a)throw new TypeError("useCurrent() expects a boolean or string parameter");if("string"==typeof a&&-1===b.indexOf(a.toLowerCase()))throw new TypeError("useCurrent() expects a string parameter of "+b.join(", "));return d.useCurrent=a,l},l.collapse=function(a){if(0===arguments.length)return d.collapse;if("boolean"!=typeof a)throw new TypeError("collapse() expects a boolean parameter");return d.collapse===a?l:(d.collapse=a,o&&(aa(),ea()),l)},l.icons=function(b){if(0===arguments.length)return a.extend({},d.icons);if(!(b instanceof Object))throw new TypeError("icons() expects parameter to be an Object");return a.extend(d.icons,b),o&&(aa(),ea()),l},l.tooltips=function(b){if(0===arguments.length)return a.extend({},d.tooltips);if(!(b instanceof Object))throw new TypeError("tooltips() expects parameter to be an Object");return a.extend(d.tooltips,b),o&&(aa(),ea()),l},l.useStrict=function(a){if(0===arguments.length)return d.useStrict;if("boolean"!=typeof a)throw new TypeError("useStrict() expects a boolean parameter");return d.useStrict=a,l},l.sideBySide=function(a){if(0===arguments.length)return d.sideBySide;if("boolean"!=typeof a)throw new TypeError("sideBySide() expects a boolean parameter");return d.sideBySide=a,o&&(aa(),ea()),l},l.viewMode=function(a){if(0===arguments.length)return d.viewMode;if("string"!=typeof a)throw new TypeError("viewMode() expects a string parameter");if(-1===r.indexOf(a))throw new TypeError("viewMode() parameter must be one of ("+r.join(", ")+") value");return d.viewMode=a,k=Math.max(r.indexOf(a),p),K(),l},l.toolbarPlacement=function(a){if(0===arguments.length)return d.toolbarPlacement;if("string"!=typeof a)throw new TypeError("toolbarPlacement() expects a string parameter");if(-1===u.indexOf(a))throw new TypeError("toolbarPlacement() parameter must be one of ("+u.join(", ")+") value");return d.toolbarPlacement=a,o&&(aa(),ea()),l},l.widgetPositioning=function(b){if(0===arguments.length)return a.extend({},d.widgetPositioning);if("[object Object]"!=={}.toString.call(b))throw new TypeError("widgetPositioning() expects an object variable");if(b.horizontal){if("string"!=typeof b.horizontal)throw new TypeError("widgetPositioning() horizontal variable must be a string");if(b.horizontal=b.horizontal.toLowerCase(),-1===t.indexOf(b.horizontal))throw new TypeError("widgetPositioning() expects horizontal parameter to be one of ("+t.join(", ")+")");d.widgetPositioning.horizontal=b.horizontal}if(b.vertical){if("string"!=typeof b.vertical)throw new TypeError("widgetPositioning() vertical variable must be a string");if(b.vertical=b.vertical.toLowerCase(),-1===s.indexOf(b.vertical))throw new TypeError("widgetPositioning() expects vertical parameter to be one of ("+s.join(", ")+")");d.widgetPositioning.vertical=b.vertical}return $(),l},l.calendarWeeks=function(a){if(0===arguments.length)return d.calendarWeeks;if("boolean"!=typeof a)throw new TypeError("calendarWeeks() expects parameter to be a boolean value");return d.calendarWeeks=a,$(),l},l.showTodayButton=function(a){if(0===arguments.length)return d.showTodayButton;if("boolean"!=typeof a)throw new TypeError("showTodayButton() expects a boolean parameter");return d.showTodayButton=a,o&&(aa(),ea()),l},l.showClear=function(a){if(0===arguments.length)return d.showClear;if("boolean"!=typeof a)throw new TypeError("showClear() expects a boolean parameter");return d.showClear=a,o&&(aa(),ea()),l},l.widgetParent=function(b){if(0===arguments.length)return d.widgetParent;if("string"==typeof b&&(b=a(b)),null!==b&&"string"!=typeof b&&!(b instanceof a))throw new TypeError("widgetParent() expects a string or a jQuery object parameter");return d.widgetParent=b,o&&(aa(),ea()),l},l.keepOpen=function(a){if(0===arguments.length)return d.keepOpen;if("boolean"!=typeof a)throw new TypeError("keepOpen() expects a boolean parameter");return d.keepOpen=a,l},l.focusOnShow=function(a){if(0===arguments.length)return d.focusOnShow;if("boolean"!=typeof a)throw new TypeError("focusOnShow() expects a boolean parameter");return d.focusOnShow=a,l},l.inline=function(a){if(0===arguments.length)return d.inline;if("boolean"!=typeof a)throw new TypeError("inline() expects a boolean parameter");return d.inline=a,l},l.clear=function(){return ba(),l},l.keyBinds=function(a){return d.keyBinds=a,l},l.getMoment=function(a){return x(a)},l.debug=function(a){if("boolean"!=typeof a)throw new TypeError("debug() expects a boolean parameter");return d.debug=a,l},l.allowInputToggle=function(a){if(0===arguments.length)return d.allowInputToggle;if("boolean"!=typeof a)throw new TypeError("allowInputToggle() expects a boolean parameter");return d.allowInputToggle=a,l},l.showClose=function(a){if(0===arguments.length)return d.showClose;if("boolean"!=typeof a)throw new TypeError("showClose() expects a boolean parameter");return d.showClose=a,l},l.keepInvalid=function(a){if(0===arguments.length)return d.keepInvalid;if("boolean"!=typeof a)throw new TypeError("keepInvalid() expects a boolean parameter");return d.keepInvalid=a,l},l.datepickerInput=function(a){if(0===arguments.length)return d.datepickerInput;if("string"!=typeof a)throw new TypeError("datepickerInput() expects a string parameter");return d.datepickerInput=a,l},l.parseInputDate=function(a){if(0===arguments.length)return d.parseInputDate;
|
9
|
+
if("function"!=typeof a)throw new TypeError("parseInputDate() sholud be as function");return d.parseInputDate=a,l},l.disabledTimeIntervals=function(b){if(0===arguments.length)return d.disabledTimeIntervals?a.extend({},d.disabledTimeIntervals):d.disabledTimeIntervals;if(!b)return d.disabledTimeIntervals=!1,$(),l;if(!(b instanceof Array))throw new TypeError("disabledTimeIntervals() expects an array parameter");return d.disabledTimeIntervals=b,$(),l},l.disabledHours=function(b){if(0===arguments.length)return d.disabledHours?a.extend({},d.disabledHours):d.disabledHours;if(!b)return d.disabledHours=!1,$(),l;if(!(b instanceof Array))throw new TypeError("disabledHours() expects an array parameter");if(d.disabledHours=na(b),d.enabledHours=!1,d.useCurrent&&!d.keepInvalid){for(var c=0;!Q(e,"h");){if(e.add(1,"h"),24===c)throw"Tried 24 times to find a valid date";c++}_(e)}return $(),l},l.enabledHours=function(b){if(0===arguments.length)return d.enabledHours?a.extend({},d.enabledHours):d.enabledHours;if(!b)return d.enabledHours=!1,$(),l;if(!(b instanceof Array))throw new TypeError("enabledHours() expects an array parameter");if(d.enabledHours=na(b),d.disabledHours=!1,d.useCurrent&&!d.keepInvalid){for(var c=0;!Q(e,"h");){if(e.add(1,"h"),24===c)throw"Tried 24 times to find a valid date";c++}_(e)}return $(),l},l.viewDate=function(a){if(0===arguments.length)return f.clone();if(!a)return f=e.clone(),l;if(!("string"==typeof a||b.isMoment(a)||a instanceof Date))throw new TypeError("viewDate() parameter must be one of [string, moment or Date]");return f=ga(a),J(),l},c.is("input"))g=c;else if(g=c.find(d.datepickerInput),0===g.size())g=c.find("input");else if(!g.is("input"))throw new Error('CSS class "'+d.datepickerInput+'" cannot be applied to non input element');if(c.hasClass("input-group")&&(n=0===c.find(".datepickerbutton").size()?c.find(".input-group-addon"):c.find(".datepickerbutton")),!d.inline&&!g.is("input"))throw new Error("Could not initialize DateTimePicker without an input element");return e=x(),f=e.clone(),a.extend(!0,d,G()),l.options(d),oa(),ka(),g.prop("disabled")&&l.disable(),g.is("input")&&0!==g.val().trim().length?_(ga(g.val().trim())):d.defaultDate&&void 0===g.attr("placeholder")&&_(d.defaultDate),d.inline&&ea(),l};a.fn.datetimepicker=function(b){return this.each(function(){var d=a(this);d.data("DateTimePicker")||(b=a.extend(!0,{},a.fn.datetimepicker.defaults,b),d.data("DateTimePicker",c(d,b)))})},a.fn.datetimepicker.defaults={timeZone:"Etc/UTC",format:!1,dayViewHeaderFormat:"MMMM YYYY",extraFormats:!1,stepping:1,minDate:!1,maxDate:!1,useCurrent:!0,collapse:!0,locale:b.locale(),defaultDate:!1,disabledDates:!1,enabledDates:!1,icons:{time:"glyphicon glyphicon-time",date:"glyphicon glyphicon-calendar",up:"glyphicon glyphicon-chevron-up",down:"glyphicon glyphicon-chevron-down",previous:"glyphicon glyphicon-chevron-left",next:"glyphicon glyphicon-chevron-right",today:"glyphicon glyphicon-screenshot",clear:"glyphicon glyphicon-trash",close:"glyphicon glyphicon-remove"},tooltips:{today:"Go to today",clear:"Clear selection",close:"Close the picker",selectMonth:"Select Month",prevMonth:"Previous Month",nextMonth:"Next Month",selectYear:"Select Year",prevYear:"Previous Year",nextYear:"Next Year",selectDecade:"Select Decade",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevCentury:"Previous Century",nextCentury:"Next Century",pickHour:"Pick Hour",incrementHour:"Increment Hour",decrementHour:"Decrement Hour",pickMinute:"Pick Minute",incrementMinute:"Increment Minute",decrementMinute:"Decrement Minute",pickSecond:"Pick Second",incrementSecond:"Increment Second",decrementSecond:"Decrement Second",togglePeriod:"Toggle Period",selectTime:"Select Time"},useStrict:!1,sideBySide:!1,daysOfWeekDisabled:!1,calendarWeeks:!1,viewMode:"days",toolbarPlacement:"default",showTodayButton:!1,showClear:!1,showClose:!1,widgetPositioning:{horizontal:"auto",vertical:"auto"},widgetParent:null,ignoreReadonly:!1,keepOpen:!1,focusOnShow:!0,inline:!1,keepInvalid:!1,datepickerInput:".datepickerinput",keyBinds:{up:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().subtract(7,"d")):this.date(b.clone().add(this.stepping(),"m"))}},down:function(a){if(!a)return void this.show();var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().add(7,"d")):this.date(b.clone().subtract(this.stepping(),"m"))},"control up":function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().subtract(1,"y")):this.date(b.clone().add(1,"h"))}},"control down":function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")?this.date(b.clone().add(1,"y")):this.date(b.clone().subtract(1,"h"))}},left:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().subtract(1,"d"))}},right:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().add(1,"d"))}},pageUp:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().subtract(1,"M"))}},pageDown:function(a){if(a){var b=this.date()||this.getMoment();a.find(".datepicker").is(":visible")&&this.date(b.clone().add(1,"M"))}},enter:function(){this.hide()},escape:function(){this.hide()},"control space":function(a){a.find(".timepicker").is(":visible")&&a.find('.btn[data-action="togglePeriod"]').click()},t:function(){this.date(this.getMoment())},"delete":function(){this.clear()}},debug:!1,allowInputToggle:!1,disabledTimeIntervals:!1,disabledHours:!1,enabledHours:!1,viewDate:!1}});
|
@@ -0,0 +1,222 @@
|
|
1
|
+
# Version 4
|
2
|
+
|
3
|
+
## 4.17.37
|
4
|
+
|
5
|
+
### New Features
|
6
|
+
|
7
|
+
* Momentjs TZ intergration #1242 thanks @bodrick
|
8
|
+
* Independent CSS file, in case you don't want bootstrap for some reason
|
9
|
+
|
10
|
+
### Bug Squashing
|
11
|
+
|
12
|
+
* Slight changes decade view
|
13
|
+
* Moved all tooltip text to `tooltips`
|
14
|
+
* fixed #1212
|
15
|
+
|
16
|
+
## 4.15.35
|
17
|
+
|
18
|
+
### New Features
|
19
|
+
|
20
|
+
`tooltips` allows custom, localized text to be included for icon tooltips
|
21
|
+
|
22
|
+
### Bug Squashing
|
23
|
+
|
24
|
+
fixed #1066
|
25
|
+
|
26
|
+
fixed #1087 `sideBySide` properly supports `toolbarPlacement [top, bottom]`
|
27
|
+
|
28
|
+
fixed #1119
|
29
|
+
|
30
|
+
fixed #1069 added input.blur()
|
31
|
+
|
32
|
+
fixed #1049 fixed doc example
|
33
|
+
|
34
|
+
fixed #999 picker now looks for an element with `.input-group-addon`
|
35
|
+
|
36
|
+
|
37
|
+
## 4.14.30
|
38
|
+
|
39
|
+
### New Features
|
40
|
+
|
41
|
+
`disabledTimeIntervals` #644
|
42
|
+
|
43
|
+
`allowInputToggle` #929
|
44
|
+
|
45
|
+
`focusOnShow` #884
|
46
|
+
|
47
|
+
public `viewDate` function #872
|
48
|
+
|
49
|
+
`enabledHours` and `disabledHours`.
|
50
|
+
|
51
|
+
`dp.update` fires when `viewDate` is changed (in most cases) #937
|
52
|
+
|
53
|
+
`viewMode` now supports a decades view.
|
54
|
+
|
55
|
+
**Note**: because the year picker shows 12 years at a time, I've elected to make this view show blocks of 12 years
|
56
|
+
|
57
|
+
**Note**: when selecting a decade the `viewDate` will change to the **center** of the selected years
|
58
|
+
|
59
|
+
`parseInputDate` #1095
|
60
|
+
|
61
|
+
### Bug Squashing
|
62
|
+
|
63
|
+
fixed #815 by adding `.wider` when using both seconds and am/pm.
|
64
|
+
|
65
|
+
fixed #816 changed both min/max date to move the selected date inside.
|
66
|
+
|
67
|
+
fixed #855 #881 `fillDate`, `fillMonths`, `fillDow` uses `startOf('day')`, which will hopefully fix the DST issues.
|
68
|
+
|
69
|
+
fixed #885 `daysOfWeekDisabled` will move the date to a valid date if `useCurrent` is `true`. Today button will check if the DoW is disabled.
|
70
|
+
|
71
|
+
fixed #906
|
72
|
+
|
73
|
+
fixed #912 if `useCurrent:false` month and year view will no longer have the current month/year selected.
|
74
|
+
|
75
|
+
fixed #914 `use24hours` will ignore anything in side of `[]` in the format string.
|
76
|
+
|
77
|
+
fixed #916 added titles to all icons. At some point the text should be moved to the icon's array, but this would probably be a breaking change.
|
78
|
+
|
79
|
+
fixed #940 added -1 tab index to am/pm selector
|
80
|
+
|
81
|
+
### Other Changes
|
82
|
+
|
83
|
+
changed in/decrement behavior to check if the new date is valid at that granularity (hours, minutes, seconds). will also validate as before
|
84
|
+
|
85
|
+
## 4.7.14
|
86
|
+
|
87
|
+
Added several in new features:
|
88
|
+
|
89
|
+
`keybinds`, `inline`, `debug`, `clear()`, `showClose`, `ingoreReadOnly`, `datepickerInput` and `keepInvalid`.
|
90
|
+
|
91
|
+
Bug squashing
|
92
|
+
|
93
|
+
## 4.0.0
|
94
|
+
|
95
|
+
#### Changes for using the component
|
96
|
+
|
97
|
+
* Defined a [Public API](https://github.com/Eonasdan/bootstrap-datetimepicker/wiki/Version-4-Public-API) and hidden rest of functions, variables so that all configuration options can be changed dynamically.
|
98
|
+
|
99
|
+
* `set/getDate()` is now replaced with an overloaded `date()` function. Use it without a parameter to get the currently set date or with a parameter to set the date.
|
100
|
+
|
101
|
+
* `hide()`, `show()`, `toggle()`, `enable()`, `disable()` and the rest of setter functions now support chaining. ie `$('#id').data('DateTimePicker').format('DD-MM-YYYY').minDate(moment()).defaultDate(moment()).show()` works
|
102
|
+
|
103
|
+
* Replaced previous - next buttons in Date subviews with configurable icons
|
104
|
+
|
105
|
+
* Changed `language` option name to `locale` to be inline with moment naming
|
106
|
+
|
107
|
+
* Implemented #402 all data-date-* variables are more readable and also match with the ones in the configuration object
|
108
|
+
|
109
|
+
* `options.direction` and `options.orientation` were merged into a single object `options.widgetPositioning` with `vertical` and `horizontal` keys that take a string value of `'auto', 'top', 'bottom'` and `'auto', 'left', 'right'` respectively. Note that the `'up'` option was renamed to `'top'`
|
110
|
+
|
111
|
+
#### Added functionality
|
112
|
+
|
113
|
+
* added a second way to define options as data attributes. Instead of adding distinct `data-date-*` config options you can now also pass a `data-date-options` attribute containing an object just the same as the options object that `element.datetimepicker` constructor call takes
|
114
|
+
|
115
|
+
* also added a `options()` public api function to get/set that takes an option object and applies it to the component in one call
|
116
|
+
|
117
|
+
* Implemented [#130](https://github.com/Eonasdan/bootstrap-datetimepicker/issues/130) by introducing a boolean `options.calendarWeeks` and `calendarWeeks()` api function
|
118
|
+
|
119
|
+
* Implemented [#328](https://github.com/Eonasdan/bootstrap-datetimepicker/issues/328), [#426](https://github.com/Eonasdan/bootstrap-datetimepicker/issues/426)
|
120
|
+
|
121
|
+
* Implemented [#432](https://github.com/Eonasdan/bootstrap-datetimepicker/issues/432). Widget DOM element is now lazily added only when shown and removed from the document when hidden.
|
122
|
+
|
123
|
+
* Implemented [#141](https://github.com/Eonasdan/bootstrap-datetimepicker/issues/141) and [#283](https://github.com/Eonasdan/bootstrap-datetimepicker/issues/283)
|
124
|
+
|
125
|
+
|
126
|
+
#### Contributors related internal code changes
|
127
|
+
|
128
|
+
* Refactor all UI click functions and put them as functions in the actions array private variable
|
129
|
+
|
130
|
+
* Refactor template building process to seperate functions according to what they do
|
131
|
+
|
132
|
+
* Remove some styles that where hardcoded in the javascript code
|
133
|
+
|
134
|
+
* Refactor all code that changes the picker.date to change it through the setValue function to allow one place for validation logic (min/max/weekdaysenabled etc) and also one place for emmiting dp.change events
|
135
|
+
|
136
|
+
* The v4beta branch code includes all fixes up to v.3.1.2
|
137
|
+
|
138
|
+
* Added `toggle()` to the public API which toggles the visibility of the DateTimePicker
|
139
|
+
|
140
|
+
* Refactored set function to be included in the setValue function
|
141
|
+
|
142
|
+
* Added a testing framework using jasmine and phantom.js
|
143
|
+
|
144
|
+
# Version 3
|
145
|
+
|
146
|
+
## 3.0.0
|
147
|
+
|
148
|
+
|
149
|
+
* Fix for #170, #179, #183: Changed event to `dp.-`. This should fix the double change event firing.
|
150
|
+
* Fix for #192: `setDate` now fires `dp.change`
|
151
|
+
* Fix for #182: Picker will **not** set the default date if the input field has a value
|
152
|
+
* Fix for #169: Seconds doesn't get reset when changing the date (Thanks to PR #174)
|
153
|
+
* Fix for #168 z-index fix for BS modal
|
154
|
+
* Fix for #155 Picker properly displays the active year and month
|
155
|
+
* Fix for #154 CSS update to fix the collapse jump
|
156
|
+
* Fix for #150 and #75 `minViewMode` and `viewMode` work properly
|
157
|
+
* Fix for #147 AM/PM won't toggle when selecting a value from the hours grid
|
158
|
+
* Fix for #44 Finally! It's here!! Thanks to @ruiwei and his code on #210 picker will adjust the positioning of the widget.
|
159
|
+
|
160
|
+
#### Manually merged PR
|
161
|
+
|
162
|
+
* PR #178 When using `minuteStepping` the minute select grid will only show available steppings
|
163
|
+
* PR #195, #197 Using the `data-OPTION` has been changed to `data-date-OPTION`. These options are expected to be on the `input-group` if you're using the `input-group` **or** the a bare input field if you're not using the `input-group`
|
164
|
+
* PR #184 The option `sideBySide` change be used to display both the d and the timepicker side by side
|
165
|
+
* PR #143 Added option `daysOfWeekDisabled: []`. For example, use `daysOfWeekDisabled: [0,6]` to disable Sunday and Saturday
|
166
|
+
|
167
|
+
#### **Other Changes**
|
168
|
+
* Changed picker width to 300px if using seconds and am/pm
|
169
|
+
* Added option `useCurrent`, thanks to @ruiwei. When true, picker will set the value to the current date/time (respects picker's format)
|
170
|
+
* Added option `showToday`, thanks to @ruiwei. When true, picker will display a small arrow to indicate today's date.
|
171
|
+
* Changed `startDate` to `minDate` and `endDate` to `maxDate` to make it more clear what these options do.
|
172
|
+
|
173
|
+
# Version 2
|
174
|
+
|
175
|
+
#### 2.1.32 (Hotfix)
|
176
|
+
|
177
|
+
* Fix for #151: When a bad date value or the picker is cleared, the plugin will not longer attempt to reset it back to the previous date
|
178
|
+
* Fix for #140: `setDate` can be given `null` to force clear the picker
|
179
|
+
|
180
|
+
#### 2.1.30
|
181
|
+
##### Important! `build.less` file name has been been changed to `bootstrap-datetimepicker-build.less` to prevent collisions
|
182
|
+
|
183
|
+
* Fix for #135: `setStartDate` and `setEndDate` should now properly set.
|
184
|
+
* Fix for #133: Typed in date now respects en/disabled dates
|
185
|
+
* Fix for #132: En/disable picker function works again
|
186
|
+
* Fix for #117, #119, #128, #121: double event `change` event issues should be fixed
|
187
|
+
* Fix for #112: `change` function no longer sets the input to a blank value if the passed in date is invalid
|
188
|
+
|
189
|
+
* Enhancement for #103: Increated the `z-index` of the widget
|
190
|
+
|
191
|
+
#### 2.1.20
|
192
|
+
* Fix for #83: Changes to the picker should fire native `change` event for knockout and the like as well as `change.dp` which contains the old date and the new date
|
193
|
+
* Fix for #78: Script has been update for breaking changes in Moment 2.4.0
|
194
|
+
* Fix for #73: IE8 should be working now
|
195
|
+
|
196
|
+
* Enhancement for #79: `minuteStepping` option takes a number (default is 1). Changing the minutes in the time picker will step by this number.
|
197
|
+
* Enhancement for #74 and #65: `useMinutes` and `useSeconds` are now options. Disabling seconds will hide the seconds spinner. Disabling minutes will display `00` and hide the arrows
|
198
|
+
* Enhancement for #67: Picker will now attempt to convert all `data-OPTION` into its appropriate option
|
199
|
+
|
200
|
+
#### 2.1.11
|
201
|
+
* Fix for #51, #60
|
202
|
+
* Fix for #52: Picker has its own `moment` object since moment 2.4.0 has removed global reference
|
203
|
+
* Fix for #57: New option for `useStrict`. When validating dates in `update` and `change`, the picker can use a stricter formatting validation
|
204
|
+
* Fix for #61: Picker should now properly take formatted date. Should also have correct start of the week for locales.
|
205
|
+
* Fix for #62: Default format will properly validate time picker only.
|
206
|
+
|
207
|
+
#### 2.1.5
|
208
|
+
* Custom icons, such as Font Awesome, are now supported. (#49)
|
209
|
+
* If more then one `input-group-addon` is present use `datepickerbutton` to identify where the picker should popup from. (#48)
|
210
|
+
* New Event: `error.dp`. Fires when Moment cannot parse the date or when the timepicker cannot change because of a `disabledDates` setting. Returns a Moment date object. The specific error can be found be using `invalidAt()`. For more information see [Moment's docs](http://momentjs.com/docs/#/parsing/is-valid/)
|
211
|
+
* Fix for #42, plugin will now check for `A` or `a` in the format string to determine if the AM/PM selector should display.
|
212
|
+
* Fix for #45, fixed null/empty and invalid dates
|
213
|
+
* Fix for #46, fixed active date highlighting
|
214
|
+
* Fix for #47, `change.dp` event to also include the previous date.
|
215
|
+
|
216
|
+
####2.0.1
|
217
|
+
* New event `error.dp` fires when plugin cannot parse date or when increase/descreasing hours/minutes to a disabled date.
|
218
|
+
* Minor fixes
|
219
|
+
|
220
|
+
####2.0.0
|
221
|
+
* `disabledDates` is now an option to set the disabled dates. It accepts date objects like `new Date("November 12, 2013 00:00:00")` and `12/25/2013' and `moment` date objects
|
222
|
+
* Events are easier to use
|