keppler 2.1.18 → 2.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -6
- data/installer/core/.rspec +1 -0
- data/installer/core/Gemfile +2 -0
- data/installer/core/Gemfile.lock +3 -0
- data/installer/core/app/assets/stylesheets/admin/utils/_theme.scss +9 -0
- data/installer/core/app/controllers/admin/admin_controller.rb +7 -3
- data/installer/core/app/controllers/admin/settings_controller.rb +17 -17
- data/installer/core/app/controllers/application_controller.rb +1 -0
- data/installer/core/app/controllers/devise/keppler_sessions_controller.rb +116 -0
- data/installer/core/app/helpers/sessions_helper.rb +12 -0
- data/installer/core/app/views/admin/layouts/_navigation.html.haml +1 -1
- data/installer/core/app/views/admin/layouts/_sidebar.html.haml +4 -1
- data/installer/core/app/views/admin/settings/fields/_appearance.html.haml +0 -8
- data/installer/core/app/views/admin/settings/fields/_configuration.html.haml +28 -0
- data/installer/core/app/views/devise/keppler_sessions/new.html.haml +35 -0
- data/installer/core/app/views/errors/internal_server_error.html.haml +1 -1
- data/installer/core/app/views/errors/not_found.html.haml +1 -1
- data/installer/core/app/views/errors/unprocessable.html.haml +1 -1
- data/installer/core/config/application.rb +1 -1
- data/installer/core/config/initializers/keppler_configuration.rb +1 -1
- data/installer/core/config/locales/en.yml +3 -1
- data/installer/core/config/locales/es.yml +3 -1
- data/installer/core/config/routes.rb +14 -4
- data/installer/core/db/migrate/20160201210520_create_appearances.rb +1 -0
- data/installer/core/db/seeds.rb +0 -56
- data/installer/core/node_modules/.yarn-integrity +12 -0
- data/installer/core/public/assets/.sprockets-manifest-877f022ba780399cd6a445cb823e8e72.json +1 -0
- data/installer/core/public/assets/admin/application-58d3091abebccc0cbdc30400232e382b2b1af77adf19a8b0b7f1176d04e3e5e9.js +69621 -0
- data/installer/core/public/assets/admin/application-58d3091abebccc0cbdc30400232e382b2b1af77adf19a8b0b7f1176d04e3e5e9.js.gz +0 -0
- data/installer/core/public/assets/admin/application-b27fef8a9a1ff72bcdcc99542bef8dc3a0e5dabce87889ccfa6f292de2f80d7a.css +35768 -0
- data/installer/core/public/assets/admin/application-b27fef8a9a1ff72bcdcc99542bef8dc3a0e5dabce87889ccfa6f292de2f80d7a.css.gz +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/astronauta_keppler.svg → installer/core/public/assets/admin/astronauta_keppler-d82d3870b4df83d706e62601ee8bcdbf226ce7ca7928602d4de1055a95a8b751.svg} +0 -0
- data/installer/core/public/assets/admin/astronauta_keppler-d82d3870b4df83d706e62601ee8bcdbf226ce7ca7928602d4de1055a95a8b751.svg.gz +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/avatar_keppler.svg → installer/core/public/assets/admin/avatar_keppler-1bce561c65816623b43025321fc59c2bdab4800bac6e7e000ecfe471f105865a.svg} +0 -0
- data/installer/core/public/assets/admin/avatar_keppler-1bce561c65816623b43025321fc59c2bdab4800bac6e7e000ecfe471f105865a.svg.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/css/gss.html → installer/core/public/assets/admin/codemirror/mode/css/gss-c9fc3e7b6f68e62e1d26819c29c1be5beb597140fd8141293549385c79222d98.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/css/gss-c9fc3e7b6f68e62e1d26819c29c1be5beb597140fd8141293549385c79222d98.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/css/index.html → installer/core/public/assets/admin/codemirror/mode/css/index-1408e496c4871b6ab739e26b9f3dceaa8ef071aebce27d37c2f504a7f8033ccd.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/css/index-1408e496c4871b6ab739e26b9f3dceaa8ef071aebce27d37c2f504a7f8033ccd.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/css/less.html → installer/core/public/assets/admin/codemirror/mode/css/less-f7c3a9cfe1b5f3135f2e01037e9020d50b9c23103b8065514095fbbdea4e0764.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/css/less-f7c3a9cfe1b5f3135f2e01037e9020d50b9c23103b8065514095fbbdea4e0764.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/css/scss.html → installer/core/public/assets/admin/codemirror/mode/css/scss-bad8aebefd205cd2e6eae3abbed6ffc808bbe7e7eea75acb9b1586ef2a762b3f.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/css/scss-bad8aebefd205cd2e6eae3abbed6ffc808bbe7e7eea75acb9b1586ef2a762b3f.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/haml/index.html → installer/core/public/assets/admin/codemirror/mode/haml/index-c6fc029a6ab99692007433b79e187d25c3e779645d0cf1039dda43bc983d5022.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/haml/index-c6fc029a6ab99692007433b79e187d25c3e779645d0cf1039dda43bc983d5022.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/htmlembedded/index.html → installer/core/public/assets/admin/codemirror/mode/htmlembedded/index-5f63fdda0414dad66a9837d592767325f553a21a4a44d6dc29e8b9183fde838a.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/htmlembedded/index-5f63fdda0414dad66a9837d592767325f553a21a4a44d6dc29e8b9183fde838a.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/htmlmixed/index.html → installer/core/public/assets/admin/codemirror/mode/htmlmixed/index-461cc2868fa06065c0443310e03fb947d324bcc31c13cb5b8b5b3ed30a10ebe6.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/htmlmixed/index-461cc2868fa06065c0443310e03fb947d324bcc31c13cb5b8b5b3ed30a10ebe6.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/javascript/index.html → installer/core/public/assets/admin/codemirror/mode/javascript/index-bd3eb54016a0d4bba846aa86a8dd5f451459f02c0a09352094b3d974ddabd6c3.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/javascript/index-bd3eb54016a0d4bba846aa86a8dd5f451459f02c0a09352094b3d974ddabd6c3.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/javascript/json-ld.html → installer/core/public/assets/admin/codemirror/mode/javascript/json-ld-ac787941ea8a1b871daf68054ca196a99d05cd6873587d4b62586aff9fb92452.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/javascript/json-ld-ac787941ea8a1b871daf68054ca196a99d05cd6873587d4b62586aff9fb92452.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/javascript/typescript.html → installer/core/public/assets/admin/codemirror/mode/javascript/typescript-f930148de0b8380ee4b3ca765c56c7b21e40b935a97cd1de75aa1b60843aa8b5.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/javascript/typescript-f930148de0b8380ee4b3ca765c56c7b21e40b935a97cd1de75aa1b60843aa8b5.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/ruby/index.html → installer/core/public/assets/admin/codemirror/mode/ruby/index-00f454d5eff4cef18448d1b8a0052595272d1414c208fb346222ab81eaef1d5a.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/ruby/index-00f454d5eff4cef18448d1b8a0052595272d1414c208fb346222ab81eaef1d5a.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/vue/index.html → installer/core/public/assets/admin/codemirror/mode/vue/index-72d3f8d8f5146bcd0f56166eb47299eee5f32fd150d7e4afac48dc4778105bea.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/vue/index-72d3f8d8f5146bcd0f56166eb47299eee5f32fd150d7e4afac48dc4778105bea.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/xml/index.html → installer/core/public/assets/admin/codemirror/mode/xml/index-d4700b1f6a65957d38cd05e178d099b0bbe200309a5d54172d797ce99dd4a247.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/xml/index-d4700b1f6a65957d38cd05e178d099b0bbe200309a5d54172d797ce99dd4a247.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/yaml-frontmatter/index.html → installer/core/public/assets/admin/codemirror/mode/yaml-frontmatter/index-7350bfe40ce807d0846efe10b17607190bfc8b75229866679c553e12ebf54f79.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/yaml-frontmatter/index-7350bfe40ce807d0846efe10b17607190bfc8b75229866679c553e12ebf54f79.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/yaml/index.html → installer/core/public/assets/admin/codemirror/mode/yaml/index-f998ecd3cffb4f8f1b0d8fcff32462681f7ea38e59bd66599ccd789d3d8b638f.html} +0 -0
- data/installer/core/public/assets/admin/codemirror/mode/yaml/index-f998ecd3cffb4f8f1b0d8fcff32462681f7ea38e59bd66599ccd789d3d8b638f.html.gz +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/en.png → installer/core/public/assets/admin/en-04d44fc02de55acae6c442daaa08250b16d7698cb5f20a7b79ffff7429b46b77.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/es.png → installer/core/public/assets/admin/es-50df0dad9e0d73050da6cb012b273ded096ab4c25daa332a8c1514c8feb2e38d.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/favicon.png → installer/core/public/assets/admin/favicon-8502ac8dee08af63f06b51ba4bfe7d73ad822453cd728df71ea061669dfda46d.png} +0 -0
- data/{testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/ZXuke1cDvLCKLDcimxB44_lu.woff2 → installer/core/public/assets/admin/fonts-and-icons/ZXuke1cDvLCKLDcimxB44_lu-930d66533ab5afb83f852c6e3ae10a1bacc46e97dfd92ddcb905b5556205d677.woff2} +0 -0
- data/{testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/Simple-Line-Icons.woff2 → installer/core/public/assets/admin/fonts-and-icons/fonts/Simple-Line-Icons-104673f4859604362a18fc6294197d8fffb8cb24ad3211e92eb04f655e18cf4a.woff2} +0 -0
- data/{testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/Simple-Line-Icons.woff → installer/core/public/assets/admin/fonts-and-icons/fonts/Simple-Line-Icons-14b825d7785bf7f90bab8b02c6df6f22863c639cab02038a8ba3e682ab7d2752.woff} +0 -0
- data/{testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/Simple-Line-Icons.eot → installer/core/public/assets/admin/fonts-and-icons/fonts/Simple-Line-Icons-1c823013a692818b26ad756540fcb73f53bfb3409af0d08129bb340c9c5c8a1f.eot} +0 -0
- data/installer/core/public/assets/admin/fonts-and-icons/fonts/Simple-Line-Icons-1c823013a692818b26ad756540fcb73f53bfb3409af0d08129bb340c9c5c8a1f.eot.gz +0 -0
- data/{testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/Simple-Line-Icons.ttf → installer/core/public/assets/admin/fonts-and-icons/fonts/Simple-Line-Icons-3f501ddb05c70829bbb51cfe9ca9fff57f39e060457c257b3ccf25df767f0870.ttf} +0 -0
- data/installer/core/public/assets/admin/fonts-and-icons/fonts/Simple-Line-Icons-3f501ddb05c70829bbb51cfe9ca9fff57f39e060457c257b3ccf25df767f0870.ttf.gz +0 -0
- data/{testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/boxicons.svg → installer/core/public/assets/admin/fonts-and-icons/fonts/boxicons-04e91e102f037f44d5fab187d1c120bdfe2029357c7e19957ec8ab284174668a.svg} +0 -0
- data/installer/core/public/assets/admin/fonts-and-icons/fonts/boxicons-04e91e102f037f44d5fab187d1c120bdfe2029357c7e19957ec8ab284174668a.svg.gz +0 -0
- data/{testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/boxicons.woff → installer/core/public/assets/admin/fonts-and-icons/fonts/boxicons-34b356ebfc024ecb1f42ecc4020ce1f9e0e40dfa569de7e24db7ff746774f904.woff} +0 -0
- data/{testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/boxicons.woff2 → installer/core/public/assets/admin/fonts-and-icons/fonts/boxicons-4db228a5fbed38f7046bcecafb5839a49b39756b48c4bec7a4c13d44ccb41b91.woff2} +0 -0
- data/{testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/boxicons.eot → installer/core/public/assets/admin/fonts-and-icons/fonts/boxicons-8a68af92eea95d1698739c0d390c8c73228b622b91f6e3170f19e765a8e8979b.eot} +0 -0
- data/installer/core/public/assets/admin/fonts-and-icons/fonts/boxicons-8a68af92eea95d1698739c0d390c8c73228b622b91f6e3170f19e765a8e8979b.eot.gz +0 -0
- data/{testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts/boxicons.ttf → installer/core/public/assets/admin/fonts-and-icons/fonts/boxicons-db138c828adc2a31e6cfbb64188dd079eeef577131fd4bd138c4d566dd00b6bb.ttf} +0 -0
- data/installer/core/public/assets/admin/fonts-and-icons/fonts/boxicons-db138c828adc2a31e6cfbb64188dd079eeef577131fd4bd138c4d566dd00b6bb.ttf.gz +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/image_default.png → installer/core/public/assets/admin/image_default-be1d557511976c97715fc6215fc6c861f00a86c33654ef2ded273027182168b9.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/logo.png → installer/core/public/assets/admin/logo-6fc9f869f19a13f29ea006362e0a3be5fdf2c37c144a0ccac184c8e4b1e9bb28.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/logo2.png → installer/core/public/assets/admin/logo2-0b42a0f73a5f567a52100fea42cd88764a90ace1f2b0b76df3fdaca41a960421.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/profile-menu.jpg → installer/core/public/assets/admin/profile-menu-6222ad8e7c653f9216519a7ae99e072e38d6b7435a397648d9beb10678e11f40.jpg} +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/search.png → installer/core/public/assets/admin/search-1ad39e363da0eb5ec86508ea61bd7c1198aad27e35c9f083466bda731c30f62d.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/slice.png → installer/core/public/assets/admin/slice-fdba819c5f7aac1c10620c1c7d8e1e9bae109765ff1e0cabce2f57400b6169bf.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/slice-icon.png → installer/core/public/assets/admin/slice-icon-54a0271ab483f5ed561a4f9e608bbc07ff76ad142d7462e9853f7c8cc1e39ad3.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/slice-icon-orange.png → installer/core/public/assets/admin/slice-icon-orange-7cdaf53dd3ec3822fe4d7e266766d2527d7f0e95fad681b3b38e000c80eca26f.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/admin/slice_white.png → installer/core/public/assets/admin/slice_white-3396dde6fa31d2140341e38bfe39044f9f087294373fb75c53b1284387e0ac88.png} +0 -0
- data/installer/core/public/assets/adminlte/dist/img/boxed-bg-5487391fa5db6155709522886beebc00fd7433ffb7ae5f63e585497cd5174ae5.jpg +0 -0
- data/{testing-with-2.1.18/app/assets/images/app/Cohete_nubes_new.png → installer/core/public/assets/app/Cohete_nubes_new-6222ad8e7c653f9216519a7ae99e072e38d6b7435a397648d9beb10678e11f40.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/app/Home_Keppler.png → installer/core/public/assets/app/Home_Keppler-2f69e6ff6073f785b8253e9fc23dfd06b210881bb611bdb8915c2d07993b90f6.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/app/Home_Keppler2.png → installer/core/public/assets/app/Home_Keppler2-09a96f8ea6f6ed972ce18747f308d02859c6bb076ab62812e2857389df8f3fab.png} +0 -0
- data/installer/core/public/assets/app/application-168cc167d8c7a14d11da39286d8f0fe13d50a6675e7da90a99ecad8abc962530.css +17575 -0
- data/installer/core/public/assets/app/application-168cc167d8c7a14d11da39286d8f0fe13d50a6675e7da90a99ecad8abc962530.css.gz +0 -0
- data/installer/core/public/assets/app/application-7feb58fe1bdf49525dc81b13cefa58ede1b6878f950febf6cf36cd51ff988445.js +19866 -0
- data/installer/core/public/assets/app/application-7feb58fe1bdf49525dc81b13cefa58ede1b6878f950febf6cf36cd51ff988445.js.gz +0 -0
- data/{testing-with-2.1.18/app/assets/images/app/fondo.svg → installer/core/public/assets/app/fondo-0cace9dce98e106c6911a3eda205eba6a535965900043d7b803a9d178ea28c08.svg} +0 -0
- data/installer/core/public/assets/app/fondo-0cace9dce98e106c6911a3eda205eba6a535965900043d7b803a9d178ea28c08.svg.gz +0 -0
- data/{testing-with-2.1.18/app/assets/images/app/keppler-front.png → installer/core/public/assets/app/keppler-front-a4b24e51b3249bc6cc06f3fd4b17cab6af17018629ec1110b14f6f769749a78e.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/app/slice.png → installer/core/public/assets/app/slice-fdba819c5f7aac1c10620c1c7d8e1e9bae109765ff1e0cabce2f57400b6169bf.png} +0 -0
- data/{testing-with-2.1.18/app/assets/images/app/slice-front.png → installer/core/public/assets/app/slice-front-366ab15723861e1b74139461053806b21c5d6e9d5f52baa24fd399fdbea23d70.png} +0 -0
- data/installer/core/public/assets/bootstrap/glyphicons-halflings-regular-13634da87d9e23f8c3ed9108ce1724d183a39ad072e73e1b3d8cbf646d2d0407.eot +0 -0
- data/installer/core/public/assets/bootstrap/glyphicons-halflings-regular-13634da87d9e23f8c3ed9108ce1724d183a39ad072e73e1b3d8cbf646d2d0407.eot.gz +0 -0
- data/installer/core/public/assets/bootstrap/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa42abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg +288 -0
- data/installer/core/public/assets/bootstrap/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa42abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg.gz +0 -0
- data/installer/core/public/assets/bootstrap/glyphicons-halflings-regular-a26394f7ede100ca118eff2eda08596275a9839b959c226e15439557a5a80742.woff +0 -0
- data/installer/core/public/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456.ttf +0 -0
- data/installer/core/public/assets/bootstrap/glyphicons-halflings-regular-e395044093757d82afcb138957d06a1ea9361bdcf0b442d06a18a8051af57456.ttf.gz +0 -0
- data/installer/core/public/assets/bootstrap/glyphicons-halflings-regular-fe185d11a49676890d47bb783312a0cda5a44c4039214094e7957b4c040ef11c.woff2 +0 -0
- data/installer/core/public/assets/ckeditor/adapters/jquery-1bc59ef62f52859422f96a481de8476c38bbecff7aa6301fc6732261f659bcd2.js +11 -0
- data/installer/core/public/assets/ckeditor/adapters/jquery-1bc59ef62f52859422f96a481de8476c38bbecff7aa6301fc6732261f659bcd2.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/adapters/jquery.js +11 -0
- data/installer/core/public/assets/ckeditor/adapters/jquery.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/application-42636d4067159a70cb5dd3c8f994ed4ed06ea1914f40348f715fd344ac1f5c30.css +225 -0
- data/installer/core/public/assets/ckeditor/application-42636d4067159a70cb5dd3c8f994ed4ed06ea1914f40348f715fd344ac1f5c30.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/application-56a1c7231485c7ea14ed14a767c7fc8d7cfc133308e31300f9751430a78dec38.js +2221 -0
- data/installer/core/public/assets/ckeditor/application-56a1c7231485c7ea14ed14a767c7fc8d7cfc133308e31300f9751430a78dec38.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/application.css +225 -0
- data/installer/core/public/assets/ckeditor/application.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/application.js +2221 -0
- data/installer/core/public/assets/ckeditor/application.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/ckeditor-5627b7c5975c03aa8c738623a75f40df11e006c51dad749183c4ced4ea4906a1.js +1185 -0
- data/installer/core/public/assets/ckeditor/ckeditor-5627b7c5975c03aa8c738623a75f40df11e006c51dad749183c4ced4ea4906a1.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/ckeditor.js +1185 -0
- data/installer/core/public/assets/ckeditor/ckeditor.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/config-6728244dac0c5efcd52dd3415680536b746da4ebc863f0d7322891e465c36303.js +131 -0
- data/installer/core/public/assets/ckeditor/config-6728244dac0c5efcd52dd3415680536b746da4ebc863f0d7322891e465c36303.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/config.js +131 -0
- data/installer/core/public/assets/ckeditor/config.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/contents-2f984ad78c3fcc0586386f0850c78bc6a6e6e9c6aac695464eb1a3f04eaebe6f.css +209 -0
- data/installer/core/public/assets/ckeditor/contents-2f984ad78c3fcc0586386f0850c78bc6a6e6e9c6aac695464eb1a3f04eaebe6f.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/contents.css +209 -0
- data/installer/core/public/assets/ckeditor/contents.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/filebrowser/gal_add-e97dc0969bf9a7b88d048bcc2e4eb28a2f9ae75763e7076b4c68ee2e7de3ea05.png +0 -0
- data/installer/core/public/assets/ckeditor/filebrowser/gal_add.png +0 -0
- data/installer/core/public/assets/ckeditor/filebrowser/gal_del-5103ec7de60473f8c5bafa0208257dca3a993edb783a766666edbc606fd6c531.png +0 -0
- data/installer/core/public/assets/ckeditor/filebrowser/gal_del.png +0 -0
- data/installer/core/public/assets/ckeditor/filebrowser/gal_more-93d8887361f4dd7f757c20a186a2dae6e5cc6698da238814eacbff7b19a43f51.gif +0 -0
- data/installer/core/public/assets/ckeditor/filebrowser/gal_more.gif +0 -0
- data/installer/core/public/assets/ckeditor/filebrowser/javascripts/application-6eb1266221a129c66ba8976527279e7539746e3c5f6b1af3faf7b5a9d013d4e4.js +230 -0
- data/installer/core/public/assets/ckeditor/filebrowser/javascripts/application-6eb1266221a129c66ba8976527279e7539746e3c5f6b1af3faf7b5a9d013d4e4.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/filebrowser/javascripts/application.js +230 -0
- data/installer/core/public/assets/ckeditor/filebrowser/javascripts/application.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/filebrowser/preloader-3799a3e41d7787a31dac5796ebccc242951da2f2b57eb088326ab3bffe15056a.gif +0 -0
- data/installer/core/public/assets/ckeditor/filebrowser/preloader.gif +0 -0
- data/installer/core/public/assets/ckeditor/init-08a73ffab1aded8d16921075e0580e3cc58665718ea81934dda19cbffad54c85.js +1193 -0
- data/installer/core/public/assets/ckeditor/init-08a73ffab1aded8d16921075e0580e3cc58665718ea81934dda19cbffad54c85.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/init.js +1193 -0
- data/installer/core/public/assets/ckeditor/init.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp-d2d45b8c2f3c6c181ac56ba1634ace1359a5c95ee916124a8a25b085b7959265.js +11 -0
- data/installer/core/public/assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp-d2d45b8c2f3c6c181ac56ba1634ace1359a5c95ee916124a8a25b085b7959265.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +11 -0
- data/installer/core/public/assets/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/about/dialogs/about-2bdd60f2936ccd80435dc740622f8cc5bee4363ceb8f6c103e46d596d21ef6d0.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/about/dialogs/about-2bdd60f2936ccd80435dc740622f8cc5bee4363ceb8f6c103e46d596d21ef6d0.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/about/dialogs/about.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/about/dialogs/about.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor-227a0aade8e648c3ab3977ce9e66b9491baa9aa7376082c652fdb76230adffdd.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/about/dialogs/logo_ckeditor-954605bb634dae9f4d15ca33057d86eb62e34ae3bc57dfd5877b6d3356067413.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/colordialog/dialogs/colordialog-1b0cfd23c7a4ee7ea1d35cda8d1ca84b06fffcde7b0d1da676d02af65c1a4e06.css +21 -0
- data/installer/core/public/assets/ckeditor/plugins/colordialog/dialogs/colordialog-1b0cfd23c7a4ee7ea1d35cda8d1ca84b06fffcde7b0d1da676d02af65c1a4e06.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/colordialog/dialogs/colordialog-e44136d492cbbfbb392ac90a85baa6e0cc18c328a285d05212e8dadccb0babaf.js +15 -0
- data/installer/core/public/assets/ckeditor/plugins/colordialog/dialogs/colordialog-e44136d492cbbfbb392ac90a85baa6e0cc18c328a285d05212e8dadccb0babaf.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/colordialog/dialogs/colordialog.css +21 -0
- data/installer/core/public/assets/ckeditor/plugins/colordialog/dialogs/colordialog.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/colordialog/dialogs/colordialog.js +15 -0
- data/installer/core/public/assets/ckeditor/plugins/colordialog/dialogs/colordialog.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/copyformatting/styles/copyformatting-ac599201edee5f6b9414f171c626d6aa70650a5795b31d95d12d31265f6304be.css +46 -0
- data/installer/core/public/assets/ckeditor/plugins/copyformatting/styles/copyformatting-ac599201edee5f6b9414f171c626d6aa70650a5795b31d95d12d31265f6304be.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/copyformatting/styles/copyformatting.css +46 -0
- data/installer/core/public/assets/ckeditor/plugins/copyformatting/styles/copyformatting.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/dialog/dialogDefinition-9ed0fdac536bfa3fa926464f908080b7fd109c847998a496fa5d930b2d05104a.js +6 -0
- data/installer/core/public/assets/ckeditor/plugins/dialog/dialogDefinition-9ed0fdac536bfa3fa926464f908080b7fd109c847998a496fa5d930b2d05104a.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/dialog/dialogDefinition.js +6 -0
- data/installer/core/public/assets/ckeditor/plugins/dialog/dialogDefinition.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/div/dialogs/div-a39822a3b267ec2ea02d7b23b134682ec663c6e3051fb0a13333577b81e3db6f.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/div/dialogs/div-a39822a3b267ec2ea02d7b23b134682ec663c6e3051fb0a13333577b81e3db6f.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/div/dialogs/div.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/div/dialogs/div.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/find/dialogs/find-b0230f4d5a23db0546f7c786f5e6870c1d9d876765568eb94ebacbdb56a4c487.js +26 -0
- data/installer/core/public/assets/ckeditor/plugins/find/dialogs/find-b0230f4d5a23db0546f7c786f5e6870c1d9d876765568eb94ebacbdb56a4c487.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/find/dialogs/find.js +26 -0
- data/installer/core/public/assets/ckeditor/plugins/find/dialogs/find.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/flash/dialogs/flash-46239716a5ebaecdf30e3e5090799649eb83b04da46b43e65cb360532babe11a.js +25 -0
- data/installer/core/public/assets/ckeditor/plugins/flash/dialogs/flash-46239716a5ebaecdf30e3e5090799649eb83b04da46b43e65cb360532babe11a.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/flash/dialogs/flash.js +25 -0
- data/installer/core/public/assets/ckeditor/plugins/flash/dialogs/flash.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/flash/images/placeholder-3693431ff1695c9691d5b29bed1c2e30be843edb77bc45ef25effe3eb776a7d9.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/button-9581cee2c5ee9dba2e2616ac53d9dce7945360ad19133ff778be15df144cace0.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/button-9581cee2c5ee9dba2e2616ac53d9dce7945360ad19133ff778be15df144cace0.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/button.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/button.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/checkbox-0147ed57721bca0ee1aaf044bd3c1f499ccb40e8ec3fd07f0588e75485df3203.js +10 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/checkbox-0147ed57721bca0ee1aaf044bd3c1f499ccb40e8ec3fd07f0588e75485df3203.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/checkbox.js +10 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/checkbox.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/form-0e934aa82a0bbc58ae59a095fe6567c81117d677d83d3b6eaa89dbfc2ac9f6aa.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/form-0e934aa82a0bbc58ae59a095fe6567c81117d677d83d3b6eaa89dbfc2ac9f6aa.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/form.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/form.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/hiddenfield-9ff5458874521e288a588e929811578a4158e0fe6b01a1125cc57451ea271c80.js +8 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/hiddenfield-9ff5458874521e288a588e929811578a4158e0fe6b01a1125cc57451ea271c80.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/hiddenfield.js +8 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/hiddenfield.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/radio-3fcb2e4bb22edd35f3d96b9de1be6e765ede73a84ab5a09e678c51b714fac982.js +10 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/radio-3fcb2e4bb22edd35f3d96b9de1be6e765ede73a84ab5a09e678c51b714fac982.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/radio.js +10 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/radio.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/select-51f77cb58f50119b7b267838d07edd5d4a65a65a6b68c4fa42eca9656879b38b.js +21 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/select-51f77cb58f50119b7b267838d07edd5d4a65a65a6b68c4fa42eca9656879b38b.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/select.js +21 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/select.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/textarea-03c78985cc9239c079ed579a0dfe380d0ad4d33d71561a9cb4a19bc2fe807455.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/textarea-03c78985cc9239c079ed579a0dfe380d0ad4d33d71561a9cb4a19bc2fe807455.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/textarea.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/textarea.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/textfield-0a8d256c89b72b596af1bbdfe7deafa9ea59909f157e6e9fc01808191423900a.js +12 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/textfield-0a8d256c89b72b596af1bbdfe7deafa9ea59909f157e6e9fc01808191423900a.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/textfield.js +12 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/dialogs/textfield.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/images/hiddenfield-2314846c5b4071dec60aaa00f5a1bb10496adcfc1f084eb84a76ff2280b00aee.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/icons-af6217b63920631c6dd9914678b77fdd11a6e04a2dd72fe154015f52d646476e.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/icons.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/icons_hidpi-be1786d2965715aa5c3d777a477d1f295a634dcf93128b57b46718c5518e82bd.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/icons_hidpi.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/iframe/dialogs/iframe-6769eb441c58bb1ce49b56ca8051ae0bc0472f6b51292d87a872ded0ee2d7aff.js +11 -0
- data/installer/core/public/assets/ckeditor/plugins/iframe/dialogs/iframe-6769eb441c58bb1ce49b56ca8051ae0bc0472f6b51292d87a872ded0ee2d7aff.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/iframe/dialogs/iframe.js +11 -0
- data/installer/core/public/assets/ckeditor/plugins/iframe/dialogs/iframe.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/iframe/images/placeholder-992092e4bcca197097e9fe917441f710b8ef07b9450705ecd514eb8789384d76.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/image/dialogs/image-701dfe8cd31d930125d5992f3c3e48525d2cf02f8260c898aef60aa03dbc309b.js +45 -0
- data/installer/core/public/assets/ckeditor/plugins/image/dialogs/image-701dfe8cd31d930125d5992f3c3e48525d2cf02f8260c898aef60aa03dbc309b.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/image/dialogs/image.js +45 -0
- data/installer/core/public/assets/ckeditor/plugins/image/dialogs/image.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/image/images/noimage-bd8c0e93d7bc89b0c36085672424fe2f698dac0e680a1b278f00a152579f2a93.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/image/images/noimage.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/link/dialogs/anchor-8a72aeec75103ff7c347c2667da52dc7d1a7885be7c2703dae714d643901bc93.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/link/dialogs/anchor-8a72aeec75103ff7c347c2667da52dc7d1a7885be7c2703dae714d643901bc93.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/link/dialogs/anchor.js +9 -0
- data/installer/core/public/assets/ckeditor/plugins/link/dialogs/anchor.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/link/dialogs/link-4a63a2521e2df045d7ce9b3cd6c3950124503dfe550153275b53eb5cab2b2857.js +29 -0
- data/installer/core/public/assets/ckeditor/plugins/link/dialogs/link-4a63a2521e2df045d7ce9b3cd6c3950124503dfe550153275b53eb5cab2b2857.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/link/dialogs/link.js +29 -0
- data/installer/core/public/assets/ckeditor/plugins/link/dialogs/link.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/link/images/anchor-cddc8927dfdd672d655b96b551ba1ad1599c5f13d13deb2b09a28b54c853a25c.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/link/images/anchor.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/link/images/hidpi/anchor-b5b952c9dbf47ff88b4904b99cf673cf6ec94cd65f4c66b55eaea5dbb911f4db.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/liststyle/dialogs/liststyle-3ea7426e423ac3a17f484b67e9d06c488676c3184e859ff3358b8b6a02cd2f10.js +11 -0
- data/installer/core/public/assets/ckeditor/plugins/liststyle/dialogs/liststyle-3ea7426e423ac3a17f484b67e9d06c488676c3184e859ff3358b8b6a02cd2f10.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/liststyle/dialogs/liststyle.js +11 -0
- data/installer/core/public/assets/ckeditor/plugins/liststyle/dialogs/liststyle.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/magicline/images/hidpi/icon-92dfb414e7a31e632288097db347e272ecfd001f9825423a16c623dcaeb968b8.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/magicline/images/hidpi/icon-rtl-4046986f6904328c9d470b44c95f1f50ef82d9e470915ea471e1f4dcc0f06618.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/magicline/images/icon-db2f77571f3e9cb69096a5da21af65b0eacf5eaef08492bb831999504a3e115a.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/magicline/images/icon-rtl-9510f6245b266712f0ec4159e5fc5a97e1ad5c667e65b7fb97c5d1f20cfd7ba5.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/magicline/images/icon.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/pagebreak/images/pagebreak-5db8cbdaf997d012baa522bb75816a70c9ca15017fc170d63392b74958198846.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/pastefromword/filter/default-553673a5f77556fe9dcea80c6c9773b770f23f93f5a2bce2b08248f2229e7384.js +53 -0
- data/installer/core/public/assets/ckeditor/plugins/pastefromword/filter/default-553673a5f77556fe9dcea80c6c9773b770f23f93f5a2bce2b08248f2229e7384.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/pastefromword/filter/default.js +53 -0
- data/installer/core/public/assets/ckeditor/plugins/pastefromword/filter/default.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/preview/preview-9dd8bdcb9cdf799986eca2803b6a463e05eee76007a8d81d97116876ea0f6685.html +13 -0
- data/installer/core/public/assets/ckeditor/plugins/preview/preview-9dd8bdcb9cdf799986eca2803b6a463e05eee76007a8d81d97116876ea0f6685.html.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/preview/preview.html +13 -0
- data/installer/core/public/assets/ckeditor/plugins/preview/preview.html.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/dialog-75e0679953e586ffac55af12700c15b9a4b7d49765103c16fd8943c24162bf0c.css +23 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/dialog-75e0679953e586ffac55af12700c15b9a4b7d49765103c16fd8943c24162bf0c.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/dialog.css +23 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/dialog.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/options-9a2090b658e9048617ef46bda16cd14009c4f51cc427babbabddb75aadc4c50a.js +32 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/options-9a2090b658e9048617ef46bda16cd14009c4f51cc427babbabddb75aadc4c50a.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/options.js +32 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/options.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/toolbar-e66191abbfc4b5e5e6291bf4d4cacb4e074bb8d94457ff5384b3f18e72195a2c.css +71 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/toolbar-e66191abbfc4b5e5e6291bf4d4cacb4e074bb8d94457ff5384b3f18e72195a2c.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/dialogs/toolbar.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/skins/moono-lisa/scayt-94465f8a7abf4da8295e0fa93a60eba1287830dfc41e3698fb3d20091b95d58c.css +25 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/skins/moono-lisa/scayt-94465f8a7abf4da8295e0fa93a60eba1287830dfc41e3698fb3d20091b95d58c.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +25 -0
- data/installer/core/public/assets/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_address-d896b164eb70e2a22f0521131188b185bb7e404d6e0a0d0f55d11d585d28caa3.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_blockquote-30d5929384e0a68850cd667f70779b8464b6f2b1bececf01526eda3e2b191073.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_div-34ea88912f128e162de10370b7eadd91e7a0c07f8728693494c1479e95525f56.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h1-40d4a2cd8e2737607867d95948972475ff478e0efaf510cbf17a52b511ef0fc3.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h2-6e3acd9cd6b16dcfce92ade07cb8a8d1929103f3a9a7dcd83c49cc52ec72cdea.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h3-3d26b01e2687763a9a00205d749fc9991de1a75f3f346a3dec473ce2141b693a.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h4-5c6807bb4bb7024c89b8364b5dd0f20ef1961e924db31fa338b39998b677a3f0.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h5-148c02c6a115c4d568604f72126dfe2e27ee8ca3a6a4a7d7ae72b2523e27db77.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h6-85384f22c9128004409679694aeb38ba858ca77fa0f85ef52a61b8f289191df5.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_p-68e9e5a80bed810ad2bd0fc9273756fcdb7e7b940fa52cc19a38911ca50ee4f3.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_pre-4168bf89d34fac97391bffbd82339ee79125edf2c6d50c153f3fc30efbf536c8.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/dialogs/smiley-c7ccf0ced2d6ffd277f834016347e2ab35d9e4aa5c18716055895e56634f0da8.js +12 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/dialogs/smiley-c7ccf0ced2d6ffd277f834016347e2ab35d9e4aa5c18716055895e56634f0da8.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/dialogs/smiley.js +12 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/dialogs/smiley.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/angel_smile-7b227fc3a29cb0a99e105bbf5065c6086d744bfd8a79b1511bf43184aaf3a0b9.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/angel_smile-8e2aaced8635d70dff8eb5a269cb2ff071115b965cfea30f31275f3aea88529a.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/angry_smile-aeb431608cf1496216f2c94995d7d568481e32e3cc075e45f12a66a303d2e29d.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/angry_smile-b4fc95418415fe8999f252649af9541c8f77234f57abc2cf8ee99abd56cc19e3.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/broken_heart-4e8286aacd60df65e9995d8f2afaf4666fc0b0c3be935c441700b5e572e75c5a.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/broken_heart-7a2005c6a4ee561393b6bb9e37dd0a0080b837f2dc938b10ec7ae305a9681825.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/confused_smile-09953a3738bd6df32e93261f32aa9b8300a05fdd24445f501f55ac468659ef66.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/confused_smile-2de21fd594b102ab9ed8cd4e5b005c45c4e2ff34bf30e5dacea437a959162d6e.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/cry_smile-7bd254c99e3ff1d1f3e1a832b1564f3e47f9cbdf54f3fca73a91525912ddb38e.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/cry_smile-a2d235ad7d007a6f80c920cbd5e85006a2a42c39e178691e29babe96a03e3d63.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/devil_smile-2bc850da71b5f9b78a3ed26f03f08869a825e2b40d3e50e2442307361a39dc9f.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/devil_smile-d433e5ef97e9fe9c73b2e36f1a9be76171fa1f4d2464789a1fe440387495dd6c.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/embaressed_smile-d185a4f35865a517a60dce3cdf73bf92a800d1f7a3a2fabdbded4625b465678d.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/embarrassed_smile-ce9a77bf015b4c90b27312f4214684460fde4d2d805d44ddc1871082334d3432.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/embarrassed_smile-d185a4f35865a517a60dce3cdf73bf92a800d1f7a3a2fabdbded4625b465678d.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/envelope-0f1546e9abb9b5bc1cf37b2da74606800cb12b64f001553e7fb5ade49df4d29c.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/envelope-489cf811c9835fef32e06696e3893093f9cda5520b5eac65855bb00fa13e804b.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/envelope.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/heart-4cf4c3ab6c1b894d721b59b2acb0686c832bab5bb03192471ac6548a4bddf92b.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/heart-fd3b59c7dd52b24ee0614169ff7a06ce1b2a6d49fa7098aecbb9f7c4197107e7.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/heart.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/kiss-21c801e1e6371e57bdba6ecb16609a627c75a4ec294f9580a03ff498c3099c66.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/kiss-f142944550a855cb698db1d35723e56ce063c8a6a8088a5dfbe99c62b9a00856.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/kiss.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/lightbulb-98347f12145eb2987104a5e04bb78ce8f2a154a1347e422f66327d0def3fc75d.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/lightbulb-ac296632601de086f7aff2c97cbc123dd6a589a2031d1524a28d6222fb005668.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/omg_smile-628c7bb0d4386f901c2690e5a9ad90ee3e9252ef49a7a708f672b9cbb81aa43b.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/omg_smile-a4ebdb8d59ff587b38a762fa4c97ab7a5fd585d7b0722bb503884f8961e45917.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/regular_smile-7eb86259f47ef5faf89ccbb9648ba0e93d4e9c48588509048f97156634aac3fb.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/regular_smile-8d3049e853d5fab5e1de160f471649edb6b0d9ffbf791d390d1c2152838ad2c3.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/sad_smile-34b38077abd9f18ecaad2fa65b3158d61465462875592c4ba62b9a12bf154caf.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/sad_smile-aa4692a6fdec3f45f0eb55243c3371e01bab3fc04d61715b6a9171e70b72e257.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/shades_smile-8af43d1ee5729b8f6e14f831a63fa64430ad54be488c7a57e0da0f45789bc64d.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/shades_smile-9fd924ea50cb2915ce2863ac5576409b37d9ba9cc7b33832ad3e3b963b2df02c.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/teeth_smile-ab4d093812a347b70126ac79e0cfc16cae45c1d32fd4437da99b2ea22311c0d6.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/teeth_smile-b1f571f9a46641a3cfb78e3319faa37dcb685bc69ed45dfbea3e1e1fd3b71b1f.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/thumbs_down-571de749810a2b8c5ee078a30be1c872eefb933c5e2a8c33ded5b304787e7ebe.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/thumbs_down-ec8d8c4a49a38597888bee7971c49b25355d1b8ae59a1c6d224608ee7112055d.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/thumbs_up-26ac57c9f26ec725511c7c97a9e0e005aa46710311033eb3f5f23ba355f80cc7.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/thumbs_up-b6359e23c088a020df03ab8e0cd7a5046a3954736426c3cf8370210afc1496cb.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/tongue_smile-9c9ad82d7fdf34d3aef1c92ec4001146348bd4405c9b9252e21047c12a30b5d3.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/tongue_smile-e638c648ca78900b2c8f82156604dd8b46ed0cdaef4095e09277583e6f730e3e.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/tounge_smile-e638c648ca78900b2c8f82156604dd8b46ed0cdaef4095e09277583e6f730e3e.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile-305e959c2c304a31a052a60ac972df52fdb7819945a10a3a1a1f1a7ee5fecf57.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile-e2a8446ea58800515e9e27a49e56518a8b05597df32b2a10d998f6380f293f2b.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/wink_smile-3ec65841e54db291aa0335c7c2083451f7cb92062744ed8831e08e9660d45ec3.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/wink_smile-95de89ce230bc6cbdb5d7881bf9f646e1a0935ca59e5a1ba43526637e1af3d6a.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
- data/installer/core/public/assets/ckeditor/plugins/specialchar/dialogs/specialchar-5b811b917affecbd45c75c2563627f3204f4958e99fdfeef387ce3c98b61adc0.js +15 -0
- data/installer/core/public/assets/ckeditor/plugins/specialchar/dialogs/specialchar-5b811b917affecbd45c75c2563627f3204f4958e99fdfeef387ce3c98b61adc0.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/specialchar/dialogs/specialchar.js +15 -0
- data/installer/core/public/assets/ckeditor/plugins/specialchar/dialogs/specialchar.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/table/dialogs/table-f41e0d83975bd104aff05dbb326fc62a31e1cef27d7abc0046f9e3e1489d3593.js +22 -0
- data/installer/core/public/assets/ckeditor/plugins/table/dialogs/table-f41e0d83975bd104aff05dbb326fc62a31e1cef27d7abc0046f9e3e1489d3593.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/table/dialogs/table.js +22 -0
- data/installer/core/public/assets/ckeditor/plugins/table/dialogs/table.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/tableselection/styles/tableselection-9792b2b1cd17c57ba2adc876d7e2c2bcb474f5876bb18c07fbd757970f8765d7.css +32 -0
- data/installer/core/public/assets/ckeditor/plugins/tableselection/styles/tableselection-9792b2b1cd17c57ba2adc876d7e2c2bcb474f5876bb18c07fbd757970f8765d7.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/tableselection/styles/tableselection.css +32 -0
- data/installer/core/public/assets/ckeditor/plugins/tableselection/styles/tableselection.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/tabletools/dialogs/tableCell-c3bfee31e5a4a1cf6af2b49e3a9570d528d1e4872dcb74b9504419fadba32fbf.js +18 -0
- data/installer/core/public/assets/ckeditor/plugins/tabletools/dialogs/tableCell-c3bfee31e5a4a1cf6af2b49e3a9570d528d1e4872dcb74b9504419fadba32fbf.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/tabletools/dialogs/tableCell.js +18 -0
- data/installer/core/public/assets/ckeditor/plugins/tabletools/dialogs/tableCell.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/dialogs/templates-1ef0039fb16321fd4389611090d375cf5f53ec651054b494d1182521413d44e5.js +11 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/dialogs/templates-1ef0039fb16321fd4389611090d375cf5f53ec651054b494d1182521413d44e5.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/dialogs/templates-f6ec2ac3c08326b52ae312f0262d4503118dae4d2d8778f85bf20ff2497ea089.css +85 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/dialogs/templates-f6ec2ac3c08326b52ae312f0262d4503118dae4d2d8778f85bf20ff2497ea089.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/dialogs/templates.css +85 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/dialogs/templates.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/dialogs/templates.js +11 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/dialogs/templates.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/templates/default-5700a967e02c2de4bb41ded64f8db4d87bd73c4a4441e6e0d04e0941b3b2e6d1.js +8 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/templates/default-5700a967e02c2de4bb41ded64f8db4d87bd73c4a4441e6e0d04e0941b3b2e6d1.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/templates/default.js +8 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/templates/default.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/templates/images/template1-0e5b3ea58bdf1ccf7f8aa1d50c86e03832d0e89056f266b1e938e4872f298a1b.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/templates/images/template2-3f7cea1cac236e2732feb9eb9f7e5e70bb4b05eced144fc90ebbbce9856c1ddf.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/templates/images/template3-91987500818e6fa63f868eea61db15178180a11ef09eebd87a295722590efe05.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/ciframe-bbc1f85ed681f80c12a29fc6e390fe3259fc127faadd7a1ab87cc6acf13705f3.html +66 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/ciframe-bbc1f85ed681f80c12a29fc6e390fe3259fc127faadd7a1ab87cc6acf13705f3.html.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/ciframe.html +66 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/ciframe.html.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset-8edad96824ed6e6687bc150fc92ba749e0cd55c4f4de53434568e2ece1e2b999.html +52 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset-8edad96824ed6e6687bc150fc92ba749e0cd55c4f4de53434568e2ece1e2b999.html.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/tmpFrameset.html.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc-43418d6b5efe142c0ea4e864a56974f317d2cac650defd437703587ef2bf83d4.js +93 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc-43418d6b5efe142c0ea4e864a56974f317d2cac650defd437703587ef2bf83d4.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc-e31787ec9d2b04cbd4a6183923949e0dfda6a3bf104656c1f344c71fdfa4875c.css +83 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc-e31787ec9d2b04cbd4a6183923949e0dfda6a3bf104656c1f344c71fdfa4875c.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc.css +83 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc.js +93 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc_ie-dba8afec87a67f0e0a39f3882c952d25e228b6228d0be03f157be65e1e272167.js +12 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc_ie-dba8afec87a67f0e0a39f3882c952d25e228b6228d0be03f157be65e1e272167.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc_ie.js +12 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/dialogs/wsc_ie.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/skins/moono-lisa/wsc-a0fc7fe1ba275090a93038c52950ddb538963b336f0009f4c6efd1722717404f.css +43 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/skins/moono-lisa/wsc-a0fc7fe1ba275090a93038c52950ddb538963b336f0009f4c6efd1722717404f.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css +43 -0
- data/installer/core/public/assets/ckeditor/plugins/wsc/skins/moono-lisa/wsc.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog-7d4bb724b744f9985fe8fe77929477041cbb2b9b32933fd6377599e2b6fecefb.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog-7d4bb724b744f9985fe8fe77929477041cbb2b9b32933fd6377599e2b6fecefb.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_ie-eb563326b8654de4304b0d42250b1a8aef0d8ebeda3190b3dbd4d14e287b5d7a.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_ie-eb563326b8654de4304b0d42250b1a8aef0d8ebeda3190b3dbd4d14e287b5d7a.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_ie.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_ie.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_ie8-2d4df01d6ffaf95a014c2e7a84f4a1c4282e389256b2a46baf78c03e6a48b8d4.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_ie8-2d4df01d6ffaf95a014c2e7a84f4a1c4282e389256b2a46baf78c03e6a48b8d4.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_ie8.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_ie8.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_iequirks-56c1ac096674ca2ffa96415f097d6e811c0fcd18d26249d3551341c353e4d5f6.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_iequirks-56c1ac096674ca2ffa96415f097d6e811c0fcd18d26249d3551341c353e4d5f6.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_iequirks.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/dialog_iequirks.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor-a642f516332c0923ce5b04aef2b8ae2f0deb7baf7964f88c72fd2ebb919ca946.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor-a642f516332c0923ce5b04aef2b8ae2f0deb7baf7964f88c72fd2ebb919ca946.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_gecko-f55d1d265c00d459a9d53b74e6683dae3f6246b1e664532fb9efe2b8aec9d83a.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_gecko-f55d1d265c00d459a9d53b74e6683dae3f6246b1e664532fb9efe2b8aec9d83a.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_gecko.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_gecko.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_ie-87bccbf693180cf4489c2c7a89ee6dba186a9f87d8b40944c1cb8263666384b6.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_ie-87bccbf693180cf4489c2c7a89ee6dba186a9f87d8b40944c1cb8263666384b6.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_ie.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_ie.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_ie8-724e651f2ca9cb5f5c10f6735053214218fc93bf29b530c7915aa071f354df8f.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_ie8-724e651f2ca9cb5f5c10f6735053214218fc93bf29b530c7915aa071f354df8f.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_ie8.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_ie8.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_iequirks-fa8825aeccb20dd5c1779a1fc12f536d2e07d8973ee8d238d30c47f245ae751d.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_iequirks-fa8825aeccb20dd5c1779a1fc12f536d2e07d8973ee8d238d30c47f245ae751d.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_iequirks.css +6 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/editor_iequirks.css.gz +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/icons-af6217b63920631c6dd9914678b77fdd11a6e04a2dd72fe154015f52d646476e.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/icons.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/icons_hidpi-be1786d2965715aa5c3d777a477d1f295a634dcf93128b57b46718c5518e82bd.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/arrow-b2277bbb26fff842ebf687d4e0db0011c97ce2ad5150e20ebd63cd15a2c9550b.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/close-0d5aab99d91cdf9451203c690d1b681efac0e247873137c2e4b254f5eaed0250.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/close.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/hidpi/close-31ca8328e53f548322e8d6cb9b889e1fe6d918e3f944910b905a3c3a9b97f616.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/hidpi/lock-590115a32954f2bf27bdad510aa986ab4790616b3838ed840d36707c37d2e549.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/hidpi/lock-open-0f89da48392084c2b92f1184b20cd15a82b00f76369619827f0c256e4d064a84.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/hidpi/refresh-0afa815ccda8e98ab0c53b7f84405e7af5926a2f674f294ab7e0636eab8d59bc.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/lock-591538a3e1c27b0666fbea0e16e5fd35c37824711bf843bd42e692886cd34a87.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/lock-open-76f7cea49f5c9c3a33ebe05a241e5278530887fe7669529a04accf237ef491ae.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/lock.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/refresh-908ab5420bc35b3dbb1408cba105349ba1f47334ca98be08d0607410353d033a.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/spinner-fe605d83531314abeaec1f47b43c86a4a48c86e3f332ad01b5a9ed2558b8b41f.gif +0 -0
- data/installer/core/public/assets/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
- data/installer/core/public/assets/ckeditor/styles-97df3adaaae4178d12a212fad062f011c569a42c836a1c558fc7d751a46f3fc4.js +137 -0
- data/installer/core/public/assets/ckeditor/styles-97df3adaaae4178d12a212fad062f011c569a42c836a1c558fc7d751a46f3fc4.js.gz +0 -0
- data/installer/core/public/assets/ckeditor/styles.js +137 -0
- data/installer/core/public/assets/ckeditor/styles.js.gz +0 -0
- data/installer/core/public/assets/errors/application-5bedab1af7243cbddbac6a3bfdb855848f031688fdf0f923ea0432fdc62b76f2.js +117 -0
- data/installer/core/public/assets/errors/application-5bedab1af7243cbddbac6a3bfdb855848f031688fdf0f923ea0432fdc62b76f2.js.gz +0 -0
- data/installer/core/public/assets/errors/application-b2440acdfe3667a77a6858d9dbc123740884b45cc4870f4ad52b831d16ffac97.css +187 -0
- data/installer/core/public/assets/errors/application-b2440acdfe3667a77a6858d9dbc123740884b45cc4870f4ad52b831d16ffac97.css.gz +0 -0
- data/installer/core/public/assets/font-awesome/fa-brands-400-15fe80489bf95e94ba22be4084a11dcf5ff3c631fa8ded2051c0f99f08895f52.svg +1011 -0
- data/installer/core/public/assets/font-awesome/fa-brands-400-15fe80489bf95e94ba22be4084a11dcf5ff3c631fa8ded2051c0f99f08895f52.svg.gz +0 -0
- data/installer/core/public/assets/font-awesome/fa-brands-400-8c507886294992429a98e9382dd1557ef1e7d4a45d6a7bbffa9771e839190c23.ttf +0 -0
- data/installer/core/public/assets/font-awesome/fa-brands-400-8c507886294992429a98e9382dd1557ef1e7d4a45d6a7bbffa9771e839190c23.ttf.gz +0 -0
- data/installer/core/public/assets/font-awesome/fa-brands-400-9ae2326c389ddbc93a2636b121456333152931549bd5bd16a5cd2ee24e601c16.woff2 +0 -0
- data/installer/core/public/assets/font-awesome/fa-brands-400-a25479bdac618c6b4f32a3f60bedee6b4fe759db1500c790eab5f94fdeb59f92.woff +0 -0
- data/installer/core/public/assets/font-awesome/fa-brands-400-b9c345f4fa1349aea117ed753492783a632513f2dd75dc86942cfbc630c84d05.eot +0 -0
- data/installer/core/public/assets/font-awesome/fa-brands-400-b9c345f4fa1349aea117ed753492783a632513f2dd75dc86942cfbc630c84d05.eot.gz +0 -0
- data/installer/core/public/assets/font-awesome/fa-regular-400-33a8657a09af038500733bdaf969d8928b48475f26020cc35ca7193a53fcbedc.eot +0 -0
- data/installer/core/public/assets/font-awesome/fa-regular-400-33a8657a09af038500733bdaf969d8928b48475f26020cc35ca7193a53fcbedc.eot.gz +0 -0
- data/installer/core/public/assets/font-awesome/fa-regular-400-75e64a952613e7f6cdc74628f8bf85206db9a75cc1926ffccb8f1caade2e4db7.svg +366 -0
- data/installer/core/public/assets/font-awesome/fa-regular-400-75e64a952613e7f6cdc74628f8bf85206db9a75cc1926ffccb8f1caade2e4db7.svg.gz +0 -0
- data/installer/core/public/assets/font-awesome/fa-regular-400-b2bb708d78f9ce7490251f676f8f8f6dadc7e8d7e4b3d1ab560a4c1130b0c460.woff2 +0 -0
- data/installer/core/public/assets/font-awesome/fa-regular-400-c25d1ee715f6ca69202404165aa0942709ff14d1bd99f9df5b124522d42077ef.ttf +0 -0
- data/installer/core/public/assets/font-awesome/fa-regular-400-c25d1ee715f6ca69202404165aa0942709ff14d1bd99f9df5b124522d42077ef.ttf.gz +0 -0
- data/installer/core/public/assets/font-awesome/fa-regular-400-e4d56ba6fcd7b99e7e83ee13aa2cecbf6391bc9965d18f43a13bec2957ecd851.woff +0 -0
- data/installer/core/public/assets/font-awesome/fa-solid-900-08f7874f8336b47e49d9719c38cea16cdea6362962f5001db3f2d0bb47332357.woff2 +0 -0
- data/installer/core/public/assets/font-awesome/fa-solid-900-31bb4aa00b5293474c3d74e67a316442a8de04a5331edb3e9e11349b7355fcec.eot +0 -0
- data/installer/core/public/assets/font-awesome/fa-solid-900-31bb4aa00b5293474c3d74e67a316442a8de04a5331edb3e9e11349b7355fcec.eot.gz +0 -0
- data/installer/core/public/assets/font-awesome/fa-solid-900-54997dacd19dcdad4bffdda880c9aa9268ef52281ab39fb0d17b7ba7618a49a6.svg +1644 -0
- data/installer/core/public/assets/font-awesome/fa-solid-900-54997dacd19dcdad4bffdda880c9aa9268ef52281ab39fb0d17b7ba7618a49a6.svg.gz +0 -0
- data/installer/core/public/assets/font-awesome/fa-solid-900-7cf25b1d45ac4436b575e86dcafdd37efc5faeab3bdad3144a9af3b7eae4b48f.ttf +0 -0
- data/installer/core/public/assets/font-awesome/fa-solid-900-7cf25b1d45ac4436b575e86dcafdd37efc5faeab3bdad3144a9af3b7eae4b48f.ttf.gz +0 -0
- data/installer/core/public/assets/font-awesome/fa-solid-900-e20ab4de8913d1e569c3016c5c5aecfd6589f2bff211c387f2d0422d9123ae2f.woff +0 -0
- data/installer/core/public/assets/keppler_capsules/admin/application-3e18899279f0f0db0ed087ef60a3133b36f7735f3e5bf09411c5099fe9551fcd.css +22 -0
- data/installer/core/public/assets/keppler_capsules/admin/application-3e18899279f0f0db0ed087ef60a3133b36f7735f3e5bf09411c5099fe9551fcd.css.gz +0 -0
- data/installer/core/public/assets/keppler_capsules/admin/application-f46080ad1616c7365ec458f0663ca9a285bb005dea3d10079f00e0298c6cd670.js +22 -0
- data/installer/core/public/assets/keppler_capsules/admin/application-f46080ad1616c7365ec458f0663ca9a285bb005dea3d10079f00e0298c6cd670.js.gz +0 -0
- data/installer/core/public/assets/keppler_frontend/admin/application-a59d5002b1a4c8a889da935c51f2679c69bdc2eb3b789d6c96de3f7db67ba730.css +485 -0
- data/installer/core/public/assets/keppler_frontend/admin/application-a59d5002b1a4c8a889da935c51f2679c69bdc2eb3b789d6c96de3f7db67ba730.css.gz +0 -0
- data/installer/core/public/assets/keppler_frontend/admin/application-e783e6e18f4436fdd1b29d1eae96cb33a54b2310f89735806c363c6213488493.js +885 -0
- data/installer/core/public/assets/keppler_frontend/admin/application-e783e6e18f4436fdd1b29d1eae96cb33a54b2310f89735806c363c6213488493.js.gz +0 -0
- data/installer/core/public/assets/keppler_frontend/app/application-6fc1d0e6a7d356107c213726b8f894c8df9332bf966899559aa863b5388748d3.js +34345 -0
- data/installer/core/public/assets/keppler_frontend/app/application-6fc1d0e6a7d356107c213726b8f894c8df9332bf966899559aa863b5388748d3.js.gz +0 -0
- data/installer/core/public/assets/keppler_frontend/app/application-e8573318eb1e34fe271f40b72d2c8b886c16853ee9af153bd6a986091a8e1dd2.css +352 -0
- data/installer/core/public/assets/keppler_frontend/app/application-e8573318eb1e34fe271f40b72d2c8b886c16853ee9af153bd6a986091a8e1dd2.css.gz +0 -0
- data/installer/core/public/assets/keppler_languages/application-789fd3d62d3ea0a804c0818f1e22d8dce8f2a330acd678b5803b078c1e58e59a.css +21 -0
- data/installer/core/public/assets/keppler_languages/application-789fd3d62d3ea0a804c0818f1e22d8dce8f2a330acd678b5803b078c1e58e59a.css.gz +0 -0
- data/installer/core/public/assets/keppler_languages/application-f4839ea4cb8c278f79995502e2945a4490245751bb22f01730596d1c585f5b5a.js +15 -0
- data/installer/core/public/assets/keppler_languages/application-f4839ea4cb8c278f79995502e2945a4490245751bb22f01730596d1c585f5b5a.js.gz +0 -0
- data/installer/core/public/assets/slick-06d80cf01250132fd1068701108453feee68854b750d22c344ffc0de395e1dcb.eot +0 -0
- data/installer/core/public/assets/slick-06d80cf01250132fd1068701108453feee68854b750d22c344ffc0de395e1dcb.eot.gz +0 -0
- data/installer/core/public/assets/slick-26726bac4060abb1226e6ceebc1336e84930fe7a7af1b3895a109d067f5b5dcc.woff +0 -0
- data/installer/core/public/assets/slick-37bc99cfdbbc046193a26396787374d00e7b10d3a758a36045c07bd8886360d2.ttf +0 -0
- data/installer/core/public/assets/slick-37bc99cfdbbc046193a26396787374d00e7b10d3a758a36045c07bd8886360d2.ttf.gz +0 -0
- data/installer/core/public/assets/slick-8ca11b5fcbff92ee6378017cf6832dddfa745253202d7c8d01f42d5d17c4cb5c.svg +14 -0
- data/installer/core/public/assets/slick-8ca11b5fcbff92ee6378017cf6832dddfa745253202d7c8d01f42d5d17c4cb5c.svg.gz +0 -0
- data/installer/core/public/assets/slick/ajax-loader-e7b44c86b050fca766a96ddac2d0932af0126da6f2305280342d909168dcce6b.gif +0 -0
- data/installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb +1 -1
- data/installer/core/rockets/keppler_capsules/lib/generators/keppler_capsule_scaffold/templates/models/model.rb +2 -0
- data/installer/core/rockets/keppler_frontend/app/assets/stylesheets/keppler_frontend/admin/frontend.scss +68 -0
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/admin/multimedia_controller.rb +7 -7
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/admin/themes_controller.rb +0 -15
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/admin/views_controller.rb +49 -218
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/app/app_controller.rb +5 -0
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/app/frontend_controller.rb +0 -11
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/application_controller.rb +1 -1
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/concerns/services.rb +10 -2
- data/installer/core/rockets/keppler_frontend/app/models/keppler_frontend/theme.rb +12 -14
- data/installer/core/rockets/keppler_frontend/app/policies/keppler_frontend/theme_policy.rb +12 -4
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/editor/resources_format.rb +1 -1
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/urls/assets.rb +4 -0
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/add.rb +58 -0
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/remove.rb +51 -0
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/routes_handler.rb +45 -38
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/theme_views.rb +51 -0
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/views.rb +78 -0
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/_listing.html.haml +0 -3
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/index.html.haml +59 -57
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_new_view.html.haml +25 -0
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_select_theme.html.haml +32 -0
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_views_listing.html.haml +43 -0
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/generate.js.erb +7 -0
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/index.html.haml +47 -78
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/refresh.js.erb +1 -0
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/remove.js.erb +2 -0
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/app/frontend/keppler.html.haml +4 -1
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/app/partials/_devise_login.html.erb +1 -1
- data/installer/core/rockets/keppler_frontend/config/locales/en.yml +8 -0
- data/installer/core/rockets/keppler_frontend/config/locales/es.yml +8 -0
- data/installer/core/rockets/keppler_frontend/config/menu.yml +9 -24
- data/installer/core/rockets/keppler_frontend/config/routes.rb +8 -108
- data/installer/core/rockets/keppler_frontend/config/themes.yml +4 -4
- data/installer/core/rockets/keppler_frontend/lib/keppler_frontend/engine.rb +1 -1
- data/installer/core/rockets/keppler_ga_dashboard/app/controllers/keppler_ga_dashboard/admin/dashboard_controller.rb +7 -1
- data/installer/core/rockets/keppler_ga_dashboard/app/views/keppler_ga_dashboard/admin/dashboard/analytics.html.haml +0 -1
- data/installer/core/rockets/keppler_languages/app/controllers/keppler_languages/application_controller.rb +1 -1
- data/installer/core/spec/controllers/admin/admin_controller_spec.rb +8 -1
- data/installer/core/spec/controllers/admin/settings_controller_spec.rb +34 -0
- data/installer/core/spec/routing/setting_spec.rb +12 -0
- data/installer/core/vendor/cache/html-to-haml-0.0.6.gem +0 -0
- data/installer/core/yarn.lock +4 -0
- data/keppler.gemspec +3 -3
- data/lib/keppler/version.rb +1 -1
- metadata +585 -15216
- data/installer/core/app/controllers/devise/sessions_controller.rb +0 -108
- data/installer/core/app/views/devise/sessions/new.html.haml +0 -35
- data/installer/core/db/migrate/20180717160308_create_keppler_frontend_views.keppler_frontend.rb +0 -17
- data/installer/core/db/migrate/20180806203410_create_keppler_frontend_partials.keppler_frontend.rb +0 -13
- data/installer/core/db/migrate/20180827120841_create_keppler_frontend_callback_functions.keppler_frontend.rb +0 -14
- data/installer/core/db/migrate/20180827154329_create_keppler_frontend_view_callbacks.keppler_frontend.rb +0 -12
- data/installer/core/db/migrate/20180830153221_create_keppler_frontend_functions.keppler_frontend.rb +0 -14
- data/installer/core/db/migrate/20180830153222_create_keppler_frontend_parameters.keppler_frontend.rb +0 -13
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/admin/callback_functions_controller.rb +0 -194
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/admin/functions_controller.rb +0 -205
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/admin/parameters_controller.rb +0 -165
- data/installer/core/rockets/keppler_frontend/app/controllers/keppler_frontend/admin/partials_controller.rb +0 -187
- data/installer/core/rockets/keppler_frontend/app/models/keppler_frontend/callback_function.rb +0 -52
- data/installer/core/rockets/keppler_frontend/app/models/keppler_frontend/function.rb +0 -59
- data/installer/core/rockets/keppler_frontend/app/models/keppler_frontend/parameter.rb +0 -43
- data/installer/core/rockets/keppler_frontend/app/models/keppler_frontend/partial.rb +0 -102
- data/installer/core/rockets/keppler_frontend/app/models/keppler_frontend/view.rb +0 -93
- data/installer/core/rockets/keppler_frontend/app/models/keppler_frontend/view_callback.rb +0 -29
- data/installer/core/rockets/keppler_frontend/app/policies/keppler_frontend/callback_function_policy.rb +0 -19
- data/installer/core/rockets/keppler_frontend/app/policies/keppler_frontend/function_policy.rb +0 -19
- data/installer/core/rockets/keppler_frontend/app/policies/keppler_frontend/parameter_policy.rb +0 -11
- data/installer/core/rockets/keppler_frontend/app/policies/keppler_frontend/partial_policy.rb +0 -16
- data/installer/core/rockets/keppler_frontend/app/policies/keppler_frontend/view_policy.rb +0 -39
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/callbacks/code_handler.rb +0 -115
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/callbacks/code_views.rb +0 -74
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/functions/code_handler.rb +0 -0
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/actions_handler.rb +0 -120
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/css_handler.rb +0 -60
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/html_handler.rb +0 -85
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/install.rb +0 -57
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/js_handler.rb +0 -67
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/output.rb +0 -49
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/remote_js_handler.rb +0 -60
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/save.rb +0 -25
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/uninstall.rb +0 -60
- data/installer/core/rockets/keppler_frontend/app/services/keppler_frontend/views/update.rb +0 -57
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_description.html.haml +0 -13
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_editor_views.html.haml +0 -45
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_form.html.haml +0 -31
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/_listing.html.haml +0 -48
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/edit.html.haml +0 -1
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/editor.html.haml +0 -47
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/index.html.haml +0 -80
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/new.html.haml +0 -1
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/reload.js.haml +0 -5
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/callback_functions/show.html.haml +0 -33
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_description.html.haml +0 -13
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_form.html.haml +0 -51
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_listing.html.haml +0 -45
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_parameter_fields.html.haml +0 -5
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/_parameter_fields_edit.html.haml +0 -6
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/edit.html.haml +0 -1
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/editor.html.haml +0 -0
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/index.html.haml +0 -78
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/new.html.haml +0 -1
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/reload.js.haml +0 -5
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/functions/show.html.haml +0 -65
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/parameters/_description.html.haml +0 -13
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/parameters/_form.html.haml +0 -31
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/parameters/_listing.html.haml +0 -41
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/parameters/edit.html.haml +0 -1
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/parameters/index.html.haml +0 -79
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/parameters/new.html.haml +0 -1
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/parameters/reload.js.haml +0 -5
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/parameters/show.html.haml +0 -33
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_description.html.haml +0 -13
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_editor_assets.html.haml +0 -129
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_form.html.haml +0 -29
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/_listing.html.haml +0 -37
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/edit.html.haml +0 -1
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/index.html.haml +0 -76
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/new.html.haml +0 -1
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/reload.js.haml +0 -5
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/partials/show.html.haml +0 -87
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/themes/editor.html.haml +0 -82
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_description.html.haml +0 -13
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_editor_assets.html.haml +0 -132
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_editor_themes.html.haml +0 -62
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_editor_views.html.haml +0 -103
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_form.html.haml +0 -66
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_listing.html.haml +0 -60
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_view_callback_fields.html.haml +0 -8
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/_view_callback_fields_edit.html.haml +0 -8
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/destroy_callback.js.erb +0 -5
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/edit.html.haml +0 -1
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/editor.html.haml +0 -7
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/editors/_html_editor.html.haml +0 -91
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/editors/_only_action.html.haml +0 -40
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/editors/_view_js_editor.html.haml +0 -56
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/new.html.haml +0 -1
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/reload.js.haml +0 -5
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/admin/views/show.html.haml +0 -33
- data/installer/core/rockets/keppler_frontend/app/views/keppler_frontend/app/partials/conf +0 -0
- data/installer/core/rockets/keppler_frontend/config/data/callback_functions.yml +0 -15
- data/installer/core/rockets/keppler_frontend/config/data/view_callbacks.yml +0 -1
- data/installer/core/rockets/keppler_frontend/config/data/views.yml +0 -18
- data/installer/core/rockets/keppler_frontend/db/migrate/20180717160248_create_keppler_frontend_views.rb +0 -17
- data/installer/core/rockets/keppler_frontend/db/migrate/20180806203329_create_keppler_frontend_partials.rb +0 -12
- data/installer/core/rockets/keppler_frontend/db/migrate/20180827120734_create_keppler_frontend_callback_functions.rb +0 -13
- data/installer/core/rockets/keppler_frontend/db/migrate/20180827154249_create_keppler_frontend_view_callbacks.rb +0 -11
- data/installer/core/rockets/keppler_frontend/db/migrate/20180830130934_create_keppler_frontend_functions.rb +0 -13
- data/installer/core/rockets/keppler_frontend/db/migrate/20180830153029_create_keppler_frontend_parameters.rb +0 -12
- data/installer/core/spec/controllers/keppler_frontend/admin/views_controller/create_view_spec.rb +0 -35
- data/installer/core/spec/controllers/keppler_frontend/admin/views_controller/editor_spec.rb +0 -20
- data/installer/core/spec/controllers/keppler_frontend/admin/views_controller/views_list_spec.rb +0 -30
- data/installer/core/spec/factories/keppler_frontend/callback_function.rb +0 -8
- data/installer/core/spec/factories/keppler_frontend/function.rb +0 -8
- data/installer/core/spec/factories/keppler_frontend/view.rb +0 -8
- data/installer/core/spec/factories/keppler_frontend/view_callback.rb +0 -6
- data/installer/core/spec/fixtures/keppler_frontend/editor/test.html +0 -16
- data/installer/core/spec/fixtures/keppler_frontend/editor/test.png +0 -0
- data/installer/core/spec/fixtures/keppler_frontend/live_editor/test_index_1.html +0 -16
- data/installer/core/spec/fixtures/keppler_frontend/live_editor/test_index_2.html +0 -0
- data/installer/core/spec/models/keppler_frontend/callback/calbacks_handler_spec.rb +0 -61
- data/installer/core/spec/models/keppler_frontend/callback/model_spec.rb +0 -19
- data/installer/core/spec/models/keppler_frontend/view/callback_view_spec.rb +0 -38
- data/installer/core/spec/models/keppler_frontend/view/model_spec.rb +0 -19
- data/installer/core/spec/models/keppler_frontend/view/view_files_handler_spec.rb +0 -64
- data/installer/core/spec/routing/keppler_frontend/callbacks_spec.rb +0 -68
- data/installer/core/spec/routing/keppler_frontend/functions_spec.rb +0 -68
- data/installer/core/spec/routing/keppler_frontend/views_spec.rb +0 -68
- data/installer/core/spec/services/keppler_frontend/callbacks/callback_view_spec.rb +0 -104
- data/installer/core/spec/services/keppler_frontend/callbacks/code_handler_spec.rb +0 -63
- data/installer/core/spec/services/keppler_frontend/editor/file_format_spec.rb +0 -35
- data/installer/core/spec/services/keppler_frontend/editor/resources_format_spec.rb +0 -45
- data/installer/core/spec/services/keppler_frontend/editor/resources_spec.rb +0 -44
- data/installer/core/spec/services/keppler_frontend/urls/assets_spec.rb +0 -25
- data/installer/core/spec/services/keppler_frontend/urls/config_spec.rb +0 -25
- data/installer/core/spec/services/keppler_frontend/urls/front_spec.rb +0 -38
- data/installer/core/spec/services/keppler_frontend/urls/roots_spec.rb +0 -22
- data/installer/core/spec/services/keppler_frontend/utils/code_search_spec.rb +0 -29
- data/installer/core/spec/services/keppler_frontend/utils/file_format_spec.rb +0 -52
- data/installer/core/spec/services/keppler_frontend/utils/yml_handle_spec.rb +0 -42
- data/installer/core/spec/services/keppler_frontend/views/actions_handler_spec.rb +0 -59
- data/installer/core/spec/services/keppler_frontend/views/css_handler_spec.rb +0 -59
- data/installer/core/spec/services/keppler_frontend/views/format_html_spec.rb +0 -99
- data/installer/core/spec/services/keppler_frontend/views/format_only_action_spec.rb +0 -91
- data/installer/core/spec/services/keppler_frontend/views/format_remote_js_spec.rb +0 -101
- data/installer/core/spec/services/keppler_frontend/views/html_handler_spec.rb +0 -52
- data/installer/core/spec/services/keppler_frontend/views/js_handler_spec.rb +0 -59
- data/installer/core/spec/services/keppler_frontend/views/output_code_spec.rb +0 -39
- data/installer/core/spec/services/keppler_frontend/views/remote_js_handler_spec.rb +0 -55
- data/installer/core/spec/services/keppler_frontend/views/routes_handler_spec.rb +0 -63
- data/installer/core/spec/services/keppler_frontend/views/save_code_spec.rb +0 -53
- data/testing-with-2.1.18/.gitignore +0 -88
- data/testing-with-2.1.18/.ruby-version +0 -1
- data/testing-with-2.1.18/Gemfile +0 -149
- data/testing-with-2.1.18/Gemfile.lock +0 -645
- data/testing-with-2.1.18/Guardfile +0 -18
- data/testing-with-2.1.18/LICENSE +0 -674
- data/testing-with-2.1.18/README.md +0 -134
- data/testing-with-2.1.18/Rakefile +0 -6
- data/testing-with-2.1.18/_config.yml +0 -1
- data/testing-with-2.1.18/app/assets/images/.keep +0 -0
- data/testing-with-2.1.18/app/assets/javascripts/admin/application.coffee +0 -25
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-colorpicker.js +0 -1322
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/fileinput.js +0 -4463
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/locales/LANG.js +0 -100
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/locales/es.js +0 -100
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/piexif.js +0 -2471
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/piexif.min.js +0 -1
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/purify.js +0 -812
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/purify.min.js +0 -1
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/sortable.js +0 -1590
- data/testing-with-2.1.18/app/assets/javascripts/admin/bootstrap-file-input/plugins/sortable.min.js +0 -1
- data/testing-with-2.1.18/app/assets/javascripts/admin/code_editor.js +0 -94
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/comment/comment.js +0 -209
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/comment/continuecomment.js +0 -78
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/dialog/dialog.css +0 -32
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/dialog/dialog.js +0 -161
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/autorefresh.js +0 -47
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/fullscreen.css +0 -6
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/fullscreen.js +0 -41
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/panel.js +0 -123
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/placeholder.js +0 -63
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/display/rulers.js +0 -51
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/closebrackets.js +0 -194
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/closetag.js +0 -175
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/continuelist.js +0 -89
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/matchbrackets.js +0 -145
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/matchtags.js +0 -66
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/edit/trailingspace.js +0 -27
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/brace-fold.js +0 -105
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/comment-fold.js +0 -59
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/foldcode.js +0 -152
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/foldgutter.css +0 -20
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/foldgutter.js +0 -146
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/indent-fold.js +0 -48
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/markdown-fold.js +0 -49
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/fold/xml-fold.js +0 -184
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/anyword-hint.js +0 -41
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/css-hint.js +0 -60
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/html-hint.js +0 -348
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/javascript-hint.js +0 -157
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/show-hint.css +0 -36
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/show-hint.js +0 -433
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/sql-hint.js +0 -299
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/hint/xml-hint.js +0 -110
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/mode/loadmode.js +0 -64
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/mode/multiplex.js +0 -131
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/mode/overlay.js +0 -90
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/mode/simple.js +0 -216
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/scroll/annotatescrollbar.js +0 -122
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/scroll/scrollpastend.js +0 -48
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/scroll/simplescrollbars.css +0 -66
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/scroll/simplescrollbars.js +0 -152
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/jump-to-line.js +0 -49
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/match-highlighter.js +0 -165
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/matchesonscrollbar.css +0 -8
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/matchesonscrollbar.js +0 -97
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/search.js +0 -252
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/addon/search/searchcursor.js +0 -293
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/codemirror.js +0 -9683
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/keymap/sublime.js +0 -691
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/css/css.js +0 -832
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/haml/haml.js +0 -161
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/htmlembedded/htmlembedded.js +0 -37
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/htmlmixed/htmlmixed.js +0 -152
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/javascript/javascript.js +0 -896
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/ruby/ruby.js +0 -296
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/vue/vue.js +0 -77
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/xml/xml.js +0 -402
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/yaml-frontmatter/yaml-frontmatter.js +0 -68
- data/testing-with-2.1.18/app/assets/javascripts/admin/codemirror/mode/yaml/yaml.js +0 -119
- data/testing-with-2.1.18/app/assets/javascripts/admin/file_uploader.coffee +0 -152
- data/testing-with-2.1.18/app/assets/javascripts/admin/img_preview.js +0 -32
- data/testing-with-2.1.18/app/assets/javascripts/admin/jscolor.js +0 -1855
- data/testing-with-2.1.18/app/assets/javascripts/admin/main.coffee +0 -58
- data/testing-with-2.1.18/app/assets/javascripts/admin/notification.js +0 -14
- data/testing-with-2.1.18/app/assets/javascripts/admin/ruby_console.js +0 -14
- data/testing-with-2.1.18/app/assets/javascripts/admin/sidebar.js +0 -24
- data/testing-with-2.1.18/app/assets/javascripts/admin/sort.coffee +0 -8
- data/testing-with-2.1.18/app/assets/javascripts/admin/swal.js +0 -39
- data/testing-with-2.1.18/app/assets/javascripts/admin/sweetalert2/delete-confirm.js +0 -118
- data/testing-with-2.1.18/app/assets/javascripts/admin/sweetalert2/sweetalert2.all.min.js +0 -2
- data/testing-with-2.1.18/app/assets/javascripts/admin/switch.js +0 -6
- data/testing-with-2.1.18/app/assets/javascripts/admin/tooltips.coffee +0 -4
- data/testing-with-2.1.18/app/assets/javascripts/admin/upload_records.coffee +0 -8
- data/testing-with-2.1.18/app/assets/javascripts/app/application.js.coffee +0 -9
- data/testing-with-2.1.18/app/assets/javascripts/app/google_analytics.js.coffee +0 -5
- data/testing-with-2.1.18/app/assets/javascripts/ckeditor/config.js +0 -130
- data/testing-with-2.1.18/app/assets/javascripts/errors/application.js.coffee +0 -1
- data/testing-with-2.1.18/app/assets/javascripts/errors/errors.js +0 -113
- data/testing-with-2.1.18/app/assets/javascripts/vue_admin/index.js +0 -111
- data/testing-with-2.1.18/app/assets/stylesheets/admin/application.scss +0 -48
- data/testing-with-2.1.18/app/assets/stylesheets/admin/bootstrap-file-input/fileinput-rtl.scss +0 -133
- data/testing-with-2.1.18/app/assets/stylesheets/admin/bootstrap-file-input/fileinput.scss +0 -760
- data/testing-with-2.1.18/app/assets/stylesheets/admin/bootstrap-file-input/themes/explorer-fa/theme.scss +0 -213
- data/testing-with-2.1.18/app/assets/stylesheets/admin/bootstrap-file-input/themes/explorer-fas/theme.scss +0 -213
- data/testing-with-2.1.18/app/assets/stylesheets/admin/bootstrap-file-input/themes/explorer/theme.scss +0 -213
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/comment/comment.js +0 -209
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/comment/continuecomment.js +0 -78
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/dialog/dialog.css +0 -32
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/dialog/dialog.js +0 -161
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/autorefresh.js +0 -47
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/fullscreen.css +0 -6
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/fullscreen.js +0 -41
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/panel.js +0 -123
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/placeholder.js +0 -63
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/display/rulers.js +0 -51
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/closebrackets.js +0 -194
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/closetag.js +0 -175
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/continuelist.js +0 -89
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/matchbrackets.js +0 -145
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/matchtags.js +0 -66
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/edit/trailingspace.js +0 -27
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/brace-fold.js +0 -105
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/comment-fold.js +0 -59
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/foldcode.js +0 -152
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/foldgutter.css +0 -20
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/foldgutter.js +0 -146
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/indent-fold.js +0 -48
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/markdown-fold.js +0 -49
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/fold/xml-fold.js +0 -184
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/anyword-hint.js +0 -41
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/css-hint.js +0 -60
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/html-hint.js +0 -348
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/javascript-hint.js +0 -157
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/show-hint.css +0 -36
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/show-hint.js +0 -433
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/sql-hint.js +0 -299
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/hint/xml-hint.js +0 -110
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/scroll/annotatescrollbar.js +0 -122
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/scroll/scrollpastend.js +0 -48
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/scroll/simplescrollbars.css +0 -66
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/scroll/simplescrollbars.js +0 -152
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/jump-to-line.js +0 -49
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/match-highlighter.js +0 -165
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/matchesonscrollbar.css +0 -8
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/matchesonscrollbar.js +0 -97
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/search.js +0 -252
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/addon/search/searchcursor.js +0 -293
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/codemirror.css +0 -366
- data/testing-with-2.1.18/app/assets/stylesheets/admin/codemirror/theme/monokai.css +0 -41
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/layouts/_footer.scss +0 -5
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/layouts/_settings.scss +0 -51
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/navigation/_navbar.scss +0 -187
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/navigation/_sidebar.scss +0 -207
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/navigation/_turbolinks.scss +0 -4
- data/testing-with-2.1.18/app/assets/stylesheets/admin/components/paginator/_paginator.scss +0 -53
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/boxicons.css +0 -2918
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/fonts.css +0 -8
- data/testing-with-2.1.18/app/assets/stylesheets/admin/fonts-and-icons/icons.css +0 -778
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_appearance.scss +0 -5
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_bootstrap-colorpicker.scss +0 -269
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_customize.scss +0 -22
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_datepicker.scss +0 -1086
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_devise.scss +0 -189
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_files.scss +0 -229
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_form.scss +0 -190
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_index.scss +0 -466
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_listing.scss +0 -40
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_preloader.scss +0 -224
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_rockets.scss +0 -13
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_roles.scss +0 -3
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_search.scss +0 -244
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_show.scss +0 -23
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_switchs.scss +0 -143
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_themes.scss +0 -45
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_timepicker.scss +0 -14
- data/testing-with-2.1.18/app/assets/stylesheets/admin/pages/_user.scss +0 -6
- data/testing-with-2.1.18/app/assets/stylesheets/admin/utils/_base.scss +0 -65
- data/testing-with-2.1.18/app/assets/stylesheets/admin/utils/_mixins.scss +0 -26
- data/testing-with-2.1.18/app/assets/stylesheets/admin/utils/_theme.scss +0 -124
- data/testing-with-2.1.18/app/assets/stylesheets/admin/utils/_variables.scss +0 -109
- data/testing-with-2.1.18/app/assets/stylesheets/app/application.scss +0 -30
- data/testing-with-2.1.18/app/assets/stylesheets/app/base/_base_project.scss +0 -17
- data/testing-with-2.1.18/app/assets/stylesheets/app/base/_typography.scss +0 -1
- data/testing-with-2.1.18/app/assets/stylesheets/app/components/_buttons.scss +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/components/_inputs.scss +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/components/_navbar.scss +0 -21
- data/testing-with-2.1.18/app/assets/stylesheets/app/layout/_container.scss +0 -0
- data/testing-with-2.1.18/app/assets/stylesheets/app/layout/_footer.scss +0 -15
- data/testing-with-2.1.18/app/assets/stylesheets/app/layout/_header.scss +0 -39
- data/testing-with-2.1.18/app/assets/stylesheets/app/pages/_front.sass +0 -83
- data/testing-with-2.1.18/app/assets/stylesheets/app/plugins/_bootstrap_override.scss +0 -37
- data/testing-with-2.1.18/app/assets/stylesheets/app/plugins/_font_awesome.scss +0 -2
- data/testing-with-2.1.18/app/assets/stylesheets/app/plugins/_keppler.scss +0 -161
- data/testing-with-2.1.18/app/assets/stylesheets/app/plugins/_npogress.scss +0 -2
- data/testing-with-2.1.18/app/assets/stylesheets/app/utils/_mixins.scss +0 -18
- data/testing-with-2.1.18/app/assets/stylesheets/app/utils/_variables.scss +0 -28
- data/testing-with-2.1.18/app/assets/stylesheets/errors/application.scss +0 -3
- data/testing-with-2.1.18/app/assets/stylesheets/errors/errors.scss +0 -161
- data/testing-with-2.1.18/app/assets/stylesheets/vendor/admin-lte/_skin-blue.scss +0 -141
- data/testing-with-2.1.18/app/assets/stylesheets/vendor/sweetalert2/sweetalert2.scss +0 -11
- data/testing-with-2.1.18/app/controllers/admin/admin_controller.rb +0 -95
- data/testing-with-2.1.18/app/controllers/admin/meta_tags_controller.rb +0 -118
- data/testing-with-2.1.18/app/controllers/admin/permissions_controller.rb +0 -55
- data/testing-with-2.1.18/app/controllers/admin/rockets_controller.rb +0 -95
- data/testing-with-2.1.18/app/controllers/admin/roles_controller.rb +0 -124
- data/testing-with-2.1.18/app/controllers/admin/scripts_controller.rb +0 -104
- data/testing-with-2.1.18/app/controllers/admin/seos_controller.rb +0 -31
- data/testing-with-2.1.18/app/controllers/admin/settings_controller.rb +0 -131
- data/testing-with-2.1.18/app/controllers/admin/users_controller.rb +0 -122
- data/testing-with-2.1.18/app/controllers/app/app_controller.rb +0 -38
- data/testing-with-2.1.18/app/controllers/app/front_controller.rb +0 -8
- data/testing-with-2.1.18/app/controllers/application_controller.rb +0 -151
- data/testing-with-2.1.18/app/controllers/concerns/.keep +0 -0
- data/testing-with-2.1.18/app/controllers/concerns/devise_params.rb +0 -33
- data/testing-with-2.1.18/app/controllers/concerns/mailer_config.rb +0 -37
- data/testing-with-2.1.18/app/controllers/concerns/object_query.rb +0 -50
- data/testing-with-2.1.18/app/controllers/concerns/settings.rb +0 -105
- data/testing-with-2.1.18/app/controllers/devise/sessions_controller.rb +0 -108
- data/testing-with-2.1.18/app/controllers/errors_controller.rb +0 -30
- data/testing-with-2.1.18/app/helpers/admin_helper.rb +0 -138
- data/testing-with-2.1.18/app/helpers/application_helper.rb +0 -33
- data/testing-with-2.1.18/app/helpers/fronts_helper.rb +0 -38
- data/testing-with-2.1.18/app/helpers/rockets_helper.rb +0 -8
- data/testing-with-2.1.18/app/helpers/roles_helper.rb +0 -5
- data/testing-with-2.1.18/app/helpers/scaffolds_helper.rb +0 -5
- data/testing-with-2.1.18/app/inputs/keppler_boolean_input.rb +0 -52
- data/testing-with-2.1.18/app/inputs/keppler_file_input.rb +0 -124
- data/testing-with-2.1.18/app/mailers/.keep +0 -0
- data/testing-with-2.1.18/app/mailers/application_mailer.rb +0 -42
- data/testing-with-2.1.18/app/models/.keep +0 -0
- data/testing-with-2.1.18/app/models/appearance.rb +0 -7
- data/testing-with-2.1.18/app/models/application_record.rb +0 -6
- data/testing-with-2.1.18/app/models/concerns/.keep +0 -0
- data/testing-with-2.1.18/app/models/concerns/activity_history.rb +0 -11
- data/testing-with-2.1.18/app/models/concerns/clone_record.rb +0 -14
- data/testing-with-2.1.18/app/models/concerns/downloadable.rb +0 -16
- data/testing-with-2.1.18/app/models/concerns/searchable.rb +0 -27
- data/testing-with-2.1.18/app/models/concerns/sortable.rb +0 -13
- data/testing-with-2.1.18/app/models/concerns/uploadable.rb +0 -13
- data/testing-with-2.1.18/app/models/front.rb +0 -5
- data/testing-with-2.1.18/app/models/google_analytics_setting.rb +0 -6
- data/testing-with-2.1.18/app/models/meta_tag.rb +0 -54
- data/testing-with-2.1.18/app/models/permission.rb +0 -6
- data/testing-with-2.1.18/app/models/rocket.rb +0 -105
- data/testing-with-2.1.18/app/models/role.rb +0 -134
- data/testing-with-2.1.18/app/models/script.rb +0 -21
- data/testing-with-2.1.18/app/models/seo.rb +0 -49
- data/testing-with-2.1.18/app/models/setting.rb +0 -19
- data/testing-with-2.1.18/app/models/smtp_setting.rb +0 -7
- data/testing-with-2.1.18/app/models/social_account.rb +0 -6
- data/testing-with-2.1.18/app/models/user.rb +0 -75
- data/testing-with-2.1.18/app/policies/application_policy.rb +0 -18
- data/testing-with-2.1.18/app/policies/controller_policy.rb +0 -59
- data/testing-with-2.1.18/app/policies/meta_tag_policy.rb +0 -11
- data/testing-with-2.1.18/app/policies/permission_policy.rb +0 -23
- data/testing-with-2.1.18/app/policies/rocket_policy.rb +0 -11
- data/testing-with-2.1.18/app/policies/role_policy.rb +0 -31
- data/testing-with-2.1.18/app/policies/script_policy.rb +0 -11
- data/testing-with-2.1.18/app/policies/seo_policy.rb +0 -23
- data/testing-with-2.1.18/app/policies/setting_policy.rb +0 -15
- data/testing-with-2.1.18/app/policies/user_policy.rb +0 -19
- data/testing-with-2.1.18/app/services/admin/appearance_service.rb +0 -49
- data/testing-with-2.1.18/app/services/admin/git_handler.rb +0 -28
- data/testing-with-2.1.18/app/uploaders/attachment_uploader.rb +0 -61
- data/testing-with-2.1.18/app/uploaders/ckeditor_attachment_file_uploader.rb +0 -38
- data/testing-with-2.1.18/app/uploaders/ckeditor_picture_uploader.rb +0 -49
- data/testing-with-2.1.18/app/uploaders/template_uploader.rb +0 -44
- data/testing-with-2.1.18/app/views/admin/layouts/_footer.html.haml +0 -0
- data/testing-with-2.1.18/app/views/admin/layouts/_git_info.html.haml +0 -13
- data/testing-with-2.1.18/app/views/admin/layouts/_head.html.haml +0 -7
- data/testing-with-2.1.18/app/views/admin/layouts/_keppler_boolean_script.haml +0 -12
- data/testing-with-2.1.18/app/views/admin/layouts/_listing_preloader.haml +0 -4
- data/testing-with-2.1.18/app/views/admin/layouts/_messages.html.haml +0 -4
- data/testing-with-2.1.18/app/views/admin/layouts/_navigation.html.haml +0 -59
- data/testing-with-2.1.18/app/views/admin/layouts/_preloader.html.haml +0 -14
- data/testing-with-2.1.18/app/views/admin/layouts/_sidebar.html.haml +0 -83
- data/testing-with-2.1.18/app/views/admin/layouts/application.html.haml +0 -23
- data/testing-with-2.1.18/app/views/admin/layouts/index/remote_messages.js.haml +0 -9
- data/testing-with-2.1.18/app/views/admin/meta_tags/_description.html.haml +0 -13
- data/testing-with-2.1.18/app/views/admin/meta_tags/_form.html.haml +0 -35
- data/testing-with-2.1.18/app/views/admin/meta_tags/_listing.html.haml +0 -40
- data/testing-with-2.1.18/app/views/admin/meta_tags/edit.html.haml +0 -2
- data/testing-with-2.1.18/app/views/admin/meta_tags/index.html.haml +0 -69
- data/testing-with-2.1.18/app/views/admin/meta_tags/new.html.haml +0 -2
- data/testing-with-2.1.18/app/views/admin/meta_tags/reload.js.haml +0 -5
- data/testing-with-2.1.18/app/views/admin/meta_tags/show.html.haml +0 -28
- data/testing-with-2.1.18/app/views/admin/permissions/_switch.html.haml +0 -13
- data/testing-with-2.1.18/app/views/admin/permissions/add.html.haml +0 -95
- data/testing-with-2.1.18/app/views/admin/permissions/create.html.haml +0 -0
- data/testing-with-2.1.18/app/views/admin/permissions/create.js.erb +0 -2
- data/testing-with-2.1.18/app/views/admin/permissions/show.js.erb +0 -2
- data/testing-with-2.1.18/app/views/admin/permissions/toggle_permissions.js.erb +0 -6
- data/testing-with-2.1.18/app/views/admin/rockets/_create_rocket.haml +0 -61
- data/testing-with-2.1.18/app/views/admin/rockets/_install_rocket.haml +0 -28
- data/testing-with-2.1.18/app/views/admin/rockets/rockets.haml +0 -54
- data/testing-with-2.1.18/app/views/admin/roles/_description.html.haml +0 -13
- data/testing-with-2.1.18/app/views/admin/roles/_form.html.haml +0 -27
- data/testing-with-2.1.18/app/views/admin/roles/_listing.html.haml +0 -42
- data/testing-with-2.1.18/app/views/admin/roles/_switch.html.haml +0 -24
- data/testing-with-2.1.18/app/views/admin/roles/edit.html.haml +0 -1
- data/testing-with-2.1.18/app/views/admin/roles/index.html.haml +0 -64
- data/testing-with-2.1.18/app/views/admin/roles/new.html.haml +0 -1
- data/testing-with-2.1.18/app/views/admin/roles/reload.js.haml +0 -5
- data/testing-with-2.1.18/app/views/admin/roles/show.html.haml +0 -29
- data/testing-with-2.1.18/app/views/admin/scripts/_description.html.haml +0 -13
- data/testing-with-2.1.18/app/views/admin/scripts/_form.html.haml +0 -30
- data/testing-with-2.1.18/app/views/admin/scripts/_listing.html.haml +0 -40
- data/testing-with-2.1.18/app/views/admin/scripts/edit.html.haml +0 -1
- data/testing-with-2.1.18/app/views/admin/scripts/index.html.haml +0 -70
- data/testing-with-2.1.18/app/views/admin/scripts/new.html.haml +0 -1
- data/testing-with-2.1.18/app/views/admin/scripts/reload.js.haml +0 -5
- data/testing-with-2.1.18/app/views/admin/scripts/show.html.haml +0 -28
- data/testing-with-2.1.18/app/views/admin/seos/robots.html.haml +0 -35
- data/testing-with-2.1.18/app/views/admin/seos/sitemap.html.haml +0 -36
- data/testing-with-2.1.18/app/views/admin/settings/_form.html.haml +0 -10
- data/testing-with-2.1.18/app/views/admin/settings/components/_preview.html.haml +0 -30
- data/testing-with-2.1.18/app/views/admin/settings/edit.html.haml +0 -4
- data/testing-with-2.1.18/app/views/admin/settings/fields/_appearance.html.haml +0 -64
- data/testing-with-2.1.18/app/views/admin/settings/fields/_basic_information.html.haml +0 -40
- data/testing-with-2.1.18/app/views/admin/settings/fields/_email_setting.html.haml +0 -18
- data/testing-with-2.1.18/app/views/admin/settings/fields/_google_analytics_setting.html.haml +0 -21
- data/testing-with-2.1.18/app/views/admin/settings/fields/_social_accounts.html.haml +0 -43
- data/testing-with-2.1.18/app/views/admin/users/_description.html.haml +0 -13
- data/testing-with-2.1.18/app/views/admin/users/_form.html.haml +0 -45
- data/testing-with-2.1.18/app/views/admin/users/_listing.html.haml +0 -47
- data/testing-with-2.1.18/app/views/admin/users/delete_avatar.js.haml +0 -3
- data/testing-with-2.1.18/app/views/admin/users/edit.html.haml +0 -1
- data/testing-with-2.1.18/app/views/admin/users/filter_by_role.js.erb +0 -9
- data/testing-with-2.1.18/app/views/admin/users/index.html.haml +0 -69
- data/testing-with-2.1.18/app/views/admin/users/new.html.haml +0 -1
- data/testing-with-2.1.18/app/views/admin/users/reload.js.haml +0 -5
- data/testing-with-2.1.18/app/views/admin/users/show.html.haml +0 -34
- data/testing-with-2.1.18/app/views/app/front/index.html.haml +0 -223
- data/testing-with-2.1.18/app/views/app/front/message.haml +0 -1
- data/testing-with-2.1.18/app/views/app/layouts/_footer.html.haml +0 -3
- data/testing-with-2.1.18/app/views/app/layouts/_google_analytics.html.haml +0 -13
- data/testing-with-2.1.18/app/views/app/layouts/_head.html.haml +0 -15
- data/testing-with-2.1.18/app/views/app/layouts/_messages.html.haml +0 -6
- data/testing-with-2.1.18/app/views/app/layouts/_meta_tags.html.haml +0 -40
- data/testing-with-2.1.18/app/views/app/layouts/_navigation.html.haml +0 -13
- data/testing-with-2.1.18/app/views/app/layouts/_navigation_links.html.haml +0 -6
- data/testing-with-2.1.18/app/views/app/layouts/application.html.haml +0 -10
- data/testing-with-2.1.18/app/views/application_mailer/testing.html.haml +0 -1
- data/testing-with-2.1.18/app/views/devise/confirmations/new.html.erb +0 -16
- data/testing-with-2.1.18/app/views/devise/mailer/reset_password_instructions.html.haml +0 -6
- data/testing-with-2.1.18/app/views/devise/passwords/edit.html.haml +0 -31
- data/testing-with-2.1.18/app/views/devise/passwords/new.html.haml +0 -27
- data/testing-with-2.1.18/app/views/devise/registrations/edit.html.erb +0 -48
- data/testing-with-2.1.18/app/views/devise/registrations/new.html.erb +0 -19
- data/testing-with-2.1.18/app/views/devise/sessions/new.html.haml +0 -35
- data/testing-with-2.1.18/app/views/devise/shared/_links.html.erb +0 -21
- data/testing-with-2.1.18/app/views/errors/internal_server_error.html.haml +0 -50
- data/testing-with-2.1.18/app/views/errors/not_authorized.html.haml +0 -76
- data/testing-with-2.1.18/app/views/errors/not_found.html.haml +0 -101
- data/testing-with-2.1.18/app/views/errors/unprocessable.html.haml +0 -50
- data/testing-with-2.1.18/app/views/kaminari/_first_page.html.haml +0 -11
- data/testing-with-2.1.18/app/views/kaminari/_gap.html.haml +0 -8
- data/testing-with-2.1.18/app/views/kaminari/_last_page.html.haml +0 -11
- data/testing-with-2.1.18/app/views/kaminari/_next_page.html.haml +0 -11
- data/testing-with-2.1.18/app/views/kaminari/_page.html.haml +0 -10
- data/testing-with-2.1.18/app/views/kaminari/_paginator.html.haml +0 -18
- data/testing-with-2.1.18/app/views/kaminari/_prev_page.html.haml +0 -11
- data/testing-with-2.1.18/app/views/layouts/errors/_head.html.haml +0 -3
- data/testing-with-2.1.18/app/views/layouts/errors/application.html.haml +0 -11
- data/testing-with-2.1.18/app/views/layouts/mailers/mailer.html.haml +0 -3
- data/testing-with-2.1.18/app/views/layouts/mailers/mailer.text.haml +0 -1
- data/testing-with-2.1.18/app/views/layouts/templates/application.html.haml +0 -1
- data/testing-with-2.1.18/app/views/public_activity/layout/_create.html.haml +0 -44
- data/testing-with-2.1.18/app/views/public_activity/layout/_destroy.html.haml +0 -15
- data/testing-with-2.1.18/app/views/public_activity/layout/_update.html.haml +0 -44
- data/testing-with-2.1.18/app/views/public_activity/session/_create.html.haml +0 -13
- data/testing-with-2.1.18/app/views/public_activity/session/_destroy.html.haml +0 -13
- data/testing-with-2.1.18/app/views/templates/kaminari/_first_page.html.haml +0 -9
- data/testing-with-2.1.18/app/views/templates/kaminari/_gap.html.haml +0 -8
- data/testing-with-2.1.18/app/views/templates/kaminari/_last_page.html.haml +0 -9
- data/testing-with-2.1.18/app/views/templates/kaminari/_next_page.html.haml +0 -9
- data/testing-with-2.1.18/app/views/templates/kaminari/_page.html.haml +0 -10
- data/testing-with-2.1.18/app/views/templates/kaminari/_paginator.html.haml +0 -18
- data/testing-with-2.1.18/app/views/templates/kaminari/_prev_page.html.haml +0 -9
- data/testing-with-2.1.18/bin/bundle +0 -3
- data/testing-with-2.1.18/bin/rails +0 -4
- data/testing-with-2.1.18/bin/rake +0 -4
- data/testing-with-2.1.18/bin/setup +0 -29
- data/testing-with-2.1.18/bin/spring +0 -15
- data/testing-with-2.1.18/bin/update +0 -31
- data/testing-with-2.1.18/bin/yarn +0 -11
- data/testing-with-2.1.18/config.ru +0 -4
- data/testing-with-2.1.18/config/application.rb +0 -46
- data/testing-with-2.1.18/config/attachments.yml +0 -24
- data/testing-with-2.1.18/config/boot.rb +0 -7
- data/testing-with-2.1.18/config/circleci/db_config.yml +0 -51
- data/testing-with-2.1.18/config/database.yml +0 -25
- data/testing-with-2.1.18/config/environment.rb +0 -10
- data/testing-with-2.1.18/config/environments/development.rb +0 -61
- data/testing-with-2.1.18/config/environments/production.rb +0 -109
- data/testing-with-2.1.18/config/environments/test.rb +0 -45
- data/testing-with-2.1.18/config/gaAuth/gauth_key.p12 +0 -0
- data/testing-with-2.1.18/config/initializers/assets.rb +0 -14
- data/testing-with-2.1.18/config/initializers/carrierwave.rb +0 -12
- data/testing-with-2.1.18/config/initializers/compression.rb +0 -47
- data/testing-with-2.1.18/config/initializers/cookies_serializer.rb +0 -3
- data/testing-with-2.1.18/config/initializers/date_formats.rb +0 -2
- data/testing-with-2.1.18/config/initializers/devise.rb +0 -259
- data/testing-with-2.1.18/config/initializers/filter_parameter_logging.rb +0 -5
- data/testing-with-2.1.18/config/initializers/inflections.rb +0 -16
- data/testing-with-2.1.18/config/initializers/keppler_configuration.rb +0 -9
- data/testing-with-2.1.18/config/initializers/mime_types.rb +0 -6
- data/testing-with-2.1.18/config/initializers/paginate_kaminari_configuration.rb +0 -12
- data/testing-with-2.1.18/config/initializers/ransack.rb +0 -7
- data/testing-with-2.1.18/config/initializers/rolify.rb +0 -10
- data/testing-with-2.1.18/config/initializers/route_traslator.rb +0 -3
- data/testing-with-2.1.18/config/initializers/session_store.rb +0 -5
- data/testing-with-2.1.18/config/initializers/simple_form.rb +0 -170
- data/testing-with-2.1.18/config/initializers/simple_form_bootstrap.rb +0 -174
- data/testing-with-2.1.18/config/initializers/simple_form_components.rb +0 -61
- data/testing-with-2.1.18/config/initializers/time_formats.rb +0 -2
- data/testing-with-2.1.18/config/initializers/wrap_parameters.rb +0 -15
- data/testing-with-2.1.18/config/jshint.yml +0 -21
- data/testing-with-2.1.18/config/locales/devise.en.yml +0 -61
- data/testing-with-2.1.18/config/locales/devise.es.yml +0 -62
- data/testing-with-2.1.18/config/locales/en.yml +0 -477
- data/testing-with-2.1.18/config/locales/es.yml +0 -510
- data/testing-with-2.1.18/config/locales/routes.en.yml +0 -4
- data/testing-with-2.1.18/config/locales/routes.es.yml +0 -5
- data/testing-with-2.1.18/config/locales/simple_form.en.yml +0 -46
- data/testing-with-2.1.18/config/locales/simple_form.es.yml +0 -96
- data/testing-with-2.1.18/config/locales/social_share_button.es.yml +0 -10
- data/testing-with-2.1.18/config/menu.yml +0 -58
- data/testing-with-2.1.18/config/permissions.yml +0 -39
- data/testing-with-2.1.18/config/puma.rb +0 -56
- data/testing-with-2.1.18/config/roles.yml +0 -2
- data/testing-with-2.1.18/config/routes.rb +0 -191
- data/testing-with-2.1.18/config/settings.yml +0 -30
- data/testing-with-2.1.18/config/sitemap.rb +0 -30
- data/testing-with-2.1.18/config/spring.rb +0 -6
- data/testing-with-2.1.18/db/migrate/20140812203549_devise_create_users.rb +0 -50
- data/testing-with-2.1.18/db/migrate/20140812210925_rolify_create_roles.rb +0 -21
- data/testing-with-2.1.18/db/migrate/20151221173228_create_activities.rb +0 -23
- data/testing-with-2.1.18/db/migrate/20160122201215_create_settings.rb +0 -15
- data/testing-with-2.1.18/db/migrate/20160126141856_create_smtp_settings.rb +0 -15
- data/testing-with-2.1.18/db/migrate/20160128131802_create_scripts.rb +0 -12
- data/testing-with-2.1.18/db/migrate/20160128151351_create_google_analytics_settings.rb +0 -13
- data/testing-with-2.1.18/db/migrate/20160128193740_create_social_accounts.rb +0 -26
- data/testing-with-2.1.18/db/migrate/20160201134918_create_meta_tags.rb +0 -13
- data/testing-with-2.1.18/db/migrate/20160201210520_create_appearances.rb +0 -14
- data/testing-with-2.1.18/db/migrate/20171225023933_create_scaffolds.rb +0 -10
- data/testing-with-2.1.18/db/migrate/20180503174351_create_permissions.rb +0 -11
- data/testing-with-2.1.18/db/migrate/20180717160308_create_keppler_frontend_views.keppler_frontend.rb +0 -17
- data/testing-with-2.1.18/db/migrate/20180730194655_create_keppler_frontend_themes.rb +0 -13
- data/testing-with-2.1.18/db/migrate/20180802184429_create_keppler_capsules_capsules.keppler_capsules.rb +0 -13
- data/testing-with-2.1.18/db/migrate/20180802184430_create_keppler_capsules_capsule_fields.keppler_capsules.rb +0 -12
- data/testing-with-2.1.18/db/migrate/20180806192023_create_keppler_capsules_capsule_validations.keppler_capsules.rb +0 -13
- data/testing-with-2.1.18/db/migrate/20180806203410_create_keppler_frontend_partials.keppler_frontend.rb +0 -13
- data/testing-with-2.1.18/db/migrate/20180807204310_create_keppler_capsules_capsule_associations.keppler_capsules.rb +0 -13
- data/testing-with-2.1.18/db/migrate/20180813160624_create_keppler_languages_languages.keppler_languages.rb +0 -14
- data/testing-with-2.1.18/db/migrate/20180813160625_create_keppler_languages_fields.keppler_languages.rb +0 -14
- data/testing-with-2.1.18/db/migrate/20180818073305_create_active_storage_tables.active_storage.rb +0 -26
- data/testing-with-2.1.18/db/migrate/20180827120841_create_keppler_frontend_callback_functions.keppler_frontend.rb +0 -14
- data/testing-with-2.1.18/db/migrate/20180827154329_create_keppler_frontend_view_callbacks.keppler_frontend.rb +0 -12
- data/testing-with-2.1.18/db/migrate/20180827154647_add_position_to_users_table.rb +0 -5
- data/testing-with-2.1.18/db/migrate/20180830153221_create_keppler_frontend_functions.keppler_frontend.rb +0 -14
- data/testing-with-2.1.18/db/migrate/20180830153222_create_keppler_frontend_parameters.keppler_frontend.rb +0 -13
- data/testing-with-2.1.18/db/migrate/20180904144238_create_seos.rb +0 -11
- data/testing-with-2.1.18/db/seeds.rb +0 -162
- data/testing-with-2.1.18/docs/diagrams/keppler_core/config +0 -0
- data/testing-with-2.1.18/docs/diagrams/keppler_frontend/editor/resources_editor.dia +0 -0
- data/testing-with-2.1.18/docs/diagrams/keppler_frontend/views/create_view.dia +0 -0
- data/testing-with-2.1.18/docs/diagrams/keppler_frontend/views/delete_view.dia +0 -0
- data/testing-with-2.1.18/docs/diagrams/keppler_frontend/views/delete_view.dia.autosave +0 -0
- data/testing-with-2.1.18/lib/generators/install_rocket/USAGE +0 -44
- data/testing-with-2.1.18/lib/generators/install_rocket/install_rocket_generator.rb +0 -107
- data/testing-with-2.1.18/lib/generators/keppler_add_module/USAGE +0 -5
- data/testing-with-2.1.18/lib/generators/keppler_add_module/keppler_add_module_generator.rb +0 -324
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/controllers/controller.rb +0 -106
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/models/model.rb +0 -29
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/policies/policy.rb +0 -11
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/_description.haml +0 -13
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/_form.haml +0 -49
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/_listing.haml +0 -58
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/edit.haml +0 -1
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/index.haml +0 -70
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/new.haml +0 -1
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/reload.js.haml +0 -5
- data/testing-with-2.1.18/lib/generators/keppler_add_module/templates/views/show.haml +0 -35
- data/testing-with-2.1.18/lib/generators/keppler_delete_module/USAGE +0 -5
- data/testing-with-2.1.18/lib/generators/keppler_delete_module/keppler_delete_module_generator.rb +0 -305
- data/testing-with-2.1.18/lib/generators/keppler_front/keppler_front_generator.rb +0 -139
- data/testing-with-2.1.18/lib/generators/keppler_front/templates/controllers/controller.rb +0 -17
- data/testing-with-2.1.18/lib/generators/keppler_front/templates/views/template.html.haml +0 -225
- data/testing-with-2.1.18/lib/generators/keppler_relation/keppler_relation_generator.rb +0 -219
- data/testing-with-2.1.18/lib/generators/new_rocket/USAGE +0 -44
- data/testing-with-2.1.18/lib/generators/new_rocket/new_rocket_generator.rb +0 -258
- data/testing-with-2.1.18/lib/generators/uninstall_rocket/USAGE +0 -32
- data/testing-with-2.1.18/lib/generators/uninstall_rocket/uninstall_rocket_generator.rb +0 -140
- data/testing-with-2.1.18/lib/keppler_configuration.rb +0 -12
- data/testing-with-2.1.18/lib/plugins/config/locales/en.yml +0 -16
- data/testing-with-2.1.18/lib/plugins/config/locales/es.yml +0 -16
- data/testing-with-2.1.18/lib/plugins/config/menu.yml +0 -16
- data/testing-with-2.1.18/lib/plugins/config/permissions.yml +0 -1
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/keppler_scaffold_generator.rb +0 -223
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/controllers/controller.rb +0 -107
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/models/model.rb +0 -29
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/policies/policy.rb +0 -14
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/_description.haml +0 -13
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/_form.haml +0 -49
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/_listing.haml +0 -58
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/edit.haml +0 -1
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/index.haml +0 -69
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/new.haml +0 -1
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/reload.js.haml +0 -5
- data/testing-with-2.1.18/lib/plugins/generators/keppler_scaffold/templates/views/show.haml +0 -35
- data/testing-with-2.1.18/lib/plugins/install.rb +0 -151
- data/testing-with-2.1.18/lib/plugins/layouts/application.html.haml +0 -23
- data/testing-with-2.1.18/lib/templates/haml/scaffold/_form.html.haml +0 -10
@@ -1,68 +0,0 @@
|
|
1
|
-
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
2
|
-
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
3
|
-
|
4
|
-
(function (mod) {
|
5
|
-
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
6
|
-
mod(require("../../lib/codemirror"), require("../yaml/yaml"))
|
7
|
-
else if (typeof define == "function" && define.amd) // AMD
|
8
|
-
define(["../../lib/codemirror", "../yaml/yaml"], mod)
|
9
|
-
else // Plain browser env
|
10
|
-
mod(CodeMirror)
|
11
|
-
})(function (CodeMirror) {
|
12
|
-
|
13
|
-
var START = 0, FRONTMATTER = 1, BODY = 2
|
14
|
-
|
15
|
-
// a mixed mode for Markdown text with an optional YAML front matter
|
16
|
-
CodeMirror.defineMode("yaml-frontmatter", function (config, parserConfig) {
|
17
|
-
var yamlMode = CodeMirror.getMode(config, "yaml")
|
18
|
-
var innerMode = CodeMirror.getMode(config, parserConfig && parserConfig.base || "gfm")
|
19
|
-
|
20
|
-
function curMode(state) {
|
21
|
-
return state.state == BODY ? innerMode : yamlMode
|
22
|
-
}
|
23
|
-
|
24
|
-
return {
|
25
|
-
startState: function () {
|
26
|
-
return {
|
27
|
-
state: START,
|
28
|
-
inner: CodeMirror.startState(yamlMode)
|
29
|
-
}
|
30
|
-
},
|
31
|
-
copyState: function (state) {
|
32
|
-
return {
|
33
|
-
state: state.state,
|
34
|
-
inner: CodeMirror.copyState(curMode(state), state.inner)
|
35
|
-
}
|
36
|
-
},
|
37
|
-
token: function (stream, state) {
|
38
|
-
if (state.state == START) {
|
39
|
-
if (stream.match(/---/, false)) {
|
40
|
-
state.state = FRONTMATTER
|
41
|
-
return yamlMode.token(stream, state.inner)
|
42
|
-
} else {
|
43
|
-
state.state = BODY
|
44
|
-
state.inner = CodeMirror.startState(innerMode)
|
45
|
-
return innerMode.token(stream, state.inner)
|
46
|
-
}
|
47
|
-
} else if (state.state == FRONTMATTER) {
|
48
|
-
var end = stream.sol() && stream.match(/---/, false)
|
49
|
-
var style = yamlMode.token(stream, state.inner)
|
50
|
-
if (end) {
|
51
|
-
state.state = BODY
|
52
|
-
state.inner = CodeMirror.startState(innerMode)
|
53
|
-
}
|
54
|
-
return style
|
55
|
-
} else {
|
56
|
-
return innerMode.token(stream, state.inner)
|
57
|
-
}
|
58
|
-
},
|
59
|
-
innerMode: function (state) {
|
60
|
-
return {mode: curMode(state), state: state.inner}
|
61
|
-
},
|
62
|
-
blankLine: function (state) {
|
63
|
-
var mode = curMode(state)
|
64
|
-
if (mode.blankLine) return mode.blankLine(state.inner)
|
65
|
-
}
|
66
|
-
}
|
67
|
-
})
|
68
|
-
});
|
@@ -1,119 +0,0 @@
|
|
1
|
-
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
2
|
-
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
3
|
-
|
4
|
-
(function(mod) {
|
5
|
-
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
6
|
-
mod(require("../../lib/codemirror"));
|
7
|
-
else if (typeof define == "function" && define.amd) // AMD
|
8
|
-
define(["../../lib/codemirror"], mod);
|
9
|
-
else // Plain browser env
|
10
|
-
mod(CodeMirror);
|
11
|
-
})(function(CodeMirror) {
|
12
|
-
"use strict";
|
13
|
-
|
14
|
-
CodeMirror.defineMode("yaml", function() {
|
15
|
-
|
16
|
-
var cons = ['true', 'false', 'on', 'off', 'yes', 'no'];
|
17
|
-
var keywordRegex = new RegExp("\\b(("+cons.join(")|(")+"))$", 'i');
|
18
|
-
|
19
|
-
return {
|
20
|
-
token: function(stream, state) {
|
21
|
-
var ch = stream.peek();
|
22
|
-
var esc = state.escaped;
|
23
|
-
state.escaped = false;
|
24
|
-
/* comments */
|
25
|
-
if (ch == "#" && (stream.pos == 0 || /\s/.test(stream.string.charAt(stream.pos - 1)))) {
|
26
|
-
stream.skipToEnd();
|
27
|
-
return "comment";
|
28
|
-
}
|
29
|
-
|
30
|
-
if (stream.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))
|
31
|
-
return "string";
|
32
|
-
|
33
|
-
if (state.literal && stream.indentation() > state.keyCol) {
|
34
|
-
stream.skipToEnd(); return "string";
|
35
|
-
} else if (state.literal) { state.literal = false; }
|
36
|
-
if (stream.sol()) {
|
37
|
-
state.keyCol = 0;
|
38
|
-
state.pair = false;
|
39
|
-
state.pairStart = false;
|
40
|
-
/* document start */
|
41
|
-
if(stream.match(/---/)) { return "def"; }
|
42
|
-
/* document end */
|
43
|
-
if (stream.match(/\.\.\./)) { return "def"; }
|
44
|
-
/* array list item */
|
45
|
-
if (stream.match(/\s*-\s+/)) { return 'meta'; }
|
46
|
-
}
|
47
|
-
/* inline pairs/lists */
|
48
|
-
if (stream.match(/^(\{|\}|\[|\])/)) {
|
49
|
-
if (ch == '{')
|
50
|
-
state.inlinePairs++;
|
51
|
-
else if (ch == '}')
|
52
|
-
state.inlinePairs--;
|
53
|
-
else if (ch == '[')
|
54
|
-
state.inlineList++;
|
55
|
-
else
|
56
|
-
state.inlineList--;
|
57
|
-
return 'meta';
|
58
|
-
}
|
59
|
-
|
60
|
-
/* list seperator */
|
61
|
-
if (state.inlineList > 0 && !esc && ch == ',') {
|
62
|
-
stream.next();
|
63
|
-
return 'meta';
|
64
|
-
}
|
65
|
-
/* pairs seperator */
|
66
|
-
if (state.inlinePairs > 0 && !esc && ch == ',') {
|
67
|
-
state.keyCol = 0;
|
68
|
-
state.pair = false;
|
69
|
-
state.pairStart = false;
|
70
|
-
stream.next();
|
71
|
-
return 'meta';
|
72
|
-
}
|
73
|
-
|
74
|
-
/* start of value of a pair */
|
75
|
-
if (state.pairStart) {
|
76
|
-
/* block literals */
|
77
|
-
if (stream.match(/^\s*(\||\>)\s*/)) { state.literal = true; return 'meta'; };
|
78
|
-
/* references */
|
79
|
-
if (stream.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i)) { return 'variable-2'; }
|
80
|
-
/* numbers */
|
81
|
-
if (state.inlinePairs == 0 && stream.match(/^\s*-?[0-9\.\,]+\s?$/)) { return 'number'; }
|
82
|
-
if (state.inlinePairs > 0 && stream.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/)) { return 'number'; }
|
83
|
-
/* keywords */
|
84
|
-
if (stream.match(keywordRegex)) { return 'keyword'; }
|
85
|
-
}
|
86
|
-
|
87
|
-
/* pairs (associative arrays) -> key */
|
88
|
-
if (!state.pair && stream.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)) {
|
89
|
-
state.pair = true;
|
90
|
-
state.keyCol = stream.indentation();
|
91
|
-
return "atom";
|
92
|
-
}
|
93
|
-
if (state.pair && stream.match(/^:\s*/)) { state.pairStart = true; return 'meta'; }
|
94
|
-
|
95
|
-
/* nothing found, continue */
|
96
|
-
state.pairStart = false;
|
97
|
-
state.escaped = (ch == '\\');
|
98
|
-
stream.next();
|
99
|
-
return null;
|
100
|
-
},
|
101
|
-
startState: function() {
|
102
|
-
return {
|
103
|
-
pair: false,
|
104
|
-
pairStart: false,
|
105
|
-
keyCol: 0,
|
106
|
-
inlinePairs: 0,
|
107
|
-
inlineList: 0,
|
108
|
-
literal: false,
|
109
|
-
escaped: false
|
110
|
-
};
|
111
|
-
},
|
112
|
-
lineComment: "#"
|
113
|
-
};
|
114
|
-
});
|
115
|
-
|
116
|
-
CodeMirror.defineMIME("text/x-yaml", "yaml");
|
117
|
-
CodeMirror.defineMIME("text/yaml", "yaml");
|
118
|
-
|
119
|
-
});
|
@@ -1,152 +0,0 @@
|
|
1
|
-
file_uploader = ->
|
2
|
-
|
3
|
-
$files = []
|
4
|
-
$fileNames = []
|
5
|
-
$fileUploader = $ '.file-uploader'
|
6
|
-
$fileContainer = $ '.file-container'
|
7
|
-
$fileInput = $ '.file-uploader input:file'
|
8
|
-
$fileIcon = $ '.file-icon'
|
9
|
-
$fileText = $ '.file-text'
|
10
|
-
|
11
|
-
if $fileInput.attr('multiple') != undefined
|
12
|
-
$fileUploader.prepend '<ul class="file-list"></ul>'
|
13
|
-
$fileUploader.addClass 'file-multiple'
|
14
|
-
$fileList = $('.file-uploader .file-list')
|
15
|
-
$fileList.append $fileContainer
|
16
|
-
else
|
17
|
-
$fileContainer.append '<p class="file-name"></p>'
|
18
|
-
|
19
|
-
calcSize = (size) ->
|
20
|
-
sizeMap = {
|
21
|
-
1: 'B'
|
22
|
-
2: 'KB'
|
23
|
-
3: 'MB'
|
24
|
-
4: 'GB'
|
25
|
-
}
|
26
|
-
i = 1
|
27
|
-
while size > 999.99
|
28
|
-
size = size / 1024
|
29
|
-
i++
|
30
|
-
size.toFixed(2) + ' ' + sizeMap[i]
|
31
|
-
|
32
|
-
# Display the file to be uploaded.
|
33
|
-
$fileInput.on 'change', (e) ->
|
34
|
-
$fileContainer.css 'background', 'none'
|
35
|
-
$fileContainer.removeClass 'already-uploaded'
|
36
|
-
readURL(this)
|
37
|
-
|
38
|
-
readURL = (input) ->
|
39
|
-
files = input.files
|
40
|
-
if (files && files[0])
|
41
|
-
reader = new FileReader()
|
42
|
-
if $fileInput.attr('multiple') != undefined
|
43
|
-
multiFile(reader, files)
|
44
|
-
else
|
45
|
-
justOneFile(reader, files)
|
46
|
-
|
47
|
-
multiFile = (reader, files) ->
|
48
|
-
[].forEach.call(files, (file) ->
|
49
|
-
reader = new FileReader()
|
50
|
-
reader.onload = (e) ->
|
51
|
-
if typeof file == 'object' and file.toString() == '[object File]'
|
52
|
-
if -1 == $fileNames.indexOf file.name
|
53
|
-
$files.push file
|
54
|
-
$fileNames.push file.name
|
55
|
-
items = $('.file-item').length
|
56
|
-
$fileContainer.before "
|
57
|
-
<li id='file-item-#{items}' class='file-item'
|
58
|
-
data-toggle='tooltip'
|
59
|
-
data-original-title='
|
60
|
-
#{file.name} (#{calcSize file.size}) - #{file.type || 'unknown'}
|
61
|
-
'>
|
62
|
-
</li>
|
63
|
-
"
|
64
|
-
fileItem = $ "#file-item-#{items}"
|
65
|
-
fileItem.append "
|
66
|
-
<div id='file-item-background-#{items}' class='file-item-background'></div>
|
67
|
-
"
|
68
|
-
fileItem.append "
|
69
|
-
<i id='file-icon-delete-#{items}'
|
70
|
-
class='file-icon-delete icon-close item-opacity'></i>
|
71
|
-
"
|
72
|
-
fileBackground = $ "#file-item-background-#{items}"
|
73
|
-
if file.type.includes? 'image'
|
74
|
-
fileBackground.css {
|
75
|
-
'background-image': "url(#{e.target.result})"
|
76
|
-
}
|
77
|
-
# else if f.name.includes('.rocket') # Only for rockets
|
78
|
-
# fileBackground.addClass 'icon-rocket'
|
79
|
-
else if file.type.includes? 'audio'
|
80
|
-
fileBackground.append "<i class='icon-music-tone-alt'></i>"
|
81
|
-
else if file.type.includes? 'video'
|
82
|
-
fileBackground.append "<i class='icon-film'></i>"
|
83
|
-
else if file.type.includes? 'application'
|
84
|
-
fileBackground.append "<i class='icon-notebook'></i>"
|
85
|
-
else if file.type.includes? 'text'
|
86
|
-
fileBackground.append "<i class='icon-doc'></i>"
|
87
|
-
else if file.type.includes? 'font'
|
88
|
-
fileBackground.append "<i class='icon-emotsmile'></i>"
|
89
|
-
else
|
90
|
-
fileBackground.append "<i class='icon-question'></i>"
|
91
|
-
|
92
|
-
$('.file-icon-delete').click ->
|
93
|
-
# console.log this
|
94
|
-
id = this.id.split('-')[3]
|
95
|
-
# # Remove file icon tooltip
|
96
|
-
# $ "##{$('#file-icon-delete-' + id).attr('aria-describedby')}"
|
97
|
-
# .remove()
|
98
|
-
# Remove file tooltip
|
99
|
-
$ "##{$('#file-item-' + id).attr('aria-describedby')}"
|
100
|
-
.remove()
|
101
|
-
# Remove object from DOM
|
102
|
-
$ "#file-item-#{id}"
|
103
|
-
.remove()
|
104
|
-
# Remove file from $files
|
105
|
-
filePos = $files.indexOf $files[id]
|
106
|
-
$files.splice(filePos, 1)
|
107
|
-
# Remove fileName from $fileNames
|
108
|
-
namePos = $fileNames.indexOf $fileNames[id]
|
109
|
-
$fileNames.splice(namePos, 1)
|
110
|
-
|
111
|
-
reader.readAsDataURL(file)
|
112
|
-
)
|
113
|
-
|
114
|
-
justOneFile = (reader, files) ->
|
115
|
-
f = files[0]
|
116
|
-
rocketType = 'KepplerRocket' if f.name.includes('.rocket') # Only for rockets
|
117
|
-
$ '.file-container .file-name'
|
118
|
-
.text "#{f.name} (#{calcSize f.size}) - #{rocketType || f.type || 'unknown'}"
|
119
|
-
|
120
|
-
# File Icon
|
121
|
-
$fileIcon.removeClass().addClass 'file-icon'
|
122
|
-
if rocketType # Only for rockets
|
123
|
-
$fileIcon.addClass 'icon-rocket'
|
124
|
-
else if f.type.includes? 'image'
|
125
|
-
$fileIcon.addClass 'icon-picture'
|
126
|
-
else if f.type.includes? 'audio'
|
127
|
-
$fileIcon.addClass 'icon-music-tone-alt'
|
128
|
-
else if f.type.includes? 'video'
|
129
|
-
$fileIcon.addClass 'icon-film'
|
130
|
-
else if f.type.includes? 'application'
|
131
|
-
$fileIcon.addClass 'icon-notebook'
|
132
|
-
else if f.type.includes? 'text'
|
133
|
-
$fileIcon.addClass 'icon-doc'
|
134
|
-
else if f.type.includes? 'font'
|
135
|
-
$fileIcon.addClass 'icon-emotsmile'
|
136
|
-
else
|
137
|
-
$fileIcon.addClass 'icon-question'
|
138
|
-
|
139
|
-
reader.onload = (e) ->
|
140
|
-
if f.type.includes 'image'
|
141
|
-
$('.file-container').css {
|
142
|
-
'background-image': "url(#{e.target.result})"
|
143
|
-
'background-position': 'center'
|
144
|
-
'background-size': 'contain',
|
145
|
-
'background-repeat': 'no-repeat'
|
146
|
-
}
|
147
|
-
$('.file-container').addClass 'already-uploaded'
|
148
|
-
|
149
|
-
reader.readAsDataURL(files[0])
|
150
|
-
|
151
|
-
$(document).on('turbolinks:load', file_uploader)
|
152
|
-
|
@@ -1,32 +0,0 @@
|
|
1
|
-
function imgPreview() {
|
2
|
-
xOffset = 20; // separacion de la imagen con respecto al puntero en X
|
3
|
-
yOffset = 20; // separacion de la imagen con respecto al puntero en Y
|
4
|
-
imgMargin = 50; // separacion de la imagen con respecto al borde de la pantalla
|
5
|
-
$('.show-row img, .list-row img').hover(function (e) {
|
6
|
-
$('body').append(`<img src='${this.src}' alt='No image source' class='img-show' >`);
|
7
|
-
xImgOffset = $(window).width() - ($('.img-show').width() + imgMargin);
|
8
|
-
yImgOffset = $(window).height() - ($('.img-show').height() + imgMargin); // breakpoint para que la imagen siempre esté visible en la pantalla
|
9
|
-
$('.img-show')
|
10
|
-
.css({
|
11
|
-
'left': ((e.pageX < xImgOffset ? e.pageX : (e.pageY < yImgOffset ? xImgOffset : (e.pageX - ($('.img-show').width() + imgMargin)))) + xOffset) + 'px',
|
12
|
-
'top': ((e.pageY < yImgOffset ? e.pageY : (yImgOffset)) + yOffset) + 'px'
|
13
|
-
})
|
14
|
-
}, function () {
|
15
|
-
$('.img-show').remove();
|
16
|
-
});
|
17
|
-
$('.show-row img, .list-row img').mousemove(function (e) {
|
18
|
-
$('.img-show')
|
19
|
-
.css({
|
20
|
-
'left': ((e.pageX < xImgOffset ? e.pageX : (e.pageY < yImgOffset ? xImgOffset : (e.pageX - ($('.img-show').width() + imgMargin)))) + xOffset) + 'px',
|
21
|
-
'top': ((e.pageY < (yImgOffset) ? e.pageY : (yImgOffset)) + yOffset) + 'px'
|
22
|
-
})
|
23
|
-
});
|
24
|
-
}
|
25
|
-
|
26
|
-
$(document).on('turbolinks:render', function () {
|
27
|
-
imgPreview()
|
28
|
-
})
|
29
|
-
|
30
|
-
$(document).on('turbolinks:load', function () {
|
31
|
-
imgPreview()
|
32
|
-
})
|
@@ -1,1855 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* jscolor - JavaScript Color Picker
|
3
|
-
*
|
4
|
-
* @link http://jscolor.com
|
5
|
-
* @license For open source use: GPLv3
|
6
|
-
* For commercial use: JSColor Commercial License
|
7
|
-
* @author Jan Odvarko
|
8
|
-
* @version 2.0.5
|
9
|
-
*
|
10
|
-
* See usage examples at http://jscolor.com/examples/
|
11
|
-
*/
|
12
|
-
|
13
|
-
|
14
|
-
"use strict";
|
15
|
-
|
16
|
-
|
17
|
-
if (!window.jscolor) { window.jscolor = (function () {
|
18
|
-
|
19
|
-
|
20
|
-
var jsc = {
|
21
|
-
|
22
|
-
|
23
|
-
register : function () {
|
24
|
-
jsc.attachDOMReadyEvent(jsc.init);
|
25
|
-
jsc.attachEvent(document, 'mousedown', jsc.onDocumentMouseDown);
|
26
|
-
jsc.attachEvent(document, 'touchstart', jsc.onDocumentTouchStart);
|
27
|
-
jsc.attachEvent(window, 'resize', jsc.onWindowResize);
|
28
|
-
},
|
29
|
-
|
30
|
-
|
31
|
-
init : function () {
|
32
|
-
if (jsc.jscolor.lookupClass) {
|
33
|
-
jsc.jscolor.installByClassName(jsc.jscolor.lookupClass);
|
34
|
-
}
|
35
|
-
},
|
36
|
-
|
37
|
-
|
38
|
-
tryInstallOnElements : function (elms, className) {
|
39
|
-
var matchClass = new RegExp('(^|\\s)(' + className + ')(\\s*(\\{[^}]*\\})|\\s|$)', 'i');
|
40
|
-
|
41
|
-
for (var i = 0; i < elms.length; i += 1) {
|
42
|
-
if (elms[i].type !== undefined && elms[i].type.toLowerCase() == 'color') {
|
43
|
-
if (jsc.isColorAttrSupported) {
|
44
|
-
// skip inputs of type 'color' if supported by the browser
|
45
|
-
continue;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
var m;
|
49
|
-
if (!elms[i].jscolor && elms[i].className && (m = elms[i].className.match(matchClass))) {
|
50
|
-
var targetElm = elms[i];
|
51
|
-
var optsStr = null;
|
52
|
-
|
53
|
-
var dataOptions = jsc.getDataAttr(targetElm, 'jscolor');
|
54
|
-
if (dataOptions !== null) {
|
55
|
-
optsStr = dataOptions;
|
56
|
-
} else if (m[4]) {
|
57
|
-
optsStr = m[4];
|
58
|
-
}
|
59
|
-
|
60
|
-
var opts = {};
|
61
|
-
if (optsStr) {
|
62
|
-
try {
|
63
|
-
opts = (new Function ('return (' + optsStr + ')'))();
|
64
|
-
} catch(eParseError) {
|
65
|
-
jsc.warn('Error parsing jscolor options: ' + eParseError + ':\n' + optsStr);
|
66
|
-
}
|
67
|
-
}
|
68
|
-
targetElm.jscolor = new jsc.jscolor(targetElm, opts);
|
69
|
-
}
|
70
|
-
}
|
71
|
-
},
|
72
|
-
|
73
|
-
|
74
|
-
isColorAttrSupported : (function () {
|
75
|
-
var elm = document.createElement('input');
|
76
|
-
if (elm.setAttribute) {
|
77
|
-
elm.setAttribute('type', 'color');
|
78
|
-
if (elm.type.toLowerCase() == 'color') {
|
79
|
-
return true;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
return false;
|
83
|
-
})(),
|
84
|
-
|
85
|
-
|
86
|
-
isCanvasSupported : (function () {
|
87
|
-
var elm = document.createElement('canvas');
|
88
|
-
return !!(elm.getContext && elm.getContext('2d'));
|
89
|
-
})(),
|
90
|
-
|
91
|
-
|
92
|
-
fetchElement : function (mixed) {
|
93
|
-
return typeof mixed === 'string' ? document.getElementById(mixed) : mixed;
|
94
|
-
},
|
95
|
-
|
96
|
-
|
97
|
-
isElementType : function (elm, type) {
|
98
|
-
return elm.nodeName.toLowerCase() === type.toLowerCase();
|
99
|
-
},
|
100
|
-
|
101
|
-
|
102
|
-
getDataAttr : function (el, name) {
|
103
|
-
var attrName = 'data-' + name;
|
104
|
-
var attrValue = el.getAttribute(attrName);
|
105
|
-
if (attrValue !== null) {
|
106
|
-
return attrValue;
|
107
|
-
}
|
108
|
-
return null;
|
109
|
-
},
|
110
|
-
|
111
|
-
|
112
|
-
attachEvent : function (el, evnt, func) {
|
113
|
-
if (el.addEventListener) {
|
114
|
-
el.addEventListener(evnt, func, false);
|
115
|
-
} else if (el.attachEvent) {
|
116
|
-
el.attachEvent('on' + evnt, func);
|
117
|
-
}
|
118
|
-
},
|
119
|
-
|
120
|
-
|
121
|
-
detachEvent : function (el, evnt, func) {
|
122
|
-
if (el.removeEventListener) {
|
123
|
-
el.removeEventListener(evnt, func, false);
|
124
|
-
} else if (el.detachEvent) {
|
125
|
-
el.detachEvent('on' + evnt, func);
|
126
|
-
}
|
127
|
-
},
|
128
|
-
|
129
|
-
|
130
|
-
_attachedGroupEvents : {},
|
131
|
-
|
132
|
-
|
133
|
-
attachGroupEvent : function (groupName, el, evnt, func) {
|
134
|
-
if (!jsc._attachedGroupEvents.hasOwnProperty(groupName)) {
|
135
|
-
jsc._attachedGroupEvents[groupName] = [];
|
136
|
-
}
|
137
|
-
jsc._attachedGroupEvents[groupName].push([el, evnt, func]);
|
138
|
-
jsc.attachEvent(el, evnt, func);
|
139
|
-
},
|
140
|
-
|
141
|
-
|
142
|
-
detachGroupEvents : function (groupName) {
|
143
|
-
if (jsc._attachedGroupEvents.hasOwnProperty(groupName)) {
|
144
|
-
for (var i = 0; i < jsc._attachedGroupEvents[groupName].length; i += 1) {
|
145
|
-
var evt = jsc._attachedGroupEvents[groupName][i];
|
146
|
-
jsc.detachEvent(evt[0], evt[1], evt[2]);
|
147
|
-
}
|
148
|
-
delete jsc._attachedGroupEvents[groupName];
|
149
|
-
}
|
150
|
-
},
|
151
|
-
|
152
|
-
|
153
|
-
attachDOMReadyEvent : function (func) {
|
154
|
-
var fired = false;
|
155
|
-
var fireOnce = function () {
|
156
|
-
if (!fired) {
|
157
|
-
fired = true;
|
158
|
-
func();
|
159
|
-
}
|
160
|
-
};
|
161
|
-
|
162
|
-
if (document.readyState === 'complete') {
|
163
|
-
setTimeout(fireOnce, 1); // async
|
164
|
-
return;
|
165
|
-
}
|
166
|
-
|
167
|
-
if (document.addEventListener) {
|
168
|
-
document.addEventListener('DOMContentLoaded', fireOnce, false);
|
169
|
-
|
170
|
-
// Fallback
|
171
|
-
window.addEventListener('load', fireOnce, false);
|
172
|
-
|
173
|
-
} else if (document.attachEvent) {
|
174
|
-
// IE
|
175
|
-
document.attachEvent('onreadystatechange', function () {
|
176
|
-
if (document.readyState === 'complete') {
|
177
|
-
document.detachEvent('onreadystatechange', arguments.callee);
|
178
|
-
fireOnce();
|
179
|
-
}
|
180
|
-
})
|
181
|
-
|
182
|
-
// Fallback
|
183
|
-
window.attachEvent('onload', fireOnce);
|
184
|
-
|
185
|
-
// IE7/8
|
186
|
-
if (document.documentElement.doScroll && window == window.top) {
|
187
|
-
var tryScroll = function () {
|
188
|
-
if (!document.body) { return; }
|
189
|
-
try {
|
190
|
-
document.documentElement.doScroll('left');
|
191
|
-
fireOnce();
|
192
|
-
} catch (e) {
|
193
|
-
setTimeout(tryScroll, 1);
|
194
|
-
}
|
195
|
-
};
|
196
|
-
tryScroll();
|
197
|
-
}
|
198
|
-
}
|
199
|
-
},
|
200
|
-
|
201
|
-
|
202
|
-
warn : function (msg) {
|
203
|
-
if (window.console && window.console.warn) {
|
204
|
-
window.console.warn(msg);
|
205
|
-
}
|
206
|
-
},
|
207
|
-
|
208
|
-
|
209
|
-
preventDefault : function (e) {
|
210
|
-
if (e.preventDefault) { e.preventDefault(); }
|
211
|
-
e.returnValue = false;
|
212
|
-
},
|
213
|
-
|
214
|
-
|
215
|
-
captureTarget : function (target) {
|
216
|
-
// IE
|
217
|
-
if (target.setCapture) {
|
218
|
-
jsc._capturedTarget = target;
|
219
|
-
jsc._capturedTarget.setCapture();
|
220
|
-
}
|
221
|
-
},
|
222
|
-
|
223
|
-
|
224
|
-
releaseTarget : function () {
|
225
|
-
// IE
|
226
|
-
if (jsc._capturedTarget) {
|
227
|
-
jsc._capturedTarget.releaseCapture();
|
228
|
-
jsc._capturedTarget = null;
|
229
|
-
}
|
230
|
-
},
|
231
|
-
|
232
|
-
|
233
|
-
fireEvent : function (el, evnt) {
|
234
|
-
if (!el) {
|
235
|
-
return;
|
236
|
-
}
|
237
|
-
if (document.createEvent) {
|
238
|
-
var ev = document.createEvent('HTMLEvents');
|
239
|
-
ev.initEvent(evnt, true, true);
|
240
|
-
el.dispatchEvent(ev);
|
241
|
-
} else if (document.createEventObject) {
|
242
|
-
var ev = document.createEventObject();
|
243
|
-
el.fireEvent('on' + evnt, ev);
|
244
|
-
} else if (el['on' + evnt]) { // alternatively use the traditional event model
|
245
|
-
el['on' + evnt]();
|
246
|
-
}
|
247
|
-
},
|
248
|
-
|
249
|
-
|
250
|
-
classNameToList : function (className) {
|
251
|
-
return className.replace(/^\s+|\s+$/g, '').split(/\s+/);
|
252
|
-
},
|
253
|
-
|
254
|
-
|
255
|
-
// The className parameter (str) can only contain a single class name
|
256
|
-
hasClass : function (elm, className) {
|
257
|
-
if (!className) {
|
258
|
-
return false;
|
259
|
-
}
|
260
|
-
return -1 != (' ' + elm.className.replace(/\s+/g, ' ') + ' ').indexOf(' ' + className + ' ');
|
261
|
-
},
|
262
|
-
|
263
|
-
|
264
|
-
// The className parameter (str) can contain multiple class names separated by whitespace
|
265
|
-
setClass : function (elm, className) {
|
266
|
-
var classList = jsc.classNameToList(className);
|
267
|
-
for (var i = 0; i < classList.length; i += 1) {
|
268
|
-
if (!jsc.hasClass(elm, classList[i])) {
|
269
|
-
elm.className += (elm.className ? ' ' : '') + classList[i];
|
270
|
-
}
|
271
|
-
}
|
272
|
-
},
|
273
|
-
|
274
|
-
|
275
|
-
// The className parameter (str) can contain multiple class names separated by whitespace
|
276
|
-
unsetClass : function (elm, className) {
|
277
|
-
var classList = jsc.classNameToList(className);
|
278
|
-
for (var i = 0; i < classList.length; i += 1) {
|
279
|
-
var repl = new RegExp(
|
280
|
-
'^\\s*' + classList[i] + '\\s*|' +
|
281
|
-
'\\s*' + classList[i] + '\\s*$|' +
|
282
|
-
'\\s+' + classList[i] + '(\\s+)',
|
283
|
-
'g'
|
284
|
-
);
|
285
|
-
elm.className = elm.className.replace(repl, '$1');
|
286
|
-
}
|
287
|
-
},
|
288
|
-
|
289
|
-
|
290
|
-
getStyle : function (elm) {
|
291
|
-
return window.getComputedStyle ? window.getComputedStyle(elm) : elm.currentStyle;
|
292
|
-
},
|
293
|
-
|
294
|
-
|
295
|
-
setStyle : (function () {
|
296
|
-
var helper = document.createElement('div');
|
297
|
-
var getSupportedProp = function (names) {
|
298
|
-
for (var i = 0; i < names.length; i += 1) {
|
299
|
-
if (names[i] in helper.style) {
|
300
|
-
return names[i];
|
301
|
-
}
|
302
|
-
}
|
303
|
-
};
|
304
|
-
var props = {
|
305
|
-
borderRadius: getSupportedProp(['borderRadius', 'MozBorderRadius', 'webkitBorderRadius']),
|
306
|
-
boxShadow: getSupportedProp(['boxShadow', 'MozBoxShadow', 'webkitBoxShadow'])
|
307
|
-
};
|
308
|
-
return function (elm, prop, value) {
|
309
|
-
switch (prop.toLowerCase()) {
|
310
|
-
case 'opacity':
|
311
|
-
var alphaOpacity = Math.round(parseFloat(value) * 100);
|
312
|
-
elm.style.opacity = value;
|
313
|
-
elm.style.filter = 'alpha(opacity=' + alphaOpacity + ')';
|
314
|
-
break;
|
315
|
-
default:
|
316
|
-
elm.style[props[prop]] = value;
|
317
|
-
break;
|
318
|
-
}
|
319
|
-
};
|
320
|
-
})(),
|
321
|
-
|
322
|
-
|
323
|
-
setBorderRadius : function (elm, value) {
|
324
|
-
jsc.setStyle(elm, 'borderRadius', value || '0');
|
325
|
-
},
|
326
|
-
|
327
|
-
|
328
|
-
setBoxShadow : function (elm, value) {
|
329
|
-
jsc.setStyle(elm, 'boxShadow', value || 'none');
|
330
|
-
},
|
331
|
-
|
332
|
-
|
333
|
-
getElementPos : function (e, relativeToViewport) {
|
334
|
-
var x=0, y=0;
|
335
|
-
var rect = e.getBoundingClientRect();
|
336
|
-
x = rect.left;
|
337
|
-
y = rect.top;
|
338
|
-
if (!relativeToViewport) {
|
339
|
-
var viewPos = jsc.getViewPos();
|
340
|
-
x += viewPos[0];
|
341
|
-
y += viewPos[1];
|
342
|
-
}
|
343
|
-
return [x, y];
|
344
|
-
},
|
345
|
-
|
346
|
-
|
347
|
-
getElementSize : function (e) {
|
348
|
-
return [e.offsetWidth, e.offsetHeight];
|
349
|
-
},
|
350
|
-
|
351
|
-
|
352
|
-
// get pointer's X/Y coordinates relative to viewport
|
353
|
-
getAbsPointerPos : function (e) {
|
354
|
-
if (!e) { e = window.event; }
|
355
|
-
var x = 0, y = 0;
|
356
|
-
if (typeof e.changedTouches !== 'undefined' && e.changedTouches.length) {
|
357
|
-
// touch devices
|
358
|
-
x = e.changedTouches[0].clientX;
|
359
|
-
y = e.changedTouches[0].clientY;
|
360
|
-
} else if (typeof e.clientX === 'number') {
|
361
|
-
x = e.clientX;
|
362
|
-
y = e.clientY;
|
363
|
-
}
|
364
|
-
return { x: x, y: y };
|
365
|
-
},
|
366
|
-
|
367
|
-
|
368
|
-
// get pointer's X/Y coordinates relative to target element
|
369
|
-
getRelPointerPos : function (e) {
|
370
|
-
if (!e) { e = window.event; }
|
371
|
-
var target = e.target || e.srcElement;
|
372
|
-
var targetRect = target.getBoundingClientRect();
|
373
|
-
|
374
|
-
var x = 0, y = 0;
|
375
|
-
|
376
|
-
var clientX = 0, clientY = 0;
|
377
|
-
if (typeof e.changedTouches !== 'undefined' && e.changedTouches.length) {
|
378
|
-
// touch devices
|
379
|
-
clientX = e.changedTouches[0].clientX;
|
380
|
-
clientY = e.changedTouches[0].clientY;
|
381
|
-
} else if (typeof e.clientX === 'number') {
|
382
|
-
clientX = e.clientX;
|
383
|
-
clientY = e.clientY;
|
384
|
-
}
|
385
|
-
|
386
|
-
x = clientX - targetRect.left;
|
387
|
-
y = clientY - targetRect.top;
|
388
|
-
return { x: x, y: y };
|
389
|
-
},
|
390
|
-
|
391
|
-
|
392
|
-
getViewPos : function () {
|
393
|
-
var doc = document.documentElement;
|
394
|
-
return [
|
395
|
-
(window.pageXOffset || doc.scrollLeft) - (doc.clientLeft || 0),
|
396
|
-
(window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0)
|
397
|
-
];
|
398
|
-
},
|
399
|
-
|
400
|
-
|
401
|
-
getViewSize : function () {
|
402
|
-
var doc = document.documentElement;
|
403
|
-
return [
|
404
|
-
(window.innerWidth || doc.clientWidth),
|
405
|
-
(window.innerHeight || doc.clientHeight),
|
406
|
-
];
|
407
|
-
},
|
408
|
-
|
409
|
-
|
410
|
-
redrawPosition : function () {
|
411
|
-
|
412
|
-
if (jsc.picker && jsc.picker.owner) {
|
413
|
-
var thisObj = jsc.picker.owner;
|
414
|
-
|
415
|
-
var tp, vp;
|
416
|
-
|
417
|
-
if (thisObj.fixed) {
|
418
|
-
// Fixed elements are positioned relative to viewport,
|
419
|
-
// therefore we can ignore the scroll offset
|
420
|
-
tp = jsc.getElementPos(thisObj.targetElement, true); // target pos
|
421
|
-
vp = [0, 0]; // view pos
|
422
|
-
} else {
|
423
|
-
tp = jsc.getElementPos(thisObj.targetElement); // target pos
|
424
|
-
vp = jsc.getViewPos(); // view pos
|
425
|
-
}
|
426
|
-
|
427
|
-
var ts = jsc.getElementSize(thisObj.targetElement); // target size
|
428
|
-
var vs = jsc.getViewSize(); // view size
|
429
|
-
var ps = jsc.getPickerOuterDims(thisObj); // picker size
|
430
|
-
var a, b, c;
|
431
|
-
switch (thisObj.position.toLowerCase()) {
|
432
|
-
case 'left': a=1; b=0; c=-1; break;
|
433
|
-
case 'right':a=1; b=0; c=1; break;
|
434
|
-
case 'top': a=0; b=1; c=-1; break;
|
435
|
-
default: a=0; b=1; c=1; break;
|
436
|
-
}
|
437
|
-
var l = (ts[b]+ps[b])/2;
|
438
|
-
|
439
|
-
// compute picker position
|
440
|
-
if (!thisObj.smartPosition) {
|
441
|
-
var pp = [
|
442
|
-
tp[a],
|
443
|
-
tp[b]+ts[b]-l+l*c
|
444
|
-
];
|
445
|
-
} else {
|
446
|
-
var pp = [
|
447
|
-
-vp[a]+tp[a]+ps[a] > vs[a] ?
|
448
|
-
(-vp[a]+tp[a]+ts[a]/2 > vs[a]/2 && tp[a]+ts[a]-ps[a] >= 0 ? tp[a]+ts[a]-ps[a] : tp[a]) :
|
449
|
-
tp[a],
|
450
|
-
-vp[b]+tp[b]+ts[b]+ps[b]-l+l*c > vs[b] ?
|
451
|
-
(-vp[b]+tp[b]+ts[b]/2 > vs[b]/2 && tp[b]+ts[b]-l-l*c >= 0 ? tp[b]+ts[b]-l-l*c : tp[b]+ts[b]-l+l*c) :
|
452
|
-
(tp[b]+ts[b]-l+l*c >= 0 ? tp[b]+ts[b]-l+l*c : tp[b]+ts[b]-l-l*c)
|
453
|
-
];
|
454
|
-
}
|
455
|
-
|
456
|
-
var x = pp[a];
|
457
|
-
var y = pp[b];
|
458
|
-
var positionValue = thisObj.fixed ? 'fixed' : 'absolute';
|
459
|
-
var contractShadow =
|
460
|
-
(pp[0] + ps[0] > tp[0] || pp[0] < tp[0] + ts[0]) &&
|
461
|
-
(pp[1] + ps[1] < tp[1] + ts[1]);
|
462
|
-
|
463
|
-
jsc._drawPosition(thisObj, x, y, positionValue, contractShadow);
|
464
|
-
}
|
465
|
-
},
|
466
|
-
|
467
|
-
|
468
|
-
_drawPosition : function (thisObj, x, y, positionValue, contractShadow) {
|
469
|
-
var vShadow = contractShadow ? 0 : thisObj.shadowBlur; // px
|
470
|
-
|
471
|
-
jsc.picker.wrap.style.position = positionValue;
|
472
|
-
jsc.picker.wrap.style.left = x + 'px';
|
473
|
-
jsc.picker.wrap.style.top = y + 'px';
|
474
|
-
|
475
|
-
jsc.setBoxShadow(
|
476
|
-
jsc.picker.boxS,
|
477
|
-
thisObj.shadow ?
|
478
|
-
new jsc.BoxShadow(0, vShadow, thisObj.shadowBlur, 0, thisObj.shadowColor) :
|
479
|
-
null);
|
480
|
-
},
|
481
|
-
|
482
|
-
|
483
|
-
getPickerDims : function (thisObj) {
|
484
|
-
var displaySlider = !!jsc.getSliderComponent(thisObj);
|
485
|
-
var dims = [
|
486
|
-
2 * thisObj.insetWidth + 2 * thisObj.padding + thisObj.width +
|
487
|
-
(displaySlider ? 2 * thisObj.insetWidth + jsc.getPadToSliderPadding(thisObj) + thisObj.sliderSize : 0),
|
488
|
-
2 * thisObj.insetWidth + 2 * thisObj.padding + thisObj.height +
|
489
|
-
(thisObj.closable ? 2 * thisObj.insetWidth + thisObj.padding + thisObj.buttonHeight : 0)
|
490
|
-
];
|
491
|
-
return dims;
|
492
|
-
},
|
493
|
-
|
494
|
-
|
495
|
-
getPickerOuterDims : function (thisObj) {
|
496
|
-
var dims = jsc.getPickerDims(thisObj);
|
497
|
-
return [
|
498
|
-
dims[0] + 2 * thisObj.borderWidth,
|
499
|
-
dims[1] + 2 * thisObj.borderWidth
|
500
|
-
];
|
501
|
-
},
|
502
|
-
|
503
|
-
|
504
|
-
getPadToSliderPadding : function (thisObj) {
|
505
|
-
return Math.max(thisObj.padding, 1.5 * (2 * thisObj.pointerBorderWidth + thisObj.pointerThickness));
|
506
|
-
},
|
507
|
-
|
508
|
-
|
509
|
-
getPadYComponent : function (thisObj) {
|
510
|
-
switch (thisObj.mode.charAt(1).toLowerCase()) {
|
511
|
-
case 'v': return 'v'; break;
|
512
|
-
}
|
513
|
-
return 's';
|
514
|
-
},
|
515
|
-
|
516
|
-
|
517
|
-
getSliderComponent : function (thisObj) {
|
518
|
-
if (thisObj.mode.length > 2) {
|
519
|
-
switch (thisObj.mode.charAt(2).toLowerCase()) {
|
520
|
-
case 's': return 's'; break;
|
521
|
-
case 'v': return 'v'; break;
|
522
|
-
}
|
523
|
-
}
|
524
|
-
return null;
|
525
|
-
},
|
526
|
-
|
527
|
-
|
528
|
-
onDocumentMouseDown : function (e) {
|
529
|
-
if (!e) { e = window.event; }
|
530
|
-
var target = e.target || e.srcElement;
|
531
|
-
|
532
|
-
if (target._jscLinkedInstance) {
|
533
|
-
if (target._jscLinkedInstance.showOnClick) {
|
534
|
-
target._jscLinkedInstance.show();
|
535
|
-
}
|
536
|
-
} else if (target._jscControlName) {
|
537
|
-
jsc.onControlPointerStart(e, target, target._jscControlName, 'mouse');
|
538
|
-
} else {
|
539
|
-
// Mouse is outside the picker controls -> hide the color picker!
|
540
|
-
if (jsc.picker && jsc.picker.owner) {
|
541
|
-
jsc.picker.owner.hide();
|
542
|
-
}
|
543
|
-
}
|
544
|
-
},
|
545
|
-
|
546
|
-
|
547
|
-
onDocumentTouchStart : function (e) {
|
548
|
-
if (!e) { e = window.event; }
|
549
|
-
var target = e.target || e.srcElement;
|
550
|
-
|
551
|
-
if (target._jscLinkedInstance) {
|
552
|
-
if (target._jscLinkedInstance.showOnClick) {
|
553
|
-
target._jscLinkedInstance.show();
|
554
|
-
}
|
555
|
-
} else if (target._jscControlName) {
|
556
|
-
jsc.onControlPointerStart(e, target, target._jscControlName, 'touch');
|
557
|
-
} else {
|
558
|
-
if (jsc.picker && jsc.picker.owner) {
|
559
|
-
jsc.picker.owner.hide();
|
560
|
-
}
|
561
|
-
}
|
562
|
-
},
|
563
|
-
|
564
|
-
|
565
|
-
onWindowResize : function (e) {
|
566
|
-
jsc.redrawPosition();
|
567
|
-
},
|
568
|
-
|
569
|
-
|
570
|
-
onParentScroll : function (e) {
|
571
|
-
// hide the picker when one of the parent elements is scrolled
|
572
|
-
if (jsc.picker && jsc.picker.owner) {
|
573
|
-
jsc.picker.owner.hide();
|
574
|
-
}
|
575
|
-
},
|
576
|
-
|
577
|
-
|
578
|
-
_pointerMoveEvent : {
|
579
|
-
mouse: 'mousemove',
|
580
|
-
touch: 'touchmove'
|
581
|
-
},
|
582
|
-
_pointerEndEvent : {
|
583
|
-
mouse: 'mouseup',
|
584
|
-
touch: 'touchend'
|
585
|
-
},
|
586
|
-
|
587
|
-
|
588
|
-
_pointerOrigin : null,
|
589
|
-
_capturedTarget : null,
|
590
|
-
|
591
|
-
|
592
|
-
onControlPointerStart : function (e, target, controlName, pointerType) {
|
593
|
-
var thisObj = target._jscInstance;
|
594
|
-
|
595
|
-
jsc.preventDefault(e);
|
596
|
-
jsc.captureTarget(target);
|
597
|
-
|
598
|
-
var registerDragEvents = function (doc, offset) {
|
599
|
-
jsc.attachGroupEvent('drag', doc, jsc._pointerMoveEvent[pointerType],
|
600
|
-
jsc.onDocumentPointerMove(e, target, controlName, pointerType, offset));
|
601
|
-
jsc.attachGroupEvent('drag', doc, jsc._pointerEndEvent[pointerType],
|
602
|
-
jsc.onDocumentPointerEnd(e, target, controlName, pointerType));
|
603
|
-
};
|
604
|
-
|
605
|
-
registerDragEvents(document, [0, 0]);
|
606
|
-
|
607
|
-
if (window.parent && window.frameElement) {
|
608
|
-
var rect = window.frameElement.getBoundingClientRect();
|
609
|
-
var ofs = [-rect.left, -rect.top];
|
610
|
-
registerDragEvents(window.parent.window.document, ofs);
|
611
|
-
}
|
612
|
-
|
613
|
-
var abs = jsc.getAbsPointerPos(e);
|
614
|
-
var rel = jsc.getRelPointerPos(e);
|
615
|
-
jsc._pointerOrigin = {
|
616
|
-
x: abs.x - rel.x,
|
617
|
-
y: abs.y - rel.y
|
618
|
-
};
|
619
|
-
|
620
|
-
switch (controlName) {
|
621
|
-
case 'pad':
|
622
|
-
// if the slider is at the bottom, move it up
|
623
|
-
switch (jsc.getSliderComponent(thisObj)) {
|
624
|
-
case 's': if (thisObj.hsv[1] === 0) { thisObj.fromHSV(null, 100, null); }; break;
|
625
|
-
case 'v': if (thisObj.hsv[2] === 0) { thisObj.fromHSV(null, null, 100); }; break;
|
626
|
-
}
|
627
|
-
jsc.setPad(thisObj, e, 0, 0);
|
628
|
-
break;
|
629
|
-
|
630
|
-
case 'sld':
|
631
|
-
jsc.setSld(thisObj, e, 0);
|
632
|
-
break;
|
633
|
-
}
|
634
|
-
|
635
|
-
jsc.dispatchFineChange(thisObj);
|
636
|
-
},
|
637
|
-
|
638
|
-
|
639
|
-
onDocumentPointerMove : function (e, target, controlName, pointerType, offset) {
|
640
|
-
return function (e) {
|
641
|
-
var thisObj = target._jscInstance;
|
642
|
-
switch (controlName) {
|
643
|
-
case 'pad':
|
644
|
-
if (!e) { e = window.event; }
|
645
|
-
jsc.setPad(thisObj, e, offset[0], offset[1]);
|
646
|
-
jsc.dispatchFineChange(thisObj);
|
647
|
-
break;
|
648
|
-
|
649
|
-
case 'sld':
|
650
|
-
if (!e) { e = window.event; }
|
651
|
-
jsc.setSld(thisObj, e, offset[1]);
|
652
|
-
jsc.dispatchFineChange(thisObj);
|
653
|
-
break;
|
654
|
-
}
|
655
|
-
}
|
656
|
-
},
|
657
|
-
|
658
|
-
|
659
|
-
onDocumentPointerEnd : function (e, target, controlName, pointerType) {
|
660
|
-
return function (e) {
|
661
|
-
var thisObj = target._jscInstance;
|
662
|
-
jsc.detachGroupEvents('drag');
|
663
|
-
jsc.releaseTarget();
|
664
|
-
// Always dispatch changes after detaching outstanding mouse handlers,
|
665
|
-
// in case some user interaction will occur in user's onchange callback
|
666
|
-
// that would intrude with current mouse events
|
667
|
-
jsc.dispatchChange(thisObj);
|
668
|
-
};
|
669
|
-
},
|
670
|
-
|
671
|
-
|
672
|
-
dispatchChange : function (thisObj) {
|
673
|
-
if (thisObj.valueElement) {
|
674
|
-
if (jsc.isElementType(thisObj.valueElement, 'input')) {
|
675
|
-
jsc.fireEvent(thisObj.valueElement, 'change');
|
676
|
-
}
|
677
|
-
}
|
678
|
-
},
|
679
|
-
|
680
|
-
|
681
|
-
dispatchFineChange : function (thisObj) {
|
682
|
-
if (thisObj.onFineChange) {
|
683
|
-
var callback;
|
684
|
-
if (typeof thisObj.onFineChange === 'string') {
|
685
|
-
callback = new Function (thisObj.onFineChange);
|
686
|
-
} else {
|
687
|
-
callback = thisObj.onFineChange;
|
688
|
-
}
|
689
|
-
callback.call(thisObj);
|
690
|
-
}
|
691
|
-
},
|
692
|
-
|
693
|
-
|
694
|
-
setPad : function (thisObj, e, ofsX, ofsY) {
|
695
|
-
var pointerAbs = jsc.getAbsPointerPos(e);
|
696
|
-
var x = ofsX + pointerAbs.x - jsc._pointerOrigin.x - thisObj.padding - thisObj.insetWidth;
|
697
|
-
var y = ofsY + pointerAbs.y - jsc._pointerOrigin.y - thisObj.padding - thisObj.insetWidth;
|
698
|
-
|
699
|
-
var xVal = x * (360 / (thisObj.width - 1));
|
700
|
-
var yVal = 100 - (y * (100 / (thisObj.height - 1)));
|
701
|
-
|
702
|
-
switch (jsc.getPadYComponent(thisObj)) {
|
703
|
-
case 's': thisObj.fromHSV(xVal, yVal, null, jsc.leaveSld); break;
|
704
|
-
case 'v': thisObj.fromHSV(xVal, null, yVal, jsc.leaveSld); break;
|
705
|
-
}
|
706
|
-
},
|
707
|
-
|
708
|
-
|
709
|
-
setSld : function (thisObj, e, ofsY) {
|
710
|
-
var pointerAbs = jsc.getAbsPointerPos(e);
|
711
|
-
var y = ofsY + pointerAbs.y - jsc._pointerOrigin.y - thisObj.padding - thisObj.insetWidth;
|
712
|
-
|
713
|
-
var yVal = 100 - (y * (100 / (thisObj.height - 1)));
|
714
|
-
|
715
|
-
switch (jsc.getSliderComponent(thisObj)) {
|
716
|
-
case 's': thisObj.fromHSV(null, yVal, null, jsc.leavePad); break;
|
717
|
-
case 'v': thisObj.fromHSV(null, null, yVal, jsc.leavePad); break;
|
718
|
-
}
|
719
|
-
},
|
720
|
-
|
721
|
-
|
722
|
-
_vmlNS : 'jsc_vml_',
|
723
|
-
_vmlCSS : 'jsc_vml_css_',
|
724
|
-
_vmlReady : false,
|
725
|
-
|
726
|
-
|
727
|
-
initVML : function () {
|
728
|
-
if (!jsc._vmlReady) {
|
729
|
-
// init VML namespace
|
730
|
-
var doc = document;
|
731
|
-
if (!doc.namespaces[jsc._vmlNS]) {
|
732
|
-
doc.namespaces.add(jsc._vmlNS, 'urn:schemas-microsoft-com:vml');
|
733
|
-
}
|
734
|
-
if (!doc.styleSheets[jsc._vmlCSS]) {
|
735
|
-
var tags = ['shape', 'shapetype', 'group', 'background', 'path', 'formulas', 'handles', 'fill', 'stroke', 'shadow', 'textbox', 'textpath', 'imagedata', 'line', 'polyline', 'curve', 'rect', 'roundrect', 'oval', 'arc', 'image'];
|
736
|
-
var ss = doc.createStyleSheet();
|
737
|
-
ss.owningElement.id = jsc._vmlCSS;
|
738
|
-
for (var i = 0; i < tags.length; i += 1) {
|
739
|
-
ss.addRule(jsc._vmlNS + '\\:' + tags[i], 'behavior:url(#default#VML);');
|
740
|
-
}
|
741
|
-
}
|
742
|
-
jsc._vmlReady = true;
|
743
|
-
}
|
744
|
-
},
|
745
|
-
|
746
|
-
|
747
|
-
createPalette : function () {
|
748
|
-
|
749
|
-
var paletteObj = {
|
750
|
-
elm: null,
|
751
|
-
draw: null
|
752
|
-
};
|
753
|
-
|
754
|
-
if (jsc.isCanvasSupported) {
|
755
|
-
// Canvas implementation for modern browsers
|
756
|
-
|
757
|
-
var canvas = document.createElement('canvas');
|
758
|
-
var ctx = canvas.getContext('2d');
|
759
|
-
|
760
|
-
var drawFunc = function (width, height, type) {
|
761
|
-
canvas.width = width;
|
762
|
-
canvas.height = height;
|
763
|
-
|
764
|
-
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
765
|
-
|
766
|
-
var hGrad = ctx.createLinearGradient(0, 0, canvas.width, 0);
|
767
|
-
hGrad.addColorStop(0 / 6, '#F00');
|
768
|
-
hGrad.addColorStop(1 / 6, '#FF0');
|
769
|
-
hGrad.addColorStop(2 / 6, '#0F0');
|
770
|
-
hGrad.addColorStop(3 / 6, '#0FF');
|
771
|
-
hGrad.addColorStop(4 / 6, '#00F');
|
772
|
-
hGrad.addColorStop(5 / 6, '#F0F');
|
773
|
-
hGrad.addColorStop(6 / 6, '#F00');
|
774
|
-
|
775
|
-
ctx.fillStyle = hGrad;
|
776
|
-
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
777
|
-
|
778
|
-
var vGrad = ctx.createLinearGradient(0, 0, 0, canvas.height);
|
779
|
-
switch (type.toLowerCase()) {
|
780
|
-
case 's':
|
781
|
-
vGrad.addColorStop(0, 'rgba(255,255,255,0)');
|
782
|
-
vGrad.addColorStop(1, 'rgba(255,255,255,1)');
|
783
|
-
break;
|
784
|
-
case 'v':
|
785
|
-
vGrad.addColorStop(0, 'rgba(0,0,0,0)');
|
786
|
-
vGrad.addColorStop(1, 'rgba(0,0,0,1)');
|
787
|
-
break;
|
788
|
-
}
|
789
|
-
ctx.fillStyle = vGrad;
|
790
|
-
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
791
|
-
};
|
792
|
-
|
793
|
-
paletteObj.elm = canvas;
|
794
|
-
paletteObj.draw = drawFunc;
|
795
|
-
|
796
|
-
} else {
|
797
|
-
// VML fallback for IE 7 and 8
|
798
|
-
|
799
|
-
jsc.initVML();
|
800
|
-
|
801
|
-
var vmlContainer = document.createElement('div');
|
802
|
-
vmlContainer.style.position = 'relative';
|
803
|
-
vmlContainer.style.overflow = 'hidden';
|
804
|
-
|
805
|
-
var hGrad = document.createElement(jsc._vmlNS + ':fill');
|
806
|
-
hGrad.type = 'gradient';
|
807
|
-
hGrad.method = 'linear';
|
808
|
-
hGrad.angle = '90';
|
809
|
-
hGrad.colors = '16.67% #F0F, 33.33% #00F, 50% #0FF, 66.67% #0F0, 83.33% #FF0'
|
810
|
-
|
811
|
-
var hRect = document.createElement(jsc._vmlNS + ':rect');
|
812
|
-
hRect.style.position = 'absolute';
|
813
|
-
hRect.style.left = -1 + 'px';
|
814
|
-
hRect.style.top = -1 + 'px';
|
815
|
-
hRect.stroked = false;
|
816
|
-
hRect.appendChild(hGrad);
|
817
|
-
vmlContainer.appendChild(hRect);
|
818
|
-
|
819
|
-
var vGrad = document.createElement(jsc._vmlNS + ':fill');
|
820
|
-
vGrad.type = 'gradient';
|
821
|
-
vGrad.method = 'linear';
|
822
|
-
vGrad.angle = '180';
|
823
|
-
vGrad.opacity = '0';
|
824
|
-
|
825
|
-
var vRect = document.createElement(jsc._vmlNS + ':rect');
|
826
|
-
vRect.style.position = 'absolute';
|
827
|
-
vRect.style.left = -1 + 'px';
|
828
|
-
vRect.style.top = -1 + 'px';
|
829
|
-
vRect.stroked = false;
|
830
|
-
vRect.appendChild(vGrad);
|
831
|
-
vmlContainer.appendChild(vRect);
|
832
|
-
|
833
|
-
var drawFunc = function (width, height, type) {
|
834
|
-
vmlContainer.style.width = width + 'px';
|
835
|
-
vmlContainer.style.height = height + 'px';
|
836
|
-
|
837
|
-
hRect.style.width =
|
838
|
-
vRect.style.width =
|
839
|
-
(width + 1) + 'px';
|
840
|
-
hRect.style.height =
|
841
|
-
vRect.style.height =
|
842
|
-
(height + 1) + 'px';
|
843
|
-
|
844
|
-
// Colors must be specified during every redraw, otherwise IE won't display
|
845
|
-
// a full gradient during a subsequential redraw
|
846
|
-
hGrad.color = '#F00';
|
847
|
-
hGrad.color2 = '#F00';
|
848
|
-
|
849
|
-
switch (type.toLowerCase()) {
|
850
|
-
case 's':
|
851
|
-
vGrad.color = vGrad.color2 = '#FFF';
|
852
|
-
break;
|
853
|
-
case 'v':
|
854
|
-
vGrad.color = vGrad.color2 = '#000';
|
855
|
-
break;
|
856
|
-
}
|
857
|
-
};
|
858
|
-
|
859
|
-
paletteObj.elm = vmlContainer;
|
860
|
-
paletteObj.draw = drawFunc;
|
861
|
-
}
|
862
|
-
|
863
|
-
return paletteObj;
|
864
|
-
},
|
865
|
-
|
866
|
-
|
867
|
-
createSliderGradient : function () {
|
868
|
-
|
869
|
-
var sliderObj = {
|
870
|
-
elm: null,
|
871
|
-
draw: null
|
872
|
-
};
|
873
|
-
|
874
|
-
if (jsc.isCanvasSupported) {
|
875
|
-
// Canvas implementation for modern browsers
|
876
|
-
|
877
|
-
var canvas = document.createElement('canvas');
|
878
|
-
var ctx = canvas.getContext('2d');
|
879
|
-
|
880
|
-
var drawFunc = function (width, height, color1, color2) {
|
881
|
-
canvas.width = width;
|
882
|
-
canvas.height = height;
|
883
|
-
|
884
|
-
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
885
|
-
|
886
|
-
var grad = ctx.createLinearGradient(0, 0, 0, canvas.height);
|
887
|
-
grad.addColorStop(0, color1);
|
888
|
-
grad.addColorStop(1, color2);
|
889
|
-
|
890
|
-
ctx.fillStyle = grad;
|
891
|
-
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
892
|
-
};
|
893
|
-
|
894
|
-
sliderObj.elm = canvas;
|
895
|
-
sliderObj.draw = drawFunc;
|
896
|
-
|
897
|
-
} else {
|
898
|
-
// VML fallback for IE 7 and 8
|
899
|
-
|
900
|
-
jsc.initVML();
|
901
|
-
|
902
|
-
var vmlContainer = document.createElement('div');
|
903
|
-
vmlContainer.style.position = 'relative';
|
904
|
-
vmlContainer.style.overflow = 'hidden';
|
905
|
-
|
906
|
-
var grad = document.createElement(jsc._vmlNS + ':fill');
|
907
|
-
grad.type = 'gradient';
|
908
|
-
grad.method = 'linear';
|
909
|
-
grad.angle = '180';
|
910
|
-
|
911
|
-
var rect = document.createElement(jsc._vmlNS + ':rect');
|
912
|
-
rect.style.position = 'absolute';
|
913
|
-
rect.style.left = -1 + 'px';
|
914
|
-
rect.style.top = -1 + 'px';
|
915
|
-
rect.stroked = false;
|
916
|
-
rect.appendChild(grad);
|
917
|
-
vmlContainer.appendChild(rect);
|
918
|
-
|
919
|
-
var drawFunc = function (width, height, color1, color2) {
|
920
|
-
vmlContainer.style.width = width + 'px';
|
921
|
-
vmlContainer.style.height = height + 'px';
|
922
|
-
|
923
|
-
rect.style.width = (width + 1) + 'px';
|
924
|
-
rect.style.height = (height + 1) + 'px';
|
925
|
-
|
926
|
-
grad.color = color1;
|
927
|
-
grad.color2 = color2;
|
928
|
-
};
|
929
|
-
|
930
|
-
sliderObj.elm = vmlContainer;
|
931
|
-
sliderObj.draw = drawFunc;
|
932
|
-
}
|
933
|
-
|
934
|
-
return sliderObj;
|
935
|
-
},
|
936
|
-
|
937
|
-
|
938
|
-
leaveValue : 1<<0,
|
939
|
-
leaveStyle : 1<<1,
|
940
|
-
leavePad : 1<<2,
|
941
|
-
leaveSld : 1<<3,
|
942
|
-
|
943
|
-
|
944
|
-
BoxShadow : (function () {
|
945
|
-
var BoxShadow = function (hShadow, vShadow, blur, spread, color, inset) {
|
946
|
-
this.hShadow = hShadow;
|
947
|
-
this.vShadow = vShadow;
|
948
|
-
this.blur = blur;
|
949
|
-
this.spread = spread;
|
950
|
-
this.color = color;
|
951
|
-
this.inset = !!inset;
|
952
|
-
};
|
953
|
-
|
954
|
-
BoxShadow.prototype.toString = function () {
|
955
|
-
var vals = [
|
956
|
-
Math.round(this.hShadow) + 'px',
|
957
|
-
Math.round(this.vShadow) + 'px',
|
958
|
-
Math.round(this.blur) + 'px',
|
959
|
-
Math.round(this.spread) + 'px',
|
960
|
-
this.color
|
961
|
-
];
|
962
|
-
if (this.inset) {
|
963
|
-
vals.push('inset');
|
964
|
-
}
|
965
|
-
return vals.join(' ');
|
966
|
-
};
|
967
|
-
|
968
|
-
return BoxShadow;
|
969
|
-
})(),
|
970
|
-
|
971
|
-
|
972
|
-
//
|
973
|
-
// Usage:
|
974
|
-
// var myColor = new jscolor(<targetElement> [, <options>])
|
975
|
-
//
|
976
|
-
|
977
|
-
jscolor : function (targetElement, options) {
|
978
|
-
|
979
|
-
// General options
|
980
|
-
//
|
981
|
-
this.value = null; // initial HEX color. To change it later, use methods fromString(), fromHSV() and fromRGB()
|
982
|
-
this.valueElement = targetElement; // element that will be used to display and input the color code
|
983
|
-
this.styleElement = targetElement; // element that will preview the picked color using CSS backgroundColor
|
984
|
-
this.required = true; // whether the associated text <input> can be left empty
|
985
|
-
this.refine = true; // whether to refine the entered color code (e.g. uppercase it and remove whitespace)
|
986
|
-
this.hash = false; // whether to prefix the HEX color code with # symbol
|
987
|
-
this.uppercase = true; // whether to show the color code in upper case
|
988
|
-
this.onFineChange = null; // called instantly every time the color changes (value can be either a function or a string with javascript code)
|
989
|
-
this.activeClass = 'jscolor-active'; // class to be set to the target element when a picker window is open on it
|
990
|
-
this.overwriteImportant = false; // whether to overwrite colors of styleElement using !important
|
991
|
-
this.minS = 0; // min allowed saturation (0 - 100)
|
992
|
-
this.maxS = 100; // max allowed saturation (0 - 100)
|
993
|
-
this.minV = 0; // min allowed value (brightness) (0 - 100)
|
994
|
-
this.maxV = 100; // max allowed value (brightness) (0 - 100)
|
995
|
-
|
996
|
-
// Accessing the picked color
|
997
|
-
//
|
998
|
-
this.hsv = [0, 0, 100]; // read-only [0-360, 0-100, 0-100]
|
999
|
-
this.rgb = [255, 255, 255]; // read-only [0-255, 0-255, 0-255]
|
1000
|
-
|
1001
|
-
// Color Picker options
|
1002
|
-
//
|
1003
|
-
this.width = 181; // width of color palette (in px)
|
1004
|
-
this.height = 101; // height of color palette (in px)
|
1005
|
-
this.showOnClick = true; // whether to display the color picker when user clicks on its target element
|
1006
|
-
this.mode = 'HSV'; // HSV | HVS | HS | HV - layout of the color picker controls
|
1007
|
-
this.position = 'bottom'; // left | right | top | bottom - position relative to the target element
|
1008
|
-
this.smartPosition = true; // automatically change picker position when there is not enough space for it
|
1009
|
-
this.sliderSize = 16; // px
|
1010
|
-
this.crossSize = 8; // px
|
1011
|
-
this.closable = false; // whether to display the Close button
|
1012
|
-
this.closeText = 'Close';
|
1013
|
-
this.buttonColor = '#000000'; // CSS color
|
1014
|
-
this.buttonHeight = 18; // px
|
1015
|
-
this.padding = 12; // px
|
1016
|
-
this.backgroundColor = '#FFFFFF'; // CSS color
|
1017
|
-
this.borderWidth = 1; // px
|
1018
|
-
this.borderColor = '#BBBBBB'; // CSS color
|
1019
|
-
this.borderRadius = 8; // px
|
1020
|
-
this.insetWidth = 1; // px
|
1021
|
-
this.insetColor = '#BBBBBB'; // CSS color
|
1022
|
-
this.shadow = true; // whether to display shadow
|
1023
|
-
this.shadowBlur = 15; // px
|
1024
|
-
this.shadowColor = 'rgba(0,0,0,0.2)'; // CSS color
|
1025
|
-
this.pointerColor = '#4C4C4C'; // px
|
1026
|
-
this.pointerBorderColor = '#FFFFFF'; // px
|
1027
|
-
this.pointerBorderWidth = 1; // px
|
1028
|
-
this.pointerThickness = 2; // px
|
1029
|
-
this.zIndex = 1000;
|
1030
|
-
this.container = null; // where to append the color picker (BODY element by default)
|
1031
|
-
|
1032
|
-
|
1033
|
-
for (var opt in options) {
|
1034
|
-
if (options.hasOwnProperty(opt)) {
|
1035
|
-
this[opt] = options[opt];
|
1036
|
-
}
|
1037
|
-
}
|
1038
|
-
|
1039
|
-
|
1040
|
-
this.hide = function () {
|
1041
|
-
if (isPickerOwner()) {
|
1042
|
-
detachPicker();
|
1043
|
-
}
|
1044
|
-
};
|
1045
|
-
|
1046
|
-
|
1047
|
-
this.show = function () {
|
1048
|
-
drawPicker();
|
1049
|
-
};
|
1050
|
-
|
1051
|
-
|
1052
|
-
this.redraw = function () {
|
1053
|
-
if (isPickerOwner()) {
|
1054
|
-
drawPicker();
|
1055
|
-
}
|
1056
|
-
};
|
1057
|
-
|
1058
|
-
|
1059
|
-
this.importColor = function () {
|
1060
|
-
if (!this.valueElement) {
|
1061
|
-
this.exportColor();
|
1062
|
-
} else {
|
1063
|
-
if (jsc.isElementType(this.valueElement, 'input')) {
|
1064
|
-
if (!this.refine) {
|
1065
|
-
if (!this.fromString(this.valueElement.value, jsc.leaveValue)) {
|
1066
|
-
if (this.styleElement) {
|
1067
|
-
this.styleElement.style.backgroundImage = this.styleElement._jscOrigStyle.backgroundImage;
|
1068
|
-
this.styleElement.style.backgroundColor = this.styleElement._jscOrigStyle.backgroundColor;
|
1069
|
-
this.styleElement.style.color = this.styleElement._jscOrigStyle.color;
|
1070
|
-
}
|
1071
|
-
this.exportColor(jsc.leaveValue | jsc.leaveStyle);
|
1072
|
-
}
|
1073
|
-
} else if (!this.required && /^\s*$/.test(this.valueElement.value)) {
|
1074
|
-
this.valueElement.value = '';
|
1075
|
-
if (this.styleElement) {
|
1076
|
-
this.styleElement.style.backgroundImage = this.styleElement._jscOrigStyle.backgroundImage;
|
1077
|
-
this.styleElement.style.backgroundColor = this.styleElement._jscOrigStyle.backgroundColor;
|
1078
|
-
this.styleElement.style.color = this.styleElement._jscOrigStyle.color;
|
1079
|
-
}
|
1080
|
-
this.exportColor(jsc.leaveValue | jsc.leaveStyle);
|
1081
|
-
|
1082
|
-
} else if (this.fromString(this.valueElement.value)) {
|
1083
|
-
// managed to import color successfully from the value -> OK, don't do anything
|
1084
|
-
} else {
|
1085
|
-
this.exportColor();
|
1086
|
-
}
|
1087
|
-
} else {
|
1088
|
-
// not an input element -> doesn't have any value
|
1089
|
-
this.exportColor();
|
1090
|
-
}
|
1091
|
-
}
|
1092
|
-
};
|
1093
|
-
|
1094
|
-
|
1095
|
-
this.exportColor = function (flags) {
|
1096
|
-
if (!(flags & jsc.leaveValue) && this.valueElement) {
|
1097
|
-
var value = this.toString();
|
1098
|
-
if (this.uppercase) { value = value.toUpperCase(); }
|
1099
|
-
if (this.hash) { value = '#' + value; }
|
1100
|
-
|
1101
|
-
if (jsc.isElementType(this.valueElement, 'input')) {
|
1102
|
-
this.valueElement.value = value;
|
1103
|
-
} else {
|
1104
|
-
this.valueElement.innerHTML = value;
|
1105
|
-
}
|
1106
|
-
}
|
1107
|
-
if (!(flags & jsc.leaveStyle)) {
|
1108
|
-
if (this.styleElement) {
|
1109
|
-
var bgColor = '#' + this.toString();
|
1110
|
-
var fgColor = this.isLight() ? '#000' : '#FFF';
|
1111
|
-
|
1112
|
-
this.styleElement.style.backgroundImage = 'none';
|
1113
|
-
this.styleElement.style.backgroundColor = bgColor;
|
1114
|
-
this.styleElement.style.color = fgColor;
|
1115
|
-
|
1116
|
-
if (this.overwriteImportant) {
|
1117
|
-
this.styleElement.setAttribute('style',
|
1118
|
-
'background: ' + bgColor + ' !important; ' +
|
1119
|
-
'color: ' + fgColor + ' !important;'
|
1120
|
-
);
|
1121
|
-
}
|
1122
|
-
}
|
1123
|
-
}
|
1124
|
-
if (!(flags & jsc.leavePad) && isPickerOwner()) {
|
1125
|
-
redrawPad();
|
1126
|
-
}
|
1127
|
-
if (!(flags & jsc.leaveSld) && isPickerOwner()) {
|
1128
|
-
redrawSld();
|
1129
|
-
}
|
1130
|
-
};
|
1131
|
-
|
1132
|
-
|
1133
|
-
// h: 0-360
|
1134
|
-
// s: 0-100
|
1135
|
-
// v: 0-100
|
1136
|
-
//
|
1137
|
-
this.fromHSV = function (h, s, v, flags) { // null = don't change
|
1138
|
-
if (h !== null) {
|
1139
|
-
if (isNaN(h)) { return false; }
|
1140
|
-
h = Math.max(0, Math.min(360, h));
|
1141
|
-
}
|
1142
|
-
if (s !== null) {
|
1143
|
-
if (isNaN(s)) { return false; }
|
1144
|
-
s = Math.max(0, Math.min(100, this.maxS, s), this.minS);
|
1145
|
-
}
|
1146
|
-
if (v !== null) {
|
1147
|
-
if (isNaN(v)) { return false; }
|
1148
|
-
v = Math.max(0, Math.min(100, this.maxV, v), this.minV);
|
1149
|
-
}
|
1150
|
-
|
1151
|
-
this.rgb = HSV_RGB(
|
1152
|
-
h===null ? this.hsv[0] : (this.hsv[0]=h),
|
1153
|
-
s===null ? this.hsv[1] : (this.hsv[1]=s),
|
1154
|
-
v===null ? this.hsv[2] : (this.hsv[2]=v)
|
1155
|
-
);
|
1156
|
-
|
1157
|
-
this.exportColor(flags);
|
1158
|
-
};
|
1159
|
-
|
1160
|
-
|
1161
|
-
// r: 0-255
|
1162
|
-
// g: 0-255
|
1163
|
-
// b: 0-255
|
1164
|
-
//
|
1165
|
-
this.fromRGB = function (r, g, b, flags) { // null = don't change
|
1166
|
-
if (r !== null) {
|
1167
|
-
if (isNaN(r)) { return false; }
|
1168
|
-
r = Math.max(0, Math.min(255, r));
|
1169
|
-
}
|
1170
|
-
if (g !== null) {
|
1171
|
-
if (isNaN(g)) { return false; }
|
1172
|
-
g = Math.max(0, Math.min(255, g));
|
1173
|
-
}
|
1174
|
-
if (b !== null) {
|
1175
|
-
if (isNaN(b)) { return false; }
|
1176
|
-
b = Math.max(0, Math.min(255, b));
|
1177
|
-
}
|
1178
|
-
|
1179
|
-
var hsv = RGB_HSV(
|
1180
|
-
r===null ? this.rgb[0] : r,
|
1181
|
-
g===null ? this.rgb[1] : g,
|
1182
|
-
b===null ? this.rgb[2] : b
|
1183
|
-
);
|
1184
|
-
if (hsv[0] !== null) {
|
1185
|
-
this.hsv[0] = Math.max(0, Math.min(360, hsv[0]));
|
1186
|
-
}
|
1187
|
-
if (hsv[2] !== 0) {
|
1188
|
-
this.hsv[1] = hsv[1]===null ? null : Math.max(0, this.minS, Math.min(100, this.maxS, hsv[1]));
|
1189
|
-
}
|
1190
|
-
this.hsv[2] = hsv[2]===null ? null : Math.max(0, this.minV, Math.min(100, this.maxV, hsv[2]));
|
1191
|
-
|
1192
|
-
// update RGB according to final HSV, as some values might be trimmed
|
1193
|
-
var rgb = HSV_RGB(this.hsv[0], this.hsv[1], this.hsv[2]);
|
1194
|
-
this.rgb[0] = rgb[0];
|
1195
|
-
this.rgb[1] = rgb[1];
|
1196
|
-
this.rgb[2] = rgb[2];
|
1197
|
-
|
1198
|
-
this.exportColor(flags);
|
1199
|
-
};
|
1200
|
-
|
1201
|
-
|
1202
|
-
this.fromString = function (str, flags) {
|
1203
|
-
var m;
|
1204
|
-
if (m = str.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i)) {
|
1205
|
-
// HEX notation
|
1206
|
-
//
|
1207
|
-
|
1208
|
-
if (m[1].length === 6) {
|
1209
|
-
// 6-char notation
|
1210
|
-
this.fromRGB(
|
1211
|
-
parseInt(m[1].substr(0,2),16),
|
1212
|
-
parseInt(m[1].substr(2,2),16),
|
1213
|
-
parseInt(m[1].substr(4,2),16),
|
1214
|
-
flags
|
1215
|
-
);
|
1216
|
-
} else {
|
1217
|
-
// 3-char notation
|
1218
|
-
this.fromRGB(
|
1219
|
-
parseInt(m[1].charAt(0) + m[1].charAt(0),16),
|
1220
|
-
parseInt(m[1].charAt(1) + m[1].charAt(1),16),
|
1221
|
-
parseInt(m[1].charAt(2) + m[1].charAt(2),16),
|
1222
|
-
flags
|
1223
|
-
);
|
1224
|
-
}
|
1225
|
-
return true;
|
1226
|
-
|
1227
|
-
} else if (m = str.match(/^\W*rgba?\(([^)]*)\)\W*$/i)) {
|
1228
|
-
var params = m[1].split(',');
|
1229
|
-
var re = /^\s*(\d*)(\.\d+)?\s*$/;
|
1230
|
-
var mR, mG, mB;
|
1231
|
-
if (
|
1232
|
-
params.length >= 3 &&
|
1233
|
-
(mR = params[0].match(re)) &&
|
1234
|
-
(mG = params[1].match(re)) &&
|
1235
|
-
(mB = params[2].match(re))
|
1236
|
-
) {
|
1237
|
-
var r = parseFloat((mR[1] || '0') + (mR[2] || ''));
|
1238
|
-
var g = parseFloat((mG[1] || '0') + (mG[2] || ''));
|
1239
|
-
var b = parseFloat((mB[1] || '0') + (mB[2] || ''));
|
1240
|
-
this.fromRGB(r, g, b, flags);
|
1241
|
-
return true;
|
1242
|
-
}
|
1243
|
-
}
|
1244
|
-
return false;
|
1245
|
-
};
|
1246
|
-
|
1247
|
-
|
1248
|
-
this.toString = function () {
|
1249
|
-
return (
|
1250
|
-
(0x100 | Math.round(this.rgb[0])).toString(16).substr(1) +
|
1251
|
-
(0x100 | Math.round(this.rgb[1])).toString(16).substr(1) +
|
1252
|
-
(0x100 | Math.round(this.rgb[2])).toString(16).substr(1)
|
1253
|
-
);
|
1254
|
-
};
|
1255
|
-
|
1256
|
-
|
1257
|
-
this.toHEXString = function () {
|
1258
|
-
return '#' + this.toString().toUpperCase();
|
1259
|
-
};
|
1260
|
-
|
1261
|
-
|
1262
|
-
this.toRGBString = function () {
|
1263
|
-
return ('rgb(' +
|
1264
|
-
Math.round(this.rgb[0]) + ',' +
|
1265
|
-
Math.round(this.rgb[1]) + ',' +
|
1266
|
-
Math.round(this.rgb[2]) + ')'
|
1267
|
-
);
|
1268
|
-
};
|
1269
|
-
|
1270
|
-
|
1271
|
-
this.isLight = function () {
|
1272
|
-
return (
|
1273
|
-
0.213 * this.rgb[0] +
|
1274
|
-
0.715 * this.rgb[1] +
|
1275
|
-
0.072 * this.rgb[2] >
|
1276
|
-
255 / 2
|
1277
|
-
);
|
1278
|
-
};
|
1279
|
-
|
1280
|
-
|
1281
|
-
this._processParentElementsInDOM = function () {
|
1282
|
-
if (this._linkedElementsProcessed) { return; }
|
1283
|
-
this._linkedElementsProcessed = true;
|
1284
|
-
|
1285
|
-
var elm = this.targetElement;
|
1286
|
-
do {
|
1287
|
-
// If the target element or one of its parent nodes has fixed position,
|
1288
|
-
// then use fixed positioning instead
|
1289
|
-
//
|
1290
|
-
// Note: In Firefox, getComputedStyle returns null in a hidden iframe,
|
1291
|
-
// that's why we need to check if the returned style object is non-empty
|
1292
|
-
var currStyle = jsc.getStyle(elm);
|
1293
|
-
if (currStyle && currStyle.position.toLowerCase() === 'fixed') {
|
1294
|
-
this.fixed = true;
|
1295
|
-
}
|
1296
|
-
|
1297
|
-
if (elm !== this.targetElement) {
|
1298
|
-
// Ensure to attach onParentScroll only once to each parent element
|
1299
|
-
// (multiple targetElements can share the same parent nodes)
|
1300
|
-
//
|
1301
|
-
// Note: It's not just offsetParents that can be scrollable,
|
1302
|
-
// that's why we loop through all parent nodes
|
1303
|
-
if (!elm._jscEventsAttached) {
|
1304
|
-
jsc.attachEvent(elm, 'scroll', jsc.onParentScroll);
|
1305
|
-
elm._jscEventsAttached = true;
|
1306
|
-
}
|
1307
|
-
}
|
1308
|
-
} while ((elm = elm.parentNode) && !jsc.isElementType(elm, 'body'));
|
1309
|
-
};
|
1310
|
-
|
1311
|
-
|
1312
|
-
// r: 0-255
|
1313
|
-
// g: 0-255
|
1314
|
-
// b: 0-255
|
1315
|
-
//
|
1316
|
-
// returns: [ 0-360, 0-100, 0-100 ]
|
1317
|
-
//
|
1318
|
-
function RGB_HSV (r, g, b) {
|
1319
|
-
r /= 255;
|
1320
|
-
g /= 255;
|
1321
|
-
b /= 255;
|
1322
|
-
var n = Math.min(Math.min(r,g),b);
|
1323
|
-
var v = Math.max(Math.max(r,g),b);
|
1324
|
-
var m = v - n;
|
1325
|
-
if (m === 0) { return [ null, 0, 100 * v ]; }
|
1326
|
-
var h = r===n ? 3+(b-g)/m : (g===n ? 5+(r-b)/m : 1+(g-r)/m);
|
1327
|
-
return [
|
1328
|
-
60 * (h===6?0:h),
|
1329
|
-
100 * (m/v),
|
1330
|
-
100 * v
|
1331
|
-
];
|
1332
|
-
}
|
1333
|
-
|
1334
|
-
|
1335
|
-
// h: 0-360
|
1336
|
-
// s: 0-100
|
1337
|
-
// v: 0-100
|
1338
|
-
//
|
1339
|
-
// returns: [ 0-255, 0-255, 0-255 ]
|
1340
|
-
//
|
1341
|
-
function HSV_RGB (h, s, v) {
|
1342
|
-
var u = 255 * (v / 100);
|
1343
|
-
|
1344
|
-
if (h === null) {
|
1345
|
-
return [ u, u, u ];
|
1346
|
-
}
|
1347
|
-
|
1348
|
-
h /= 60;
|
1349
|
-
s /= 100;
|
1350
|
-
|
1351
|
-
var i = Math.floor(h);
|
1352
|
-
var f = i%2 ? h-i : 1-(h-i);
|
1353
|
-
var m = u * (1 - s);
|
1354
|
-
var n = u * (1 - s * f);
|
1355
|
-
switch (i) {
|
1356
|
-
case 6:
|
1357
|
-
case 0: return [u,n,m];
|
1358
|
-
case 1: return [n,u,m];
|
1359
|
-
case 2: return [m,u,n];
|
1360
|
-
case 3: return [m,n,u];
|
1361
|
-
case 4: return [n,m,u];
|
1362
|
-
case 5: return [u,m,n];
|
1363
|
-
}
|
1364
|
-
}
|
1365
|
-
|
1366
|
-
|
1367
|
-
function detachPicker () {
|
1368
|
-
jsc.unsetClass(THIS.targetElement, THIS.activeClass);
|
1369
|
-
jsc.picker.wrap.parentNode.removeChild(jsc.picker.wrap);
|
1370
|
-
delete jsc.picker.owner;
|
1371
|
-
}
|
1372
|
-
|
1373
|
-
|
1374
|
-
function drawPicker () {
|
1375
|
-
|
1376
|
-
// At this point, when drawing the picker, we know what the parent elements are
|
1377
|
-
// and we can do all related DOM operations, such as registering events on them
|
1378
|
-
// or checking their positioning
|
1379
|
-
THIS._processParentElementsInDOM();
|
1380
|
-
|
1381
|
-
if (!jsc.picker) {
|
1382
|
-
jsc.picker = {
|
1383
|
-
owner: null,
|
1384
|
-
wrap : document.createElement('div'),
|
1385
|
-
box : document.createElement('div'),
|
1386
|
-
boxS : document.createElement('div'), // shadow area
|
1387
|
-
boxB : document.createElement('div'), // border
|
1388
|
-
pad : document.createElement('div'),
|
1389
|
-
padB : document.createElement('div'), // border
|
1390
|
-
padM : document.createElement('div'), // mouse/touch area
|
1391
|
-
padPal : jsc.createPalette(),
|
1392
|
-
cross : document.createElement('div'),
|
1393
|
-
crossBY : document.createElement('div'), // border Y
|
1394
|
-
crossBX : document.createElement('div'), // border X
|
1395
|
-
crossLY : document.createElement('div'), // line Y
|
1396
|
-
crossLX : document.createElement('div'), // line X
|
1397
|
-
sld : document.createElement('div'),
|
1398
|
-
sldB : document.createElement('div'), // border
|
1399
|
-
sldM : document.createElement('div'), // mouse/touch area
|
1400
|
-
sldGrad : jsc.createSliderGradient(),
|
1401
|
-
sldPtrS : document.createElement('div'), // slider pointer spacer
|
1402
|
-
sldPtrIB : document.createElement('div'), // slider pointer inner border
|
1403
|
-
sldPtrMB : document.createElement('div'), // slider pointer middle border
|
1404
|
-
sldPtrOB : document.createElement('div'), // slider pointer outer border
|
1405
|
-
btn : document.createElement('div'),
|
1406
|
-
btnT : document.createElement('span') // text
|
1407
|
-
};
|
1408
|
-
|
1409
|
-
jsc.picker.pad.appendChild(jsc.picker.padPal.elm);
|
1410
|
-
jsc.picker.padB.appendChild(jsc.picker.pad);
|
1411
|
-
jsc.picker.cross.appendChild(jsc.picker.crossBY);
|
1412
|
-
jsc.picker.cross.appendChild(jsc.picker.crossBX);
|
1413
|
-
jsc.picker.cross.appendChild(jsc.picker.crossLY);
|
1414
|
-
jsc.picker.cross.appendChild(jsc.picker.crossLX);
|
1415
|
-
jsc.picker.padB.appendChild(jsc.picker.cross);
|
1416
|
-
jsc.picker.box.appendChild(jsc.picker.padB);
|
1417
|
-
jsc.picker.box.appendChild(jsc.picker.padM);
|
1418
|
-
|
1419
|
-
jsc.picker.sld.appendChild(jsc.picker.sldGrad.elm);
|
1420
|
-
jsc.picker.sldB.appendChild(jsc.picker.sld);
|
1421
|
-
jsc.picker.sldB.appendChild(jsc.picker.sldPtrOB);
|
1422
|
-
jsc.picker.sldPtrOB.appendChild(jsc.picker.sldPtrMB);
|
1423
|
-
jsc.picker.sldPtrMB.appendChild(jsc.picker.sldPtrIB);
|
1424
|
-
jsc.picker.sldPtrIB.appendChild(jsc.picker.sldPtrS);
|
1425
|
-
jsc.picker.box.appendChild(jsc.picker.sldB);
|
1426
|
-
jsc.picker.box.appendChild(jsc.picker.sldM);
|
1427
|
-
|
1428
|
-
jsc.picker.btn.appendChild(jsc.picker.btnT);
|
1429
|
-
jsc.picker.box.appendChild(jsc.picker.btn);
|
1430
|
-
|
1431
|
-
jsc.picker.boxB.appendChild(jsc.picker.box);
|
1432
|
-
jsc.picker.wrap.appendChild(jsc.picker.boxS);
|
1433
|
-
jsc.picker.wrap.appendChild(jsc.picker.boxB);
|
1434
|
-
}
|
1435
|
-
|
1436
|
-
var p = jsc.picker;
|
1437
|
-
|
1438
|
-
var displaySlider = !!jsc.getSliderComponent(THIS);
|
1439
|
-
var dims = jsc.getPickerDims(THIS);
|
1440
|
-
var crossOuterSize = (2 * THIS.pointerBorderWidth + THIS.pointerThickness + 2 * THIS.crossSize);
|
1441
|
-
var padToSliderPadding = jsc.getPadToSliderPadding(THIS);
|
1442
|
-
var borderRadius = Math.min(
|
1443
|
-
THIS.borderRadius,
|
1444
|
-
Math.round(THIS.padding * Math.PI)); // px
|
1445
|
-
var padCursor = 'crosshair';
|
1446
|
-
|
1447
|
-
// wrap
|
1448
|
-
p.wrap.style.clear = 'both';
|
1449
|
-
p.wrap.style.width = (dims[0] + 2 * THIS.borderWidth) + 'px';
|
1450
|
-
p.wrap.style.height = (dims[1] + 2 * THIS.borderWidth) + 'px';
|
1451
|
-
p.wrap.style.zIndex = THIS.zIndex;
|
1452
|
-
|
1453
|
-
// picker
|
1454
|
-
p.box.style.width = dims[0] + 'px';
|
1455
|
-
p.box.style.height = dims[1] + 'px';
|
1456
|
-
|
1457
|
-
p.boxS.style.position = 'absolute';
|
1458
|
-
p.boxS.style.left = '0';
|
1459
|
-
p.boxS.style.top = '0';
|
1460
|
-
p.boxS.style.width = '100%';
|
1461
|
-
p.boxS.style.height = '100%';
|
1462
|
-
jsc.setBorderRadius(p.boxS, borderRadius + 'px');
|
1463
|
-
|
1464
|
-
// picker border
|
1465
|
-
p.boxB.style.position = 'relative';
|
1466
|
-
p.boxB.style.border = THIS.borderWidth + 'px solid';
|
1467
|
-
p.boxB.style.borderColor = THIS.borderColor;
|
1468
|
-
p.boxB.style.background = THIS.backgroundColor;
|
1469
|
-
jsc.setBorderRadius(p.boxB, borderRadius + 'px');
|
1470
|
-
|
1471
|
-
// IE hack:
|
1472
|
-
// If the element is transparent, IE will trigger the event on the elements under it,
|
1473
|
-
// e.g. on Canvas or on elements with border
|
1474
|
-
p.padM.style.background =
|
1475
|
-
p.sldM.style.background =
|
1476
|
-
'#FFF';
|
1477
|
-
jsc.setStyle(p.padM, 'opacity', '0');
|
1478
|
-
jsc.setStyle(p.sldM, 'opacity', '0');
|
1479
|
-
|
1480
|
-
// pad
|
1481
|
-
p.pad.style.position = 'relative';
|
1482
|
-
p.pad.style.width = THIS.width + 'px';
|
1483
|
-
p.pad.style.height = THIS.height + 'px';
|
1484
|
-
|
1485
|
-
// pad palettes (HSV and HVS)
|
1486
|
-
p.padPal.draw(THIS.width, THIS.height, jsc.getPadYComponent(THIS));
|
1487
|
-
|
1488
|
-
// pad border
|
1489
|
-
p.padB.style.position = 'absolute';
|
1490
|
-
p.padB.style.left = THIS.padding + 'px';
|
1491
|
-
p.padB.style.top = THIS.padding + 'px';
|
1492
|
-
p.padB.style.border = THIS.insetWidth + 'px solid';
|
1493
|
-
p.padB.style.borderColor = THIS.insetColor;
|
1494
|
-
|
1495
|
-
// pad mouse area
|
1496
|
-
p.padM._jscInstance = THIS;
|
1497
|
-
p.padM._jscControlName = 'pad';
|
1498
|
-
p.padM.style.position = 'absolute';
|
1499
|
-
p.padM.style.left = '0';
|
1500
|
-
p.padM.style.top = '0';
|
1501
|
-
p.padM.style.width = (THIS.padding + 2 * THIS.insetWidth + THIS.width + padToSliderPadding / 2) + 'px';
|
1502
|
-
p.padM.style.height = dims[1] + 'px';
|
1503
|
-
p.padM.style.cursor = padCursor;
|
1504
|
-
|
1505
|
-
// pad cross
|
1506
|
-
p.cross.style.position = 'absolute';
|
1507
|
-
p.cross.style.left =
|
1508
|
-
p.cross.style.top =
|
1509
|
-
'0';
|
1510
|
-
p.cross.style.width =
|
1511
|
-
p.cross.style.height =
|
1512
|
-
crossOuterSize + 'px';
|
1513
|
-
|
1514
|
-
// pad cross border Y and X
|
1515
|
-
p.crossBY.style.position =
|
1516
|
-
p.crossBX.style.position =
|
1517
|
-
'absolute';
|
1518
|
-
p.crossBY.style.background =
|
1519
|
-
p.crossBX.style.background =
|
1520
|
-
THIS.pointerBorderColor;
|
1521
|
-
p.crossBY.style.width =
|
1522
|
-
p.crossBX.style.height =
|
1523
|
-
(2 * THIS.pointerBorderWidth + THIS.pointerThickness) + 'px';
|
1524
|
-
p.crossBY.style.height =
|
1525
|
-
p.crossBX.style.width =
|
1526
|
-
crossOuterSize + 'px';
|
1527
|
-
p.crossBY.style.left =
|
1528
|
-
p.crossBX.style.top =
|
1529
|
-
(Math.floor(crossOuterSize / 2) - Math.floor(THIS.pointerThickness / 2) - THIS.pointerBorderWidth) + 'px';
|
1530
|
-
p.crossBY.style.top =
|
1531
|
-
p.crossBX.style.left =
|
1532
|
-
'0';
|
1533
|
-
|
1534
|
-
// pad cross line Y and X
|
1535
|
-
p.crossLY.style.position =
|
1536
|
-
p.crossLX.style.position =
|
1537
|
-
'absolute';
|
1538
|
-
p.crossLY.style.background =
|
1539
|
-
p.crossLX.style.background =
|
1540
|
-
THIS.pointerColor;
|
1541
|
-
p.crossLY.style.height =
|
1542
|
-
p.crossLX.style.width =
|
1543
|
-
(crossOuterSize - 2 * THIS.pointerBorderWidth) + 'px';
|
1544
|
-
p.crossLY.style.width =
|
1545
|
-
p.crossLX.style.height =
|
1546
|
-
THIS.pointerThickness + 'px';
|
1547
|
-
p.crossLY.style.left =
|
1548
|
-
p.crossLX.style.top =
|
1549
|
-
(Math.floor(crossOuterSize / 2) - Math.floor(THIS.pointerThickness / 2)) + 'px';
|
1550
|
-
p.crossLY.style.top =
|
1551
|
-
p.crossLX.style.left =
|
1552
|
-
THIS.pointerBorderWidth + 'px';
|
1553
|
-
|
1554
|
-
// slider
|
1555
|
-
p.sld.style.overflow = 'hidden';
|
1556
|
-
p.sld.style.width = THIS.sliderSize + 'px';
|
1557
|
-
p.sld.style.height = THIS.height + 'px';
|
1558
|
-
|
1559
|
-
// slider gradient
|
1560
|
-
p.sldGrad.draw(THIS.sliderSize, THIS.height, '#000', '#000');
|
1561
|
-
|
1562
|
-
// slider border
|
1563
|
-
p.sldB.style.display = displaySlider ? 'block' : 'none';
|
1564
|
-
p.sldB.style.position = 'absolute';
|
1565
|
-
p.sldB.style.right = THIS.padding + 'px';
|
1566
|
-
p.sldB.style.top = THIS.padding + 'px';
|
1567
|
-
p.sldB.style.border = THIS.insetWidth + 'px solid';
|
1568
|
-
p.sldB.style.borderColor = THIS.insetColor;
|
1569
|
-
|
1570
|
-
// slider mouse area
|
1571
|
-
p.sldM._jscInstance = THIS;
|
1572
|
-
p.sldM._jscControlName = 'sld';
|
1573
|
-
p.sldM.style.display = displaySlider ? 'block' : 'none';
|
1574
|
-
p.sldM.style.position = 'absolute';
|
1575
|
-
p.sldM.style.right = '0';
|
1576
|
-
p.sldM.style.top = '0';
|
1577
|
-
p.sldM.style.width = (THIS.sliderSize + padToSliderPadding / 2 + THIS.padding + 2 * THIS.insetWidth) + 'px';
|
1578
|
-
p.sldM.style.height = dims[1] + 'px';
|
1579
|
-
p.sldM.style.cursor = 'default';
|
1580
|
-
|
1581
|
-
// slider pointer inner and outer border
|
1582
|
-
p.sldPtrIB.style.border =
|
1583
|
-
p.sldPtrOB.style.border =
|
1584
|
-
THIS.pointerBorderWidth + 'px solid ' + THIS.pointerBorderColor;
|
1585
|
-
|
1586
|
-
// slider pointer outer border
|
1587
|
-
p.sldPtrOB.style.position = 'absolute';
|
1588
|
-
p.sldPtrOB.style.left = -(2 * THIS.pointerBorderWidth + THIS.pointerThickness) + 'px';
|
1589
|
-
p.sldPtrOB.style.top = '0';
|
1590
|
-
|
1591
|
-
// slider pointer middle border
|
1592
|
-
p.sldPtrMB.style.border = THIS.pointerThickness + 'px solid ' + THIS.pointerColor;
|
1593
|
-
|
1594
|
-
// slider pointer spacer
|
1595
|
-
p.sldPtrS.style.width = THIS.sliderSize + 'px';
|
1596
|
-
p.sldPtrS.style.height = sliderPtrSpace + 'px';
|
1597
|
-
|
1598
|
-
// the Close button
|
1599
|
-
function setBtnBorder () {
|
1600
|
-
var insetColors = THIS.insetColor.split(/\s+/);
|
1601
|
-
var outsetColor = insetColors.length < 2 ? insetColors[0] : insetColors[1] + ' ' + insetColors[0] + ' ' + insetColors[0] + ' ' + insetColors[1];
|
1602
|
-
p.btn.style.borderColor = outsetColor;
|
1603
|
-
}
|
1604
|
-
p.btn.style.display = THIS.closable ? 'block' : 'none';
|
1605
|
-
p.btn.style.position = 'absolute';
|
1606
|
-
p.btn.style.left = THIS.padding + 'px';
|
1607
|
-
p.btn.style.bottom = THIS.padding + 'px';
|
1608
|
-
p.btn.style.padding = '0 15px';
|
1609
|
-
p.btn.style.height = THIS.buttonHeight + 'px';
|
1610
|
-
p.btn.style.border = THIS.insetWidth + 'px solid';
|
1611
|
-
setBtnBorder();
|
1612
|
-
p.btn.style.color = THIS.buttonColor;
|
1613
|
-
p.btn.style.font = '12px sans-serif';
|
1614
|
-
p.btn.style.textAlign = 'center';
|
1615
|
-
try {
|
1616
|
-
p.btn.style.cursor = 'pointer';
|
1617
|
-
} catch(eOldIE) {
|
1618
|
-
p.btn.style.cursor = 'hand';
|
1619
|
-
}
|
1620
|
-
p.btn.onmousedown = function () {
|
1621
|
-
THIS.hide();
|
1622
|
-
};
|
1623
|
-
p.btnT.style.lineHeight = THIS.buttonHeight + 'px';
|
1624
|
-
p.btnT.innerHTML = '';
|
1625
|
-
p.btnT.appendChild(document.createTextNode(THIS.closeText));
|
1626
|
-
|
1627
|
-
// place pointers
|
1628
|
-
redrawPad();
|
1629
|
-
redrawSld();
|
1630
|
-
|
1631
|
-
// If we are changing the owner without first closing the picker,
|
1632
|
-
// make sure to first deal with the old owner
|
1633
|
-
if (jsc.picker.owner && jsc.picker.owner !== THIS) {
|
1634
|
-
jsc.unsetClass(jsc.picker.owner.targetElement, THIS.activeClass);
|
1635
|
-
}
|
1636
|
-
|
1637
|
-
// Set the new picker owner
|
1638
|
-
jsc.picker.owner = THIS;
|
1639
|
-
|
1640
|
-
// The redrawPosition() method needs picker.owner to be set, that's why we call it here,
|
1641
|
-
// after setting the owner
|
1642
|
-
if (jsc.isElementType(container, 'body')) {
|
1643
|
-
jsc.redrawPosition();
|
1644
|
-
} else {
|
1645
|
-
jsc._drawPosition(THIS, 0, 0, 'relative', false);
|
1646
|
-
}
|
1647
|
-
|
1648
|
-
if (p.wrap.parentNode != container) {
|
1649
|
-
container.appendChild(p.wrap);
|
1650
|
-
}
|
1651
|
-
|
1652
|
-
jsc.setClass(THIS.targetElement, THIS.activeClass);
|
1653
|
-
}
|
1654
|
-
|
1655
|
-
|
1656
|
-
function redrawPad () {
|
1657
|
-
// redraw the pad pointer
|
1658
|
-
switch (jsc.getPadYComponent(THIS)) {
|
1659
|
-
case 's': var yComponent = 1; break;
|
1660
|
-
case 'v': var yComponent = 2; break;
|
1661
|
-
}
|
1662
|
-
var x = Math.round((THIS.hsv[0] / 360) * (THIS.width - 1));
|
1663
|
-
var y = Math.round((1 - THIS.hsv[yComponent] / 100) * (THIS.height - 1));
|
1664
|
-
var crossOuterSize = (2 * THIS.pointerBorderWidth + THIS.pointerThickness + 2 * THIS.crossSize);
|
1665
|
-
var ofs = -Math.floor(crossOuterSize / 2);
|
1666
|
-
jsc.picker.cross.style.left = (x + ofs) + 'px';
|
1667
|
-
jsc.picker.cross.style.top = (y + ofs) + 'px';
|
1668
|
-
|
1669
|
-
// redraw the slider
|
1670
|
-
switch (jsc.getSliderComponent(THIS)) {
|
1671
|
-
case 's':
|
1672
|
-
var rgb1 = HSV_RGB(THIS.hsv[0], 100, THIS.hsv[2]);
|
1673
|
-
var rgb2 = HSV_RGB(THIS.hsv[0], 0, THIS.hsv[2]);
|
1674
|
-
var color1 = 'rgb(' +
|
1675
|
-
Math.round(rgb1[0]) + ',' +
|
1676
|
-
Math.round(rgb1[1]) + ',' +
|
1677
|
-
Math.round(rgb1[2]) + ')';
|
1678
|
-
var color2 = 'rgb(' +
|
1679
|
-
Math.round(rgb2[0]) + ',' +
|
1680
|
-
Math.round(rgb2[1]) + ',' +
|
1681
|
-
Math.round(rgb2[2]) + ')';
|
1682
|
-
jsc.picker.sldGrad.draw(THIS.sliderSize, THIS.height, color1, color2);
|
1683
|
-
break;
|
1684
|
-
case 'v':
|
1685
|
-
var rgb = HSV_RGB(THIS.hsv[0], THIS.hsv[1], 100);
|
1686
|
-
var color1 = 'rgb(' +
|
1687
|
-
Math.round(rgb[0]) + ',' +
|
1688
|
-
Math.round(rgb[1]) + ',' +
|
1689
|
-
Math.round(rgb[2]) + ')';
|
1690
|
-
var color2 = '#000';
|
1691
|
-
jsc.picker.sldGrad.draw(THIS.sliderSize, THIS.height, color1, color2);
|
1692
|
-
break;
|
1693
|
-
}
|
1694
|
-
}
|
1695
|
-
|
1696
|
-
|
1697
|
-
function redrawSld () {
|
1698
|
-
var sldComponent = jsc.getSliderComponent(THIS);
|
1699
|
-
if (sldComponent) {
|
1700
|
-
// redraw the slider pointer
|
1701
|
-
switch (sldComponent) {
|
1702
|
-
case 's': var yComponent = 1; break;
|
1703
|
-
case 'v': var yComponent = 2; break;
|
1704
|
-
}
|
1705
|
-
var y = Math.round((1 - THIS.hsv[yComponent] / 100) * (THIS.height - 1));
|
1706
|
-
jsc.picker.sldPtrOB.style.top = (y - (2 * THIS.pointerBorderWidth + THIS.pointerThickness) - Math.floor(sliderPtrSpace / 2)) + 'px';
|
1707
|
-
}
|
1708
|
-
}
|
1709
|
-
|
1710
|
-
|
1711
|
-
function isPickerOwner () {
|
1712
|
-
return jsc.picker && jsc.picker.owner === THIS;
|
1713
|
-
}
|
1714
|
-
|
1715
|
-
|
1716
|
-
function blurValue () {
|
1717
|
-
THIS.importColor();
|
1718
|
-
}
|
1719
|
-
|
1720
|
-
|
1721
|
-
// Find the target element
|
1722
|
-
if (typeof targetElement === 'string') {
|
1723
|
-
var id = targetElement;
|
1724
|
-
var elm = document.getElementById(id);
|
1725
|
-
if (elm) {
|
1726
|
-
this.targetElement = elm;
|
1727
|
-
} else {
|
1728
|
-
jsc.warn('Could not find target element with ID \'' + id + '\'');
|
1729
|
-
}
|
1730
|
-
} else if (targetElement) {
|
1731
|
-
this.targetElement = targetElement;
|
1732
|
-
} else {
|
1733
|
-
jsc.warn('Invalid target element: \'' + targetElement + '\'');
|
1734
|
-
}
|
1735
|
-
|
1736
|
-
if (this.targetElement._jscLinkedInstance) {
|
1737
|
-
jsc.warn('Cannot link jscolor twice to the same element. Skipping.');
|
1738
|
-
return;
|
1739
|
-
}
|
1740
|
-
this.targetElement._jscLinkedInstance = this;
|
1741
|
-
|
1742
|
-
// Find the value element
|
1743
|
-
this.valueElement = jsc.fetchElement(this.valueElement);
|
1744
|
-
// Find the style element
|
1745
|
-
this.styleElement = jsc.fetchElement(this.styleElement);
|
1746
|
-
|
1747
|
-
var THIS = this;
|
1748
|
-
var container =
|
1749
|
-
this.container ?
|
1750
|
-
jsc.fetchElement(this.container) :
|
1751
|
-
document.getElementsByTagName('body')[0];
|
1752
|
-
var sliderPtrSpace = 3; // px
|
1753
|
-
|
1754
|
-
// For BUTTON elements it's important to stop them from sending the form when clicked
|
1755
|
-
// (e.g. in Safari)
|
1756
|
-
if (jsc.isElementType(this.targetElement, 'button')) {
|
1757
|
-
if (this.targetElement.onclick) {
|
1758
|
-
var origCallback = this.targetElement.onclick;
|
1759
|
-
this.targetElement.onclick = function (evt) {
|
1760
|
-
origCallback.call(this, evt);
|
1761
|
-
return false;
|
1762
|
-
};
|
1763
|
-
} else {
|
1764
|
-
this.targetElement.onclick = function () { return false; };
|
1765
|
-
}
|
1766
|
-
}
|
1767
|
-
|
1768
|
-
/*
|
1769
|
-
var elm = this.targetElement;
|
1770
|
-
do {
|
1771
|
-
// If the target element or one of its offsetParents has fixed position,
|
1772
|
-
// then use fixed positioning instead
|
1773
|
-
//
|
1774
|
-
// Note: In Firefox, getComputedStyle returns null in a hidden iframe,
|
1775
|
-
// that's why we need to check if the returned style object is non-empty
|
1776
|
-
var currStyle = jsc.getStyle(elm);
|
1777
|
-
if (currStyle && currStyle.position.toLowerCase() === 'fixed') {
|
1778
|
-
this.fixed = true;
|
1779
|
-
}
|
1780
|
-
|
1781
|
-
if (elm !== this.targetElement) {
|
1782
|
-
// attach onParentScroll so that we can recompute the picker position
|
1783
|
-
// when one of the offsetParents is scrolled
|
1784
|
-
if (!elm._jscEventsAttached) {
|
1785
|
-
jsc.attachEvent(elm, 'scroll', jsc.onParentScroll);
|
1786
|
-
elm._jscEventsAttached = true;
|
1787
|
-
}
|
1788
|
-
}
|
1789
|
-
} while ((elm = elm.offsetParent) && !jsc.isElementType(elm, 'body'));
|
1790
|
-
*/
|
1791
|
-
|
1792
|
-
// valueElement
|
1793
|
-
if (this.valueElement) {
|
1794
|
-
if (jsc.isElementType(this.valueElement, 'input')) {
|
1795
|
-
var updateField = function () {
|
1796
|
-
THIS.fromString(THIS.valueElement.value, jsc.leaveValue);
|
1797
|
-
jsc.dispatchFineChange(THIS);
|
1798
|
-
};
|
1799
|
-
jsc.attachEvent(this.valueElement, 'keyup', updateField);
|
1800
|
-
jsc.attachEvent(this.valueElement, 'input', updateField);
|
1801
|
-
jsc.attachEvent(this.valueElement, 'blur', blurValue);
|
1802
|
-
this.valueElement.setAttribute('autocomplete', 'off');
|
1803
|
-
}
|
1804
|
-
}
|
1805
|
-
|
1806
|
-
// styleElement
|
1807
|
-
if (this.styleElement) {
|
1808
|
-
this.styleElement._jscOrigStyle = {
|
1809
|
-
backgroundImage : this.styleElement.style.backgroundImage,
|
1810
|
-
backgroundColor : this.styleElement.style.backgroundColor,
|
1811
|
-
color : this.styleElement.style.color
|
1812
|
-
};
|
1813
|
-
}
|
1814
|
-
|
1815
|
-
if (this.value) {
|
1816
|
-
// Try to set the color from the .value option and if unsuccessful,
|
1817
|
-
// export the current color
|
1818
|
-
this.fromString(this.value) || this.exportColor();
|
1819
|
-
} else {
|
1820
|
-
this.importColor();
|
1821
|
-
}
|
1822
|
-
}
|
1823
|
-
|
1824
|
-
};
|
1825
|
-
|
1826
|
-
|
1827
|
-
//================================
|
1828
|
-
// Public properties and methods
|
1829
|
-
//================================
|
1830
|
-
|
1831
|
-
|
1832
|
-
// By default, search for all elements with class="jscolor" and install a color picker on them.
|
1833
|
-
//
|
1834
|
-
// You can change what class name will be looked for by setting the property jscolor.lookupClass
|
1835
|
-
// anywhere in your HTML document. To completely disable the automatic lookup, set it to null.
|
1836
|
-
//
|
1837
|
-
jsc.jscolor.lookupClass = 'jscolor';
|
1838
|
-
|
1839
|
-
|
1840
|
-
jsc.jscolor.installByClassName = function (className) {
|
1841
|
-
var inputElms = document.getElementsByTagName('input');
|
1842
|
-
var buttonElms = document.getElementsByTagName('button');
|
1843
|
-
|
1844
|
-
jsc.tryInstallOnElements(inputElms, className);
|
1845
|
-
jsc.tryInstallOnElements(buttonElms, className);
|
1846
|
-
};
|
1847
|
-
|
1848
|
-
|
1849
|
-
jsc.register();
|
1850
|
-
|
1851
|
-
|
1852
|
-
return jsc.jscolor;
|
1853
|
-
|
1854
|
-
|
1855
|
-
})(); }
|