locomotivecms 3.0.1 → 3.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +5 -2
- data/app/api/locomotive/api.rb +4 -0
- data/app/api/locomotive/api/entities/site_entity.rb +8 -0
- data/app/api/locomotive/api/forms/site_form.rb +1 -1
- data/app/api/locomotive/api/helpers/params_helper.rb +14 -3
- data/app/api/locomotive/api/middlewares/logger_middleware.rb +1 -3
- data/app/api/locomotive/api/resources/current_site_resource.rb +3 -1
- data/app/api/locomotive/api/resources/page_resource.rb +2 -2
- data/app/api/locomotive/api/resources/site_resource.rb +4 -0
- data/app/assets/images/locomotive/blank.png +0 -0
- data/app/assets/images/locomotive/icons/flags/bf.png +0 -0
- data/app/assets/images/locomotive/icons/flags/bg.png +0 -0
- data/app/assets/images/locomotive/icons/flags/cs.png +0 -0
- data/app/assets/images/locomotive/icons/flags/de.png +0 -0
- data/app/assets/images/locomotive/icons/flags/en.png +0 -0
- data/app/assets/images/locomotive/icons/flags/es.png +0 -0
- data/app/assets/images/locomotive/icons/flags/et.png +0 -0
- data/app/assets/images/locomotive/icons/flags/fr.png +0 -0
- data/app/assets/images/locomotive/icons/flags/it.png +0 -0
- data/app/assets/images/locomotive/icons/flags/ja.png +0 -0
- data/app/assets/images/locomotive/icons/flags/lt.png +0 -0
- data/app/assets/images/locomotive/icons/flags/mg.png +0 -0
- data/app/assets/images/locomotive/icons/flags/nb.png +0 -0
- data/app/assets/images/locomotive/icons/flags/nl.png +0 -0
- data/app/assets/images/locomotive/icons/flags/pl.png +0 -0
- data/app/assets/images/locomotive/icons/flags/pt-BR.png +0 -0
- data/app/assets/images/locomotive/icons/flags/pt.png +0 -0
- data/app/assets/images/locomotive/icons/flags/ru.png +0 -0
- data/app/assets/images/locomotive/icons/flags/sk.png +0 -0
- data/app/assets/images/locomotive/icons/flags/sr.png +0 -0
- data/app/assets/images/locomotive/icons/flags/sv.png +0 -0
- data/app/assets/images/locomotive/icons/flags/zh-CN.png +0 -0
- data/app/assets/javascripts/locomotive.js +3 -1
- data/app/assets/javascripts/locomotive/utils/core_ext.js +10 -0
- data/app/assets/javascripts/locomotive/utils/wysihtml5.js.coffee +0 -16
- data/app/assets/javascripts/locomotive/views/application_view.js.coffee +20 -3
- data/app/assets/javascripts/locomotive/views/current_site/edit_view.js.coffee +7 -0
- data/app/assets/javascripts/locomotive/views/current_site_metafields/index_view.js.coffee +7 -0
- data/app/assets/javascripts/locomotive/views/editable_elements/edit_view.js.coffee +2 -2
- data/app/assets/javascripts/locomotive/views/editable_elements/iframe_view.js.coffee +10 -0
- data/app/assets/javascripts/locomotive/views/editable_elements/index_view.js.coffee +11 -6
- data/app/assets/javascripts/locomotive/views/editable_elements/text_highlighter_view.js.coffee +6 -1
- data/app/assets/javascripts/locomotive/views/inputs/file_view.js.coffee +1 -8
- data/app/assets/javascripts/locomotive/views/inputs/image_view.js.coffee +84 -0
- data/app/assets/javascripts/locomotive/views/inputs/rte/edit_table_view.js.coffee +2 -0
- data/app/assets/javascripts/locomotive/views/inputs/rte/file_view.js.coffee +5 -3
- data/app/assets/javascripts/locomotive/views/inputs/rte/image_view.js.coffee +14 -0
- data/app/assets/javascripts/locomotive/views/inputs/rte/link_view.js.coffee +9 -3
- data/app/assets/javascripts/locomotive/views/inputs/rte/table_view.js.coffee +7 -2
- data/app/assets/javascripts/locomotive/views/inputs/rte_view.js.coffee.erb +19 -6
- data/app/assets/javascripts/locomotive/views/inputs/simple_image_view.js.coffee +17 -40
- data/app/assets/javascripts/locomotive/views/shared/drawer_view.js.coffee +8 -6
- data/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee +30 -8
- data/app/assets/javascripts/locomotive/views/shared/sidebar_view.js.coffee +31 -2
- data/app/assets/stylesheets/locomotive/account.scss +14 -10
- data/app/assets/stylesheets/locomotive/application.scss +101 -24
- data/app/assets/stylesheets/locomotive/live_editing_error.scss +48 -4
- data/app/assets/stylesheets/locomotive/live_editing_iframe.scss +0 -2
- data/app/assets/stylesheets/locomotive/new/_actionbar.scss +83 -0
- data/app/assets/stylesheets/locomotive/{account → new}/_brand.scss +0 -0
- data/app/assets/stylesheets/locomotive/new/_content.scss +65 -0
- data/app/assets/stylesheets/locomotive/new/_drawer.scss +53 -0
- data/app/assets/stylesheets/locomotive/new/_files.scss +124 -0
- data/app/assets/stylesheets/locomotive/{account → new}/_forms.scss +0 -0
- data/app/assets/stylesheets/locomotive/{account → new}/_keyframes.scss +0 -0
- data/app/assets/stylesheets/locomotive/{account → new}/_navigation.scss +85 -0
- data/app/assets/stylesheets/locomotive/{account → new}/_navs.scss +0 -0
- data/app/assets/stylesheets/locomotive/{account → new}/_notify.scss +0 -0
- data/app/assets/stylesheets/locomotive/{account → new}/_public.scss +0 -0
- data/app/assets/stylesheets/locomotive/new/_sidebar.scss +177 -0
- data/app/assets/stylesheets/locomotive/new/_transitions.scss +96 -0
- data/app/assets/stylesheets/locomotive/{account → new}/_type.scss +0 -0
- data/app/assets/stylesheets/locomotive/{account → new}/_variables.scss +0 -0
- data/app/assets/stylesheets/locomotive/{components → old}/_activity_feed.scss +0 -0
- data/app/assets/stylesheets/locomotive/{base → old}/_buttons.scss +0 -0
- data/app/assets/stylesheets/locomotive/{components → old}/_content_assets.scss +49 -48
- data/app/assets/stylesheets/locomotive/{components → old}/_dashboard.scss +0 -0
- data/app/assets/stylesheets/locomotive/{components → old}/_developers.scss +0 -0
- data/app/assets/stylesheets/locomotive/{components → old}/_list.scss +15 -21
- data/app/assets/stylesheets/locomotive/old/_live_editing.scss +37 -0
- data/app/assets/stylesheets/locomotive/{components → old}/_main.scss +4 -14
- data/app/assets/stylesheets/locomotive/{base → old}/_nav.scss +0 -0
- data/app/assets/stylesheets/locomotive/old/_scrollable.scss +11 -0
- data/app/assets/stylesheets/locomotive/{components/misc/_nav.scss → old/_search_bars.scss} +8 -14
- data/app/assets/stylesheets/locomotive/{components → old}/_translations.scss +0 -0
- data/app/assets/stylesheets/locomotive/{globals → old}/_variables.scss +47 -12
- data/app/assets/stylesheets/locomotive/{base → old}/form/_array_input.scss +20 -27
- data/app/assets/stylesheets/locomotive/{base → old}/form/_base.scss +1 -0
- data/app/assets/stylesheets/locomotive/{base → old}/form/_code.scss +0 -0
- data/app/assets/stylesheets/locomotive/{base → old}/form/_color_input.scss +0 -0
- data/app/assets/stylesheets/locomotive/{base → old}/form/_document_picker.scss +0 -0
- data/app/assets/stylesheets/locomotive/{base → old}/form/_file_input.scss +14 -20
- data/app/assets/stylesheets/locomotive/{base → old}/form/_link.scss +0 -0
- data/app/assets/stylesheets/locomotive/{base → old}/form/_markdown.scss +0 -0
- data/app/assets/stylesheets/locomotive/{base → old}/form/_popover.scss +0 -0
- data/app/assets/stylesheets/locomotive/{base → old}/form/_rte.scss +8 -0
- data/app/assets/stylesheets/locomotive/{base → old}/form/_select2.scss +35 -0
- data/app/assets/stylesheets/locomotive/{base → old}/form/_tags.scss +0 -0
- data/app/assets/stylesheets/locomotive/{base → old}/form/_toggle.scss +4 -10
- data/app/controllers/locomotive/content_entries_controller.rb +1 -1
- data/app/controllers/locomotive/current_site_metafields_controller.rb +34 -0
- data/app/controllers/locomotive/custom_fields/select_options_controller.rb +4 -0
- data/app/controllers/locomotive/pages_controller.rb +1 -1
- data/app/helpers/locomotive/base_helper.rb +13 -0
- data/app/helpers/locomotive/current_site_metafields_helper.rb +126 -0
- data/app/helpers/locomotive/my_account_helper.rb +1 -1
- data/app/helpers/locomotive/shared/pages_helper.rb +4 -0
- data/app/helpers/locomotive/sites_helper.rb +9 -11
- data/app/inputs/locomotive/file_input.rb +3 -3
- data/app/inputs/locomotive/image_input.rb +97 -0
- data/app/inputs/locomotive/rte_input.rb +2 -1
- data/app/inputs/locomotive/simple_image_input.rb +5 -68
- data/app/models/locomotive/concerns/site/metafields.rb +96 -0
- data/app/models/locomotive/editable_text.rb +2 -1
- data/app/models/locomotive/site.rb +1 -0
- data/app/policies/locomotive/page_policy.rb +6 -0
- data/app/services/locomotive/content_entry_service.rb +3 -0
- data/app/services/locomotive/site_metafields_service.rb +39 -0
- data/app/views/locomotive/current_site/edit.html.slim +3 -0
- data/app/views/locomotive/current_site_metafields/form/_panes.html.slim +19 -0
- data/app/views/locomotive/current_site_metafields/form/_tabs.html.slim +6 -0
- data/app/views/locomotive/current_site_metafields/index.html.slim +26 -0
- data/app/views/locomotive/editable_elements/_form.html.slim +1 -1
- data/app/views/locomotive/layouts/application.html.slim +22 -19
- data/app/views/locomotive/layouts/live_editing.html.slim +19 -30
- data/app/views/locomotive/pages/form/_main.html.slim +3 -0
- data/app/views/locomotive/shared/_account_navigation.slim +9 -2
- data/app/views/locomotive/shared/_head.html.slim +4 -0
- data/app/views/locomotive/shared/_locale_picker_link.html.slim +1 -1
- data/app/views/locomotive/shared/_navigation.html.slim +30 -0
- data/app/views/locomotive/shared/_sidebar.html.slim +42 -26
- data/app/views/locomotive/shared/rte/_toolbar.html.slim +76 -68
- data/app/views/locomotive/shared/sidebar/_content_types.html.slim +11 -11
- data/app/views/locomotive/shared/sidebar/_link.html.slim +0 -3
- data/app/views/locomotive/shared/sidebar/_page.html.slim +8 -13
- data/app/views/locomotive/shared/sidebar/_pages.html.slim +4 -7
- data/app/views/locomotive/sites/index.html.slim +0 -1
- data/config/locales/carrierwave.cs.yml +4 -0
- data/config/locales/carrierwave.de.yml +4 -0
- data/config/locales/cs.yml +318 -0
- data/config/locales/de.yml +318 -0
- data/config/locales/default.cs.yml +13 -0
- data/config/locales/default.de.yml +13 -0
- data/config/locales/default.fr.yml +13 -1
- data/config/locales/devise.cs.yml +61 -0
- data/config/locales/devise.de.yml +61 -0
- data/config/locales/devise.fr.yml +61 -1
- data/config/locales/el.yml +0 -2
- data/config/locales/en.yml +9 -0
- data/config/locales/flash.cs.yml +79 -0
- data/config/locales/flash.de.yml +79 -0
- data/config/locales/flash.en.yml +4 -0
- data/config/locales/flash.fr.yml +82 -1
- data/config/locales/fr.yml +323 -0
- data/config/locales/inputs.cs.yml +19 -0
- data/config/locales/inputs.de.yml +19 -0
- data/config/locales/inputs.fr.yml +19 -1
- data/config/locales/mongoid.cs.yml +47 -0
- data/config/locales/mongoid.de.yml +38 -0
- data/config/locales/mongoid.fr.yml +35 -0
- data/config/locales/simple_form.cs.yml +152 -0
- data/config/locales/simple_form.de.yml +36 -0
- data/config/locales/simple_form.el.yml +0 -1
- data/config/locales/simple_form.fr.yml +153 -1
- data/config/routes.rb +4 -0
- data/lib/generators/locomotive/install/templates/locomotive.rb +2 -2
- data/lib/locomotive/configuration.rb +1 -1
- data/lib/locomotive/dependencies.rb +1 -0
- data/lib/locomotive/engine.rb +0 -1
- data/lib/locomotive/middlewares/site.rb +1 -1
- data/lib/locomotive/mongoid/patches.rb +8 -0
- data/lib/locomotive/steam/middlewares/page_editing.rb +1 -1
- data/lib/locomotive/version.rb +1 -1
- data/spec/dummy/config/initializers/locomotive.rb +1 -1
- data/spec/models/locomotive/concerns/site/metafields_spec.rb +121 -0
- data/spec/requests/locomotive/steam/cache_spec.rb +1 -1
- data/vendor/assets/components/locomotive/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.css +5 -0
- data/vendor/assets/components/locomotive/eonasdan-bootstrap-datetimepicker/bootstrap-datetimepicker.js +9 -0
- data/vendor/assets/components/locomotive/moment-timezone/moment-timezone.js +7 -0
- data/vendor/assets/components/locomotive/moment/moment.js +3606 -0
- data/vendor/assets/components/locomotive/select2/select2.js +0 -3
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +38 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/Gruntfile.js +191 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/LICENSE +21 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/README.md +37 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/bower.json +35 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css +103 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +373 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +5 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +9 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/component.json +9 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/composer.json +28 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ChangeLog.md +222 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/ContributorsGuide.md +126 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Events.md +96 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Extras.md +95 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/FAQ.md +22 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Functions.md +670 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Installing.md +161 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Options.md +473 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Changelog.md +6 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/Version 4 Contributors guide.md +6 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/docs/index.md +592 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/mkdocs.yml +17 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/package.json +43 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +2552 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/_bootstrap-datetimepicker.less +352 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +17 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec +34 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/Bootstrap.v3.Datetimepicker.nuspec +34 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/NuGet.exe +0 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/nuget/install.ps1 +2 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss +343 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/src/sass/bootstrap-datetimepicker-build.scss +16 -0
- data/vendor/assets/components/locomotive_sources/eonasdan-bootstrap-datetimepicker/tasks/bump_version.js +88 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/LICENSE +20 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/README.md +36 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/bower.json +18 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.js +1189 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data-2010-2020.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.js +1189 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone-with-data.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/builds/moment-timezone.min.js +6 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/changelog.md +101 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/composer.json +43 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/meta/latest.json +5012 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/packed/latest.json +590 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/data/unpacked/latest.json +124081 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone-utils.js +316 -0
- data/vendor/assets/components/locomotive_sources/moment-timezone/moment-timezone.js +599 -0
- data/vendor/assets/components/locomotive_sources/moment/CHANGELOG.md +496 -0
- data/vendor/assets/components/locomotive_sources/moment/LICENSE +22 -0
- data/vendor/assets/components/locomotive_sources/moment/README.md +58 -0
- data/vendor/assets/components/locomotive_sources/moment/bower.json +22 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/af.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-ma.js +59 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-sa.js +103 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar-tn.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ar.js +136 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/az.js +104 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/be.js +134 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bg.js +90 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bn.js +113 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bo.js +110 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/br.js +107 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/bs.js +141 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ca.js +79 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/cs.js +171 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/cv.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/cy.js +79 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/da.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/de-at.js +77 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/de.js +76 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/dv.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/el.js +98 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-au.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-ca.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-gb.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-ie.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/en-nz.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/eo.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/es.js +79 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/et.js +80 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/eu.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fa.js +105 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fi.js +107 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fo.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fr-ca.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fr-ch.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fr.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/fy.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/gd.js +76 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/gl.js +75 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/he.js +82 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hi.js +123 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hr.js +143 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hu.js +109 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/hy-am.js +95 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/id.js +83 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/is.js +127 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/it.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ja.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/jv.js +83 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ka.js +89 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/kk.js +87 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/km.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ko.js +68 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lb.js +134 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lo.js +69 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lt.js +115 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/lv.js +96 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/me.js +109 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/mk.js +90 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ml.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/mr.js +158 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ms-my.js +82 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ms.js +82 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/my.js +93 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/nb.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ne.js +121 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/nl.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/nn.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/pl.js +105 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/pt-br.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/pt.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ro.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ru.js +166 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/se.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/si.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sk.js +150 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sl.js +160 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sq.js +69 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sr-cyrl.js +108 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sr.js +108 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sv.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/sw.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/ta.js +129 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/te.js +88 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/th.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tl-ph.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tlh.js +119 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tr.js +90 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tzl.js +87 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tzm-latn.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/tzm.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/uk.js +146 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/uz.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/vi.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/zh-cn.js +127 -0
- data/vendor/assets/components/locomotive_sources/moment/locale/zh-tw.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/min/locales.js +7548 -0
- data/vendor/assets/components/locomotive_sources/moment/min/locales.min.js +72 -0
- data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.js +11144 -0
- data/vendor/assets/components/locomotive_sources/moment/min/moment-with-locales.min.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/min/moment.min.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/min/tests.js +46196 -0
- data/vendor/assets/components/locomotive_sources/moment/moment.js +3606 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/check-overflow.js +34 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/date-from-array.js +21 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-anything.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-array.js +136 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-object.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-array.js +50 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string-and-format.js +104 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/from-string.js +120 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/local.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/parsing-flags.js +22 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/utc.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/create/valid.js +37 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/abs.js +18 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/add-subtract.js +21 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/as.js +55 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/bubble.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/constructor.js +41 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/create.js +117 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/duration.js +12 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/get.js +25 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/humanize.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/iso-string.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/duration/prototype.js +48 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/format/format.js +92 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/calendar.js +15 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/constructor.js +2 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/en.js +15 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/formats.js +23 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/invalid.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/lists.js +48 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locale.js +35 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/locales.js +118 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/ordinal.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/pre-post-format.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/prototype.js +76 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/relative.js +29 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/locale/set.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/add-subtract.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/calendar.js +21 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/clone.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/compare.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/constructor.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/creation-data.js +9 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/diff.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/format.js +28 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/from.js +17 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/get-set.js +43 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/locale.js +34 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/min-max.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/moment.js +28 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/now.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/prototype.js +149 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/start-end-of.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to-type.js +34 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/to.js +17 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/moment/valid.js +15 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/regex.js +54 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/parse/token.js +32 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/aliases.js +29 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/constants.js +9 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-month.js +32 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-week.js +162 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/day-of-year.js +32 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/hour.js +129 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/millisecond.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/minute.js +24 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/month.js +209 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/offset.js +219 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/quarter.js +27 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/second.js +24 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timestamp.js +20 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/timezone.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/units.js +20 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-calendar-utils.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week-year.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/week.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/units/year.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-ceil.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/abs-floor.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/compare-arrays.js +16 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/defaults.js +10 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/deprecate.js +33 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/extend.js +19 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/has-own-prop.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/hooks.js +13 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-array.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-date.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-function.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/is-undefined.js +3 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/map.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/to-int.js +12 -0
- data/vendor/assets/components/locomotive_sources/moment/src/lib/utils/zero-fill.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/af.js +63 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-ma.js +50 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-sa.js +94 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar-tn.js +48 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ar.js +127 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/az.js +95 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/be.js +125 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bg.js +81 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bn.js +104 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bo.js +101 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/br.js +98 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/bs.js +132 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ca.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cs.js +162 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cv.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/cy.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/da.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/de-at.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/de.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/dv.js +89 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/el.js +86 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-au.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ca.js +54 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-gb.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-ie.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/en-nz.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/eo.js +64 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/es.js +70 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/et.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/eu.js +55 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fa.js +96 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fi.js +98 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fo.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ca.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr-ch.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fr.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/fy.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/gd.js +67 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/gl.js +66 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/he.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hi.js +114 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hr.js +134 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hu.js +100 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/hy-am.js +86 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/id.js +74 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/is.js +118 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/it.js +61 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ja.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/jv.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ka.js +80 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/kk.js +77 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/km.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ko.js +59 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lb.js +125 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lo.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lt.js +106 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/lv.js +87 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/me.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/mk.js +81 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ml.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/mr.js +149 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ms-my.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ms.js +73 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/my.js +84 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nb.js +52 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ne.js +112 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nl.js +62 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/nn.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pl.js +95 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pt-br.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/pt.js +55 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ro.js +65 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ru.js +156 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/se.js +51 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/si.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sk.js +141 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sl.js +150 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sq.js +60 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sr-cyrl.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sr.js +99 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sv.js +58 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/sw.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/ta.js +120 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/te.js +78 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/th.js +56 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tl-ph.js +53 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tlh.js +109 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tr.js +81 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzl.js +78 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm-latn.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/tzm.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/uk.js +137 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/uz.js +49 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/vi.js +57 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-cn.js +118 -0
- data/vendor/assets/components/locomotive_sources/moment/src/locale/zh-tw.js +91 -0
- data/vendor/assets/components/locomotive_sources/moment/src/moment.js +71 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/amd-named.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/amd.js +7 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/default.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/globals.js +5 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/locale-header.js +6 -0
- data/vendor/assets/components/locomotive_sources/moment/templates/test-header.js +6 -0
- data/vendor/assets/javascripts/locomotive/vendor.js +1 -2
- data/vendor/assets/stylesheets/locomotive/wysihtml5_editor.css +1 -1
- metadata +458 -100
- data/app/assets/stylesheets/locomotive/account/_files.scss +0 -125
- data/app/assets/stylesheets/locomotive/base/_all.scss +0 -6
- data/app/assets/stylesheets/locomotive/base/_fonts.scss +0 -27
- data/app/assets/stylesheets/locomotive/base/_form.scss +0 -18
- data/app/assets/stylesheets/locomotive/base/_iframe.scss +0 -4
- data/app/assets/stylesheets/locomotive/base/_typography.scss +0 -6
- data/app/assets/stylesheets/locomotive/base/form/_api_key.scss +0 -24
- data/app/assets/stylesheets/locomotive/base/form/_date.scss +0 -11
- data/app/assets/stylesheets/locomotive/components/_drawer.scss +0 -24
- data/app/assets/stylesheets/locomotive/components/_header.scss +0 -3
- data/app/assets/stylesheets/locomotive/components/_live_editing.scss +0 -95
- data/app/assets/stylesheets/locomotive/components/_misc.scss +0 -3
- data/app/assets/stylesheets/locomotive/components/_sidebar.scss +0 -5
- data/app/assets/stylesheets/locomotive/components/_sites.scss +0 -130
- data/app/assets/stylesheets/locomotive/components/_transitions.scss +0 -149
- data/app/assets/stylesheets/locomotive/components/header/_account.scss +0 -63
- data/app/assets/stylesheets/locomotive/components/header/_base.scss +0 -91
- data/app/assets/stylesheets/locomotive/components/header/_responsive.scss +0 -34
- data/app/assets/stylesheets/locomotive/components/misc/_modal.scss +0 -13
- data/app/assets/stylesheets/locomotive/components/misc/_notify.scss +0 -25
- data/app/assets/stylesheets/locomotive/components/sidebar/_base.scss +0 -58
- data/app/assets/stylesheets/locomotive/components/sidebar/_content_types.scss +0 -30
- data/app/assets/stylesheets/locomotive/components/sidebar/_link.scss +0 -36
- data/app/assets/stylesheets/locomotive/components/sidebar/_my_account.scss +0 -21
- data/app/assets/stylesheets/locomotive/components/sidebar/_pages_tree.scss +0 -108
- data/app/assets/stylesheets/locomotive/globals/_mixins.scss +0 -34
- data/app/assets/stylesheets/locomotive/layouts/_live_editing.scss +0 -33
- data/app/assets/stylesheets/locomotive/layouts/_main.scss +0 -62
- data/app/assets/stylesheets/locomotive/layouts/_not_logged_in.scss +0 -33
- data/app/assets/stylesheets/locomotive/layouts/_responsive.scss +0 -12
- data/app/views/locomotive/shared/_header.html.slim +0 -30
- data/app/views/locomotive/shared/_sidebar_without_site.html.slim +0 -5
- data/app/views/locomotive/shared/header/_account.html.slim +0 -4
- data/app/views/locomotive/shared/header/_account_menu.html.slim +0 -5
- data/app/views/locomotive/shared/header/_brand.html.slim +0 -3
- data/app/views/locomotive/shared/header/_site.html.slim +0 -8
- data/app/views/locomotive/shared/sidebar/_my_account.html.slim +0 -8
- data/vendor/assets/javascripts/locomotive/bootstrap-datetimepicker.js +0 -1395
- data/vendor/assets/javascripts/locomotive/moment.js +0 -2808
- data/vendor/assets/stylesheets/locomotive/bootstrap-datetimepicker.css +0 -235
@@ -0,0 +1,88 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : telugu (te)
|
3
|
+
//! author : Krishna Chaitanya Thota : https://github.com/kcthota
|
4
|
+
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
9
|
+
factory(global.moment)
|
10
|
+
}(this, function (moment) { 'use strict';
|
11
|
+
|
12
|
+
|
13
|
+
var te = moment.defineLocale('te', {
|
14
|
+
months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'),
|
15
|
+
monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'),
|
16
|
+
weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'),
|
17
|
+
weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
|
18
|
+
weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
|
19
|
+
longDateFormat : {
|
20
|
+
LT : 'A h:mm',
|
21
|
+
LTS : 'A h:mm:ss',
|
22
|
+
L : 'DD/MM/YYYY',
|
23
|
+
LL : 'D MMMM YYYY',
|
24
|
+
LLL : 'D MMMM YYYY, A h:mm',
|
25
|
+
LLLL : 'dddd, D MMMM YYYY, A h:mm'
|
26
|
+
},
|
27
|
+
calendar : {
|
28
|
+
sameDay : '[నేడు] LT',
|
29
|
+
nextDay : '[రేపు] LT',
|
30
|
+
nextWeek : 'dddd, LT',
|
31
|
+
lastDay : '[నిన్న] LT',
|
32
|
+
lastWeek : '[గత] dddd, LT',
|
33
|
+
sameElse : 'L'
|
34
|
+
},
|
35
|
+
relativeTime : {
|
36
|
+
future : '%s లో',
|
37
|
+
past : '%s క్రితం',
|
38
|
+
s : 'కొన్ని క్షణాలు',
|
39
|
+
m : 'ఒక నిమిషం',
|
40
|
+
mm : '%d నిమిషాలు',
|
41
|
+
h : 'ఒక గంట',
|
42
|
+
hh : '%d గంటలు',
|
43
|
+
d : 'ఒక రోజు',
|
44
|
+
dd : '%d రోజులు',
|
45
|
+
M : 'ఒక నెల',
|
46
|
+
MM : '%d నెలలు',
|
47
|
+
y : 'ఒక సంవత్సరం',
|
48
|
+
yy : '%d సంవత్సరాలు'
|
49
|
+
},
|
50
|
+
ordinalParse : /\d{1,2}వ/,
|
51
|
+
ordinal : '%dవ',
|
52
|
+
meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
|
53
|
+
meridiemHour : function (hour, meridiem) {
|
54
|
+
if (hour === 12) {
|
55
|
+
hour = 0;
|
56
|
+
}
|
57
|
+
if (meridiem === 'రాత్రి') {
|
58
|
+
return hour < 4 ? hour : hour + 12;
|
59
|
+
} else if (meridiem === 'ఉదయం') {
|
60
|
+
return hour;
|
61
|
+
} else if (meridiem === 'మధ్యాహ్నం') {
|
62
|
+
return hour >= 10 ? hour : hour + 12;
|
63
|
+
} else if (meridiem === 'సాయంత్రం') {
|
64
|
+
return hour + 12;
|
65
|
+
}
|
66
|
+
},
|
67
|
+
meridiem : function (hour, minute, isLower) {
|
68
|
+
if (hour < 4) {
|
69
|
+
return 'రాత్రి';
|
70
|
+
} else if (hour < 10) {
|
71
|
+
return 'ఉదయం';
|
72
|
+
} else if (hour < 17) {
|
73
|
+
return 'మధ్యాహ్నం';
|
74
|
+
} else if (hour < 20) {
|
75
|
+
return 'సాయంత్రం';
|
76
|
+
} else {
|
77
|
+
return 'రాత్రి';
|
78
|
+
}
|
79
|
+
},
|
80
|
+
week : {
|
81
|
+
dow : 0, // Sunday is the first day of the week.
|
82
|
+
doy : 6 // The week that contains Jan 1st is the first week of the year.
|
83
|
+
}
|
84
|
+
});
|
85
|
+
|
86
|
+
return te;
|
87
|
+
|
88
|
+
}));
|
@@ -0,0 +1,65 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : thai (th)
|
3
|
+
//! author : Kridsada Thanabulpong : https://github.com/sirn
|
4
|
+
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
9
|
+
factory(global.moment)
|
10
|
+
}(this, function (moment) { 'use strict';
|
11
|
+
|
12
|
+
|
13
|
+
var th = moment.defineLocale('th', {
|
14
|
+
months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
|
15
|
+
monthsShort : 'มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา'.split('_'),
|
16
|
+
weekdays : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
|
17
|
+
weekdaysShort : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
|
18
|
+
weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
|
19
|
+
longDateFormat : {
|
20
|
+
LT : 'H นาฬิกา m นาที',
|
21
|
+
LTS : 'H นาฬิกา m นาที s วินาที',
|
22
|
+
L : 'YYYY/MM/DD',
|
23
|
+
LL : 'D MMMM YYYY',
|
24
|
+
LLL : 'D MMMM YYYY เวลา H นาฬิกา m นาที',
|
25
|
+
LLLL : 'วันddddที่ D MMMM YYYY เวลา H นาฬิกา m นาที'
|
26
|
+
},
|
27
|
+
meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
|
28
|
+
isPM: function (input) {
|
29
|
+
return input === 'หลังเที่ยง';
|
30
|
+
},
|
31
|
+
meridiem : function (hour, minute, isLower) {
|
32
|
+
if (hour < 12) {
|
33
|
+
return 'ก่อนเที่ยง';
|
34
|
+
} else {
|
35
|
+
return 'หลังเที่ยง';
|
36
|
+
}
|
37
|
+
},
|
38
|
+
calendar : {
|
39
|
+
sameDay : '[วันนี้ เวลา] LT',
|
40
|
+
nextDay : '[พรุ่งนี้ เวลา] LT',
|
41
|
+
nextWeek : 'dddd[หน้า เวลา] LT',
|
42
|
+
lastDay : '[เมื่อวานนี้ เวลา] LT',
|
43
|
+
lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT',
|
44
|
+
sameElse : 'L'
|
45
|
+
},
|
46
|
+
relativeTime : {
|
47
|
+
future : 'อีก %s',
|
48
|
+
past : '%sที่แล้ว',
|
49
|
+
s : 'ไม่กี่วินาที',
|
50
|
+
m : '1 นาที',
|
51
|
+
mm : '%d นาที',
|
52
|
+
h : '1 ชั่วโมง',
|
53
|
+
hh : '%d ชั่วโมง',
|
54
|
+
d : '1 วัน',
|
55
|
+
dd : '%d วัน',
|
56
|
+
M : '1 เดือน',
|
57
|
+
MM : '%d เดือน',
|
58
|
+
y : '1 ปี',
|
59
|
+
yy : '%d ปี'
|
60
|
+
}
|
61
|
+
});
|
62
|
+
|
63
|
+
return th;
|
64
|
+
|
65
|
+
}));
|
@@ -0,0 +1,62 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Tagalog/Filipino (tl-ph)
|
3
|
+
//! author : Dan Hagman
|
4
|
+
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
9
|
+
factory(global.moment)
|
10
|
+
}(this, function (moment) { 'use strict';
|
11
|
+
|
12
|
+
|
13
|
+
var tl_ph = moment.defineLocale('tl-ph', {
|
14
|
+
months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'),
|
15
|
+
monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
|
16
|
+
weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'),
|
17
|
+
weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
|
18
|
+
weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
19
|
+
longDateFormat : {
|
20
|
+
LT : 'HH:mm',
|
21
|
+
LTS : 'HH:mm:ss',
|
22
|
+
L : 'MM/D/YYYY',
|
23
|
+
LL : 'MMMM D, YYYY',
|
24
|
+
LLL : 'MMMM D, YYYY HH:mm',
|
25
|
+
LLLL : 'dddd, MMMM DD, YYYY HH:mm'
|
26
|
+
},
|
27
|
+
calendar : {
|
28
|
+
sameDay: '[Ngayon sa] LT',
|
29
|
+
nextDay: '[Bukas sa] LT',
|
30
|
+
nextWeek: 'dddd [sa] LT',
|
31
|
+
lastDay: '[Kahapon sa] LT',
|
32
|
+
lastWeek: 'dddd [huling linggo] LT',
|
33
|
+
sameElse: 'L'
|
34
|
+
},
|
35
|
+
relativeTime : {
|
36
|
+
future : 'sa loob ng %s',
|
37
|
+
past : '%s ang nakalipas',
|
38
|
+
s : 'ilang segundo',
|
39
|
+
m : 'isang minuto',
|
40
|
+
mm : '%d minuto',
|
41
|
+
h : 'isang oras',
|
42
|
+
hh : '%d oras',
|
43
|
+
d : 'isang araw',
|
44
|
+
dd : '%d araw',
|
45
|
+
M : 'isang buwan',
|
46
|
+
MM : '%d buwan',
|
47
|
+
y : 'isang taon',
|
48
|
+
yy : '%d taon'
|
49
|
+
},
|
50
|
+
ordinalParse: /\d{1,2}/,
|
51
|
+
ordinal : function (number) {
|
52
|
+
return number;
|
53
|
+
},
|
54
|
+
week : {
|
55
|
+
dow : 1, // Monday is the first day of the week.
|
56
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
57
|
+
}
|
58
|
+
});
|
59
|
+
|
60
|
+
return tl_ph;
|
61
|
+
|
62
|
+
}));
|
@@ -0,0 +1,119 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Klingon (tlh)
|
3
|
+
//! author : Dominika Kruk : https://github.com/amaranthrose
|
4
|
+
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
9
|
+
factory(global.moment)
|
10
|
+
}(this, function (moment) { 'use strict';
|
11
|
+
|
12
|
+
|
13
|
+
var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
|
14
|
+
|
15
|
+
function translateFuture(output) {
|
16
|
+
var time = output;
|
17
|
+
time = (output.indexOf('jaj') !== -1) ?
|
18
|
+
time.slice(0, -3) + 'leS' :
|
19
|
+
(output.indexOf('jar') !== -1) ?
|
20
|
+
time.slice(0, -3) + 'waQ' :
|
21
|
+
(output.indexOf('DIS') !== -1) ?
|
22
|
+
time.slice(0, -3) + 'nem' :
|
23
|
+
time + ' pIq';
|
24
|
+
return time;
|
25
|
+
}
|
26
|
+
|
27
|
+
function translatePast(output) {
|
28
|
+
var time = output;
|
29
|
+
time = (output.indexOf('jaj') !== -1) ?
|
30
|
+
time.slice(0, -3) + 'Hu’' :
|
31
|
+
(output.indexOf('jar') !== -1) ?
|
32
|
+
time.slice(0, -3) + 'wen' :
|
33
|
+
(output.indexOf('DIS') !== -1) ?
|
34
|
+
time.slice(0, -3) + 'ben' :
|
35
|
+
time + ' ret';
|
36
|
+
return time;
|
37
|
+
}
|
38
|
+
|
39
|
+
function translate(number, withoutSuffix, string, isFuture) {
|
40
|
+
var numberNoun = numberAsNoun(number);
|
41
|
+
switch (string) {
|
42
|
+
case 'mm':
|
43
|
+
return numberNoun + ' tup';
|
44
|
+
case 'hh':
|
45
|
+
return numberNoun + ' rep';
|
46
|
+
case 'dd':
|
47
|
+
return numberNoun + ' jaj';
|
48
|
+
case 'MM':
|
49
|
+
return numberNoun + ' jar';
|
50
|
+
case 'yy':
|
51
|
+
return numberNoun + ' DIS';
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
function numberAsNoun(number) {
|
56
|
+
var hundred = Math.floor((number % 1000) / 100),
|
57
|
+
ten = Math.floor((number % 100) / 10),
|
58
|
+
one = number % 10,
|
59
|
+
word = '';
|
60
|
+
if (hundred > 0) {
|
61
|
+
word += numbersNouns[hundred] + 'vatlh';
|
62
|
+
}
|
63
|
+
if (ten > 0) {
|
64
|
+
word += ((word !== '') ? ' ' : '') + numbersNouns[ten] + 'maH';
|
65
|
+
}
|
66
|
+
if (one > 0) {
|
67
|
+
word += ((word !== '') ? ' ' : '') + numbersNouns[one];
|
68
|
+
}
|
69
|
+
return (word === '') ? 'pagh' : word;
|
70
|
+
}
|
71
|
+
|
72
|
+
var tlh = moment.defineLocale('tlh', {
|
73
|
+
months : 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'),
|
74
|
+
monthsShort : 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'),
|
75
|
+
weekdays : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
76
|
+
weekdaysShort : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
77
|
+
weekdaysMin : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
78
|
+
longDateFormat : {
|
79
|
+
LT : 'HH:mm',
|
80
|
+
LTS : 'HH:mm:ss',
|
81
|
+
L : 'DD.MM.YYYY',
|
82
|
+
LL : 'D MMMM YYYY',
|
83
|
+
LLL : 'D MMMM YYYY HH:mm',
|
84
|
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
85
|
+
},
|
86
|
+
calendar : {
|
87
|
+
sameDay: '[DaHjaj] LT',
|
88
|
+
nextDay: '[wa’leS] LT',
|
89
|
+
nextWeek: 'LLL',
|
90
|
+
lastDay: '[wa’Hu’] LT',
|
91
|
+
lastWeek: 'LLL',
|
92
|
+
sameElse: 'L'
|
93
|
+
},
|
94
|
+
relativeTime : {
|
95
|
+
future : translateFuture,
|
96
|
+
past : translatePast,
|
97
|
+
s : 'puS lup',
|
98
|
+
m : 'wa’ tup',
|
99
|
+
mm : translate,
|
100
|
+
h : 'wa’ rep',
|
101
|
+
hh : translate,
|
102
|
+
d : 'wa’ jaj',
|
103
|
+
dd : translate,
|
104
|
+
M : 'wa’ jar',
|
105
|
+
MM : translate,
|
106
|
+
y : 'wa’ DIS',
|
107
|
+
yy : translate
|
108
|
+
},
|
109
|
+
ordinalParse: /\d{1,2}\./,
|
110
|
+
ordinal : '%d.',
|
111
|
+
week : {
|
112
|
+
dow : 1, // Monday is the first day of the week.
|
113
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
114
|
+
}
|
115
|
+
});
|
116
|
+
|
117
|
+
return tlh;
|
118
|
+
|
119
|
+
}));
|
@@ -0,0 +1,90 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : turkish (tr)
|
3
|
+
//! authors : Erhan Gundogan : https://github.com/erhangundogan,
|
4
|
+
//! Burak Yiğit Kaya: https://github.com/BYK
|
5
|
+
|
6
|
+
;(function (global, factory) {
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
10
|
+
factory(global.moment)
|
11
|
+
}(this, function (moment) { 'use strict';
|
12
|
+
|
13
|
+
|
14
|
+
var suffixes = {
|
15
|
+
1: '\'inci',
|
16
|
+
5: '\'inci',
|
17
|
+
8: '\'inci',
|
18
|
+
70: '\'inci',
|
19
|
+
80: '\'inci',
|
20
|
+
2: '\'nci',
|
21
|
+
7: '\'nci',
|
22
|
+
20: '\'nci',
|
23
|
+
50: '\'nci',
|
24
|
+
3: '\'üncü',
|
25
|
+
4: '\'üncü',
|
26
|
+
100: '\'üncü',
|
27
|
+
6: '\'ncı',
|
28
|
+
9: '\'uncu',
|
29
|
+
10: '\'uncu',
|
30
|
+
30: '\'uncu',
|
31
|
+
60: '\'ıncı',
|
32
|
+
90: '\'ıncı'
|
33
|
+
};
|
34
|
+
|
35
|
+
var tr = moment.defineLocale('tr', {
|
36
|
+
months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'),
|
37
|
+
monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
|
38
|
+
weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'),
|
39
|
+
weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
|
40
|
+
weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
|
41
|
+
longDateFormat : {
|
42
|
+
LT : 'HH:mm',
|
43
|
+
LTS : 'HH:mm:ss',
|
44
|
+
L : 'DD.MM.YYYY',
|
45
|
+
LL : 'D MMMM YYYY',
|
46
|
+
LLL : 'D MMMM YYYY HH:mm',
|
47
|
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
48
|
+
},
|
49
|
+
calendar : {
|
50
|
+
sameDay : '[bugün saat] LT',
|
51
|
+
nextDay : '[yarın saat] LT',
|
52
|
+
nextWeek : '[haftaya] dddd [saat] LT',
|
53
|
+
lastDay : '[dün] LT',
|
54
|
+
lastWeek : '[geçen hafta] dddd [saat] LT',
|
55
|
+
sameElse : 'L'
|
56
|
+
},
|
57
|
+
relativeTime : {
|
58
|
+
future : '%s sonra',
|
59
|
+
past : '%s önce',
|
60
|
+
s : 'birkaç saniye',
|
61
|
+
m : 'bir dakika',
|
62
|
+
mm : '%d dakika',
|
63
|
+
h : 'bir saat',
|
64
|
+
hh : '%d saat',
|
65
|
+
d : 'bir gün',
|
66
|
+
dd : '%d gün',
|
67
|
+
M : 'bir ay',
|
68
|
+
MM : '%d ay',
|
69
|
+
y : 'bir yıl',
|
70
|
+
yy : '%d yıl'
|
71
|
+
},
|
72
|
+
ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
|
73
|
+
ordinal : function (number) {
|
74
|
+
if (number === 0) { // special case for zero
|
75
|
+
return number + '\'ıncı';
|
76
|
+
}
|
77
|
+
var a = number % 10,
|
78
|
+
b = number % 100 - a,
|
79
|
+
c = number >= 100 ? 100 : null;
|
80
|
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
81
|
+
},
|
82
|
+
week : {
|
83
|
+
dow : 1, // Monday is the first day of the week.
|
84
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
85
|
+
}
|
86
|
+
});
|
87
|
+
|
88
|
+
return tr;
|
89
|
+
|
90
|
+
}));
|
@@ -0,0 +1,87 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : talossan (tzl)
|
3
|
+
//! author : Robin van der Vliet : https://github.com/robin0van0der0v with the help of Iustì Canun
|
4
|
+
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['moment'], factory) :
|
9
|
+
factory(global.moment)
|
10
|
+
}(this, function (moment) { 'use strict';
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
|
15
|
+
// This is currently too difficult (maybe even impossible) to add.
|
16
|
+
var tzl = moment.defineLocale('tzl', {
|
17
|
+
months : 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'),
|
18
|
+
monthsShort : 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
|
19
|
+
weekdays : 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
|
20
|
+
weekdaysShort : 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
|
21
|
+
weekdaysMin : 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
|
22
|
+
longDateFormat : {
|
23
|
+
LT : 'HH.mm',
|
24
|
+
LTS : 'HH.mm.ss',
|
25
|
+
L : 'DD.MM.YYYY',
|
26
|
+
LL : 'D. MMMM [dallas] YYYY',
|
27
|
+
LLL : 'D. MMMM [dallas] YYYY HH.mm',
|
28
|
+
LLLL : 'dddd, [li] D. MMMM [dallas] YYYY HH.mm'
|
29
|
+
},
|
30
|
+
meridiem : function (hours, minutes, isLower) {
|
31
|
+
if (hours > 11) {
|
32
|
+
return isLower ? 'd\'o' : 'D\'O';
|
33
|
+
} else {
|
34
|
+
return isLower ? 'd\'a' : 'D\'A';
|
35
|
+
}
|
36
|
+
},
|
37
|
+
calendar : {
|
38
|
+
sameDay : '[oxhi à] LT',
|
39
|
+
nextDay : '[demà à] LT',
|
40
|
+
nextWeek : 'dddd [à] LT',
|
41
|
+
lastDay : '[ieiri à] LT',
|
42
|
+
lastWeek : '[sür el] dddd [lasteu à] LT',
|
43
|
+
sameElse : 'L'
|
44
|
+
},
|
45
|
+
relativeTime : {
|
46
|
+
future : 'osprei %s',
|
47
|
+
past : 'ja%s',
|
48
|
+
s : processRelativeTime,
|
49
|
+
m : processRelativeTime,
|
50
|
+
mm : processRelativeTime,
|
51
|
+
h : processRelativeTime,
|
52
|
+
hh : processRelativeTime,
|
53
|
+
d : processRelativeTime,
|
54
|
+
dd : processRelativeTime,
|
55
|
+
M : processRelativeTime,
|
56
|
+
MM : processRelativeTime,
|
57
|
+
y : processRelativeTime,
|
58
|
+
yy : processRelativeTime
|
59
|
+
},
|
60
|
+
ordinalParse: /\d{1,2}\./,
|
61
|
+
ordinal : '%d.',
|
62
|
+
week : {
|
63
|
+
dow : 1, // Monday is the first day of the week.
|
64
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
65
|
+
}
|
66
|
+
});
|
67
|
+
|
68
|
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
69
|
+
var format = {
|
70
|
+
's': ['viensas secunds', '\'iensas secunds'],
|
71
|
+
'm': ['\'n míut', '\'iens míut'],
|
72
|
+
'mm': [number + ' míuts', '' + number + ' míuts'],
|
73
|
+
'h': ['\'n þora', '\'iensa þora'],
|
74
|
+
'hh': [number + ' þoras', '' + number + ' þoras'],
|
75
|
+
'd': ['\'n ziua', '\'iensa ziua'],
|
76
|
+
'dd': [number + ' ziuas', '' + number + ' ziuas'],
|
77
|
+
'M': ['\'n mes', '\'iens mes'],
|
78
|
+
'MM': [number + ' mesen', '' + number + ' mesen'],
|
79
|
+
'y': ['\'n ar', '\'iens ar'],
|
80
|
+
'yy': [number + ' ars', '' + number + ' ars']
|
81
|
+
};
|
82
|
+
return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1]);
|
83
|
+
}
|
84
|
+
|
85
|
+
return tzl;
|
86
|
+
|
87
|
+
}));
|