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
data/test/dummy/vendor/assets/components/eonasdan-bootstrap-datetimepicker/docs/ContributorsGuide.md
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
This guide is aimed to contributors wishing to understand the internals of the code in order to change/evolve the component.
|
2
|
+
|
3
|
+
**Note:** this guide refers to **version 4** which is currently in beta and will be updated as we progress
|
4
|
+
|
5
|
+
## Introduction
|
6
|
+
This component consists actually of 2 subcomponent UI widgets one for the date and one for the time selection process. The developers can configure which of those are needed and also the granularity that the component will allow the users to select a date/time. Developers also choose the format that the selected datetime will be displayed in the input field.
|
7
|
+
The component uses on `jQuery`, `moment.js` and `bootstrap` libraries.
|
8
|
+
|
9
|
+
## Code
|
10
|
+
### Private variables
|
11
|
+
|
12
|
+
* `element` - Holds the DOM element this instance is attached to
|
13
|
+
|
14
|
+
* `options` - Holds an object with the curently set options for the specific instance of the component. Don't directly change the properties of that object use the public API methods instead. DO NOT expose this object or its properties outside of the component.
|
15
|
+
|
16
|
+
* `picker` - Reference variable to the created instance `(this)`
|
17
|
+
|
18
|
+
* `date` - Holds the moment object for the model value of the component. **DON'T** directly change this variable unless you **REALLY** know what you are doing. Use `setValue()` function to set it. It handles all component logic for updating the model value and emitting all the appropriate events
|
19
|
+
|
20
|
+
* `viewDate` - Holds the currently selected value that the user has selected through the widget. This is not the model value this is the view value. Changing this usually requires a subsequent call to `update()` function
|
21
|
+
|
22
|
+
* `unset` - A `boolean` variable that holds wheather the components model value is set or not. Model's value starts as `unset = true` and if is either set by the user or programmatically through the api to a valid value then it is set to `false`. If subsequent events lead to an invalid value then this variable is set to `true` again. Setting this variable usually takes place in the `setValue()` function.
|
23
|
+
|
24
|
+
* `input` - Hold the DOM input element this instance is attached to
|
25
|
+
|
26
|
+
* `component` - Holds a reference to the .input-group DOM element that the widget is attached or false if it is attached directly on an input field
|
27
|
+
|
28
|
+
* `widget` - Holds a reference to the DOM element containing the widget or `false` if the widget is hidden
|
29
|
+
|
30
|
+
* `use24hours` - Holds whether the component uses 24 hours format or not. This is initialized on the `format()` function
|
31
|
+
|
32
|
+
* `minViewModeNumber` - Holds the Numeric equivelant of the options.minViewMode parameter
|
33
|
+
|
34
|
+
* `format` - Holds the current format string that is used for formating the date model value. Note this is not the same thing as the `options.format` as the second could be set to `false` in which case the first takes the locale's `L` or `LT` value
|
35
|
+
|
36
|
+
* `currentViewMode` - Hold the state of the current viewMode for the DatePicker subcomponent
|
37
|
+
|
38
|
+
* `actions` - An object containing all the functions that can be called when the users clicks on the widget
|
39
|
+
|
40
|
+
* `datePickerModes` - An array of objects with configuration parameters for the different views of the DatePicker subcomponent
|
41
|
+
|
42
|
+
* `viewModes` - An array of strings containing all the possible strings that `options.viewMode` can take through `viewMode()` public api function
|
43
|
+
|
44
|
+
* `directionModes` - An array of strings containing all the possible strings that `options.direction` can take through `direction()` public api function
|
45
|
+
|
46
|
+
* `orientationModes` - An array of strings containing all the possible strings that `options.orientation` can take through `orientation()` public api function
|
47
|
+
|
48
|
+
### Private functions
|
49
|
+
|
50
|
+
#### Widget related
|
51
|
+
|
52
|
+
* `getDatePickerTemplate()` - returns a string containing the html code for the date picker subcomponent
|
53
|
+
|
54
|
+
* `getTimePickerTemplate()` - returns a string containing the html code for the time picker subcomponent
|
55
|
+
|
56
|
+
* `getTemplate()` - returns a string with containing the html code for all the DateTimePicker component
|
57
|
+
|
58
|
+
* `place()` - handles the placement of the widget's dropdown
|
59
|
+
|
60
|
+
* `updateMonths()` - updates the html subpage related to the months for Date picker view
|
61
|
+
|
62
|
+
* `updateYears()` - updates the html subpage related to the years for Date picker view
|
63
|
+
|
64
|
+
* `fillDate()` - updates the html subpage related to the days for Date picker view
|
65
|
+
|
66
|
+
* `fillHours()` - Creates the hours spans for the hours subview of the Time subcomponent
|
67
|
+
|
68
|
+
* `fillMinutes()` - Creates the minutes spans for the hours subview of the Time subcomponent
|
69
|
+
|
70
|
+
* `fillSeconds()` - Creates the seconds spans for the hours subview of the Time subcomponent
|
71
|
+
|
72
|
+
* `fillTime()` - Creates the main subview of the Time subcomponent
|
73
|
+
|
74
|
+
* `update()` - updates the UI of part of the widget
|
75
|
+
|
76
|
+
* `fillDow()` - Creates the day names in the days subview on the Date subcomponent
|
77
|
+
|
78
|
+
* `fillMonths()` - Creates the month spans for the months subview of the Date subcomponent
|
79
|
+
|
80
|
+
* `createWidget()` - creates the UI widget end attaches widget event listeners
|
81
|
+
|
82
|
+
* `destroyWidget()` - destroys the UI widget DOM element and detaches widget event listeners
|
83
|
+
|
84
|
+
* `showMode(dir)` - toggles between the various subpage related views of the DateTimePicker
|
85
|
+
|
86
|
+
#### Events related
|
87
|
+
|
88
|
+
* `notifyEvent(e)` - Use this function when you want to send en event to listener this could be used as a filter later
|
89
|
+
|
90
|
+
* `stopEvent(e)` - Shortcut for stopping propagation of events
|
91
|
+
|
92
|
+
* `doAction(e)` - Proxy function to call all the UI related click events
|
93
|
+
|
94
|
+
* `keydown(e)` - Function to trap
|
95
|
+
|
96
|
+
* `change(e)` - Listener function to track change events occuring on the `input` dom element the component is attached to
|
97
|
+
|
98
|
+
* `attachDatePickerElementEvents()` - Attaches listeners to the existing DOM elements the component is attached to. Called upon construction of each datetimepicker instance
|
99
|
+
|
100
|
+
* `detachDatePickerElementEvents()` - Detaches listeners from the DOM element the component is attached to. Called on `destroy()`
|
101
|
+
|
102
|
+
* `attachDatePickerWidgetEvents()` - Attaches listeners on the components widget. Called on `show()`
|
103
|
+
|
104
|
+
* `detachDatePickerWidgetEvents()` - Detaches listeners on the components widget. Called on `hide()`
|
105
|
+
|
106
|
+
#### Model related
|
107
|
+
|
108
|
+
* `setValue(targetMoment)` - Sets the model value of the component takes a moment object. An `error` event will be emmited if the `targetMoment` does not pass the configured validations. Otherwise the `date` variable will be set and the relevant events will be fired.
|
109
|
+
|
110
|
+
* `isValid(targetMoment, granularity)` - returns `true` if the `targetMoment` moment object is valid according to the components set validation rules (`min/maxDates`, `disabled/enabledDates` and `daysOfWeekDisabled`). You may pass a second variable to check only up the the specific granularity `year, month, day, hour, minute, second`
|
111
|
+
|
112
|
+
#### Utilities
|
113
|
+
|
114
|
+
* `indexGivenDates (givenDatesArray)` - Function that takes the array from `enabledDates()` and `disabledDates()` public functions and stores them as object keys to enable quick lookup
|
115
|
+
|
116
|
+
* `isInEnableDates(date)` - Checks whether if the given moment object exists in the `options.enabledDates` object
|
117
|
+
|
118
|
+
* `isInDisableDates(date)` - Checks whether if the given moment object exists in the `options.disabledDates` array
|
119
|
+
|
120
|
+
* `dataToOptions()` - Parses `data-date-*` options set on the input dom element the component is attached to and returns an object with them
|
121
|
+
|
122
|
+
* `isInFixed()` - Checks if the dom element or its parents has a fixed position css rule.
|
123
|
+
|
124
|
+
* `parseInputDate(date)` - Parses a date parameter with moment using the component's `options.format` and `options.useStrict`. It returns a `moment` object or false if `parsedMoment#isValid()` returns `false`. Use this to parse date inputs from outside the component (public API calls).
|
125
|
+
|
126
|
+
* `init()` - Initializes the component. Called when the component instance is created
|
@@ -0,0 +1,96 @@
|
|
1
|
+
## Events
|
2
|
+
|
3
|
+
### dp.hide
|
4
|
+
|
5
|
+
Fired when the widget is hidden.
|
6
|
+
|
7
|
+
Parameters:
|
8
|
+
|
9
|
+
```
|
10
|
+
e = {
|
11
|
+
date //the currently set date. Type: moment object (clone)
|
12
|
+
}
|
13
|
+
```
|
14
|
+
|
15
|
+
Emitted from:
|
16
|
+
|
17
|
+
* toggle()
|
18
|
+
* hide()
|
19
|
+
* disable()
|
20
|
+
|
21
|
+
----------------------
|
22
|
+
|
23
|
+
### dp.show
|
24
|
+
|
25
|
+
Fired when the widget is shown.
|
26
|
+
|
27
|
+
Parameters:
|
28
|
+
|
29
|
+
No parameters are include, listen to `dp.change` instead
|
30
|
+
|
31
|
+
Emitted from:
|
32
|
+
|
33
|
+
* toggle()
|
34
|
+
* show()
|
35
|
+
|
36
|
+
----------------------
|
37
|
+
|
38
|
+
### dp.change
|
39
|
+
|
40
|
+
Fired when the date is changed.
|
41
|
+
|
42
|
+
Parameters:
|
43
|
+
|
44
|
+
```
|
45
|
+
e = {
|
46
|
+
date, //date the picker changed to. Type: moment object (clone)
|
47
|
+
oldDate //previous date. Type: moment object (clone) or false in the event of a null
|
48
|
+
}
|
49
|
+
```
|
50
|
+
|
51
|
+
Emitted from:
|
52
|
+
|
53
|
+
* toggle() **Note**: Only fired when using `useCurrent`
|
54
|
+
* show() **Note**: Only fired when using `useCurrent` or when or the date is changed to comply with date rules (min/max etc)
|
55
|
+
* date(newDate)
|
56
|
+
* minDate(minDate)
|
57
|
+
* maxDate(maxDate)
|
58
|
+
* daysOfWeekDisabled()
|
59
|
+
|
60
|
+
----------------------
|
61
|
+
|
62
|
+
### dp.error
|
63
|
+
|
64
|
+
Fired when a selected date fails to pass validation.
|
65
|
+
|
66
|
+
Parameters:
|
67
|
+
|
68
|
+
```
|
69
|
+
e = {
|
70
|
+
date //the invalid date. Type: moment object (clone)
|
71
|
+
}
|
72
|
+
```
|
73
|
+
|
74
|
+
Emmited from:
|
75
|
+
|
76
|
+
* minDate(minDate)
|
77
|
+
* maxDate(maxDate)
|
78
|
+
* daysOfWeekDisabled()
|
79
|
+
* setValue() *private function*
|
80
|
+
|
81
|
+
----------------------
|
82
|
+
|
83
|
+
### dp.update
|
84
|
+
|
85
|
+
<small>4.14.30</small>
|
86
|
+
|
87
|
+
Fired (in most cases) when the `viewDate` changes. E.g. Next and Previous buttons, selecting a year.
|
88
|
+
|
89
|
+
Parameters:
|
90
|
+
|
91
|
+
```
|
92
|
+
e = {
|
93
|
+
change, //Change type as a momentjs format token. Type: string e.g. yyyy on year change
|
94
|
+
viewDate //new viewDate. Type: moment object
|
95
|
+
}
|
96
|
+
```
|
@@ -0,0 +1,95 @@
|
|
1
|
+
# Extras
|
2
|
+
|
3
|
+
Guides for making the picker work better with rails, IE, etc
|
4
|
+
|
5
|
+
## Rails 3
|
6
|
+
|
7
|
+
by [dhulihan](https://github.com/dhulihan)
|
8
|
+
|
9
|
+
You can easily override the default rails form helpers (`date_select` and `datetime_select`) with bootstrap-datetimepicker for a much nicer experience.
|
10
|
+
|
11
|
+
```rb
|
12
|
+
# Add to config/initializers/form.rb or the end of app/helpers/application_helper.rb
|
13
|
+
module ActionView
|
14
|
+
module Helpers
|
15
|
+
class FormBuilder
|
16
|
+
def date_select(method, options = {}, html_options = {})
|
17
|
+
existing_date = @object.send(method)
|
18
|
+
formatted_date = existing_date.to_date.strftime("%F") if existing_date.present?
|
19
|
+
@template.content_tag(:div, :class => "input-group") do
|
20
|
+
text_field(method, :value => formatted_date, :class => "form-control datepicker", :"data-date-format" => "YYYY-MM-DD") +
|
21
|
+
@template.content_tag(:span, @template.content_tag(:span, "", :class => "glyphicon glyphicon-calendar") ,:class => "input-group-addon")
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def datetime_select(method, options = {}, html_options = {})
|
26
|
+
existing_time = @object.send(method)
|
27
|
+
formatted_time = existing_time.to_time.strftime("%F %I:%M %p") if existing_time.present?
|
28
|
+
@template.content_tag(:div, :class => "input-group") do
|
29
|
+
text_field(method, :value => formatted_time, :class => "form-control datetimepicker", :"data-date-format" => "YYYY-MM-DD hh:mm A") +
|
30
|
+
@template.content_tag(:span, @template.content_tag(:span, "", :class => "glyphicon glyphicon-calendar") ,:class => "input-group-addon")
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
```
|
37
|
+
|
38
|
+
The time format used here is ActiveRecord-friendly, which means it will be parsed correctly when passed in through `params` to your record.
|
39
|
+
|
40
|
+
That's all there is to it! Now all of your forms that use `datetime_select` or `date_select` will be automatically updated:
|
41
|
+
|
42
|
+
```erb
|
43
|
+
<% form_for @post do |f| %>
|
44
|
+
<div class="form-group">
|
45
|
+
<label>Published At</label>
|
46
|
+
<%= f.datetime_select :published_at %>
|
47
|
+
</div>
|
48
|
+
<% end %>
|
49
|
+
```
|
50
|
+
|
51
|
+
## IE 7
|
52
|
+
|
53
|
+
by [EquilibriumCST](https://github.com/EquilibriumCST)
|
54
|
+
|
55
|
+
I succeed to run this widget under IE7.
|
56
|
+
Here is what I did.
|
57
|
+
|
58
|
+
1. gliphicons are not working under IE7 so add [this css file](https://github.com/coliff/bootstrap-ie7). And this enables the icons.
|
59
|
+
|
60
|
+
2. Z-index problem with IE 7. I added position: relative and `z-index: 10` to the parent container. Otherwise popup is shown under the next elements.
|
61
|
+
|
62
|
+
3. JS events were not working well.
|
63
|
+
|
64
|
+
If you open the datetimepicker widget and click on some button or date inside it, widget is automatically closed.
|
65
|
+
So I added `debug: true` as an option when initializing the widget. Why I did this? I saw on line 1121 from bootsrap-datetimepicker.js the code `'blur': options.debug ? '' : hide`.
|
66
|
+
And now widget window is not closed on every click inside it, but now you can't close it anyway :)
|
67
|
+
And closing should be done manually. I've added this document click handler. If you click something outside the widget, now closing works.
|
68
|
+
|
69
|
+
```
|
70
|
+
$(document).click(function(e){
|
71
|
+
var target = $(e.target);
|
72
|
+
if(target.parents('.bootstrap-datetimepicker-widget').length < 1 && !target.hasClass('datetimepickerInput') && !target.hasClass('datepickerIcon') && !target.hasClass('clockpickerIcon')){
|
73
|
+
if($('.bootstrap-datetimepicker-widget').length > 0){
|
74
|
+
$('#startDate').data('DateTimePicker').hide();
|
75
|
+
$('#startTime').data('DateTimePicker').hide();
|
76
|
+
$('.datetimepickerInput').blur();
|
77
|
+
}
|
78
|
+
}
|
79
|
+
});
|
80
|
+
```
|
81
|
+
|
82
|
+
|
83
|
+
But if you have more than one widget on the page like I did, clicking on one widget does'n close the other. Added below lines and now all works fine.
|
84
|
+
|
85
|
+
```
|
86
|
+
$('#widget1').on("dp.show",function (e) {
|
87
|
+
$('#widget2).data('DateTimePicker').hide();
|
88
|
+
});
|
89
|
+
|
90
|
+
$('#widget2').on("dp.show",function (e) {
|
91
|
+
$('#widget1).data('DateTimePicker').hide();
|
92
|
+
});
|
93
|
+
```
|
94
|
+
|
95
|
+
I hope this will help to the others who are fighting with the old IE versions :)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FAQs
|
2
|
+
|
3
|
+
# How do I disable the date or time element
|
4
|
+
<small>How do I format ...; How do I add seconds; etc.</small>
|
5
|
+
|
6
|
+
The picker uses the `format` option to decide what components to show. Set `format` to `LT`, `LTS` or another valid [MomentJs format string](http://momentjs.com/docs/#/displaying/format/) to display certain components
|
7
|
+
|
8
|
+
# How do I change the language/locale
|
9
|
+
|
10
|
+
The picker uses MomentJs to determine the language string. You can use `moment-with-locales` or you can include whatever local file you need. Set the picker's `locale` option to `de` or whatever the locale string is.
|
11
|
+
|
12
|
+
# How do I change the styles? The picker closes.
|
13
|
+
|
14
|
+
Set `debug:true` which will force the picker to stay open, even `onBlur`. You can hide the picker manually by calling `hide()`
|
15
|
+
|
16
|
+
# How do I change the start of the week?
|
17
|
+
|
18
|
+
Start of the week is based on the [`locale` provided](Options.md#locale). This is defined by moment's locales. If you want to change it, create your own locale file or override. [See moment's docs](http://momentjs.com/docs/#/i18n/).
|
19
|
+
|
20
|
+
# How I use the picker as birthday picker?
|
21
|
+
|
22
|
+
Use the [`viewMode`](Options.md#viewmode) option to `'years'`
|
@@ -0,0 +1,670 @@
|
|
1
|
+
## Functions
|
2
|
+
|
3
|
+
<div class="alert alert-info">
|
4
|
+
<strong>Note</strong>
|
5
|
+
All functions are accessed via the <code>data</code> attribute e.g. <code>$('#datetimepicker').data("DateTimePicker").FUNCTION()</code>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
###destroy()
|
9
|
+
|
10
|
+
Destroys the widget and removes all attached event listeners
|
11
|
+
|
12
|
+
----------------------
|
13
|
+
|
14
|
+
### toggle()
|
15
|
+
|
16
|
+
Shows or hides the widget
|
17
|
+
|
18
|
+
#### Emits
|
19
|
+
|
20
|
+
* `dp.hide` - if the widget is hidden after the toggle call
|
21
|
+
|
22
|
+
* `dp.show` - if the widget is show after the toggle call
|
23
|
+
|
24
|
+
* `dp.change` - if the widget is opened for the first time and the input element is empty and `options.useCurrent != false`
|
25
|
+
|
26
|
+
----------------------
|
27
|
+
|
28
|
+
### show()
|
29
|
+
|
30
|
+
Shows the widget
|
31
|
+
|
32
|
+
#### Emits
|
33
|
+
|
34
|
+
* `dp.show` - if the widget was hidden before that call
|
35
|
+
|
36
|
+
* `dp.change` - if the widget is opened for the first time and the useCurrent is set to true or to a granularity value and the input element the component is attached to has an empty value
|
37
|
+
|
38
|
+
----------------------
|
39
|
+
|
40
|
+
### hide()
|
41
|
+
|
42
|
+
Hides the widget
|
43
|
+
|
44
|
+
#### Emits
|
45
|
+
|
46
|
+
* `dp.hide` - if the widget was visible before that call
|
47
|
+
|
48
|
+
----------------------
|
49
|
+
|
50
|
+
### disable()
|
51
|
+
|
52
|
+
Disables the input element, the component is attached to, by adding a `disabled="true"` attribute to it. If the widget was visible before that call it is hidden.
|
53
|
+
|
54
|
+
#### Emits
|
55
|
+
|
56
|
+
* `dp.hide` - if the widget was visible before that call
|
57
|
+
|
58
|
+
----------------------
|
59
|
+
|
60
|
+
### enable()
|
61
|
+
|
62
|
+
Enables the input element, the component is attached to, by removing `disabled` attribute from it.
|
63
|
+
|
64
|
+
----------------------
|
65
|
+
|
66
|
+
|
67
|
+
### date
|
68
|
+
|
69
|
+
####date()
|
70
|
+
|
71
|
+
Returns the component's model current date, a `moment` object or `null` if not set.
|
72
|
+
|
73
|
+
####date([newDate])
|
74
|
+
|
75
|
+
Takes `string, Date, moment, null` parameter and sets the components model current moment to it. Passing a `null` value unsets the components model current moment. Parsing of the newDate parameter is made using moment library with the `options.format` and `options.useStrict` components configuration.
|
76
|
+
|
77
|
+
##### Throws
|
78
|
+
|
79
|
+
* `TypeError` - in case the `newDate` cannot be parsed
|
80
|
+
|
81
|
+
##### Emits
|
82
|
+
|
83
|
+
* `dp.change` - In case `newDate` is different from current moment
|
84
|
+
|
85
|
+
### en/disabledDates
|
86
|
+
|
87
|
+
#### disabledDates()
|
88
|
+
|
89
|
+
Returns an array with the currently set disabled dates on the component.
|
90
|
+
|
91
|
+
#### disabledDates(dates)
|
92
|
+
|
93
|
+
Takes an `[` `string` or `Date` or `moment` `]` of values and disallows the user to select those days. Setting this takes precedence over `options.minDate`, `options.maxDate` configuration. Also calling this function removes the configuration of options.enabledDates if such exist.
|
94
|
+
|
95
|
+
**Note:** These values are matched with `Day` granularity.
|
96
|
+
|
97
|
+
----------------------
|
98
|
+
|
99
|
+
#### enabledDates()
|
100
|
+
|
101
|
+
Returns an array with the currently set enabled dates on the component.
|
102
|
+
|
103
|
+
|
104
|
+
#### enabledDates(dates)
|
105
|
+
|
106
|
+
Takes an `[` `string` or `Date` or `moment` `]` of values and allows the user to select only from those days. Setting this takes precedence over `options.minDate`, `options.maxDate` configuration. Also calling this function removes the configuration of options.disabledDates if such exist.
|
107
|
+
|
108
|
+
**Note:** These values are matched with `Day` granularity.
|
109
|
+
|
110
|
+
----------------------
|
111
|
+
|
112
|
+
### defaultDate
|
113
|
+
|
114
|
+
#### defaultDate()
|
115
|
+
|
116
|
+
Returns a `moment` with the `options.defaultDate` option configuration or `false` if not set
|
117
|
+
|
118
|
+
#### defaultDate(defaultDate)
|
119
|
+
|
120
|
+
Takes a `string, Date, moment, boolean:false`. Will set the picker's inital date. If a `boolean:false` value is passed the `options.defaultDate` parameter is cleared.
|
121
|
+
|
122
|
+
* `TypeError` - if the provided date pass validation, including `disabledDates`, `enabledDates`, `minDate`, `maxDate`, and `daysOfWeekDisabled`
|
123
|
+
|
124
|
+
* `TypeError` - if the provided date cannot be parsed by momentjs
|
125
|
+
|
126
|
+
----------------------
|
127
|
+
|
128
|
+
### useCurrent
|
129
|
+
|
130
|
+
#### useCurrent()
|
131
|
+
|
132
|
+
Returns a `boolean` or `string` with the `options.useCurrent` option configuration
|
133
|
+
|
134
|
+
#### useCurrent(boolean or string)
|
135
|
+
|
136
|
+
Takes a `boolean` or `string`. If a `boolean` true is passed and the components model moment is not set (either through `setDate` or through a valid value on the input element the component is attached to) then the first time the user opens the datetimepicker widget the value is initialized to the current moment of the action. If a false `boolean` is passed then no initialization happens on the input element. You can select the granularity on the initialized moment by passing one of the following strings (`'year', 'month', 'day', 'hour', 'minute'`) in the variable.
|
137
|
+
|
138
|
+
If for example you pass `'day'` to the `setUseCurrent` function and the input field is empty the first time the user opens the datetimepicker widget the input text will be initialized to the current datetime with day granularity (ie if currentTime = `2014-08-10 13:32:33` the input value will be initialized to `2014-08-10 00:00:00`)
|
139
|
+
|
140
|
+
**Note:** If the `options.defaultDate` is set or the input element the component is attached to has already a value that takes precedence and the functionality of `useCurrent` is not triggered!
|
141
|
+
|
142
|
+
----------------------
|
143
|
+
|
144
|
+
### min/maxDate
|
145
|
+
|
146
|
+
#### minDate()
|
147
|
+
|
148
|
+
Returns the currently set moment of the `options.minDate` or `false` if not set
|
149
|
+
|
150
|
+
#### minDate(minDate)
|
151
|
+
|
152
|
+
Takes a minDate `string, Date, moment, boolean:false` parameter and disallows the user to select a moment that is before that moment. If a `boolean:false` value is passed the `options.minDate` parameter is cleared and there is no restriction to the miminum moment the user can select.
|
153
|
+
|
154
|
+
**Note:** If the minDate parameter is after the currently selected moment the currently selected moment changes to minDate parameter
|
155
|
+
|
156
|
+
##### Throws
|
157
|
+
|
158
|
+
* `TypeError` - if minDate parameter cannot be parsed using the `options.format` and `options.useStrict` configuration settings
|
159
|
+
|
160
|
+
* `TypeError` - if minDate parameter is after `options.maxDate`
|
161
|
+
|
162
|
+
##### Emits
|
163
|
+
|
164
|
+
* `dp.change` - if the new minDate is after currently selected moment (waiting for #472 to close in order to finalize this part)
|
165
|
+
|
166
|
+
* `dp.error` - if the new minDate is after currently selected moment (waiting for #472 to close in order to finalize this part)
|
167
|
+
|
168
|
+
----------------------
|
169
|
+
|
170
|
+
#### maxDate()
|
171
|
+
|
172
|
+
Returns the currently set moment of the `options.maxDate` or `false` if not set
|
173
|
+
|
174
|
+
|
175
|
+
#### maxDate(maxDate)
|
176
|
+
|
177
|
+
Takes a maxDate `string, Date, moment, boolean:false` parameter and disallows the user to select a moment that is after that moment. If a `boolean:false` value is passed `options.maxDate` is cleared and there is no restriction to the maximum moment the user can select.
|
178
|
+
|
179
|
+
**Note:** If maxDate is before the currently selected moment the currently selected moment changes to maxDate
|
180
|
+
|
181
|
+
##### Throws
|
182
|
+
|
183
|
+
* `TypeError` - if maxDate parameter cannot be parsed using the `options.format` and `options.useStrict` configuration settings
|
184
|
+
|
185
|
+
* `TypeError` - if maxDate parameter is before `options.minDate`
|
186
|
+
|
187
|
+
##### Emits
|
188
|
+
|
189
|
+
* `dp.change` - if the new maxDate is after currently selected moment (waiting for #472 to close in order to finalize this part)
|
190
|
+
|
191
|
+
* `dp.error` - if the new maxDate is after currently selected moment (waiting for #472 to close in order to finalize this part)
|
192
|
+
|
193
|
+
----------------------
|
194
|
+
|
195
|
+
### daysOfWeekDisabled
|
196
|
+
|
197
|
+
#### daysOfWeekDisabled()
|
198
|
+
|
199
|
+
Returns an array with the `options.daysOfWeekDisabled` configuration setting of the component.
|
200
|
+
|
201
|
+
#### daysOfWeekDisabled(daysOfWeek)
|
202
|
+
|
203
|
+
Takes an `[` `Number`:`0` to `6` `]` and disallow the user to select weekdays that exist in this array. This has lower priority over the `options.minDate`, `options.maxDate`, `options.disabledDates` and `options.enabledDates` configuration settings.
|
204
|
+
|
205
|
+
##### Emits
|
206
|
+
|
207
|
+
* `dp.change` - if the currently selected moment falls in the values passed on the daysOfWeek parameter. (waiting for #472 to close in order to finalize this part)
|
208
|
+
|
209
|
+
* `dp.error` - if the currently selected moment falls in the values passed on the daysOfWeek parameter. (waiting for #472 to close in order to finalize this part)
|
210
|
+
|
211
|
+
----------------------
|
212
|
+
|
213
|
+
### options
|
214
|
+
|
215
|
+
####options()
|
216
|
+
|
217
|
+
Returns the components current options object. Note that the changing the values of the returned object does not change the components actual configuration. Use `options(options)` to set the components options massively or the other methods for setting config options individually.
|
218
|
+
|
219
|
+
|
220
|
+
#### options([options])
|
221
|
+
|
222
|
+
Takes an object variable with option key:value properties and configures the component. Use this to update multiple options on the component.
|
223
|
+
|
224
|
+
----------------------
|
225
|
+
|
226
|
+
### format
|
227
|
+
|
228
|
+
#### format()
|
229
|
+
|
230
|
+
Returns the component's `options.format` `string`
|
231
|
+
|
232
|
+
|
233
|
+
#### format(format)
|
234
|
+
|
235
|
+
Takes a [moment.js](http://momentjs.com/docs/#/displaying/format/) format `string` and sets the components `options.format`. This is used for displaying and also for parsing input strings either from the input element the component is attached to or the `date()` function.
|
236
|
+
The parameter can also be a `boolean:false` in which case the format is set to the locale's `L LT`.
|
237
|
+
|
238
|
+
**Note:** this is also used to determine if the TimePicker sub component will display the hours in 12 or 24 format. (if 'a' or 'h' exists in the passed `string` then a 12 hour mode is set)
|
239
|
+
|
240
|
+
----------------------
|
241
|
+
|
242
|
+
### extraFormats
|
243
|
+
|
244
|
+
#### extraFormats()
|
245
|
+
|
246
|
+
Returns a `boolean` or array with the `options.extraFormats` option configuration
|
247
|
+
|
248
|
+
#### extraFormats(formats)
|
249
|
+
|
250
|
+
Takes an array of valid input moment format options. See PR #666
|
251
|
+
|
252
|
+
----------------------
|
253
|
+
|
254
|
+
### locale
|
255
|
+
|
256
|
+
#### locale()
|
257
|
+
|
258
|
+
Returns the currently set locale of the `options.locale`
|
259
|
+
|
260
|
+
#### locale(newLocale)
|
261
|
+
|
262
|
+
Takes a `string` of any valid [moment locale](https://github.com/moment/moment/tree/develop/locale) e.g. `de` for German.
|
263
|
+
|
264
|
+
##### Throws
|
265
|
+
|
266
|
+
* `TypeError` - if the locale is not loaded via a separate script or `moment-with-locales`
|
267
|
+
|
268
|
+
----------------------
|
269
|
+
|
270
|
+
### stepping
|
271
|
+
|
272
|
+
#### stepping()
|
273
|
+
|
274
|
+
Returns a `number` with the `options.stepping` option configuration
|
275
|
+
|
276
|
+
|
277
|
+
#### stepping(number)
|
278
|
+
|
279
|
+
Takes a `number`. This be the amount the up/down arrows move the minute value with a time picker.
|
280
|
+
|
281
|
+
----------------------
|
282
|
+
|
283
|
+
### sideBySide and collapse
|
284
|
+
|
285
|
+
#### sideBySide()
|
286
|
+
|
287
|
+
Returns a `boolean` of the `options.sideBySide`.
|
288
|
+
|
289
|
+
|
290
|
+
#### sideBySide(sideBySide)
|
291
|
+
|
292
|
+
Takes a `boolean`. If `sideBySide` is `true` and the time picker is used, both components will display side by side instead of collapsing.
|
293
|
+
|
294
|
+
----------------------
|
295
|
+
|
296
|
+
#### collapse()
|
297
|
+
|
298
|
+
Returns a `boolean` with the `options.collapse` option configuration
|
299
|
+
|
300
|
+
#### collapse(collapse)
|
301
|
+
|
302
|
+
Takes a `boolean`. If set to `false` the picker will display similar to `sideBySide` except vertical.
|
303
|
+
|
304
|
+
----------------------
|
305
|
+
|
306
|
+
### icons
|
307
|
+
|
308
|
+
#### icons()
|
309
|
+
|
310
|
+
Returns an `Ojbect` of `options.icons`
|
311
|
+
|
312
|
+
#### icons(icons)
|
313
|
+
|
314
|
+
Takes an `Ojbect` of `strings`.
|
315
|
+
|
316
|
+
##### Throws
|
317
|
+
|
318
|
+
* `TypeError` - if icons parameter is not an `Ojbect`
|
319
|
+
|
320
|
+
----------------------
|
321
|
+
|
322
|
+
### useStrict
|
323
|
+
|
324
|
+
#### useStrict()
|
325
|
+
|
326
|
+
Returns a `boolean` of the `options.useStrict`
|
327
|
+
|
328
|
+
#### useStrict(useStrict)
|
329
|
+
|
330
|
+
Takes a `boolean`. If `useStrict` is `true`, momentjs parsing rules will be stricter when determining if a date is valid or not.
|
331
|
+
|
332
|
+
----------------------
|
333
|
+
|
334
|
+
### widgetPositioning
|
335
|
+
|
336
|
+
#### widgetPositioning()
|
337
|
+
|
338
|
+
Returns the currently set `options.widgetPositioning` object containing two keys `horizontal` and `vertical`
|
339
|
+
|
340
|
+
|
341
|
+
#### widgetPositioning(positioningObject)
|
342
|
+
|
343
|
+
Takes an object parameter that can contain two keys `vertical` and `horizontal` each having a value of `'auto', 'top', 'bottom'` for `vertical` and `'auto', 'left', 'right'` for `horizontal` which defines where the dropdown with the widget will appear relative to the input element the component is attached to.
|
344
|
+
|
345
|
+
`'auto'` is the default value for both `horizontal` and `vertical` keys and it tries to automatically place the dropdown in a position that is visible to the user. Usually you should not override those options unless you have a special need in your layout.
|
346
|
+
|
347
|
+
----------------------
|
348
|
+
|
349
|
+
### viewMode
|
350
|
+
|
351
|
+
#### viewMode()
|
352
|
+
|
353
|
+
Returns a `string` of the `options.viewMode`.
|
354
|
+
|
355
|
+
#### viewMode(newViewMode)
|
356
|
+
|
357
|
+
Takes a `string`. Valid values are `'days'`, `'months'`, `'years'` and `'decades'`
|
358
|
+
|
359
|
+
##### Throws
|
360
|
+
|
361
|
+
* `TypeError` - if `newViewMode` parameter is not an a `string` or if `newViewMode` is not a valid value
|
362
|
+
|
363
|
+
----------------------
|
364
|
+
|
365
|
+
### calendarWeeks
|
366
|
+
|
367
|
+
#### calendarWeeks()
|
368
|
+
|
369
|
+
Returns a `boolean` with the current `options.calendarWeeks` option configuration
|
370
|
+
|
371
|
+
#### calendarWeeks(boolean)
|
372
|
+
|
373
|
+
Takes a `boolean` variable to set if the week numbers will appear to the left on the days view
|
374
|
+
|
375
|
+
----------------------
|
376
|
+
|
377
|
+
### showClear
|
378
|
+
|
379
|
+
#### showClear()
|
380
|
+
|
381
|
+
Returns a `boolean` variable with the currently set `options.showClear` option.
|
382
|
+
|
383
|
+
#### showClear(boolean)
|
384
|
+
|
385
|
+
Takes a `boolean` variable to set if the clear date button will appear on the widget
|
386
|
+
|
387
|
+
----------------------
|
388
|
+
|
389
|
+
### showTodayButton
|
390
|
+
|
391
|
+
#### showTodayButton()
|
392
|
+
|
393
|
+
Returns a `boolean` variable with the currently set `options.showTodayButton` option.
|
394
|
+
|
395
|
+
|
396
|
+
#### showTodayButton(boolean)
|
397
|
+
|
398
|
+
Takes a `boolean` variable to set if the Today button will appear on the widget
|
399
|
+
|
400
|
+
----------------------
|
401
|
+
|
402
|
+
### toolbarplacement
|
403
|
+
|
404
|
+
#### toolbarplacement()
|
405
|
+
|
406
|
+
Returns a `string` variable with the currently set `options.toolbarplacement` option.
|
407
|
+
|
408
|
+
#### toolbarplacement(string)
|
409
|
+
|
410
|
+
Takes a `string` value. Valid values are `'default'`, `'top'` and `'bottom'`.
|
411
|
+
|
412
|
+
Changes the placement of the toolbar where the today, clear, component switch icon are located.
|
413
|
+
|
414
|
+
----------------------
|
415
|
+
|
416
|
+
### dayViewHeaderFormat
|
417
|
+
|
418
|
+
#### dayViewHeaderFormat()
|
419
|
+
|
420
|
+
Returns a `string` variable with the currently set `options.dayViewHeaderFormat` option.
|
421
|
+
|
422
|
+
#### dayViewHeaderFormat(string)
|
423
|
+
|
424
|
+
Takes a `string` value.
|
425
|
+
|
426
|
+
Used to customize the header of the day view.
|
427
|
+
|
428
|
+
----------------------
|
429
|
+
|
430
|
+
### keyBinds
|
431
|
+
|
432
|
+
#### keyBinds()
|
433
|
+
|
434
|
+
Returns a `string` variable with the currently set `options.keyBinds` option.
|
435
|
+
|
436
|
+
#### keyBinds(object)
|
437
|
+
|
438
|
+
Takes an `object` value.
|
439
|
+
|
440
|
+
Allows for several keyBinding functions to be specified for ease of access or accessibility. See the options page for defaults.
|
441
|
+
|
442
|
+
----------------------
|
443
|
+
|
444
|
+
### clear()
|
445
|
+
|
446
|
+
Clears the datepicker by setting the value to `null`
|
447
|
+
|
448
|
+
----------------------
|
449
|
+
|
450
|
+
### inline
|
451
|
+
|
452
|
+
#### inline()
|
453
|
+
|
454
|
+
Returns a `boolean` variable with the currently set `options.inline` option.
|
455
|
+
|
456
|
+
#### inline(boolean)
|
457
|
+
|
458
|
+
Takes a `boolean` value.
|
459
|
+
|
460
|
+
Used to customize the header of the day view.
|
461
|
+
|
462
|
+
----------------------
|
463
|
+
|
464
|
+
### ignoreReadonly
|
465
|
+
|
466
|
+
#### ignoreReadonly()
|
467
|
+
|
468
|
+
Returns a `boolean` variable with the currently set `options.ignoreReadonly` option.
|
469
|
+
|
470
|
+
#### ignoreReadonly(boolean)
|
471
|
+
|
472
|
+
Takes a `boolean` value.
|
473
|
+
|
474
|
+
Set this to `true` to allow the picker to be used even if the input field is `readonly`. This will **not** bypass the `disabled` property
|
475
|
+
|
476
|
+
----------------------
|
477
|
+
|
478
|
+
### showClose
|
479
|
+
|
480
|
+
#### showClose()
|
481
|
+
|
482
|
+
Returns a `boolean` variable with the currently set `options.showClose` option.
|
483
|
+
|
484
|
+
#### showClose(boolean)
|
485
|
+
|
486
|
+
Takes a `boolean` value.
|
487
|
+
|
488
|
+
If `true`, an icon will be displayed on the toolbar that will hide the picker
|
489
|
+
|
490
|
+
----------------------
|
491
|
+
|
492
|
+
### debug
|
493
|
+
|
494
|
+
For the moment this function will only prevent the picker from calling `hide()` on `blur` so that the picker can be inspected.
|
495
|
+
|
496
|
+
----------------------
|
497
|
+
|
498
|
+
### keepInvalid
|
499
|
+
|
500
|
+
<small>4.7.14</small>
|
501
|
+
|
502
|
+
#### keepInvalid()
|
503
|
+
|
504
|
+
Returns a `string` variable with the currently set `options.keepInvalid` option.
|
505
|
+
|
506
|
+
#### keepInvalid(boolean)
|
507
|
+
|
508
|
+
Takes a `boolean` value.
|
509
|
+
|
510
|
+
If `true`, invalid dates will not be reverted to a previous selection or changed.
|
511
|
+
|
512
|
+
----------------------
|
513
|
+
|
514
|
+
### allowInputToggle
|
515
|
+
|
516
|
+
<small>4.7.14</small>
|
517
|
+
|
518
|
+
#### allowInputToggle()
|
519
|
+
|
520
|
+
Returns a `boolean` variable with the currently set `options.allowInputToggle` option.
|
521
|
+
|
522
|
+
#### allowInputToggle(boolean)
|
523
|
+
|
524
|
+
Takes a `boolean` value.
|
525
|
+
|
526
|
+
If `true`, the picker will show on textbox focus and icon click when used in a button group
|
527
|
+
|
528
|
+
----------------------
|
529
|
+
|
530
|
+
### focusOnShow
|
531
|
+
|
532
|
+
<small>4.14.30</small> PR #884
|
533
|
+
|
534
|
+
#### focusOnShow()
|
535
|
+
|
536
|
+
Returns a `boolean` variable with the currently set `options.focusOnShow` option.
|
537
|
+
|
538
|
+
#### focusOnShow(boolean)
|
539
|
+
|
540
|
+
Takes a `boolean` value.
|
541
|
+
|
542
|
+
If `false`, the textbox will not be given focus when the picker is shown
|
543
|
+
|
544
|
+
|
545
|
+
----------------------
|
546
|
+
|
547
|
+
### disabledTimeIntervals
|
548
|
+
|
549
|
+
<small>4.14.30</small> Issue: #644
|
550
|
+
|
551
|
+
#### disabledTimeIntervals()
|
552
|
+
|
553
|
+
Returns an `array` variable with the currently set `options.disabledTimeIntervals` option.
|
554
|
+
|
555
|
+
#### disabledTimeIntervals(array)
|
556
|
+
|
557
|
+
Takes a `array` value.
|
558
|
+
|
559
|
+
The array **must** be in the following format `[moment(),moment()]`
|
560
|
+
|
561
|
+
For example:
|
562
|
+
|
563
|
+
disabledTimeIntervals: [[moment({ h: 0 }), moment({ h: 8 })], [moment({ h: 18 }), moment({ h: 24 })]]
|
564
|
+
|
565
|
+
Will disable times between 12-8am and 6-12pm today
|
566
|
+
|
567
|
+
----------------------
|
568
|
+
|
569
|
+
### en/disabledHours
|
570
|
+
|
571
|
+
<small>4.14.30</small> Issue: #851
|
572
|
+
|
573
|
+
#### disabledHours()
|
574
|
+
|
575
|
+
Returns an `array` variable with the currently set `options.en/disabledHours` option.
|
576
|
+
|
577
|
+
#### disabledHours(boolean)
|
578
|
+
|
579
|
+
Takes a `array` value.
|
580
|
+
|
581
|
+
Must be in 24 hour format. Will allow or disallow hour selections (much like `disabledTimeIntervals`) but will affect all days.
|
582
|
+
|
583
|
+
Like `en/disabledDates`, these options are mutually exclusive and will reset one of the options back to false.
|
584
|
+
|
585
|
+
disabledHours: [0, 1, 2, 3, 4, 5, 6, 7, 8, 18, 19, 20, 21, 22, 23, 24]
|
586
|
+
enabledHours: [9, 10, 11, 12, 13, 14, 15, 16]
|
587
|
+
|
588
|
+
----------------------
|
589
|
+
|
590
|
+
### viewDate
|
591
|
+
|
592
|
+
<small>4.14.30</small> Issue #872
|
593
|
+
|
594
|
+
#### viewDate()
|
595
|
+
|
596
|
+
Returns a `moment` variable with the currently set `options.viewDate` option.
|
597
|
+
|
598
|
+
#### viewDate(viewDate)
|
599
|
+
|
600
|
+
Takes a `string, moment or Date` value.
|
601
|
+
|
602
|
+
This will change the `viewDate` without changing or setting the selected date.
|
603
|
+
|
604
|
+
### parseInputDate
|
605
|
+
<small>4.14.30</small> Issue #1095
|
606
|
+
|
607
|
+
#### parseInputDate()
|
608
|
+
|
609
|
+
Returns a `function` with the currently set `options.parseInputDate`
|
610
|
+
|
611
|
+
#### parseInputDate(function)
|
612
|
+
|
613
|
+
Takes a `function`
|
614
|
+
|
615
|
+
Allows custom input formatting For example: the user can enter 'yesterday' or '30 days ago'.
|
616
|
+
|
617
|
+
Example:
|
618
|
+
|
619
|
+
```
|
620
|
+
var parseRelativeDate = function(relativeDate) {
|
621
|
+
|
622
|
+
switch (relativeDate) {
|
623
|
+
case 'today':
|
624
|
+
return moment()
|
625
|
+
case 'yesterday':
|
626
|
+
return moment().subtract(1, 'day');
|
627
|
+
default:
|
628
|
+
return moment()
|
629
|
+
.subtract(Number(relativeDate.replace("days ago", "").trim()), 'days');
|
630
|
+
}
|
631
|
+
}
|
632
|
+
|
633
|
+
var parseInputDate = function(inputDate) {
|
634
|
+
var relativeDatePattern = /today|yesterday|[0-9]+\s+(days ago)/,
|
635
|
+
resultDate;
|
636
|
+
|
637
|
+
if (moment.isMoment(inputDate) || inputDate instanceof Date) {
|
638
|
+
resultDate = moment(inputDate);
|
639
|
+
} else {
|
640
|
+
var relativeDate = inputDate.match(relativeDatePattern),
|
641
|
+
parseDate = null;
|
642
|
+
|
643
|
+
if (relativeDate !== null)
|
644
|
+
parseDate = this.parseRelativeDate(inputDate.match(relativeDatePattern)[0]);
|
645
|
+
else
|
646
|
+
parseDate = moment();
|
647
|
+
|
648
|
+
resultDate = moment(parseDate, "YYYY-MM-DD");
|
649
|
+
}
|
650
|
+
|
651
|
+
return resultDate;
|
652
|
+
}
|
653
|
+
```
|
654
|
+
|
655
|
+
----------------------
|
656
|
+
|
657
|
+
### tooltips
|
658
|
+
<small>4.14.30</small>
|
659
|
+
|
660
|
+
#### tooltips()
|
661
|
+
|
662
|
+
Returns an `Ojbect` of `options.tooltips`
|
663
|
+
|
664
|
+
#### tooltips(tooltips)
|
665
|
+
|
666
|
+
Takes an `Ojbect` of `strings`.
|
667
|
+
|
668
|
+
##### Throws
|
669
|
+
|
670
|
+
* `TypeError` - if tooltips parameter is not an `Ojbect`
|