iugu-ux 0.9.5 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/iugu-ux/version.rb +1 -1
- data/sandbox/app/assets/images/iux-default-hd-s17271d3cb1.png +0 -0
- data/sandbox/app/assets/images/iux-default-sf90d181d5d.png +0 -0
- data/sandbox/app/views/ui_library/components.html.haml +125 -324
- data/sandbox/app/views/ui_library/components.html.old +347 -0
- data/sandbox/log/development.log +77991 -0
- data/sandbox/tmp/cache/assets/BD0/110/sprockets%2F52568313d04166c1237865292979c86d +0 -0
- data/sandbox/tmp/cache/assets/BE9/020/sprockets%2Fe93a611416f4149c006c589432090903 +0 -0
- data/sandbox/tmp/cache/assets/C12/7B0/sprockets%2F22b589210b25163d0632276189db33a7 +0 -0
- data/sandbox/tmp/cache/assets/C22/700/sprockets%2F1e80066728b359e1028158d57e05b158 +0 -0
- data/sandbox/tmp/cache/assets/C24/5F0/sprockets%2Fcb3028925f1090968337df085236f532 +0 -0
- data/sandbox/tmp/cache/assets/C2A/A00/sprockets%2Fd1029524694c2799ec313708f824a483 +0 -0
- data/sandbox/tmp/cache/assets/C3E/260/sprockets%2F4262142496540e6691d5bc0260a21eb5 +0 -0
- data/sandbox/tmp/cache/assets/C48/D00/sprockets%2F4a51b39094a347e3e325005c7847551c +0 -0
- data/sandbox/tmp/cache/assets/C49/3B0/sprockets%2F405c7112191eed23e8b860254281e763 +0 -0
- data/sandbox/tmp/cache/assets/C49/B90/sprockets%2F652bf28a17cb315610471da568733258 +0 -0
- data/sandbox/tmp/cache/assets/C4F/3A0/sprockets%2F41918e8d7b402652a5649e4b7134d620 +0 -0
- data/sandbox/tmp/cache/assets/C53/BD0/sprockets%2F00196765c6f95bc1b670b0941172f829 +0 -0
- data/sandbox/tmp/cache/assets/C59/510/sprockets%2Fb85817b45126c2167b27e636305a98e9 +0 -0
- data/sandbox/tmp/cache/assets/C5A/0F0/sprockets%2F66317254e81572f5a89184618e3c3b5b +0 -0
- data/sandbox/tmp/cache/assets/C60/360/sprockets%2Fb7a62e5a9315f80120493f865587d982 +0 -0
- data/sandbox/tmp/cache/assets/C62/3A0/sprockets%2Fad550974fd1050311169d4c5004a2e20 +0 -0
- data/sandbox/tmp/cache/assets/C67/B10/sprockets%2Fbb75573f2789b581382d253d6867e463 +0 -0
- data/sandbox/tmp/cache/assets/C6B/870/sprockets%2Fa90a46599772a03198988b6d444a678f +0 -0
- data/sandbox/tmp/cache/assets/C70/570/sprockets%2F0bba1d02704630161a045f6d69178f67 +0 -0
- data/sandbox/tmp/cache/assets/C72/6E0/sprockets%2F66f465af79705ef78383c186816973d2 +0 -0
- data/sandbox/tmp/cache/assets/C75/E10/sprockets%2Fb04a483530140d3348c160f58dc56d49 +0 -0
- data/sandbox/tmp/cache/assets/C76/F60/sprockets%2F6d1984efe9563840f267193518a88f79 +0 -0
- data/sandbox/tmp/cache/assets/C7A/440/sprockets%2F3828a635611b4f542d38731a1e308f4e +0 -0
- data/sandbox/tmp/cache/assets/C7A/7B0/sprockets%2Fb5fc25d37349717a231120228a0e8d99 +0 -0
- data/sandbox/tmp/cache/assets/C7A/F30/sprockets%2F70249181577b261a3ea8851b530f1e7c +0 -0
- data/sandbox/tmp/cache/assets/C7F/4D0/sprockets%2F8e4b454014428723ac77c713ebf49613 +0 -0
- data/sandbox/tmp/cache/assets/C80/9F0/sprockets%2F9162884f803da834a6a9050f3103f3d9 +0 -0
- data/sandbox/tmp/cache/assets/C81/380/sprockets%2F278b5506922c326f333c2799cf133bb6 +0 -0
- data/sandbox/tmp/cache/assets/C82/220/sprockets%2F882ec16861b23eda911987132fc55450 +0 -0
- data/sandbox/tmp/cache/assets/C84/8A0/sprockets%2F657cb456925d084af0c068e7268410e4 +0 -0
- data/sandbox/tmp/cache/assets/C86/500/sprockets%2F6990a45a256263b7579492ac7a6a626a +0 -0
- data/sandbox/tmp/cache/assets/C87/BA0/sprockets%2F7fb8bc74531816198f2f55603a74810d +0 -0
- data/sandbox/tmp/cache/assets/C8A/B80/sprockets%2Fe37e9e103b3578662306fc9b578e0650 +0 -0
- data/sandbox/tmp/cache/assets/C95/E10/sprockets%2F523aa7361286610d045f62ac2a38a23b +0 -0
- data/sandbox/tmp/cache/assets/C97/790/sprockets%2Ffa5602401f5500215f5c4555190dcbd2 +0 -0
- data/sandbox/tmp/cache/assets/C9C/BF0/sprockets%2F3485e8861eea7c5136c6699c3d865383 +0 -0
- data/sandbox/tmp/cache/assets/CA0/640/sprockets%2F11418d792d155cf53d3e1b29b053b027 +0 -0
- data/sandbox/tmp/cache/assets/CA7/BA0/sprockets%2F13bef11836047bf35479da52332ef333 +0 -0
- data/sandbox/tmp/cache/assets/CA9/4B0/sprockets%2F8214f97a129c43264cfbf5038a00f445 +0 -0
- data/sandbox/tmp/cache/assets/CAA/A60/sprockets%2F24be3f03266d267f7f744cbf25145042 +0 -0
- data/sandbox/tmp/cache/assets/CAC/030/sprockets%2F55b91286dd5a041e649c15124f7350fd +0 -0
- data/sandbox/tmp/cache/assets/CAC/060/sprockets%2Fe72c3ba435988731c168b6441f1bc622 +0 -0
- data/sandbox/tmp/cache/assets/CB0/2B0/sprockets%2F2f58355e2456931b1ef1a6c477e0347a +0 -0
- data/sandbox/tmp/cache/assets/CB2/A40/sprockets%2F3aa029e802d658a648252664dce7725c +0 -0
- data/sandbox/tmp/cache/assets/CB5/2A0/sprockets%2Fe18bc891ab220b536d724e27d7793079 +0 -0
- data/sandbox/tmp/cache/assets/CB7/810/sprockets%2F2668b0d95254a1c8665ee5c2116e993b +0 -0
- data/sandbox/tmp/cache/assets/CB8/CD0/sprockets%2Feb118c352d4b698783e25be37085f344 +0 -0
- data/sandbox/tmp/cache/assets/CB8/E40/sprockets%2F0ffe033d3e9192c066e2984360437ef7 +0 -0
- data/sandbox/tmp/cache/assets/CB9/9D0/sprockets%2F893272529e62fea11982e442c0df4c49 +0 -0
- data/sandbox/tmp/cache/assets/CBB/AA0/sprockets%2F34b613f862555697eb944a2ff6ac3526 +0 -0
- data/sandbox/tmp/cache/assets/CBB/E20/sprockets%2F00b2c2691b3a8da5553b13d123137c0c +0 -0
- data/sandbox/tmp/cache/assets/CBD/650/sprockets%2F1774801e748257cd49a236d458ce44fd +0 -0
- data/sandbox/tmp/cache/assets/CBD/660/sprockets%2Ff5804153e42afac525289f4864716fd8 +0 -0
- data/sandbox/tmp/cache/assets/CC3/930/sprockets%2F7e2c9302e5050f66e888725be83f862d +0 -0
- data/sandbox/tmp/cache/assets/CC7/EB0/sprockets%2F079d3b368c9e843b78c90079f26d628b +0 -0
- data/sandbox/tmp/cache/assets/CC8/510/sprockets%2F868a1670f8822e6b7847dd22e747a66f +0 -0
- data/sandbox/tmp/cache/assets/CCA/850/sprockets%2F1d05d32f046ec7313b0d3619a232d73f +0 -0
- data/sandbox/tmp/cache/assets/CCB/400/sprockets%2F1530d5680131ba31d7175dcb56e235ce +0 -0
- data/sandbox/tmp/cache/assets/CCF/860/sprockets%2F3c8357104d72a87eda0a2243421d2cf8 +0 -0
- data/sandbox/tmp/cache/assets/CD1/920/sprockets%2F570c0b1741c64e149720c9a70ef31a5e +0 -0
- data/sandbox/tmp/cache/assets/CD3/7E0/sprockets%2Fe1da4188365b15d4e56321fe11aa3476 +0 -0
- data/sandbox/tmp/cache/assets/CD5/890/sprockets%2F11a77d7fee8d898cd3688f4528911956 +0 -0
- data/sandbox/tmp/cache/assets/CD7/0E0/sprockets%2Fb7291915fd78d50026c443b2c63fa6b0 +0 -0
- data/sandbox/tmp/cache/assets/CD8/A00/sprockets%2F7fc0d17a67807131e449fb221ea41f37 +0 -0
- data/sandbox/tmp/cache/assets/CDB/8F0/sprockets%2Fab75481b4dc342c6802664b5ef1f6371 +0 -0
- data/sandbox/tmp/cache/assets/CDB/E30/sprockets%2F918458a88fec2cd01991c003b2318ab7 +0 -0
- data/sandbox/tmp/cache/assets/CDD/540/sprockets%2F63653bdd74a1c57059f14a1758a6a53e +0 -0
- data/sandbox/tmp/cache/assets/CDD/FB0/sprockets%2F4b23e17b9e8045b20e5fd894443b632c +0 -0
- data/sandbox/tmp/cache/assets/CDE/B50/sprockets%2F385b6715594d06e9071224bafb8b2ac8 +0 -0
- data/sandbox/tmp/cache/assets/CDF/EC0/sprockets%2Fa90760fc2f137785c7b810dcb9a40196 +0 -0
- data/sandbox/tmp/cache/assets/CE3/1C0/sprockets%2Ff617335dbdd40d03704f3d1249939f9c +0 -0
- data/sandbox/tmp/cache/assets/CE5/B50/sprockets%2F7926c5ca216870ee7f144f691e43c6a1 +0 -0
- data/sandbox/tmp/cache/assets/CE6/910/sprockets%2F4f1ef52dd511139b0d3f12f3879f6648 +0 -0
- data/sandbox/tmp/cache/assets/CEA/5C0/sprockets%2Ff07ef674251629759e234ea642a3cc8e +0 -0
- data/sandbox/tmp/cache/assets/CEC/760/sprockets%2F2e588fd16989acc60b813afe18471562 +0 -0
- data/sandbox/tmp/cache/assets/CED/340/sprockets%2F2f33f5d63e037a9f9b859f6c25139e30 +0 -0
- data/sandbox/tmp/cache/assets/CEF/8D0/sprockets%2F6844104378ac34f2198a99eb767af5cd +0 -0
- data/sandbox/tmp/cache/assets/CF1/CD0/sprockets%2Ff604c432d2de9f942882ecd8462578f0 +0 -0
- data/sandbox/tmp/cache/assets/CF2/9B0/sprockets%2F4d21ad668aee6e897f5194c1139a8917 +0 -0
- data/sandbox/tmp/cache/assets/CF3/190/sprockets%2F2c9a3c9432e5ed1103151d5bad2a1265 +0 -0
- data/sandbox/tmp/cache/assets/CF4/380/sprockets%2F589f1cc721459549f84fd6a23394a7eb +0 -0
- data/sandbox/tmp/cache/assets/CFA/EE0/sprockets%2Fd95b64bc8b83485c8f3960c625885dc6 +0 -0
- data/sandbox/tmp/cache/assets/CFB/9B0/sprockets%2Fc18a4c43949a1b0566645ec015daa0b4 +0 -0
- data/sandbox/tmp/cache/assets/CFD/6C0/sprockets%2F1203d4bbdfe1aac02f896e2447006951 +0 -0
- data/sandbox/tmp/cache/assets/CFE/C30/sprockets%2Fe6d5449f96dfe3e42942f92793c039e4 +0 -0
- data/sandbox/tmp/cache/assets/D00/100/sprockets%2F4645f4d2d3761ea8103b43c05cb98aa1 +0 -0
- data/sandbox/tmp/cache/assets/D06/350/sprockets%2F930f6313451d773a6f0daae4b5485ca4 +0 -0
- data/sandbox/tmp/cache/assets/D08/ED0/sprockets%2Fcb1aee736d3b287a872298b7741b012b +0 -0
- data/sandbox/tmp/cache/assets/D09/DB0/sprockets%2F21a7ee2fd49111e1378c6f7118fd230e +0 -0
- data/sandbox/tmp/cache/assets/D0B/7E0/sprockets%2F8429602b86b2202c509bf706ed6b4dde +0 -0
- data/sandbox/tmp/cache/assets/D0F/6C0/sprockets%2Fbf2f9c2cb4234c70c947f50ed2822907 +0 -0
- data/sandbox/tmp/cache/assets/D10/260/sprockets%2F34be45a2946b38f2577ee0d334d5a63d +0 -0
- data/sandbox/tmp/cache/assets/D10/6D0/sprockets%2F966130263a0cbcd9c69c2f06789ad3d3 +0 -0
- data/sandbox/tmp/cache/assets/D10/E50/sprockets%2F86dbab9960f9195090301e2c42e1eeb8 +0 -0
- data/sandbox/tmp/cache/assets/D11/3B0/sprockets%2Fb16a3454a43d314d1df9f2098986f3bd +0 -0
- data/sandbox/tmp/cache/assets/D14/AF0/sprockets%2F24fd44697221a182e489cc7dddb571e2 +0 -0
- data/sandbox/tmp/cache/assets/D1A/A80/sprockets%2F20df823a87d3c896fa872c4afb219682 +0 -0
- data/sandbox/tmp/cache/assets/D1A/B70/sprockets%2F47ae92dd9d034b32098b19bf8f2475a9 +0 -0
- data/sandbox/tmp/cache/assets/D1D/310/sprockets%2Fa6650b89ce8152c1cd762d6df44546f9 +0 -0
- data/sandbox/tmp/cache/assets/D20/9A0/sprockets%2F712ed296777da0ca9b24998db88e0f60 +0 -0
- data/sandbox/tmp/cache/assets/D20/E10/sprockets%2F95e627d705ba3078d3ba998470ff9cd2 +0 -0
- data/sandbox/tmp/cache/assets/D2C/D60/sprockets%2F51f27f886dd76ed6729f94133916fadd +0 -0
- data/sandbox/tmp/cache/assets/D2E/9D0/sprockets%2F9c0a2445ab6c0967470b5b22d4b1f8ba +0 -0
- data/sandbox/tmp/cache/assets/D2E/E00/sprockets%2Fa22b402f5d65fd3ac148bef371b39061 +0 -0
- data/sandbox/tmp/cache/assets/D2F/500/sprockets%2F4b69a31fdeabf6b46a1656d06b036043 +0 -0
- data/sandbox/tmp/cache/assets/D32/840/sprockets%2Fdfe84878329efef68a1782d749083d6b +0 -0
- data/sandbox/tmp/cache/assets/D33/390/sprockets%2F801a98f19540274aaab8b6ccf5cc5032 +0 -0
- data/sandbox/tmp/cache/assets/D34/280/sprockets%2F0fcf69c7e8fd9961e1158d70583e8f95 +0 -0
- data/sandbox/tmp/cache/assets/D34/3E0/sprockets%2F46a73c17c9a561115944df004dbbdd7b +0 -0
- data/sandbox/tmp/cache/assets/D35/AC0/sprockets%2F67d23b05f2a7bc455d0f5f408ca6d523 +0 -0
- data/sandbox/tmp/cache/assets/D37/1E0/sprockets%2Fc42800bd200fbf8edbdf9410949590a4 +0 -0
- data/sandbox/tmp/cache/assets/D37/B30/sprockets%2F9e0ec117e9064c55401b50c2abb8ff76 +0 -0
- data/sandbox/tmp/cache/assets/D38/F30/sprockets%2F18e8449291f2b6cf4ce52ac4c810e1c0 +0 -0
- data/sandbox/tmp/cache/assets/D3B/BC0/sprockets%2F19510a763bd1521ff5fc70ffe0d837d3 +0 -0
- data/sandbox/tmp/cache/assets/D3C/840/sprockets%2F49effd15c5894a93202ad06b57aab085 +0 -0
- data/sandbox/tmp/cache/assets/D3C/DA0/sprockets%2Fdb9c9b44b247d9c53554d1425a1f1bb9 +0 -0
- data/sandbox/tmp/cache/assets/D3D/B80/sprockets%2F75df7c9d480cfbe1f976999e7647d771 +0 -0
- data/sandbox/tmp/cache/assets/D3E/330/sprockets%2F365eaec5f233eec39b317cf438133d28 +0 -0
- data/sandbox/tmp/cache/assets/D3F/230/sprockets%2F6d936d416e28b6be0a95c54c24814aec +0 -0
- data/sandbox/tmp/cache/assets/D42/230/sprockets%2F6a13b3e67cd9823c208f14e1f62d9cd7 +0 -0
- data/sandbox/tmp/cache/assets/D44/320/sprockets%2F27989e358a4a57b48c5e4062bff2aa4a +0 -0
- data/sandbox/tmp/cache/assets/D46/650/sprockets%2Fba1459a80d8874a816f88ffec22019ac +0 -0
- data/sandbox/tmp/cache/assets/D47/FD0/sprockets%2F279dd54295ff5a0e283a0e5730fff28c +0 -0
- data/sandbox/tmp/cache/assets/D48/140/sprockets%2Ff4567a772d3fd11862c9dd4ac5c7b564 +0 -0
- data/sandbox/tmp/cache/assets/D48/370/sprockets%2Fb654fd37f9f63ec202a3636e29b94ef0 +0 -0
- data/sandbox/tmp/cache/assets/D48/A80/sprockets%2F97143a3ee7e206e4f559ab4ff48356ba +0 -0
- data/sandbox/tmp/cache/assets/D49/490/sprockets%2F0fa1c0108b93ed47893971f6b9da7ef4 +0 -0
- data/sandbox/tmp/cache/assets/D4A/1A0/sprockets%2Fb746360a8b3ce79c57e74a9c15309fdd +0 -0
- data/sandbox/tmp/cache/assets/D4A/F30/sprockets%2F3a0819f518e98eae5e484f06b280aaf9 +0 -0
- data/sandbox/tmp/cache/assets/D4C/460/sprockets%2F567f4d3cdc3545fb1616bb9e8a947e53 +0 -0
- data/sandbox/tmp/cache/assets/D4C/8E0/sprockets%2F598b784236bf0a9baea474b6b9e1377f +0 -0
- data/sandbox/tmp/cache/assets/D4D/5C0/sprockets%2F66eaa47a7875ec8a24a5dbe465e75753 +0 -0
- data/sandbox/tmp/cache/assets/D4D/9B0/sprockets%2Febcc4e9d10b747864a29d16c13f5d899 +0 -0
- data/sandbox/tmp/cache/assets/D4E/580/sprockets%2Fc44f860c313495c861c6e85f7dadd5b9 +0 -0
- data/sandbox/tmp/cache/assets/D4E/890/sprockets%2Fe63a8eb028d9908ec1631fb7af1896e6 +0 -0
- data/sandbox/tmp/cache/assets/D4F/810/sprockets%2Fa10070d6497ba2b4ea552d4a1bb444cb +0 -0
- data/sandbox/tmp/cache/assets/D52/870/sprockets%2Ffa371b6ca7e8969ae9d665288aa3d274 +0 -0
- data/sandbox/tmp/cache/assets/D52/DA0/sprockets%2F4ade83a488efd3d58ee5e6587246a631 +0 -0
- data/sandbox/tmp/cache/assets/D53/550/sprockets%2F937ee68d583bdd120b634f68ee9b93c4 +0 -0
- data/sandbox/tmp/cache/assets/D53/E90/sprockets%2Fb333afe57100a0a8c1bc6c37405e56bb +0 -0
- data/sandbox/tmp/cache/assets/D54/100/sprockets%2Fa053ad409bc7532fdd1a3ecc126a6801 +0 -0
- data/sandbox/tmp/cache/assets/D55/310/sprockets%2F2b9be79ca64ec7d294d4825e21696ce9 +0 -0
- data/sandbox/tmp/cache/assets/D5C/200/sprockets%2Fcd323e6f7545cee0b3ba1e84d7520b00 +0 -0
- data/sandbox/tmp/cache/assets/D5D/310/sprockets%2F5bbf50c40bff0ad1722051c86fe680e2 +0 -0
- data/sandbox/tmp/cache/assets/D60/1C0/sprockets%2F9aea4355ee4dd601b6f8a27c027b10d3 +0 -0
- data/sandbox/tmp/cache/assets/D62/490/sprockets%2Fd7c71cd09b0f551a237150dae69ca93a +0 -0
- data/sandbox/tmp/cache/assets/D62/690/sprockets%2F11532c31a6be258097db31bbeb9ff35d +0 -0
- data/sandbox/tmp/cache/assets/D66/7C0/sprockets%2F5afbe1fb48c4015a6ffc9085c0519b05 +0 -0
- data/sandbox/tmp/cache/assets/D68/460/sprockets%2Fea4f165c56f90dc5b03663eec414f3c1 +0 -0
- data/sandbox/tmp/cache/assets/D68/B50/sprockets%2F2f7599bc67ebf02a37c1040d2fe18da3 +0 -0
- data/sandbox/tmp/cache/assets/D6B/790/sprockets%2Fba3068e1e3b47233f6febb3307dc5d97 +0 -0
- data/sandbox/tmp/cache/assets/D6C/110/sprockets%2F2d5d9cd3d0adf965d07e64a3049d106e +0 -0
- data/sandbox/tmp/cache/assets/D6C/570/sprockets%2F5cf0a40d5bae142cc09889e85b83d1d5 +0 -0
- data/sandbox/tmp/cache/assets/D6D/AA0/sprockets%2F1cb4a75912d38d0bdde6ee6770644d0f +0 -0
- data/sandbox/tmp/cache/assets/D6E/AE0/sprockets%2Fe193ea7b03f186ad2a9515fc78fa8c21 +0 -0
- data/sandbox/tmp/cache/assets/D6F/690/sprockets%2F1aa0aa2e0ecc490b1b0ede43013535c1 +0 -0
- data/sandbox/tmp/cache/assets/D72/250/sprockets%2F68bd0a6d091ef3ba0a64b9762794d6de +0 -0
- data/sandbox/tmp/cache/assets/D74/0A0/sprockets%2Fc1392b79af6b88250b634479cbf2bcfc +0 -0
- data/sandbox/tmp/cache/assets/D76/FE0/sprockets%2F55218c9e551f686465ae4fdcba0e0b9f +0 -0
- data/sandbox/tmp/cache/assets/D78/960/sprockets%2F448eb885cf104c71cd4bfaf845e4348d +0 -0
- data/sandbox/tmp/cache/assets/D79/5A0/sprockets%2Feb399a6f39a8dcd0bf011768e7153d8d +0 -0
- data/sandbox/tmp/cache/assets/D7A/D40/sprockets%2F4d2bc08f2787a3870ff93e0e0f7bc67e +0 -0
- data/sandbox/tmp/cache/assets/D82/3F0/sprockets%2F3c182ed36dd6ec111ca01ff3b31c803b +0 -0
- data/sandbox/tmp/cache/assets/D84/D00/sprockets%2Fb3ed6eb7e7842598ac006bd878df81c9 +0 -0
- data/sandbox/tmp/cache/assets/D85/300/sprockets%2F74196db75186d8059ffbc5a1bc9ff8b7 +0 -0
- data/sandbox/tmp/cache/assets/D88/B70/sprockets%2F9b378be843af782b809c5ce3d6f6d47f +0 -0
- data/sandbox/tmp/cache/assets/D89/670/sprockets%2Fbf838afe9adf908d9ec59bc552833285 +0 -0
- data/sandbox/tmp/cache/assets/D8D/EE0/sprockets%2F1206b4a24b16b0f7dfaea382ced088c6 +0 -0
- data/sandbox/tmp/cache/assets/D93/BE0/sprockets%2F641e95f7b6e91d4bd9f78377c9dd63ef +0 -0
- data/sandbox/tmp/cache/assets/D96/460/sprockets%2F510545dac5cc61f17bc4d1e8e740fec5 +0 -0
- data/sandbox/tmp/cache/assets/D96/940/sprockets%2F6a2c3af22b173eb975f382b4cdcd8c41 +0 -0
- data/sandbox/tmp/cache/assets/D96/E90/sprockets%2F0d5f451deca7e6811663f30afc3a4fd4 +0 -0
- data/sandbox/tmp/cache/assets/D97/180/sprockets%2F933323d1c368cfeda7a0cacdbd295933 +0 -0
- data/sandbox/tmp/cache/assets/D99/650/sprockets%2F7d1eda2fa9d3efc78170a0e910623f2f +0 -0
- data/sandbox/tmp/cache/assets/D99/FC0/sprockets%2F55ff25801deac59d7bc93c36405caab4 +0 -0
- data/sandbox/tmp/cache/assets/D9D/490/sprockets%2F9123035b3bdf0626ec9b6a27efb9fbf4 +0 -0
- data/sandbox/tmp/cache/assets/D9E/000/sprockets%2F1e365d6ecdad349c6f900a3aa829cf18 +0 -0
- data/sandbox/tmp/cache/assets/D9F/020/sprockets%2Fd21cfdfa8182a8866e0ba904ef6561ea +0 -0
- data/sandbox/tmp/cache/assets/D9F/C80/sprockets%2Ffa9d12280c37c395d5b1d9ed2e1e3e9a +0 -0
- data/sandbox/tmp/cache/assets/DA5/C10/sprockets%2Fa4f173a37de59ef8634dfb8a3a5f1b37 +0 -0
- data/sandbox/tmp/cache/assets/DA9/420/sprockets%2F4be564f02ffc16e32df33e92e43fb8f9 +0 -0
- data/sandbox/tmp/cache/assets/DAA/3A0/sprockets%2Fe27f2e6b2be916baf8e334d4f6a967c4 +0 -0
- data/sandbox/tmp/cache/assets/DAA/A60/sprockets%2F55843c4f9b1f07b7b4ea8e794abd4e8a +0 -0
- data/sandbox/tmp/cache/assets/DAB/020/sprockets%2Ff15229cf4dfd20b63cdb876e9d7c8a83 +0 -0
- data/sandbox/tmp/cache/assets/DAD/190/sprockets%2Fbee62a5d7a8cd35a33763f1cd879de59 +0 -0
- data/sandbox/tmp/cache/assets/DB5/EC0/sprockets%2Fde17edd0f2eca28280c1a27ac5c510c3 +0 -0
- data/sandbox/tmp/cache/assets/DBB/630/sprockets%2F504cc5d0cc6b1b35f928fa2bb6ea046b +0 -0
- data/sandbox/tmp/cache/assets/DBD/E80/sprockets%2F4d5fe4ed39f867fd911e1d6e674fb76e +0 -0
- data/sandbox/tmp/cache/assets/DBE/5E0/sprockets%2F7663abb4baaadfc7e6a48f1150f32b62 +0 -0
- data/sandbox/tmp/cache/assets/DBE/E70/sprockets%2Ff3bad33d097c5a801408ba98e2bdb5aa +0 -0
- data/sandbox/tmp/cache/assets/DC4/740/sprockets%2F9e9bf4dff7757c7b6d698ab89ce1d238 +0 -0
- data/sandbox/tmp/cache/assets/DCA/FD0/sprockets%2F0b59a77adfc61bb863e708ba262ce6bd +0 -0
- data/sandbox/tmp/cache/assets/DCB/100/sprockets%2Fd313bd7561b538fb7f2c4ab89dba5b7b +0 -0
- data/sandbox/tmp/cache/assets/DCB/200/sprockets%2Fe556cbde6fb38c98aa347cbf11ec3331 +0 -0
- data/sandbox/tmp/cache/assets/DCB/CA0/sprockets%2Fa9f4cff164613cb2ac9ad5af37d9c170 +0 -0
- data/sandbox/tmp/cache/assets/DCB/FF0/sprockets%2F4675c5a5ca0b9aa88f62ed0cfdc360f4 +0 -0
- data/sandbox/tmp/cache/assets/DCD/930/sprockets%2F6fd2f59e45a7f3c88a183ee00d1cccd0 +0 -0
- data/sandbox/tmp/cache/assets/DCE/E70/sprockets%2Facff0eeec48ccf1c25a1b968242b7827 +0 -0
- data/sandbox/tmp/cache/assets/DCF/3F0/sprockets%2Fb4c0ff1a7e91aa5ff526e6f2c23da589 +0 -0
- data/sandbox/tmp/cache/assets/DD5/040/sprockets%2F8b8bc1dd8d844edda81c52b7bd29a926 +0 -0
- data/sandbox/tmp/cache/assets/DD7/9B0/sprockets%2F9f2c0826bd7ae7b745ae8da6db48c26e +0 -0
- data/sandbox/tmp/cache/assets/DD7/F00/sprockets%2F149b533d5fb7fe6f9ac327d2eeb3a66f +0 -0
- data/sandbox/tmp/cache/assets/DD8/3B0/sprockets%2Fef4ddeef4487be0bf8c6412714f61e8a +0 -0
- data/sandbox/tmp/cache/assets/DE5/390/sprockets%2F24a1cda6893cebd53997dc859def67cd +0 -0
- data/sandbox/tmp/cache/assets/DE5/630/sprockets%2Fb24cac157fa80acfb2e2d75b43b4b33b +0 -0
- data/sandbox/tmp/cache/assets/DEA/2A0/sprockets%2F02ec1fba1a88642d2c70aabf5e33dfe3 +0 -0
- data/sandbox/tmp/cache/assets/DF0/D20/sprockets%2F3a22be815414fea0fac78cfa50d09faf +0 -0
- data/sandbox/tmp/cache/assets/DF6/B10/sprockets%2F5ed8ba35afbb3f0c89f1b1732ecf13d5 +0 -0
- data/sandbox/tmp/cache/assets/DF9/F20/sprockets%2Fd280f44c1a92b04bcafafff80db5959b +0 -0
- data/sandbox/tmp/cache/assets/DFC/270/sprockets%2Faff910cabbb45e89c57b3ae62c27fb73 +0 -0
- data/sandbox/tmp/cache/assets/DFC/890/sprockets%2F2a2c6a1ea98a0cd7b5f7ff4ef7264b3c +0 -0
- data/sandbox/tmp/cache/assets/DFC/F70/sprockets%2F21c3daa07778fe7edba83edf5f3313cd +0 -0
- data/sandbox/tmp/cache/assets/E00/350/sprockets%2Fc0af671c9e70d444cea5c03dff7e19fd +0 -0
- data/sandbox/tmp/cache/assets/E05/2E0/sprockets%2F92ecbfa92baf6e394ce6c39d731b7cd2 +0 -0
- data/sandbox/tmp/cache/assets/E0C/1E0/sprockets%2Fc7d2fcee858c1a9bec9520f90e6dc57c +0 -0
- data/sandbox/tmp/cache/assets/E10/410/sprockets%2Ffca98bf9e72b4ee6b36c5a8d88c226be +0 -0
- data/sandbox/tmp/cache/assets/E12/710/sprockets%2F7e9ee2069eafc7ddd7aff731dc9186d2 +0 -0
- data/sandbox/tmp/cache/assets/E12/7A0/sprockets%2F91cef5f7cb58b6d4dfddd803ff6a9571 +0 -0
- data/sandbox/tmp/cache/assets/E1D/2A0/sprockets%2F3c313ffb8eb6bcfff3fbd1bf150d6110 +0 -0
- data/sandbox/tmp/cache/assets/E2B/9F0/sprockets%2F4ca65d3560d7eca3faff3e535aeaad69 +0 -0
- data/sandbox/tmp/cache/assets/E2D/4F0/sprockets%2F93febe26a8de2344ec8d1fbe1525afdb +0 -0
- data/sandbox/tmp/cache/assets/E2F/A80/sprockets%2F5da9fd3f6c4daab87b4852bfa80b9ae2 +0 -0
- data/sandbox/tmp/cache/assets/E38/5D0/sprockets%2F6474bdbcf7dbc8c3dbef9e3a9cc71581 +0 -0
- data/sandbox/tmp/cache/assets/E3D/320/sprockets%2F6973cf1f3ed8153ef97aaafdee6f5bc3 +0 -0
- data/sandbox/tmp/cache/assets/E40/840/sprockets%2F0b2c9ee1f1fe00aad3bec06cbd08cd15 +0 -0
- data/sandbox/tmp/cache/assets/E43/730/sprockets%2Fd4d2a9de1ff9af8f488ce4b4d9e307cf +0 -0
- data/sandbox/tmp/cache/assets/E68/4E0/sprockets%2F42e7f6fefaea5bdb264ca6e4db89e62f +0 -0
- data/sandbox/tmp/cache/assets/E92/620/sprockets%2Fca68ead806cffe42be90bdb9defec073 +0 -0
- data/sandbox/tmp/cache/assets/EC9/D10/sprockets%2F8dfe5ddb2cf1a7f77098fd9eb4ddbcab +0 -0
- data/sandbox/tmp/cache/assets/F1C/0B0/sprockets%2Ffb1cb6e9be4bf2cd5aaecfbb1de7d77f +0 -0
- data/sandbox/tmp/cache/sass/3541a201338d1ee40dc76b7eb70c6d68e8e7dbe6/_css3.scssc +0 -0
- data/sandbox/tmp/cache/sass/3541a201338d1ee40dc76b7eb70c6d68e8e7dbe6/_support.scssc +0 -0
- data/sandbox/tmp/cache/sass/87bfd7b91926ba2806c25c52acb60b539779a20f/_clearfix.scssc +0 -0
- data/sandbox/tmp/cache/sass/87bfd7b91926ba2806c25c52acb60b539779a20f/_hacks.scssc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/adaptative-mixins.sassc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/components.sassc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/core.sassc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/iugu-ux-entry.sassc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/iux-sprites.sassc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/mixins.sassc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/no-js.sassc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/reset.sassc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/sprite-mixins.sassc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/typography.sassc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/utilities.sassc +0 -0
- data/sandbox/tmp/cache/sass/8e0849d701bca2f5a178ed1215813b1316068a4d/variables.sassc +0 -0
- data/sandbox/tmp/cache/sass/949eb0b8b2983f2793f4ec27ac874dc053a0da71/_sprites.scssc +0 -0
- data/sandbox/tmp/cache/sass/a512012014412aa4e41290f67b5548f9ced5c0fd/components.sassc +0 -0
- data/sandbox/tmp/cache/sass/a512012014412aa4e41290f67b5548f9ced5c0fd/variables.sassc +0 -0
- data/sandbox/tmp/cache/sass/b1856b516607907e7d6934222c5141cb22e863fb/_base.scssc +0 -0
- data/sandbox/tmp/cache/sass/b1856b516607907e7d6934222c5141cb22e863fb/_sprite-img.scssc +0 -0
- data/sandbox/tmp/cache/sass/b49d75942b505963eb360d4c3b43ec26f9ded67e/badge.sassc +0 -0
- data/sandbox/tmp/cache/sass/b49d75942b505963eb360d4c3b43ec26f9ded67e/button.sassc +0 -0
- data/sandbox/tmp/cache/sass/b49d75942b505963eb360d4c3b43ec26f9ded67e/check_box.sassc +0 -0
- data/sandbox/tmp/cache/sass/b49d75942b505963eb360d4c3b43ec26f9ded67e/combo_box.sassc +0 -0
- data/sandbox/tmp/cache/sass/b49d75942b505963eb360d4c3b43ec26f9ded67e/container.sassc +0 -0
- data/sandbox/tmp/cache/sass/b49d75942b505963eb360d4c3b43ec26f9ded67e/default_table_view.sassc +0 -0
- data/sandbox/tmp/cache/sass/b49d75942b505963eb360d4c3b43ec26f9ded67e/group.sassc +0 -0
- data/sandbox/tmp/cache/sass/b49d75942b505963eb360d4c3b43ec26f9ded67e/input.sassc +0 -0
- data/sandbox/tmp/cache/sass/b49d75942b505963eb360d4c3b43ec26f9ded67e/notice.sassc +0 -0
- data/sandbox/tmp/cache/sass/b49d75942b505963eb360d4c3b43ec26f9ded67e/popup.sassc +0 -0
- data/sandbox/tmp/cache/sass/b49d75942b505963eb360d4c3b43ec26f9ded67e/responsive_box.sassc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_appearance.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_background-clip.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_background-origin.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_background-size.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_border-radius.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_box-shadow.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_box-sizing.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_box.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_columns.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_filter.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_font-face.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_hyphenation.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_images.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_inline-block.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_opacity.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_regions.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_shared.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_text-shadow.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_transform.scssc +0 -0
- data/sandbox/tmp/cache/sass/b624209efc5c00528c3033da3f4b1bfb4eba8fc9/_transition.scssc +0 -0
- data/sandbox/tmp/cache/sass/e18337f0c19dfad20daa699fa9a096f70c37cd66/sandbox-sprites.sassc +0 -0
- data/vendor/assets/images/mobile-dropdown-arrow.png +0 -0
- data/vendor/assets/javascripts/iugu-ux/components/base_resource.js.coffee +68 -3
- data/vendor/assets/javascripts/iugu-ux/components/base_resources.js.coffee +13 -1
- data/vendor/assets/javascripts/iugu-ux/components/presenters/iugu-ui-horizontal-split-view.jst.eco +4 -0
- data/vendor/assets/javascripts/iugu-ux/components/presenters/iugu-ui-paginator.jst.eco +3 -3
- data/vendor/assets/javascripts/iugu-ux/components/presenters/iugu-ui-search-filter.jst.eco +39 -16
- data/vendor/assets/javascripts/iugu-ux/components/presenters/iugu-ui-table-row.jst.eco +1 -1
- data/vendor/assets/javascripts/iugu-ux/components/presenters/iugu-ui-toolbar.jst.eco +10 -0
- data/vendor/assets/javascripts/iugu-ux/components/presenters/iugu-ui-vertical-split-view.jst.eco +4 -0
- data/vendor/assets/javascripts/iugu-ux/components/presenters/iugu-ui-view-empty.jst.eco +13 -0
- data/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-base.js.coffee +9 -3
- data/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-button.js.coffee +119 -0
- data/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-checkbox.js.coffee +65 -0
- data/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-combobox.js.coffee +147 -0
- data/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-horizontal-split-view.js.coffee +32 -0
- data/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-radio.js.coffee +55 -0
- data/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-responsive-box.js.coffee +44 -8
- data/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-search-filter.js.coffee +7 -1
- data/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-toolbar.js.coffee +24 -0
- data/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-vertical-split-view.js.coffee +17 -0
- data/vendor/assets/javascripts/iugu-ux/components/usecode/iugu-ui-view.js.coffee +69 -23
- data/vendor/assets/javascripts/vendor.js +1 -0
- data/vendor/assets/javascripts/vendor/backbone.advanced-delegate.js +1 -0
- data/vendor/assets/javascripts/vendor/backbone.associations-min.js +7 -0
- data/vendor/assets/javascripts/vendor/backbone.validation.js +205 -83
- data/vendor/assets/javascripts/vendor/rivets.js.coffee +725 -0
- data/vendor/assets/sprites/iux-default-hd/menu-icon.png +0 -0
- data/vendor/assets/sprites/iux-default/menu-icon.png +0 -0
- data/vendor/assets/stylesheets/iugu-ux/components.old.sass +971 -0
- data/vendor/assets/stylesheets/iugu-ux/components.sass +15 -966
- data/vendor/assets/stylesheets/iugu-ux/components/badge.sass +22 -0
- data/vendor/assets/stylesheets/iugu-ux/components/button.sass +128 -0
- data/vendor/assets/stylesheets/iugu-ux/components/checkbox.sass +115 -0
- data/vendor/assets/stylesheets/iugu-ux/components/combobox.sass +99 -0
- data/vendor/assets/stylesheets/iugu-ux/components/container.sass +29 -0
- data/vendor/assets/stylesheets/iugu-ux/components/group.sass +10 -0
- data/vendor/assets/stylesheets/iugu-ux/components/input.sass +37 -0
- data/vendor/assets/stylesheets/iugu-ux/components/notice.sass +5 -0
- data/vendor/assets/stylesheets/iugu-ux/components/popup.sass +44 -0
- data/vendor/assets/stylesheets/iugu-ux/components/radio.sass +63 -0
- data/vendor/assets/stylesheets/iugu-ux/components/responsive_box.sass +167 -0
- data/vendor/assets/stylesheets/iugu-ux/components/view.sass +68 -0
- data/vendor/assets/stylesheets/iugu-ux/core.sass +3 -0
- data/vendor/assets/stylesheets/iugu-ux/iugu-ux-entry.sass +1 -0
- data/vendor/assets/stylesheets/iugu-ux/typography.sass +26 -5
- data/vendor/assets/stylesheets/iugu-ux/variables.sass +73 -56
- data/vendor/assets/stylesheets/iux/components.sass +0 -0
- data/vendor/assets/stylesheets/iux/variables.sass +0 -0
- metadata +113 -37
- data/sandbox/app/assets/images/iux-default-hd-s9ee3a931f9.png +0 -0
- data/sandbox/app/assets/images/iux-default-s58fb0cfbec.png +0 -0
- data/vendor/assets/javascripts/vendor/rivets.js +0 -583
Binary file
|
Binary file
|
@@ -1,583 +0,0 @@
|
|
1
|
-
// rivets.js
|
2
|
-
// version: 0.4.0
|
3
|
-
// author: Michael Richards
|
4
|
-
// license: MIT
|
5
|
-
(function() {
|
6
|
-
var Rivets, bindEvent, getInputValue, rivets, unbindEvent,
|
7
|
-
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
|
8
|
-
__slice = [].slice,
|
9
|
-
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
|
10
|
-
|
11
|
-
Rivets = {};
|
12
|
-
|
13
|
-
if (!String.prototype.trim) {
|
14
|
-
String.prototype.trim = function() {
|
15
|
-
return this.replace(/^\s+|\s+$/g, '');
|
16
|
-
};
|
17
|
-
}
|
18
|
-
|
19
|
-
Rivets.Binding = (function() {
|
20
|
-
|
21
|
-
function Binding(el, type, model, keypath, options) {
|
22
|
-
var identifier, regexp, value, _ref;
|
23
|
-
this.el = el;
|
24
|
-
this.type = type;
|
25
|
-
this.model = model;
|
26
|
-
this.keypath = keypath;
|
27
|
-
this.options = options != null ? options : {};
|
28
|
-
this.unbind = __bind(this.unbind, this);
|
29
|
-
|
30
|
-
this.bind = __bind(this.bind, this);
|
31
|
-
|
32
|
-
this.publish = __bind(this.publish, this);
|
33
|
-
|
34
|
-
this.sync = __bind(this.sync, this);
|
35
|
-
|
36
|
-
this.set = __bind(this.set, this);
|
37
|
-
|
38
|
-
this.formattedValue = __bind(this.formattedValue, this);
|
39
|
-
|
40
|
-
if (!(this.binder = Rivets.binders[type])) {
|
41
|
-
_ref = Rivets.binders;
|
42
|
-
for (identifier in _ref) {
|
43
|
-
value = _ref[identifier];
|
44
|
-
if (identifier !== '*' && identifier.indexOf('*') !== -1) {
|
45
|
-
regexp = new RegExp("^" + (identifier.replace('*', '.+')) + "$");
|
46
|
-
if (regexp.test(type)) {
|
47
|
-
this.binder = value;
|
48
|
-
this.args = new RegExp("^" + (identifier.replace('*', '(.+)')) + "$").exec(type);
|
49
|
-
this.args.shift();
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
}
|
54
|
-
this.binder || (this.binder = Rivets.binders['*']);
|
55
|
-
if (this.binder instanceof Function) {
|
56
|
-
this.binder = {
|
57
|
-
routine: this.binder
|
58
|
-
};
|
59
|
-
}
|
60
|
-
this.formatters = this.options.formatters || [];
|
61
|
-
}
|
62
|
-
|
63
|
-
Binding.prototype.formattedValue = function(value) {
|
64
|
-
var args, formatter, id, _i, _len, _ref, _ref1, _ref2;
|
65
|
-
_ref = this.formatters;
|
66
|
-
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
67
|
-
formatter = _ref[_i];
|
68
|
-
args = formatter.split(/\s+/);
|
69
|
-
id = args.shift();
|
70
|
-
value = this.model[id] instanceof Function ? (_ref1 = this.model)[id].apply(_ref1, [value].concat(__slice.call(args))) : Rivets.formatters[id] ? (_ref2 = Rivets.formatters)[id].apply(_ref2, [value].concat(__slice.call(args))) : void 0;
|
71
|
-
}
|
72
|
-
return value;
|
73
|
-
};
|
74
|
-
|
75
|
-
Binding.prototype.set = function(value) {
|
76
|
-
var _ref;
|
77
|
-
value = value instanceof Function && !this.binder["function"] ? this.formattedValue(value.call(this.model)) : this.formattedValue(value);
|
78
|
-
return (_ref = this.binder.routine) != null ? _ref.call(this, this.el, value) : void 0;
|
79
|
-
};
|
80
|
-
|
81
|
-
Binding.prototype.sync = function() {
|
82
|
-
return this.set(this.options.bypass ? this.model[this.keypath] : Rivets.config.adapter.read(this.model, this.keypath));
|
83
|
-
};
|
84
|
-
|
85
|
-
Binding.prototype.publish = function() {
|
86
|
-
return Rivets.config.adapter.publish(this.model, this.keypath, getInputValue(this.el));
|
87
|
-
};
|
88
|
-
|
89
|
-
Binding.prototype.bind = function() {
|
90
|
-
var dependency, keypath, model, _i, _len, _ref, _ref1, _ref2, _results;
|
91
|
-
if (this.options.bypass) {
|
92
|
-
this.sync();
|
93
|
-
} else {
|
94
|
-
if ((_ref = this.binder.bind) != null) {
|
95
|
-
_ref.call(this, this.el);
|
96
|
-
}
|
97
|
-
Rivets.config.adapter.subscribe(this.model, this.keypath, this.sync);
|
98
|
-
if (Rivets.config.preloadData) {
|
99
|
-
this.sync();
|
100
|
-
}
|
101
|
-
}
|
102
|
-
if ((_ref1 = this.options.dependencies) != null ? _ref1.length : void 0) {
|
103
|
-
_ref2 = this.options.dependencies;
|
104
|
-
_results = [];
|
105
|
-
for (_i = 0, _len = _ref2.length; _i < _len; _i++) {
|
106
|
-
dependency = _ref2[_i];
|
107
|
-
if (/^\./.test(dependency)) {
|
108
|
-
model = this.model;
|
109
|
-
keypath = dependency.substr(1);
|
110
|
-
} else {
|
111
|
-
dependency = dependency.split('.');
|
112
|
-
model = this.view.models[dependency.shift()];
|
113
|
-
keypath = dependency.join('.');
|
114
|
-
}
|
115
|
-
_results.push(Rivets.config.adapter.subscribe(model, keypath, this.sync));
|
116
|
-
}
|
117
|
-
return _results;
|
118
|
-
}
|
119
|
-
};
|
120
|
-
|
121
|
-
Binding.prototype.unbind = function() {
|
122
|
-
var keypath, _i, _len, _ref, _ref1, _ref2, _results;
|
123
|
-
if (!this.options.bypass) {
|
124
|
-
if ((_ref = this.binder.unbind) != null) {
|
125
|
-
_ref.call(this, this.el);
|
126
|
-
}
|
127
|
-
Rivets.config.adapter.unsubscribe(this.model, this.keypath, this.sync);
|
128
|
-
}
|
129
|
-
if ((_ref1 = this.options.dependencies) != null ? _ref1.length : void 0) {
|
130
|
-
_ref2 = this.options.dependencies;
|
131
|
-
_results = [];
|
132
|
-
for (_i = 0, _len = _ref2.length; _i < _len; _i++) {
|
133
|
-
keypath = _ref2[_i];
|
134
|
-
_results.push(Rivets.config.adapter.unsubscribe(this.model, keypath, this.sync));
|
135
|
-
}
|
136
|
-
return _results;
|
137
|
-
}
|
138
|
-
};
|
139
|
-
|
140
|
-
return Binding;
|
141
|
-
|
142
|
-
})();
|
143
|
-
|
144
|
-
Rivets.View = (function() {
|
145
|
-
|
146
|
-
function View(els, models) {
|
147
|
-
this.els = els;
|
148
|
-
this.models = models;
|
149
|
-
this.publish = __bind(this.publish, this);
|
150
|
-
|
151
|
-
this.sync = __bind(this.sync, this);
|
152
|
-
|
153
|
-
this.unbind = __bind(this.unbind, this);
|
154
|
-
|
155
|
-
this.bind = __bind(this.bind, this);
|
156
|
-
|
157
|
-
this.select = __bind(this.select, this);
|
158
|
-
|
159
|
-
this.build = __bind(this.build, this);
|
160
|
-
|
161
|
-
this.bindingRegExp = __bind(this.bindingRegExp, this);
|
162
|
-
|
163
|
-
if (!(this.els.jquery || this.els instanceof Array)) {
|
164
|
-
this.els = [this.els];
|
165
|
-
}
|
166
|
-
this.build();
|
167
|
-
}
|
168
|
-
|
169
|
-
View.prototype.bindingRegExp = function() {
|
170
|
-
var prefix;
|
171
|
-
prefix = Rivets.config.prefix;
|
172
|
-
if (prefix) {
|
173
|
-
return new RegExp("^data-" + prefix + "-");
|
174
|
-
} else {
|
175
|
-
return /^data-/;
|
176
|
-
}
|
177
|
-
};
|
178
|
-
|
179
|
-
View.prototype.build = function() {
|
180
|
-
var bindingRegExp, el, node, parseNode, skipNodes, _i, _j, _len, _len1, _ref, _ref1,
|
181
|
-
_this = this;
|
182
|
-
this.bindings = [];
|
183
|
-
skipNodes = [];
|
184
|
-
bindingRegExp = this.bindingRegExp();
|
185
|
-
parseNode = function(node) {
|
186
|
-
var attribute, attributes, binder, binding, context, ctx, dependencies, identifier, keypath, model, n, options, path, pipe, pipes, regexp, splitPath, type, value, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2, _ref3;
|
187
|
-
if (__indexOf.call(skipNodes, node) < 0) {
|
188
|
-
_ref = node.attributes;
|
189
|
-
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
190
|
-
attribute = _ref[_i];
|
191
|
-
if (bindingRegExp.test(attribute.name)) {
|
192
|
-
type = attribute.name.replace(bindingRegExp, '');
|
193
|
-
if (!(binder = Rivets.binders[type])) {
|
194
|
-
_ref1 = Rivets.binders;
|
195
|
-
for (identifier in _ref1) {
|
196
|
-
value = _ref1[identifier];
|
197
|
-
if (identifier !== '*' && identifier.indexOf('*') !== -1) {
|
198
|
-
regexp = new RegExp("^" + (identifier.replace('*', '.+')) + "$");
|
199
|
-
if (regexp.test(type)) {
|
200
|
-
binder = value;
|
201
|
-
}
|
202
|
-
}
|
203
|
-
}
|
204
|
-
}
|
205
|
-
binder || (binder = Rivets.binders['*']);
|
206
|
-
if (binder.block) {
|
207
|
-
_ref2 = node.getElementsByTagName('*');
|
208
|
-
for (_j = 0, _len1 = _ref2.length; _j < _len1; _j++) {
|
209
|
-
n = _ref2[_j];
|
210
|
-
skipNodes.push(n);
|
211
|
-
}
|
212
|
-
attributes = [attribute];
|
213
|
-
}
|
214
|
-
}
|
215
|
-
}
|
216
|
-
_ref3 = attributes || node.attributes;
|
217
|
-
for (_k = 0, _len2 = _ref3.length; _k < _len2; _k++) {
|
218
|
-
attribute = _ref3[_k];
|
219
|
-
if (bindingRegExp.test(attribute.name)) {
|
220
|
-
options = {};
|
221
|
-
type = attribute.name.replace(bindingRegExp, '');
|
222
|
-
pipes = (function() {
|
223
|
-
var _l, _len3, _ref4, _results;
|
224
|
-
_ref4 = attribute.value.split('|');
|
225
|
-
_results = [];
|
226
|
-
for (_l = 0, _len3 = _ref4.length; _l < _len3; _l++) {
|
227
|
-
pipe = _ref4[_l];
|
228
|
-
_results.push(pipe.trim());
|
229
|
-
}
|
230
|
-
return _results;
|
231
|
-
})();
|
232
|
-
context = (function() {
|
233
|
-
var _l, _len3, _ref4, _results;
|
234
|
-
_ref4 = pipes.shift().split('<');
|
235
|
-
_results = [];
|
236
|
-
for (_l = 0, _len3 = _ref4.length; _l < _len3; _l++) {
|
237
|
-
ctx = _ref4[_l];
|
238
|
-
_results.push(ctx.trim());
|
239
|
-
}
|
240
|
-
return _results;
|
241
|
-
})();
|
242
|
-
path = context.shift();
|
243
|
-
splitPath = path.split(/\.|:/);
|
244
|
-
options.formatters = pipes;
|
245
|
-
options.bypass = path.indexOf(':') !== -1;
|
246
|
-
if (splitPath[0]) {
|
247
|
-
model = _this.models[splitPath.shift()];
|
248
|
-
} else {
|
249
|
-
model = _this.models;
|
250
|
-
splitPath.shift();
|
251
|
-
}
|
252
|
-
keypath = splitPath.join('.');
|
253
|
-
if (model) {
|
254
|
-
if (dependencies = context.shift()) {
|
255
|
-
options.dependencies = dependencies.split(/\s+/);
|
256
|
-
}
|
257
|
-
binding = new Rivets.Binding(node, type, model, keypath, options);
|
258
|
-
binding.view = _this;
|
259
|
-
_this.bindings.push(binding);
|
260
|
-
}
|
261
|
-
}
|
262
|
-
}
|
263
|
-
if (attributes) {
|
264
|
-
attributes = null;
|
265
|
-
}
|
266
|
-
}
|
267
|
-
};
|
268
|
-
_ref = this.els;
|
269
|
-
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
270
|
-
el = _ref[_i];
|
271
|
-
parseNode(el);
|
272
|
-
_ref1 = el.getElementsByTagName('*');
|
273
|
-
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
|
274
|
-
node = _ref1[_j];
|
275
|
-
parseNode(node);
|
276
|
-
}
|
277
|
-
}
|
278
|
-
};
|
279
|
-
|
280
|
-
View.prototype.select = function(fn) {
|
281
|
-
var binding, _i, _len, _ref, _results;
|
282
|
-
_ref = this.bindings;
|
283
|
-
_results = [];
|
284
|
-
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
285
|
-
binding = _ref[_i];
|
286
|
-
if (fn(binding)) {
|
287
|
-
_results.push(binding);
|
288
|
-
}
|
289
|
-
}
|
290
|
-
return _results;
|
291
|
-
};
|
292
|
-
|
293
|
-
View.prototype.bind = function() {
|
294
|
-
var binding, _i, _len, _ref, _results;
|
295
|
-
_ref = this.bindings;
|
296
|
-
_results = [];
|
297
|
-
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
298
|
-
binding = _ref[_i];
|
299
|
-
_results.push(binding.bind());
|
300
|
-
}
|
301
|
-
return _results;
|
302
|
-
};
|
303
|
-
|
304
|
-
View.prototype.unbind = function() {
|
305
|
-
var binding, _i, _len, _ref, _results;
|
306
|
-
_ref = this.bindings;
|
307
|
-
_results = [];
|
308
|
-
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
309
|
-
binding = _ref[_i];
|
310
|
-
_results.push(binding.unbind());
|
311
|
-
}
|
312
|
-
return _results;
|
313
|
-
};
|
314
|
-
|
315
|
-
View.prototype.sync = function() {
|
316
|
-
var binding, _i, _len, _ref, _results;
|
317
|
-
_ref = this.bindings;
|
318
|
-
_results = [];
|
319
|
-
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
320
|
-
binding = _ref[_i];
|
321
|
-
_results.push(binding.sync());
|
322
|
-
}
|
323
|
-
return _results;
|
324
|
-
};
|
325
|
-
|
326
|
-
View.prototype.publish = function() {
|
327
|
-
var binding, _i, _len, _ref, _results;
|
328
|
-
_ref = this.select(function(b) {
|
329
|
-
return b.binder.publishes;
|
330
|
-
});
|
331
|
-
_results = [];
|
332
|
-
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
333
|
-
binding = _ref[_i];
|
334
|
-
_results.push(binding.publish());
|
335
|
-
}
|
336
|
-
return _results;
|
337
|
-
};
|
338
|
-
|
339
|
-
return View;
|
340
|
-
|
341
|
-
})();
|
342
|
-
|
343
|
-
bindEvent = function(el, event, handler, context) {
|
344
|
-
var fn;
|
345
|
-
fn = function(e) {
|
346
|
-
return handler.call(context, e);
|
347
|
-
};
|
348
|
-
if (window.jQuery != null) {
|
349
|
-
el = jQuery(el);
|
350
|
-
if (el.on != null) {
|
351
|
-
el.on(event, fn);
|
352
|
-
} else {
|
353
|
-
el.bind(event, fn);
|
354
|
-
}
|
355
|
-
} else if (window.addEventListener != null) {
|
356
|
-
el.addEventListener(event, fn, false);
|
357
|
-
} else {
|
358
|
-
event = 'on' + event;
|
359
|
-
el.attachEvent(event, fn);
|
360
|
-
}
|
361
|
-
return fn;
|
362
|
-
};
|
363
|
-
|
364
|
-
unbindEvent = function(el, event, fn) {
|
365
|
-
if (window.jQuery != null) {
|
366
|
-
el = jQuery(el);
|
367
|
-
if (el.off != null) {
|
368
|
-
return el.off(event, fn);
|
369
|
-
} else {
|
370
|
-
return el.unbind(event, fn);
|
371
|
-
}
|
372
|
-
} else if (window.removeEventListener) {
|
373
|
-
return el.removeEventListener(event, fn, false);
|
374
|
-
} else {
|
375
|
-
event = 'on' + event;
|
376
|
-
return el.detachEvent(event, fn);
|
377
|
-
}
|
378
|
-
};
|
379
|
-
|
380
|
-
getInputValue = function(el) {
|
381
|
-
var o, _i, _len, _results;
|
382
|
-
switch (el.type) {
|
383
|
-
case 'checkbox':
|
384
|
-
return el.checked;
|
385
|
-
case 'select-multiple':
|
386
|
-
_results = [];
|
387
|
-
for (_i = 0, _len = el.length; _i < _len; _i++) {
|
388
|
-
o = el[_i];
|
389
|
-
if (o.selected) {
|
390
|
-
_results.push(o.value);
|
391
|
-
}
|
392
|
-
}
|
393
|
-
return _results;
|
394
|
-
break;
|
395
|
-
default:
|
396
|
-
return el.value;
|
397
|
-
}
|
398
|
-
};
|
399
|
-
|
400
|
-
Rivets.binders = {
|
401
|
-
enabled: function(el, value) {
|
402
|
-
return el.disabled = !value;
|
403
|
-
},
|
404
|
-
disabled: function(el, value) {
|
405
|
-
return el.disabled = !!value;
|
406
|
-
},
|
407
|
-
checked: {
|
408
|
-
publishes: true,
|
409
|
-
bind: function(el) {
|
410
|
-
return bindEvent(el, 'change', this.publish);
|
411
|
-
},
|
412
|
-
unbind: function(el) {
|
413
|
-
return unbindEvent(el, 'change', this.publish);
|
414
|
-
},
|
415
|
-
routine: function(el, value) {
|
416
|
-
if (el.type === 'radio') {
|
417
|
-
return el.checked = el.value === value;
|
418
|
-
} else {
|
419
|
-
return el.checked = !!value;
|
420
|
-
}
|
421
|
-
}
|
422
|
-
},
|
423
|
-
unchecked: {
|
424
|
-
publishes: true,
|
425
|
-
bind: function(el) {
|
426
|
-
return bindEvent(el, 'change', this.publish);
|
427
|
-
},
|
428
|
-
unbind: function(el) {
|
429
|
-
return unbindEvent(el, 'change', this.publish);
|
430
|
-
},
|
431
|
-
routine: function(el, value) {
|
432
|
-
if (el.type === 'radio') {
|
433
|
-
return el.checked = el.value !== value;
|
434
|
-
} else {
|
435
|
-
return el.checked = !value;
|
436
|
-
}
|
437
|
-
}
|
438
|
-
},
|
439
|
-
show: function(el, value) {
|
440
|
-
return el.style.display = value ? '' : 'none';
|
441
|
-
},
|
442
|
-
hide: function(el, value) {
|
443
|
-
return el.style.display = value ? 'none' : '';
|
444
|
-
},
|
445
|
-
html: function(el, value) {
|
446
|
-
return el.innerHTML = value != null ? value : '';
|
447
|
-
},
|
448
|
-
value: {
|
449
|
-
publishes: true,
|
450
|
-
bind: function(el) {
|
451
|
-
return bindEvent(el, 'change', this.publish);
|
452
|
-
},
|
453
|
-
unbind: function(el) {
|
454
|
-
return unbindEvent(el, 'change', this.publish);
|
455
|
-
},
|
456
|
-
routine: function(el, value) {
|
457
|
-
var o, _i, _len, _ref, _results;
|
458
|
-
if (el.type === 'select-multiple') {
|
459
|
-
if (value != null) {
|
460
|
-
_results = [];
|
461
|
-
for (_i = 0, _len = el.length; _i < _len; _i++) {
|
462
|
-
o = el[_i];
|
463
|
-
_results.push(o.selected = (_ref = o.value, __indexOf.call(value, _ref) >= 0));
|
464
|
-
}
|
465
|
-
return _results;
|
466
|
-
}
|
467
|
-
} else {
|
468
|
-
return el.value = value != null ? value : '';
|
469
|
-
}
|
470
|
-
}
|
471
|
-
},
|
472
|
-
text: function(el, value) {
|
473
|
-
if (el.innerText != null) {
|
474
|
-
return el.innerText = value != null ? value : '';
|
475
|
-
} else {
|
476
|
-
return el.textContent = value != null ? value : '';
|
477
|
-
}
|
478
|
-
},
|
479
|
-
"on-*": {
|
480
|
-
"function": true,
|
481
|
-
routine: function(el, value) {
|
482
|
-
if (this.currentListener) {
|
483
|
-
unbindEvent(el, this.args[0], this.currentListener);
|
484
|
-
}
|
485
|
-
return this.currentListener = bindEvent(el, this.args[0], value, this.model);
|
486
|
-
}
|
487
|
-
},
|
488
|
-
"each-*": {
|
489
|
-
block: true,
|
490
|
-
bind: function(el, collection) {
|
491
|
-
return el.removeAttribute(['data', rivets.config.prefix, this.type].join('-').replace('--', '-'));
|
492
|
-
},
|
493
|
-
routine: function(el, collection) {
|
494
|
-
var data, e, item, itemEl, m, n, previous, view, _i, _j, _k, _len, _len1, _len2, _ref, _ref1, _ref2, _ref3, _results;
|
495
|
-
if (this.iterated != null) {
|
496
|
-
_ref = this.iterated;
|
497
|
-
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
498
|
-
view = _ref[_i];
|
499
|
-
view.unbind();
|
500
|
-
_ref1 = view.els;
|
501
|
-
for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) {
|
502
|
-
e = _ref1[_j];
|
503
|
-
e.parentNode.removeChild(e);
|
504
|
-
}
|
505
|
-
}
|
506
|
-
} else {
|
507
|
-
this.marker = document.createComment(" rivets: " + this.type + " ");
|
508
|
-
el.parentNode.insertBefore(this.marker, el);
|
509
|
-
el.parentNode.removeChild(el);
|
510
|
-
}
|
511
|
-
this.iterated = [];
|
512
|
-
_results = [];
|
513
|
-
for (_k = 0, _len2 = collection.length; _k < _len2; _k++) {
|
514
|
-
item = collection[_k];
|
515
|
-
data = {};
|
516
|
-
_ref2 = this.view.models;
|
517
|
-
for (n in _ref2) {
|
518
|
-
m = _ref2[n];
|
519
|
-
data[n] = m;
|
520
|
-
}
|
521
|
-
data[this.args[0]] = item;
|
522
|
-
itemEl = el.cloneNode(true);
|
523
|
-
previous = this.iterated[this.iterated.length - 1] || this.marker;
|
524
|
-
this.marker.parentNode.insertBefore(itemEl, (_ref3 = previous.nextSibling) != null ? _ref3 : null);
|
525
|
-
_results.push(this.iterated.push(rivets.bind(itemEl, data)));
|
526
|
-
}
|
527
|
-
return _results;
|
528
|
-
}
|
529
|
-
},
|
530
|
-
"class-*": function(el, value) {
|
531
|
-
var elClass;
|
532
|
-
elClass = " " + el.className + " ";
|
533
|
-
if (!value === (elClass.indexOf(" " + this.args[0] + " ") !== -1)) {
|
534
|
-
return el.className = value ? "" + el.className + " " + this.args[0] : elClass.replace(" " + this.args[0] + " ", ' ').trim();
|
535
|
-
}
|
536
|
-
},
|
537
|
-
"*": function(el, value) {
|
538
|
-
if (value) {
|
539
|
-
return el.setAttribute(this.type, value);
|
540
|
-
} else {
|
541
|
-
return el.removeAttribute(this.type);
|
542
|
-
}
|
543
|
-
}
|
544
|
-
};
|
545
|
-
|
546
|
-
Rivets.config = {
|
547
|
-
preloadData: true
|
548
|
-
};
|
549
|
-
|
550
|
-
Rivets.formatters = {};
|
551
|
-
|
552
|
-
rivets = {
|
553
|
-
binders: Rivets.binders,
|
554
|
-
formatters: Rivets.formatters,
|
555
|
-
config: Rivets.config,
|
556
|
-
configure: function(options) {
|
557
|
-
var property, value;
|
558
|
-
if (options == null) {
|
559
|
-
options = {};
|
560
|
-
}
|
561
|
-
for (property in options) {
|
562
|
-
value = options[property];
|
563
|
-
Rivets.config[property] = value;
|
564
|
-
}
|
565
|
-
},
|
566
|
-
bind: function(el, models) {
|
567
|
-
var view;
|
568
|
-
if (models == null) {
|
569
|
-
models = {};
|
570
|
-
}
|
571
|
-
view = new Rivets.View(el, models);
|
572
|
-
view.bind();
|
573
|
-
return view;
|
574
|
-
}
|
575
|
-
};
|
576
|
-
|
577
|
-
if (typeof module !== "undefined" && module !== null) {
|
578
|
-
module.exports = rivets;
|
579
|
-
} else {
|
580
|
-
this.rivets = rivets;
|
581
|
-
}
|
582
|
-
|
583
|
-
}).call(this);
|