katello 3.11.2 → 3.12.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of katello might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/controllers/katello/api/registry/registry_proxies_controller.rb +21 -8
- data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +5 -4
- data/app/controllers/katello/api/v2/api_controller.rb +4 -4
- data/app/controllers/katello/api/v2/capsule_content_controller.rb +13 -13
- data/app/controllers/katello/api/v2/content_view_components_controller.rb +2 -2
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +4 -3
- data/app/controllers/katello/api/v2/content_views_controller.rb +2 -2
- data/app/controllers/katello/api/v2/errata_controller.rb +1 -1
- data/app/controllers/katello/api/v2/host_subscriptions_controller.rb +1 -1
- data/app/controllers/katello/api/v2/packages_controller.rb +4 -0
- data/app/controllers/katello/api/v2/ping_controller.rb +2 -2
- data/app/controllers/katello/api/v2/repositories_controller.rb +6 -4
- data/app/controllers/katello/api/v2/repository_sets_controller.rb +1 -1
- data/app/controllers/katello/api/v2/sync_plans_controller.rb +9 -2
- data/app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb +1 -1
- data/app/helpers/katello/sync_management_helper.rb +1 -1
- data/app/lib/actions/candlepin/candlepin_listening_service.rb +1 -1
- data/app/lib/actions/candlepin/environment/set_content.rb +28 -24
- data/app/lib/actions/candlepin/import_pool_handler.rb +5 -4
- data/app/lib/actions/katello/capsule_content/create_repos.rb +8 -19
- data/app/lib/actions/katello/capsule_content/remove_orphans.rb +6 -0
- data/app/lib/actions/katello/capsule_content/remove_unneeded_repos.rb +7 -11
- data/app/lib/actions/katello/capsule_content/sync.rb +19 -50
- data/app/lib/actions/katello/content_view/capsule_sync.rb +1 -1
- data/app/lib/actions/katello/content_view/promote_to_environment.rb +10 -13
- data/app/lib/actions/katello/content_view/publish.rb +12 -12
- data/app/lib/actions/katello/content_view_environment/destroy.rb +1 -1
- data/app/lib/actions/katello/content_view_puppet_environment/clear.rb +1 -1
- data/app/lib/actions/katello/content_view_puppet_environment/clone.rb +1 -1
- data/app/lib/actions/katello/content_view_puppet_environment/create.rb +1 -1
- data/app/lib/actions/katello/content_view_puppet_environment/destroy.rb +1 -1
- data/app/lib/actions/katello/content_view_version/destroy.rb +0 -1
- data/app/lib/actions/katello/content_view_version/incremental_update.rb +6 -11
- data/app/lib/actions/katello/host/hypervisors_update.rb +32 -11
- data/app/lib/actions/katello/product/destroy.rb +0 -1
- data/app/lib/actions/katello/pulp_selector.rb +13 -0
- data/app/lib/actions/katello/repository/capsule_sync.rb +1 -1
- data/app/lib/actions/katello/repository/clear.rb +1 -15
- data/app/lib/actions/katello/repository/clone_contents.rb +2 -1
- data/app/lib/actions/katello/repository/clone_to_environment.rb +1 -1
- data/app/lib/actions/katello/repository/clone_to_version.rb +1 -0
- data/app/lib/actions/katello/repository/create.rb +4 -3
- data/app/lib/actions/katello/repository/destroy.rb +10 -13
- data/app/lib/actions/katello/repository/import_upload.rb +1 -1
- data/app/lib/actions/katello/repository/metadata_generate.rb +8 -42
- data/app/lib/actions/katello/repository/remove_content.rb +14 -19
- data/app/lib/actions/katello/repository/sync.rb +2 -2
- data/app/lib/actions/katello/repository/upload_files.rb +1 -1
- data/app/lib/actions/katello/repository_set/disable_repository.rb +1 -1
- data/app/lib/actions/katello/repository_set/scan_cdn.rb +6 -6
- data/app/lib/actions/katello/sync_plan/run.rb +23 -5
- data/app/lib/actions/middleware/skip_if_matching_content.rb +2 -1
- data/app/lib/actions/pulp/abstract.rb +8 -3
- data/app/lib/actions/pulp/consumer/content_update.rb +6 -4
- data/app/lib/actions/pulp/orchestration/repository/delete.rb +15 -0
- data/app/lib/actions/pulp/repository/clear.rb +18 -0
- data/app/lib/actions/pulp/repository/copy_all_units.rb +3 -0
- data/app/lib/actions/pulp/repository/copy_units.rb +3 -4
- data/app/lib/actions/pulp/repository/create_in_plan.rb +2 -2
- data/app/lib/actions/pulp/repository/destroy.rb +14 -5
- data/app/lib/actions/pulp/repository/distributor_publish.rb +12 -34
- data/app/lib/actions/pulp/repository/refresh_needed.rb +37 -0
- data/app/lib/actions/pulp/repository/remove_units.rb +44 -0
- data/app/lib/actions/pulp3/abstract.rb +17 -0
- data/app/lib/actions/pulp3/abstract_async_task.rb +127 -0
- data/app/lib/actions/pulp3/orchestration/repository/create.rb +17 -0
- data/app/lib/actions/pulp3/orchestration/repository/delete.rb +18 -0
- data/app/lib/actions/pulp3/orchestration/repository/generate_metadata.rb +17 -0
- data/app/lib/actions/pulp3/repository/create.rb +16 -0
- data/app/lib/actions/pulp3/repository/create_publication.rb +23 -0
- data/app/lib/actions/pulp3/repository/create_publisher.rb +16 -0
- data/app/lib/actions/pulp3/repository/create_remote.rb +16 -0
- data/app/lib/actions/pulp3/repository/create_version.rb +19 -0
- data/app/lib/actions/pulp3/repository/delete.rb +16 -0
- data/app/lib/actions/pulp3/repository/delete_distributions.rb +16 -0
- data/app/lib/actions/pulp3/repository/delete_publisher.rb +16 -0
- data/app/lib/actions/pulp3/repository/delete_remote.rb +16 -0
- data/app/lib/actions/pulp3/repository/refresh_distribution.rb +19 -0
- data/app/lib/actions/pulp3/repository/save_distribution_references.rb +22 -0
- data/app/lib/actions/pulp3/repository/save_publication.rb +21 -0
- data/app/lib/actions/pulp3/repository/save_version.rb +19 -0
- data/app/lib/katello/concerns/base_template_scope_extensions.rb +74 -1
- data/app/lib/katello/foreman.rb +3 -3
- data/app/lib/katello/lazy_accessor.rb +1 -43
- data/app/lib/katello/repo_discovery.rb +9 -2
- data/app/lib/katello/resources/candlepin.rb +1 -1
- data/app/lib/katello/resources/candlepin/content.rb +2 -3
- data/app/lib/katello/resources/candlepin/product.rb +2 -2
- data/app/lib/katello/util/http_proxy.rb +15 -4
- data/app/lib/katello/util/package.rb +4 -4
- data/app/lib/katello/util/path_with_substitutions.rb +6 -2
- data/app/lib/katello/util/proxy_uri.rb +64 -0
- data/app/lib/katello/util/search.rb +7 -7
- data/app/lib/katello/util/support.rb +1 -1
- data/app/lib/katello/validators/environment_docker_repositories_validator.rb +6 -24
- data/app/models/katello/concerns/organization_extensions.rb +2 -2
- data/app/models/katello/concerns/pulp_database_unit.rb +14 -3
- data/app/models/katello/concerns/recurring_logic_extensions.rb +3 -1
- data/app/models/katello/concerns/smart_proxy_extensions.rb +112 -6
- data/app/models/katello/concerns/subscription_facet_host_extensions.rb +10 -31
- data/app/models/katello/content.rb +13 -11
- data/app/models/katello/content_view.rb +12 -6
- data/app/models/katello/content_view_history.rb +1 -1
- data/app/models/katello/content_view_package_filter.rb +1 -1
- data/app/models/katello/deb.rb +0 -9
- data/app/models/katello/distribution.rb +5 -0
- data/app/models/katello/docker_blob.rb +5 -0
- data/app/models/katello/docker_manifest.rb +8 -8
- data/app/models/katello/docker_manifest_list.rb +1 -9
- data/app/models/katello/docker_tag.rb +4 -9
- data/app/models/katello/erratum.rb +8 -120
- data/app/models/katello/file_unit.rb +1 -9
- data/app/models/katello/glue/candlepin/candlepin_object.rb +3 -1
- data/app/models/katello/glue/candlepin/pool.rb +14 -5
- data/app/models/katello/glue/candlepin/product.rb +1 -53
- data/app/models/katello/glue/provider.rb +12 -8
- data/app/models/katello/glue/pulp/repo.rb +21 -75
- data/app/models/katello/gpg_key.rb +4 -0
- data/app/models/katello/host/content_facet.rb +1 -1
- data/app/models/katello/host/info_provider.rb +2 -2
- data/app/models/katello/host/subscription_facet.rb +32 -9
- data/app/models/katello/kt_environment.rb +2 -3
- data/app/models/katello/module_stream.rb +1 -31
- data/app/models/katello/ostree_branch.rb +1 -8
- data/app/models/katello/package_category.rb +5 -0
- data/app/models/katello/package_group.rb +0 -4
- data/app/models/katello/ping.rb +1 -2
- data/app/models/katello/pool.rb +12 -0
- data/app/models/katello/product.rb +0 -21
- data/app/models/katello/product_content.rb +1 -3
- data/app/models/katello/pulp3/distribution_reference.rb +7 -0
- data/app/models/katello/pulp3/repository_reference.rb +8 -0
- data/app/models/katello/pulp_sync_status.rb +1 -1
- data/app/models/katello/puppet_module.rb +1 -6
- data/app/models/katello/purpose_addons_status.rb +2 -25
- data/app/models/katello/purpose_role_status.rb +2 -25
- data/app/models/katello/purpose_sla_status.rb +2 -23
- data/app/models/katello/purpose_status.rb +36 -21
- data/app/models/katello/purpose_usage_status.rb +2 -25
- data/app/models/katello/repository.rb +58 -28
- data/app/models/katello/root_repository.rb +6 -3
- data/app/models/katello/rpm.rb +5 -13
- data/app/models/katello/srpm.rb +1 -13
- data/app/models/katello/sync_plan.rb +41 -15
- data/app/models/katello/sync_plan_task_group.rb +9 -0
- data/app/models/katello/yum_metadata_file.rb +2 -22
- data/app/models/setting/content.rb +20 -3
- data/app/presenters/katello/activation_key_subscriptions_presenter.rb +1 -1
- data/app/presenters/katello/sync_status_presenter.rb +23 -23
- data/app/services/katello/candlepin/consumer.rb +2 -14
- data/app/services/katello/candlepin/message_handler.rb +11 -16
- data/app/services/katello/candlepin/system_purpose.rb +49 -0
- data/app/services/katello/product_content_importer.rb +109 -0
- data/app/services/katello/pulp/deb.rb +9 -0
- data/app/services/katello/pulp/distribution.rb +7 -0
- data/app/services/katello/pulp/docker_blob.rb +7 -0
- data/app/services/katello/pulp/docker_manifest.rb +7 -0
- data/app/services/katello/pulp/docker_manifest_list.rb +8 -0
- data/app/services/katello/pulp/docker_tag.rb +8 -0
- data/app/services/katello/pulp/erratum.rb +117 -0
- data/app/services/katello/pulp/file_unit.rb +8 -0
- data/app/services/katello/pulp/module_stream.rb +30 -0
- data/app/services/katello/pulp/ostree_branch.rb +7 -0
- data/app/services/katello/pulp/package_category.rb +7 -0
- data/app/services/katello/pulp/package_group.rb +4 -0
- data/app/services/katello/pulp/pulp_content_unit.rb +17 -0
- data/app/services/katello/pulp/puppet_module.rb +5 -0
- data/app/services/katello/pulp/repository.rb +38 -5
- data/app/services/katello/pulp/repository/deb.rb +4 -0
- data/app/services/katello/pulp/repository/docker.rb +9 -1
- data/app/services/katello/pulp/repository/file.rb +4 -0
- data/app/services/katello/pulp/repository/ostree.rb +6 -2
- data/app/services/katello/pulp/repository/puppet.rb +9 -1
- data/app/services/katello/pulp/repository/yum.rb +51 -2
- data/app/services/katello/pulp/rpm.rb +24 -13
- data/app/services/katello/pulp/smart_proxy_repository.rb +165 -0
- data/app/services/katello/pulp/srpm.rb +12 -0
- data/app/services/katello/pulp/yum_metadata_file.rb +19 -0
- data/app/services/katello/pulp3/repository.rb +170 -0
- data/app/services/katello/pulp3/repository/file.rb +52 -0
- data/app/services/katello/repository_type.rb +35 -2
- data/app/services/katello/repository_type_manager.rb +13 -0
- data/app/views/foreman/job_templates/restart_services.erb +8 -2
- data/app/views/foreman/job_templates/restart_services_-_katello_ansible_default.erb +9 -2
- data/app/views/katello/api/v2/capsule_content/sync_status.json.rabl +4 -4
- data/app/views/katello/api/v2/content_views/base.json.rabl +1 -0
- data/app/views/katello/api/v2/packages/base.json.rabl +1 -1
- data/app/views/katello/api/v2/subscription_facet/show.json.rabl +2 -0
- data/app/views/katello/sync_management/_children.html.erb +6 -1
- data/app/views/katello/sync_management/_product.html.erb +9 -9
- data/app/views/katello/sync_management/_products.html.erb +21 -19
- data/app/views/katello/sync_management/_repo.html.erb +1 -1
- data/app/views/katello/sync_plan_task_groups/_sync_plan_task_groups.html.erb +3 -0
- data/config/routes/api/rhsm.rb +2 -0
- data/db/migrate/20141203123206_add_timestamps_to_repository_join_tables.rb +0 -4
- data/db/migrate/20141210173220_create_docker_tables.rb +0 -5
- data/db/migrate/20160203195736_remove_docker_image_schema.rb +0 -15
- data/db/migrate/20180823081502_remove_foreman_docker_support.rb +18 -0
- data/db/migrate/20180920214134_create_repository_root.rb +1 -0
- data/db/migrate/20190129204844_add_sync_plan_task_group.rb +19 -0
- data/db/migrate/20190205142619_add_content_constraints.rb +35 -0
- data/db/migrate/20190219152921_add_pulp3_attributes.rb +26 -0
- data/db/migrate/20190221201724_add_dependency_solving_to_katello_content_view.rb +5 -0
- data/db/migrate/20190312200644_add_modular_column_to_rpms.rb +5 -0
- data/db/migrate/20190404030833_remove_enabled_from_sync_plans.rb +5 -0
- data/db/seeds.d/104-proxy.rb +1 -1
- data/db/seeds.d/106-mail_notifications.rb +12 -12
- data/db/seeds.d/111-upgrade_tasks.rb +1 -2
- data/engines/bastion/README.md +316 -0
- data/engines/bastion/app/assets/javascripts/bastion/auth/auth.module.js +93 -0
- data/engines/bastion/app/assets/javascripts/bastion/auth/authorization.service.js +39 -0
- data/engines/bastion/app/assets/javascripts/bastion/bastion-bootstrap.js +17 -0
- data/engines/bastion/app/assets/javascripts/bastion/bastion.js +39 -0
- data/engines/bastion/app/assets/javascripts/bastion/bastion.module.js +146 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-alert.directive.js +57 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-bookmark.directive.js +62 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-bookmark.factory.js +19 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-dropdown.directive.js +28 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-edit.directive.js +373 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-flyout.directive.js +19 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-form-buttons.directive.js +47 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-form-group.directive.js +74 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-menu.directive.js +56 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-modal.directive.js +69 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-on-enter.directive.js +29 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-resource-switcher.directive.js +72 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-save-control.directive.js +29 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/bst-table.directive.js +337 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/components.module.js +17 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/current-tasks.directive.js +55 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/formatters/array-to-string.filter.js +16 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/formatters/boolean-to-yes-no.filter.js +21 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/formatters/capitalize.filter.js +19 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/formatters/components-formatters.module.js +8 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/formatters/key-value-to-string.filter.js +27 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/formatters/unlimitedFilter.filter.js +22 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/notification.service.js +37 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/nutupane.factory.js +494 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/page-title.directive.js +50 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/page-title.service.js +31 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/path-selector.directive.js +96 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/table-cache.service.js +28 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/typeahead-empty.directive.js +28 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/autocomplete-scoped-search.html +12 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-alert.html +12 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-bookmark.html +36 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-dropdown.html +18 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-edit-add-item.html +21 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-edit-add-remove-cancel.html +28 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-edit-checkbox.html +6 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-edit-custom.html +8 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-edit-multiselect.html +9 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-edit-number.html +6 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-edit-save-cancel.html +21 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-edit-select.html +10 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-edit-text.html +6 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-edit-textarea.html +6 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-edit.html +21 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-flyout.html +10 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-form-buttons.html +8 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-form-group.html +7 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-menu.html +18 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-modal.html +20 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-resource-switcher.html +67 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/bst-save-control.html +20 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/current-tasks.html +23 -0
- data/engines/bastion/app/assets/javascripts/bastion/components/views/path-selector.html +11 -0
- data/engines/bastion/app/assets/javascripts/bastion/features/bst-feature-flag.directive.js +47 -0
- data/engines/bastion/app/assets/javascripts/bastion/features/feature-flag.run.js +25 -0
- data/engines/bastion/app/assets/javascripts/bastion/features/feature-flag.service.js +90 -0
- data/engines/bastion/app/assets/javascripts/bastion/features/features.module.js +6 -0
- data/engines/bastion/app/assets/javascripts/bastion/features/features.service.js +28 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/README +12 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/bastion.pot +199 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/i18n.module.js +10 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/locale/README +1 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/locale/de.po +163 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/locale/es.po +162 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/locale/fr.po +162 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/locale/it.po +163 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/locale/ja.po +165 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/locale/ko.po +162 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/locale/pt_BR.po +162 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/locale/ru.po +161 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/locale/zh_CN.po +159 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/locale/zh_TW.po +160 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/translate.service.js +14 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/translations.js +14 -0
- data/engines/bastion/app/assets/javascripts/bastion/i18n/zanata.xml +19 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/404.html +14 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/details-page-with-breadcrumbs.html +23 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/full-page-details.html +6 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/panel.html +5 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/partials/full-row-breadcrumbs.html +6 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/partials/messages-container.html +5 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/partials/page-header-with-actions.html +13 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/partials/page-loading-indicator.html +4 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/partials/table.html +127 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/select-all-results.html +9 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/table-with-header.html +18 -0
- data/engines/bastion/app/assets/javascripts/bastion/layouts/two-column-details.html +10 -0
- data/engines/bastion/app/assets/javascripts/bastion/menu/menu-expander.service.js +38 -0
- data/engines/bastion/app/assets/javascripts/bastion/menu/menu.module.js +10 -0
- data/engines/bastion/app/assets/javascripts/bastion/routing.module.js +97 -0
- data/engines/bastion/app/assets/javascripts/bastion/utils/bastion-resource.factory.js +25 -0
- data/engines/bastion/app/assets/javascripts/bastion/utils/disable-link.directive.js +30 -0
- data/engines/bastion/app/assets/javascripts/bastion/utils/form-utils.service.js +40 -0
- data/engines/bastion/app/assets/javascripts/bastion/utils/round-up.filter.js +20 -0
- data/engines/bastion/app/assets/javascripts/bastion/utils/stop-event.directive.js +27 -0
- data/engines/bastion/app/assets/javascripts/bastion/utils/urlencode.filter.js +12 -0
- data/engines/bastion/app/assets/javascripts/bastion/utils/utils.module.js +8 -0
- data/engines/bastion/app/assets/stylesheets/bastion/animations.scss +25 -0
- data/engines/bastion/app/assets/stylesheets/bastion/bastion.scss +168 -0
- data/engines/bastion/app/assets/stylesheets/bastion/components.scss +64 -0
- data/engines/bastion/app/assets/stylesheets/bastion/forms.scss +43 -0
- data/engines/bastion/app/assets/stylesheets/bastion/helpers.scss +6 -0
- data/engines/bastion/app/assets/stylesheets/bastion/mixins.scss +15 -0
- data/engines/bastion/app/assets/stylesheets/bastion/nutupane.scss +407 -0
- data/engines/bastion/app/assets/stylesheets/bastion/overrides.scss +104 -0
- data/engines/bastion/app/assets/stylesheets/bastion/path-selector.scss +132 -0
- data/engines/bastion/app/assets/stylesheets/bastion/tables.scss +61 -0
- data/engines/bastion/app/assets/stylesheets/bastion/typography.scss +36 -0
- data/engines/bastion/app/assets/stylesheets/bastion/variables.scss +6 -0
- data/engines/bastion/app/controllers/bastion/bastion_controller.rb +17 -0
- data/engines/bastion/app/helpers/bastion/layout_helper.rb +27 -0
- data/engines/bastion/app/views/bastion/layouts/application.html.erb +11 -0
- data/engines/bastion/app/views/bastion/layouts/application_ie.html.erb +1 -0
- data/engines/bastion/app/views/bastion/layouts/assets.html.erb +40 -0
- data/engines/bastion/config/routes.rb +19 -0
- data/engines/bastion/config/routes/mount_engine.rb +3 -0
- data/engines/bastion/lib/bastion.rb +36 -0
- data/engines/bastion/lib/bastion/engine.rb +45 -0
- data/engines/bastion/lib/bastion/version.rb +3 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-animate/angular-animate.js +4147 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-blocks/angular-blocks.js +84 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-bootstrap/ui-bootstrap-tpls.js +7697 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-bootstrap/ui-bootstrap.js +7333 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-breadcrumb/angular-breadcrumb.js +369 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-gettext/angular-gettext.js +345 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/aa-dj.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/aa-er.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/aa-et.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/aa.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/af-na.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/af-za.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/af.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/agq-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/agq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ak-gh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ak.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/am-et.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/am.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_aa-dj.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_aa-er.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_aa-et.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_aa.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_af-na.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_af-za.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_af.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_agq-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_agq.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ak-gh.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ak.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_am-et.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_am.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-001.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-ae.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-bh.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-dj.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-dz.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-eg.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-eh.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-er.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-il.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-iq.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-jo.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-km.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-kw.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-lb.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-ly.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-ma.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-mr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-om.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-ps.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-qa.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-sa.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-sd.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-so.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-ss.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-sy.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-td.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-tn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar-ye.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ar.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_as-in.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_as.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_asa-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_asa.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ast-es.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ast.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_az-cyrl-az.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_az-cyrl.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_az-latn-az.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_az-latn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_az.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bas-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bas.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_be-by.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_be.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bem-zm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bem.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bez-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bez.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bg-bg.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bg.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bm-latn-ml.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bm-latn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bm-ml.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bn-bd.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bn-in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bo-cn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bo-in.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_br-fr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_br.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_brx-in.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_brx.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bs-cyrl-ba.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bs-cyrl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bs-latn-ba.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bs-latn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_bs.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_byn-er.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_byn.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ca-ad.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ca-es-valencia.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ca-es.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ca-fr.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ca-it.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ca.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_cgg-ug.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_cgg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_chr-us.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_chr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ckb-arab-iq.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ckb-arab-ir.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ckb-arab.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ckb-iq.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ckb-ir.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ckb-latn-iq.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ckb-latn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ckb.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_cs-cz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_cs.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_cy-gb.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_cy.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_da-dk.js +156 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_da-gl.js +156 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_da.js +156 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dav-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dav.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_de-at.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_de-be.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_de-ch.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_de-de.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_de-li.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_de-lu.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_de.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dje-ne.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dje.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dsb-de.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dsb.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dua-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dua.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dyo-sn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dyo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dz-bt.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_dz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ebu-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ebu.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ee-gh.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ee-tg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ee.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_el-cy.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_el-gr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_el.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-001.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-150.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ag.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ai.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-as.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-au.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-bb.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-be.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-bm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-bs.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-bw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-bz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ca.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-cc.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ck.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-cx.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-dg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-dm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-dsrt-us.js +99 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-dsrt.js +99 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-er.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-fj.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-fk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-fm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-gb.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-gd.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-gg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-gh.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-gi.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-gm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-gu.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-gy.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-hk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ie.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-im.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-in.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-io.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-iso.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-je.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-jm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ki.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-kn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ky.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-lc.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-lr.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ls.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-mg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-mh.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-mo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-mp.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ms.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-mt.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-mu.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-mw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-my.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-na.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-nf.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ng.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-nr.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-nu.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-nz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-pg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ph.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-pk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-pn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-pr.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-pw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-rw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-sb.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-sc.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-sd.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-sg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-sh.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-sl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ss.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-sx.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-sz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-tc.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-tk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-to.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-tt.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-tv.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ug.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-um.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-us.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-vc.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-vg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-vi.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-vu.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-ws.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-za.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-zm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en-zw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_en.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_eo-001.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_eo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-419.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-ar.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-bo.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-cl.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-co.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-cr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-cu.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-do.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-ea.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-ec.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-es.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-gq.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-gt.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-hn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-ic.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-mx.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-ni.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-pa.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-pe.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-ph.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-pr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-py.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-sv.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-us.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-uy.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es-ve.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_es.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_et-ee.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_et.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_eu-es.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_eu.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ewo-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ewo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fa-af.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fa-ir.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fa.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ff-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ff-gn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ff-mr.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ff-sn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ff.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fi-fi.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fi.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fil-ph.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fil.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fo-fo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-be.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-bf.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-bi.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-bj.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-bl.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-ca.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-cd.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-cf.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-cg.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-ch.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-ci.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-cm.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-dj.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-dz.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-fr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-ga.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-gf.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-gn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-gp.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-gq.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-ht.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-km.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-lu.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-ma.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-mc.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-mf.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-mg.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-ml.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-mq.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-mr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-mu.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-nc.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-ne.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-pf.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-pm.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-re.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-rw.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-sc.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-sn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-sy.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-td.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-tg.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-tn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-vu.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-wf.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr-yt.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fur-it.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fur.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fy-nl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_fy.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ga-ie.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ga.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gd-gb.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gd.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gl-es.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gsw-ch.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gsw-fr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gsw-li.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gsw.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gu-in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gu.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_guz-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_guz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gv-im.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_gv.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ha-latn-gh.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ha-latn-ne.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ha-latn-ng.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ha-latn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ha.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_haw-us.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_haw.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_he-il.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_he.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_hi-in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_hi.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_hr-ba.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_hr-hr.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_hr.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_hsb-de.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_hsb.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_hu-hu.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_hu.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_hy-am.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_hy.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ia-fr.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ia.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_id-id.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_id.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ig-ng.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ig.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ii-cn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ii.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_is-is.js +156 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_is.js +156 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_it-ch.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_it-it.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_it-sm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_it.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_iw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ja-jp.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ja.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_jgo-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_jgo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_jmc-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_jmc.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ka-ge.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ka.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kab-dz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kab.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kam-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kam.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kde-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kde.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kea-cv.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kea.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_khq-ml.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_khq.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ki-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ki.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kk-cyrl-kz.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kk-cyrl.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kk.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kkj-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kkj.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kl-gl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kln-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kln.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_km-kh.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_km.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kn-in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ko-kp.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ko-kr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ko.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kok-in.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kok.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ks-arab-in.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ks-arab.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ks.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ksb-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ksb.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ksf-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ksf.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ksh-de.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ksh.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kw-gb.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_kw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ky-cyrl-kg.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ky-cyrl.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ky.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lag-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lag.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lb-lu.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lb.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lg-ug.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lkt-us.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lkt.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ln-ao.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ln-cd.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ln-cf.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ln-cg.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ln.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lo-la.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lo.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lt-lt.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lt.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lu-cd.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lu.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_luo-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_luo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_luy-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_luy.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lv-lv.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_lv.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mas-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mas-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mas.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mer-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mer.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mfe-mu.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mfe.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mg-mg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mgh-mz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mgh.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mgo-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mgo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mk-mk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ml-in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ml.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mn-cyrl-mn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mn-cyrl.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mr-in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ms-bn.js +99 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ms-latn-bn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ms-latn-my.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ms-latn-sg.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ms-latn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ms-my.js +99 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ms.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mt-mt.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mt.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mua-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_mua.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_my-mm.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_my.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_naq-na.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_naq.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nb-no.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nb-sj.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nb.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nd-zw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nd.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ne-in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ne-np.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ne.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nl-aw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nl-be.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nl-bq.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nl-cw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nl-nl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nl-sr.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nl-sx.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nmg-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nmg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nn-no.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nnh-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nnh.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_no-no.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_no.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nr-za.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nr.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nso-za.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nso.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nus-sd.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nus.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nyn-ug.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_nyn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_om-et.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_om-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_om.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_or-in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_or.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_os-ge.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_os-ru.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_os.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pa-arab-pk.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pa-arab.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pa-guru-in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pa-guru.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pa.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pl-pl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ps-af.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ps.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pt-ao.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pt-br.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pt-cv.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pt-gw.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pt-mo.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pt-mz.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pt-pt.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pt-st.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pt-tl.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_pt.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_qu-bo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_qu-ec.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_qu-pe.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_qu.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_rm-ch.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_rm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_rn-bi.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_rn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ro-md.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ro-ro.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ro.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_rof-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_rof.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ru-by.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ru-kg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ru-kz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ru-md.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ru-ru.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ru-ua.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ru.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_rw-rw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_rw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_rwk-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_rwk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sah-ru.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sah.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_saq-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_saq.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sbp-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sbp.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_se-fi.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_se-no.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_se-se.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_se.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_seh-mz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_seh.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ses-ml.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ses.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sg-cf.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sg.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_shi-latn-ma.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_shi-latn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_shi-tfng-ma.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_shi-tfng.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_shi.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_si-lk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_si.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sk-sk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sl-si.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_smn-fi.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_smn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sn-zw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_so-dj.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_so-et.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_so-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_so-so.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_so.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sq-al.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sq-mk.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sq-xk.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sq.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sr-cyrl-ba.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sr-cyrl-me.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sr-cyrl-rs.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sr-cyrl-xk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sr-cyrl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sr-latn-ba.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sr-latn-me.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sr-latn-rs.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sr-latn-xk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sr-latn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sr.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ss-sz.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ss-za.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ss.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ssy-er.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ssy.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_st-ls.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_st-za.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_st.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sv-ax.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sv-fi.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sv-se.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sv.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sw-cd.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sw-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sw-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sw-ug.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_sw.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_swc-cd.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_swc.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ta-in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ta-lk.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ta-my.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ta-sg.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ta.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_te-in.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_te.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_teo-ke.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_teo-ug.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_teo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tg-cyrl-tj.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tg-cyrl.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tg.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_th-th.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_th.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ti-er.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ti-et.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ti.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tig-er.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tig.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tl.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tn-bw.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tn-za.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tn.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_to-to.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_to.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tr-cy.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tr-tr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tr.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ts-za.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ts.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_twq-ne.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_twq.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tzm-latn-ma.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tzm-latn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_tzm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ug-arab-cn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ug-arab.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ug.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_uk-ua.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_uk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ur-in.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ur-pk.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ur.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_uz-arab-af.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_uz-arab.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_uz-cyrl-uz.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_uz-cyrl.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_uz-latn-uz.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_uz-latn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_uz.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_vai-latn-lr.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_vai-latn.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_vai-vaii-lr.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_vai-vaii.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_vai.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ve-za.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_ve.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_vi-vn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_vi.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_vo-001.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_vo.js +128 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_vun-tz.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_vun.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_wae-ch.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_wae.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_wal-et.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_wal.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_xh-za.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_xh.js +115 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_xog-ug.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_xog.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_yav-cm.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_yav.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_yi-001.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_yi.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_yo-bj.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_yo-ng.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_yo.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zgh-ma.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zgh.js +143 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-cn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-hans-cn.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-hans-hk.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-hans-mo.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-hans-sg.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-hans.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-hant-hk.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-hant-mo.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-hant-tw.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-hant.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-hk.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh-tw.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zh.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zu-za.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/angular-locale_zu.js +125 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-001.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-ae.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-bh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-dj.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-dz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-eg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-eh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-er.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-il.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-iq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-jo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-km.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-kw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-lb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-ly.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-ma.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-mr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-om.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-ps.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-qa.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-sa.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-sd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-so.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-ss.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-sy.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-td.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-tn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar-ye.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ar.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/as-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/as.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/asa-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/asa.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ast-es.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ast.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/az-cyrl-az.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/az-cyrl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/az-latn-az.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/az-latn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/az.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bas-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bas.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/be-by.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/be.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bem-zm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bem.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bez-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bez.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bg-bg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bm-latn-ml.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bm-latn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bm-ml.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bn-bd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bn-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bo-cn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bo-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/br-fr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/br.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/brx-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/brx.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bs-cyrl-ba.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bs-cyrl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bs-latn-ba.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bs-latn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/bs.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/byn-er.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/byn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ca-ad.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ca-es-valencia.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ca-es.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ca-fr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ca-it.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ca.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/cgg-ug.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/cgg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/chr-us.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/chr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ckb-arab-iq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ckb-arab-ir.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ckb-arab.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ckb-iq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ckb-ir.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ckb-latn-iq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ckb-latn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ckb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/cs-cz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/cs.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/cy-gb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/cy.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/da-dk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/da-gl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/da.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dav-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dav.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/de-at.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/de-be.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/de-ch.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/de-de.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/de-li.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/de-lu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/de.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dje-ne.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dje.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dsb-de.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dsb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dua-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dua.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dyo-sn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dyo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dz-bt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/dz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ebu-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ebu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ee-gh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ee-tg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ee.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/el-cy.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/el-gr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/el.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-001.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-150.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ag.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ai.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-as.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-au.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-bb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-be.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-bm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-bs.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-bw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-bz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ca.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-cc.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ck.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-cx.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-dg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-dm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-dsrt-us.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-dsrt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-er.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-fj.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-fk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-fm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-gb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-gd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-gg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-gh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-gi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-gm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-gu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-gy.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-hk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ie.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-im.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-io.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-iso.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-je.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-jm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ki.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-kn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ky.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-lc.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-lr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ls.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-mg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-mh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-mo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-mp.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ms.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-mt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-mu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-mw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-my.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-na.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-nf.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ng.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-nr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-nu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-nz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-pg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ph.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-pk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-pn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-pr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-pw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-rw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-sb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-sc.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-sd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-sg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-sh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-sl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ss.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-sx.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-sz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-tc.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-tk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-to.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-tt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-tv.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ug.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-um.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-us.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-vc.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-vg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-vi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-vu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-ws.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-za.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-zm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en-zw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/en.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/eo-001.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/eo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-419.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-ar.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-bo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-cl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-co.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-cr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-cu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-do.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-ea.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-ec.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-es.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-gq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-gt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-hn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-ic.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-mx.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-ni.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-pa.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-pe.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-ph.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-pr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-py.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-sv.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-us.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-uy.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es-ve.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/es.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/et-ee.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/et.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/eu-es.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/eu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ewo-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ewo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fa-af.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fa-ir.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fa.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ff-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ff-gn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ff-mr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ff-sn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ff.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fi-fi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fil-ph.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fil.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fo-fo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-be.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-bf.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-bi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-bj.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-bl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-ca.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-cd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-cf.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-cg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-ch.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-ci.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-dj.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-dz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-fr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-ga.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-gf.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-gn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-gp.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-gq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-ht.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-km.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-lu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-ma.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-mc.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-mf.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-mg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-ml.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-mq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-mr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-mu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-nc.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-ne.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-pf.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-pm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-re.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-rw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-sc.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-sn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-sy.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-td.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-tg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-tn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-vu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-wf.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr-yt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fur-it.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fur.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fy-nl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/fy.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ga-ie.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ga.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gd-gb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gl-es.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gsw-ch.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gsw-fr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gsw-li.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gsw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gu-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/guz-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/guz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gv-im.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/gv.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ha-latn-gh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ha-latn-ne.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ha-latn-ng.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ha-latn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ha.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/haw-us.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/haw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/he-il.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/he.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/hi-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/hi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/hr-ba.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/hr-hr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/hr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/hsb-de.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/hsb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/hu-hu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/hu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/hy-am.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/hy.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ia-fr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ia.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/id-id.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/id.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ig-ng.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ig.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ii-cn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ii.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/is-is.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/is.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/it-ch.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/it-it.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/it-sm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/it.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/iw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ja-jp.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ja.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/jgo-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/jgo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/jmc-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/jmc.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ka-ge.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ka.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kab-dz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kab.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kam-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kam.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kde-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kde.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kea-cv.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kea.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/khq-ml.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/khq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ki-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ki.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kk-cyrl-kz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kk-cyrl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kkj-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kkj.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kl-gl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kln-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kln.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/km-kh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/km.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kn-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ko-kp.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ko-kr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ko.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kok-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kok.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ks-arab-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ks-arab.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ks.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ksb-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ksb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ksf-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ksf.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ksh-de.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ksh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kw-gb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/kw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ky-cyrl-kg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ky-cyrl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ky.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lag-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lag.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lb-lu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lg-ug.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lkt-us.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lkt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ln-ao.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ln-cd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ln-cf.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ln-cg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ln.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lo-la.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lt-lt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lu-cd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/luo-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/luo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/luy-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/luy.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lv-lv.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/lv.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mas-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mas-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mas.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mer-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mer.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mfe-mu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mfe.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mg-mg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mgh-mz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mgh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mgo-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mgo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mk-mk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ml-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ml.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mn-cyrl-mn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mn-cyrl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mr-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ms-bn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ms-latn-bn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ms-latn-my.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ms-latn-sg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ms-latn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ms-my.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ms.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mt-mt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mua-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/mua.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/my-mm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/my.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/naq-na.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/naq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nb-no.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nb-sj.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nb.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nd-zw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ne-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ne-np.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ne.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nl-aw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nl-be.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nl-bq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nl-cw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nl-nl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nl-sr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nl-sx.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nmg-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nmg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nn-no.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nnh-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nnh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/no-no.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/no.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nr-za.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nso-za.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nso.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nus-sd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nus.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nyn-ug.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/nyn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/om-et.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/om-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/om.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/or-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/or.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/os-ge.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/os-ru.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/os.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pa-arab-pk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pa-arab.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pa-guru-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pa-guru.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pa.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pl-pl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ps-af.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ps.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pt-ao.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pt-br.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pt-cv.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pt-gw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pt-mo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pt-mz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pt-pt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pt-st.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pt-tl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/pt.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/qu-bo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/qu-ec.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/qu-pe.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/qu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/rm-ch.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/rm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/rn-bi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/rn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ro-md.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ro-ro.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ro.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/rof-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/rof.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ru-by.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ru-kg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ru-kz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ru-md.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ru-ru.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ru-ua.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ru.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/rw-rw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/rw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/rwk-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/rwk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sah-ru.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sah.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/saq-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/saq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sbp-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sbp.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/se-fi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/se-no.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/se-se.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/se.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/seh-mz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/seh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ses-ml.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ses.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sg-cf.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/shi-latn-ma.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/shi-latn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/shi-tfng-ma.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/shi-tfng.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/shi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/si-lk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/si.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sk-sk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sl-si.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/smn-fi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/smn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sn-zw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/so-dj.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/so-et.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/so-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/so-so.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/so.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sq-al.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sq-mk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sq-xk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sr-cyrl-ba.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sr-cyrl-me.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sr-cyrl-rs.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sr-cyrl-xk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sr-cyrl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sr-latn-ba.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sr-latn-me.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sr-latn-rs.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sr-latn-xk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sr-latn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ss-sz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ss-za.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ss.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ssy-er.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ssy.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/st-ls.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/st-za.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/st.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sv-ax.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sv-fi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sv-se.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sv.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sw-cd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sw-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sw-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sw-ug.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/sw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/swc-cd.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/swc.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ta-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ta-lk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ta-my.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ta-sg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ta.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/te-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/te.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/teo-ke.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/teo-ug.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/teo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tg-cyrl-tj.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tg-cyrl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/th-th.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/th.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ti-er.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ti-et.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ti.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tig-er.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tig.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tn-bw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tn-za.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/to-to.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/to.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tr-cy.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tr-tr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ts-za.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ts.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/twq-ne.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/twq.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tzm-latn-ma.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tzm-latn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/tzm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ug-arab-cn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ug-arab.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ug.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/uk-ua.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/uk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ur-in.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ur-pk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ur.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/uz-arab-af.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/uz-arab.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/uz-cyrl-uz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/uz-cyrl.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/uz-latn-uz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/uz-latn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/uz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/vai-latn-lr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/vai-latn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/vai-vaii-lr.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/vai-vaii.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/vai.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ve-za.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/ve.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/vi-vn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/vi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/vo-001.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/vo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/vun-tz.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/vun.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/wae-ch.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/wae.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/wal-et.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/wal.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/xh-za.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/xh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/xog-ug.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/xog.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/yav-cm.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/yav.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/yi-001.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/yi.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/yo-bj.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/yo-ng.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/yo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zgh-ma.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zgh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-cn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-hans-cn.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-hans-hk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-hans-mo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-hans-sg.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-hans.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-hant-hk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-hant-mo.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-hant-tw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-hant.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-hk.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh-tw.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zh.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zu-za.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-i18n/zu.js +2 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-patternfly/angular-patternfly.js +11636 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-resource/angular-resource.js +768 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-route/angular-route.js +1025 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-sanitize/angular-sanitize.js +717 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-ui-bootstrap/datepicker.js +447 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-ui-bootstrap/timepicker.js +232 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-ui-router/angular-ui-router.js +4576 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular-uuid4/angular-uuid4.js +21 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/angular/angular.js +30868 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/json3/json3.js +861 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/lodash/lodash.js +16733 -0
- data/engines/bastion/vendor/assets/javascripts/bastion/ngUpload/ng-upload.js +245 -0
- data/engines/bastion_katello/README.md +14 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-host-bulk-module-streams-modal.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts-helper.service.js +5 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-errata.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-module-streams.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages-actions.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details-info.controller.js +6 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details.controller.js +44 -32
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-deb-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-docker-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-file-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-ostree-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-repositories.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-deb-repositories-list.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-docker-repositories-list.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-file-repositories-list.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-ostree-repositories-list.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-repositories-list.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/package-filter.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/filter-details.html +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-info.html +19 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/content-view-new.controller.js +10 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/views/content-view-new.html +20 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-errata.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-file.html +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-ostree-branches.html +3 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-packages.html +3 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-yum.html +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/content.service.js +16 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/environment-content.controller.js +45 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-details.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-docker.html +2 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-errata.html +2 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-module-streams.html +2 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-ostree.html +2 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-packages.html +2 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-puppet-modules.html +3 -9
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-repositories.html +5 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +705 -771
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/package-info.html +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/package-repositories.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/container-registries.service.js +40 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery-create.controller.js +6 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery.controller.js +30 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery-create.html +5 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery.html +24 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-details-info.controller.js +6 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-info.html +1 -0
- data/engines/bastion_katello/lib/bastion_katello.rb +0 -1
- data/lib/katello.rb +3 -3
- data/lib/katello/engine.rb +0 -9
- data/lib/katello/plugin.rb +9 -0
- data/lib/katello/repository_types/README.md +64 -0
- data/lib/katello/repository_types/deb.rb +1 -0
- data/lib/katello/repository_types/docker.rb +5 -0
- data/lib/katello/repository_types/file.rb +4 -0
- data/lib/katello/repository_types/ostree.rb +1 -0
- data/lib/katello/repository_types/puppet.rb +1 -0
- data/lib/katello/repository_types/yum.rb +11 -0
- data/lib/katello/tasks/delete_orphaned_content.rake +1 -2
- data/lib/katello/tasks/repository.rake +1 -1
- data/lib/katello/version.rb +1 -1
- data/locale/katello.pot +1750 -1267
- data/package.json +5 -4
- data/webpack/__mocks__/foremanReact/common/helpers.js +16 -0
- data/webpack/components/Search/index.js +8 -6
- data/webpack/move_to_foreman/components/common/table/components/CollapseSubscriptionGroupButton.test.js +1 -1
- data/webpack/move_to_foreman/components/common/table/components/Table.test.js +1 -1
- data/webpack/move_to_foreman/components/common/table/components/TableBody.test.js +1 -1
- data/webpack/move_to_foreman/components/common/table/components/TableBodyMessage.test.js +1 -1
- data/webpack/move_to_foreman/components/common/table/components/TableSelectionCell.test.js +1 -1
- data/webpack/move_to_foreman/components/common/table/components/TableSelectionHeaderCell.test.js +1 -1
- data/webpack/move_to_foreman/components/common/table/formatters/EntitlementsInlineEditFormatter.js +101 -0
- data/webpack/{scenes/Subscriptions/components/SubscriptionsTable → move_to_foreman/components/common/table/formatters}/__tests__/EntitlementsInlineEditFormatter.test.js +0 -0
- data/webpack/{scenes/Subscriptions/components/SubscriptionsTable → move_to_foreman/components/common/table/formatters}/__tests__/__snapshots__/EntitlementsInlineEditFormatter.test.js.snap +0 -0
- data/webpack/move_to_pf/OptionTooltip/__tests__/OptionTooltip.test.js +1 -1
- data/webpack/move_to_pf/TooltipButton/TooltipButton.js +40 -0
- data/webpack/move_to_pf/TooltipButton/TooltipButton.scss +36 -0
- data/webpack/move_to_pf/TooltipButton/TooltipButton.test.js +37 -0
- data/webpack/move_to_pf/TooltipButton/__snapshots__/TooltipButton.test.js.snap +91 -0
- data/webpack/move_to_pf/TooltipButton/index.js +1 -0
- data/webpack/redux/OrganizationProducts/__tests__/OrganizationProductsActions.test.js +6 -7
- data/webpack/redux/OrganizationProducts/__tests__/OrganizationProductsReducer.test.js +1 -1
- data/webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js +1 -1
- data/webpack/redux/OrganizationProducts/__tests__/__snapshots__/OrganizationProductsActions.test.js.snap +1 -1
- data/webpack/redux/actions/RedHatRepositories/enabled.js +2 -1
- data/webpack/redux/actions/RedHatRepositories/helpers.js +9 -6
- data/webpack/redux/actions/RedHatRepositories/sets.js +2 -1
- data/webpack/scenes/ModuleStreams/Details/Profiles/__tests__/ModuleStreamDetailProfiles.test.js +1 -1
- data/webpack/scenes/ModuleStreams/Details/Repositories/__tests__/ModuleStreamDetailRepositories.test.js +1 -1
- data/webpack/scenes/ModuleStreams/Details/__tests__/ModuleStreamDetailArtifacts.test.js +1 -1
- data/webpack/scenes/ModuleStreams/Details/__tests__/ModuleStreamDetailInfo.test.js +1 -1
- data/webpack/scenes/ModuleStreams/Details/__tests__/ModuleStreamDetails.test.js +1 -1
- data/webpack/scenes/ModuleStreams/Details/__tests__/ModuleStreamDetailsActions.test.js +6 -7
- data/webpack/scenes/ModuleStreams/Details/__tests__/ModuleStreamDetailsReducer.test.js +1 -1
- data/webpack/scenes/ModuleStreams/Details/__tests__/__snapshots__/ModuleStreamDetailsActions.test.js.snap +1 -1
- data/webpack/scenes/ModuleStreams/ModuleStreamsActions.js +2 -1
- data/webpack/scenes/Organizations/OrganizationActions.js +5 -1
- data/webpack/scenes/Organizations/__tests__/organizations.fixtures.js +3 -0
- data/webpack/scenes/RedHatRepositories/components/RepositorySetRepository/RepositorySetRepository.js +3 -2
- data/webpack/scenes/RedHatRepositories/components/Search.js +5 -2
- data/webpack/scenes/RedHatRepositories/components/__tests__/RecommendedRepositorySetsToggler.test.js +1 -1
- data/webpack/scenes/Settings/Tables/__tests__/TableReducer.test.js +1 -1
- data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +19 -14
- data/webpack/scenes/Subscriptions/Manifest/ManifestActions.js +2 -1
- data/webpack/scenes/Subscriptions/Manifest/__tests__/__snapshots__/ManageManifestModal.test.js.snap +28 -17
- data/webpack/scenes/Subscriptions/SubscriptionActions.js +2 -1
- data/webpack/scenes/Subscriptions/SubscriptionConstants.js +7 -0
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsActions.js +2 -1
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsActions.test.js +1 -1
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsReducer.test.js +1 -1
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsSelectors.test.js +1 -1
- data/webpack/scenes/Subscriptions/__tests__/subscriptions.fixtures.js +8 -1
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTable.js +181 -226
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableSchema.js +1 -1
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/DeleteDialog.js +47 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/InputsErrorsDialog.js +22 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/UnsavedChangesDialog.js +25 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/UpdateDialog.js +80 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Dialogs/index.js +27 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/components/Table.js +103 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.js +1 -1
- data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.test.js +1 -1
- data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/__snapshots__/SubscriptionsToolbar.test.js.snap +10 -0
- data/webpack/scenes/Tasks/TaskActions.js +2 -2
- data/webpack/services/index.js +0 -15
- metadata +1745 -67
- data/app/controllers/katello/concerns/containers/steps_controller_extensions.rb +0 -55
- data/app/helpers/katello/concerns/foreman_docker/container_steps_helper_extensions.rb +0 -90
- data/app/lib/actions/katello/capsule_content/configure_capsule.rb +0 -14
- data/app/lib/actions/katello/content_view/update_environment.rb +0 -21
- data/app/lib/actions/pulp/repository/remove_deb.rb +0 -15
- data/app/lib/actions/pulp/repository/remove_docker_blob.rb +0 -11
- data/app/lib/actions/pulp/repository/remove_docker_manifest.rb +0 -11
- data/app/lib/actions/pulp/repository/remove_docker_manifest_list.rb +0 -11
- data/app/lib/actions/pulp/repository/remove_docker_tag.rb +0 -11
- data/app/lib/actions/pulp/repository/remove_errata.rb +0 -15
- data/app/lib/actions/pulp/repository/remove_file.rb +0 -15
- data/app/lib/actions/pulp/repository/remove_module_default.rb +0 -11
- data/app/lib/actions/pulp/repository/remove_module_stream.rb +0 -11
- data/app/lib/actions/pulp/repository/remove_package_group.rb +0 -11
- data/app/lib/actions/pulp/repository/remove_puppet_module.rb +0 -11
- data/app/lib/actions/pulp/repository/remove_rpm.rb +0 -15
- data/app/lib/actions/pulp/repository/remove_yum_metadata_file.rb +0 -11
- data/app/lib/katello/capsule_content.rb +0 -175
- data/app/models/katello/concerns/container_extensions.rb +0 -26
- data/app/models/katello/concerns/docker_container_wizard_state_extensions.rb +0 -17
- data/app/models/katello/concerns/docker_container_wizard_state_image_extensions.rb +0 -41
- data/app/views/foreman_docker/containers/steps/_katello_container.html.erb +0 -52
- data/db/migrate/20141015173220_add_docker_image_fields.rb +0 -35
- data/db/migrate/20141031150814_add_tag_repository_id_index.rb +0 -10
- data/db/migrate/20150109012657_add_capsule_id_to_container.rb +0 -13
- data/db/migrate/20170822104447_add_katello_content_to_image.rb +0 -5
- data/lib/katello/tasks/upgrades/3.10/update_gpg_key_urls.rake +0 -32
- data/lib/katello/tasks/upgrades/3.9/migrate_sync_plans.rake +0 -51
- data/webpack/__mocks__/react-bootstrap-tooltip-button.js +0 -6
- data/webpack/move_to_foreman/components/common/ConfirmDialog/ConfirmDialog.js +0 -51
- data/webpack/move_to_foreman/components/common/ConfirmDialog/__tests__/ConfirmDialog.test.js +0 -40
- data/webpack/move_to_foreman/components/common/ConfirmDialog/__tests__/__snapshots__/ConfirmDialog.test.js.snap +0 -125
- data/webpack/move_to_foreman/components/common/ConfirmDialog/index.js +0 -3
- data/webpack/move_to_foreman/components/common/Dialog/Dialog.js +0 -66
- data/webpack/move_to_foreman/components/common/Dialog/__tests__/Dialog.test.js +0 -61
- data/webpack/move_to_foreman/components/common/Dialog/__tests__/__snapshots__/Dialog.test.js.snap +0 -349
- data/webpack/move_to_foreman/components/common/Dialog/index.js +0 -3
- data/webpack/move_to_pf/test-utils/testHelpers.js +0 -92
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/EntitlementsInlineEditFormatter.js +0 -92
@@ -0,0 +1,19 @@
|
|
1
|
+
Foreman::Application.routes.draw do
|
2
|
+
class BastionPagesConstraint
|
3
|
+
def matches?(request)
|
4
|
+
pages.include?(request.params[:bastion_page])
|
5
|
+
end
|
6
|
+
|
7
|
+
private
|
8
|
+
|
9
|
+
def pages
|
10
|
+
pages = Bastion.plugins.collect { |_name, plugin| plugin[:pages] }
|
11
|
+
pages.flatten
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
scope :module => :bastion do
|
16
|
+
get '/:bastion_page/(*path)', :to => "bastion#index", constraints: BastionPagesConstraint.new
|
17
|
+
get '/bastion/(*path)', :to => "bastion#index_ie"
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# to make Foreman#in_rake? helper available if Foreman's lib is available
|
2
|
+
require 'rails'
|
3
|
+
require 'angular-rails-templates'
|
4
|
+
|
5
|
+
require File.expand_path('bastion/engine', File.dirname(__FILE__))
|
6
|
+
|
7
|
+
#rubocop:disable Style/ClassVars
|
8
|
+
module Bastion
|
9
|
+
@@plugins = {}
|
10
|
+
|
11
|
+
def self.plugins
|
12
|
+
@@plugins
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.register_plugin(plugin)
|
16
|
+
@@plugins[plugin[:name]] = plugin
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.config
|
20
|
+
url_root = ENV['RAILS_RELATIVE_URL_ROOT']
|
21
|
+
base_config = {
|
22
|
+
'markTranslated' => SETTINGS[:mark_translated] || false,
|
23
|
+
'relativeUrlRoot' => url_root ? url_root + '/' : '/'
|
24
|
+
}
|
25
|
+
|
26
|
+
Bastion.plugins.each do |_name, plugin|
|
27
|
+
base_config.merge!(plugin[:config]) if plugin[:config]
|
28
|
+
end
|
29
|
+
|
30
|
+
base_config
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.localization_path(locale)
|
34
|
+
"bastion/angular-i18n/angular-locale_#{locale}.js"
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
require 'rails'
|
2
|
+
|
3
|
+
module Bastion
|
4
|
+
class Engine < ::Rails::Engine
|
5
|
+
isolate_namespace Bastion
|
6
|
+
|
7
|
+
initializer 'bastion.assets_dispatcher', :before => :build_middleware_stack do |app|
|
8
|
+
app.middleware.use ::ActionDispatch::Static, "#{Bastion::Engine.root}/app/assets/javascripts/bastion"
|
9
|
+
end
|
10
|
+
|
11
|
+
initializer 'bastion.mount_engine', :after => :build_middleware_stack do |app|
|
12
|
+
app.routes_reloader.paths << "#{Bastion::Engine.root}/config/routes/mount_engine.rb"
|
13
|
+
app.routes_reloader.paths.unshift("#{Bastion::Engine.root}/config/routes.rb")
|
14
|
+
end
|
15
|
+
|
16
|
+
initializer "bastion.assets", :group => :all do |app|
|
17
|
+
app.config.assets.paths << "#{Bastion::Engine.root}/vendor/assets/stylesheets/bastion"
|
18
|
+
end
|
19
|
+
|
20
|
+
initializer "bastion.configure_assets", :group => :all do |_app|
|
21
|
+
SETTINGS[:bastion] = {:assets => {}} if SETTINGS[:bastion].nil?
|
22
|
+
SETTINGS[:bastion][:assets] = {} if SETTINGS[:bastion][:assets].nil?
|
23
|
+
|
24
|
+
SETTINGS[:bastion][:assets][:precompile] = [
|
25
|
+
'bastion/bastion.css',
|
26
|
+
'bastion/bastion.js'
|
27
|
+
]
|
28
|
+
|
29
|
+
locale_files = Dir.glob("#{Bastion::Engine.root}/vendor/assets/javascripts/#{Bastion.localization_path("*")}")
|
30
|
+
locale_files.map do |file|
|
31
|
+
file.gsub!("#{Bastion::Engine.root}/vendor/assets/javascripts/", "")
|
32
|
+
end
|
33
|
+
|
34
|
+
SETTINGS[:bastion][:assets][:precompile].concat(locale_files)
|
35
|
+
end
|
36
|
+
|
37
|
+
initializer 'bastion.assets.precompile', :after => 'bastion.configure_assets' do |app|
|
38
|
+
app.config.assets.precompile += SETTINGS[:bastion][:assets][:precompile]
|
39
|
+
end
|
40
|
+
|
41
|
+
initializer "angular_templates", :group => :all do |app|
|
42
|
+
app.config.angular_templates.ignore_prefix = %w([bastion]*\/+)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,4147 @@
|
|
1
|
+
/**
|
2
|
+
* @license AngularJS v1.5.5
|
3
|
+
* (c) 2010-2016 Google, Inc. http://angularjs.org
|
4
|
+
* License: MIT
|
5
|
+
*/
|
6
|
+
(function(window, angular) {'use strict';
|
7
|
+
|
8
|
+
/* jshint ignore:start */
|
9
|
+
var noop = angular.noop;
|
10
|
+
var copy = angular.copy;
|
11
|
+
var extend = angular.extend;
|
12
|
+
var jqLite = angular.element;
|
13
|
+
var forEach = angular.forEach;
|
14
|
+
var isArray = angular.isArray;
|
15
|
+
var isString = angular.isString;
|
16
|
+
var isObject = angular.isObject;
|
17
|
+
var isUndefined = angular.isUndefined;
|
18
|
+
var isDefined = angular.isDefined;
|
19
|
+
var isFunction = angular.isFunction;
|
20
|
+
var isElement = angular.isElement;
|
21
|
+
|
22
|
+
var ELEMENT_NODE = 1;
|
23
|
+
var COMMENT_NODE = 8;
|
24
|
+
|
25
|
+
var ADD_CLASS_SUFFIX = '-add';
|
26
|
+
var REMOVE_CLASS_SUFFIX = '-remove';
|
27
|
+
var EVENT_CLASS_PREFIX = 'ng-';
|
28
|
+
var ACTIVE_CLASS_SUFFIX = '-active';
|
29
|
+
var PREPARE_CLASS_SUFFIX = '-prepare';
|
30
|
+
|
31
|
+
var NG_ANIMATE_CLASSNAME = 'ng-animate';
|
32
|
+
var NG_ANIMATE_CHILDREN_DATA = '$$ngAnimateChildren';
|
33
|
+
|
34
|
+
// Detect proper transitionend/animationend event names.
|
35
|
+
var CSS_PREFIX = '', TRANSITION_PROP, TRANSITIONEND_EVENT, ANIMATION_PROP, ANIMATIONEND_EVENT;
|
36
|
+
|
37
|
+
// If unprefixed events are not supported but webkit-prefixed are, use the latter.
|
38
|
+
// Otherwise, just use W3C names, browsers not supporting them at all will just ignore them.
|
39
|
+
// Note: Chrome implements `window.onwebkitanimationend` and doesn't implement `window.onanimationend`
|
40
|
+
// but at the same time dispatches the `animationend` event and not `webkitAnimationEnd`.
|
41
|
+
// Register both events in case `window.onanimationend` is not supported because of that,
|
42
|
+
// do the same for `transitionend` as Safari is likely to exhibit similar behavior.
|
43
|
+
// Also, the only modern browser that uses vendor prefixes for transitions/keyframes is webkit
|
44
|
+
// therefore there is no reason to test anymore for other vendor prefixes:
|
45
|
+
// http://caniuse.com/#search=transition
|
46
|
+
if (isUndefined(window.ontransitionend) && isDefined(window.onwebkittransitionend)) {
|
47
|
+
CSS_PREFIX = '-webkit-';
|
48
|
+
TRANSITION_PROP = 'WebkitTransition';
|
49
|
+
TRANSITIONEND_EVENT = 'webkitTransitionEnd transitionend';
|
50
|
+
} else {
|
51
|
+
TRANSITION_PROP = 'transition';
|
52
|
+
TRANSITIONEND_EVENT = 'transitionend';
|
53
|
+
}
|
54
|
+
|
55
|
+
if (isUndefined(window.onanimationend) && isDefined(window.onwebkitanimationend)) {
|
56
|
+
CSS_PREFIX = '-webkit-';
|
57
|
+
ANIMATION_PROP = 'WebkitAnimation';
|
58
|
+
ANIMATIONEND_EVENT = 'webkitAnimationEnd animationend';
|
59
|
+
} else {
|
60
|
+
ANIMATION_PROP = 'animation';
|
61
|
+
ANIMATIONEND_EVENT = 'animationend';
|
62
|
+
}
|
63
|
+
|
64
|
+
var DURATION_KEY = 'Duration';
|
65
|
+
var PROPERTY_KEY = 'Property';
|
66
|
+
var DELAY_KEY = 'Delay';
|
67
|
+
var TIMING_KEY = 'TimingFunction';
|
68
|
+
var ANIMATION_ITERATION_COUNT_KEY = 'IterationCount';
|
69
|
+
var ANIMATION_PLAYSTATE_KEY = 'PlayState';
|
70
|
+
var SAFE_FAST_FORWARD_DURATION_VALUE = 9999;
|
71
|
+
|
72
|
+
var ANIMATION_DELAY_PROP = ANIMATION_PROP + DELAY_KEY;
|
73
|
+
var ANIMATION_DURATION_PROP = ANIMATION_PROP + DURATION_KEY;
|
74
|
+
var TRANSITION_DELAY_PROP = TRANSITION_PROP + DELAY_KEY;
|
75
|
+
var TRANSITION_DURATION_PROP = TRANSITION_PROP + DURATION_KEY;
|
76
|
+
|
77
|
+
var isPromiseLike = function(p) {
|
78
|
+
return p && p.then ? true : false;
|
79
|
+
};
|
80
|
+
|
81
|
+
var ngMinErr = angular.$$minErr('ng');
|
82
|
+
function assertArg(arg, name, reason) {
|
83
|
+
if (!arg) {
|
84
|
+
throw ngMinErr('areq', "Argument '{0}' is {1}", (name || '?'), (reason || "required"));
|
85
|
+
}
|
86
|
+
return arg;
|
87
|
+
}
|
88
|
+
|
89
|
+
function mergeClasses(a,b) {
|
90
|
+
if (!a && !b) return '';
|
91
|
+
if (!a) return b;
|
92
|
+
if (!b) return a;
|
93
|
+
if (isArray(a)) a = a.join(' ');
|
94
|
+
if (isArray(b)) b = b.join(' ');
|
95
|
+
return a + ' ' + b;
|
96
|
+
}
|
97
|
+
|
98
|
+
function packageStyles(options) {
|
99
|
+
var styles = {};
|
100
|
+
if (options && (options.to || options.from)) {
|
101
|
+
styles.to = options.to;
|
102
|
+
styles.from = options.from;
|
103
|
+
}
|
104
|
+
return styles;
|
105
|
+
}
|
106
|
+
|
107
|
+
function pendClasses(classes, fix, isPrefix) {
|
108
|
+
var className = '';
|
109
|
+
classes = isArray(classes)
|
110
|
+
? classes
|
111
|
+
: classes && isString(classes) && classes.length
|
112
|
+
? classes.split(/\s+/)
|
113
|
+
: [];
|
114
|
+
forEach(classes, function(klass, i) {
|
115
|
+
if (klass && klass.length > 0) {
|
116
|
+
className += (i > 0) ? ' ' : '';
|
117
|
+
className += isPrefix ? fix + klass
|
118
|
+
: klass + fix;
|
119
|
+
}
|
120
|
+
});
|
121
|
+
return className;
|
122
|
+
}
|
123
|
+
|
124
|
+
function removeFromArray(arr, val) {
|
125
|
+
var index = arr.indexOf(val);
|
126
|
+
if (val >= 0) {
|
127
|
+
arr.splice(index, 1);
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
function stripCommentsFromElement(element) {
|
132
|
+
if (element instanceof jqLite) {
|
133
|
+
switch (element.length) {
|
134
|
+
case 0:
|
135
|
+
return [];
|
136
|
+
break;
|
137
|
+
|
138
|
+
case 1:
|
139
|
+
// there is no point of stripping anything if the element
|
140
|
+
// is the only element within the jqLite wrapper.
|
141
|
+
// (it's important that we retain the element instance.)
|
142
|
+
if (element[0].nodeType === ELEMENT_NODE) {
|
143
|
+
return element;
|
144
|
+
}
|
145
|
+
break;
|
146
|
+
|
147
|
+
default:
|
148
|
+
return jqLite(extractElementNode(element));
|
149
|
+
break;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
if (element.nodeType === ELEMENT_NODE) {
|
154
|
+
return jqLite(element);
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
function extractElementNode(element) {
|
159
|
+
if (!element[0]) return element;
|
160
|
+
for (var i = 0; i < element.length; i++) {
|
161
|
+
var elm = element[i];
|
162
|
+
if (elm.nodeType == ELEMENT_NODE) {
|
163
|
+
return elm;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
function $$addClass($$jqLite, element, className) {
|
169
|
+
forEach(element, function(elm) {
|
170
|
+
$$jqLite.addClass(elm, className);
|
171
|
+
});
|
172
|
+
}
|
173
|
+
|
174
|
+
function $$removeClass($$jqLite, element, className) {
|
175
|
+
forEach(element, function(elm) {
|
176
|
+
$$jqLite.removeClass(elm, className);
|
177
|
+
});
|
178
|
+
}
|
179
|
+
|
180
|
+
function applyAnimationClassesFactory($$jqLite) {
|
181
|
+
return function(element, options) {
|
182
|
+
if (options.addClass) {
|
183
|
+
$$addClass($$jqLite, element, options.addClass);
|
184
|
+
options.addClass = null;
|
185
|
+
}
|
186
|
+
if (options.removeClass) {
|
187
|
+
$$removeClass($$jqLite, element, options.removeClass);
|
188
|
+
options.removeClass = null;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
193
|
+
function prepareAnimationOptions(options) {
|
194
|
+
options = options || {};
|
195
|
+
if (!options.$$prepared) {
|
196
|
+
var domOperation = options.domOperation || noop;
|
197
|
+
options.domOperation = function() {
|
198
|
+
options.$$domOperationFired = true;
|
199
|
+
domOperation();
|
200
|
+
domOperation = noop;
|
201
|
+
};
|
202
|
+
options.$$prepared = true;
|
203
|
+
}
|
204
|
+
return options;
|
205
|
+
}
|
206
|
+
|
207
|
+
function applyAnimationStyles(element, options) {
|
208
|
+
applyAnimationFromStyles(element, options);
|
209
|
+
applyAnimationToStyles(element, options);
|
210
|
+
}
|
211
|
+
|
212
|
+
function applyAnimationFromStyles(element, options) {
|
213
|
+
if (options.from) {
|
214
|
+
element.css(options.from);
|
215
|
+
options.from = null;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
function applyAnimationToStyles(element, options) {
|
220
|
+
if (options.to) {
|
221
|
+
element.css(options.to);
|
222
|
+
options.to = null;
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
function mergeAnimationDetails(element, oldAnimation, newAnimation) {
|
227
|
+
var target = oldAnimation.options || {};
|
228
|
+
var newOptions = newAnimation.options || {};
|
229
|
+
|
230
|
+
var toAdd = (target.addClass || '') + ' ' + (newOptions.addClass || '');
|
231
|
+
var toRemove = (target.removeClass || '') + ' ' + (newOptions.removeClass || '');
|
232
|
+
var classes = resolveElementClasses(element.attr('class'), toAdd, toRemove);
|
233
|
+
|
234
|
+
if (newOptions.preparationClasses) {
|
235
|
+
target.preparationClasses = concatWithSpace(newOptions.preparationClasses, target.preparationClasses);
|
236
|
+
delete newOptions.preparationClasses;
|
237
|
+
}
|
238
|
+
|
239
|
+
// noop is basically when there is no callback; otherwise something has been set
|
240
|
+
var realDomOperation = target.domOperation !== noop ? target.domOperation : null;
|
241
|
+
|
242
|
+
extend(target, newOptions);
|
243
|
+
|
244
|
+
// TODO(matsko or sreeramu): proper fix is to maintain all animation callback in array and call at last,but now only leave has the callback so no issue with this.
|
245
|
+
if (realDomOperation) {
|
246
|
+
target.domOperation = realDomOperation;
|
247
|
+
}
|
248
|
+
|
249
|
+
if (classes.addClass) {
|
250
|
+
target.addClass = classes.addClass;
|
251
|
+
} else {
|
252
|
+
target.addClass = null;
|
253
|
+
}
|
254
|
+
|
255
|
+
if (classes.removeClass) {
|
256
|
+
target.removeClass = classes.removeClass;
|
257
|
+
} else {
|
258
|
+
target.removeClass = null;
|
259
|
+
}
|
260
|
+
|
261
|
+
oldAnimation.addClass = target.addClass;
|
262
|
+
oldAnimation.removeClass = target.removeClass;
|
263
|
+
|
264
|
+
return target;
|
265
|
+
}
|
266
|
+
|
267
|
+
function resolveElementClasses(existing, toAdd, toRemove) {
|
268
|
+
var ADD_CLASS = 1;
|
269
|
+
var REMOVE_CLASS = -1;
|
270
|
+
|
271
|
+
var flags = {};
|
272
|
+
existing = splitClassesToLookup(existing);
|
273
|
+
|
274
|
+
toAdd = splitClassesToLookup(toAdd);
|
275
|
+
forEach(toAdd, function(value, key) {
|
276
|
+
flags[key] = ADD_CLASS;
|
277
|
+
});
|
278
|
+
|
279
|
+
toRemove = splitClassesToLookup(toRemove);
|
280
|
+
forEach(toRemove, function(value, key) {
|
281
|
+
flags[key] = flags[key] === ADD_CLASS ? null : REMOVE_CLASS;
|
282
|
+
});
|
283
|
+
|
284
|
+
var classes = {
|
285
|
+
addClass: '',
|
286
|
+
removeClass: ''
|
287
|
+
};
|
288
|
+
|
289
|
+
forEach(flags, function(val, klass) {
|
290
|
+
var prop, allow;
|
291
|
+
if (val === ADD_CLASS) {
|
292
|
+
prop = 'addClass';
|
293
|
+
allow = !existing[klass];
|
294
|
+
} else if (val === REMOVE_CLASS) {
|
295
|
+
prop = 'removeClass';
|
296
|
+
allow = existing[klass];
|
297
|
+
}
|
298
|
+
if (allow) {
|
299
|
+
if (classes[prop].length) {
|
300
|
+
classes[prop] += ' ';
|
301
|
+
}
|
302
|
+
classes[prop] += klass;
|
303
|
+
}
|
304
|
+
});
|
305
|
+
|
306
|
+
function splitClassesToLookup(classes) {
|
307
|
+
if (isString(classes)) {
|
308
|
+
classes = classes.split(' ');
|
309
|
+
}
|
310
|
+
|
311
|
+
var obj = {};
|
312
|
+
forEach(classes, function(klass) {
|
313
|
+
// sometimes the split leaves empty string values
|
314
|
+
// incase extra spaces were applied to the options
|
315
|
+
if (klass.length) {
|
316
|
+
obj[klass] = true;
|
317
|
+
}
|
318
|
+
});
|
319
|
+
return obj;
|
320
|
+
}
|
321
|
+
|
322
|
+
return classes;
|
323
|
+
}
|
324
|
+
|
325
|
+
function getDomNode(element) {
|
326
|
+
return (element instanceof angular.element) ? element[0] : element;
|
327
|
+
}
|
328
|
+
|
329
|
+
function applyGeneratedPreparationClasses(element, event, options) {
|
330
|
+
var classes = '';
|
331
|
+
if (event) {
|
332
|
+
classes = pendClasses(event, EVENT_CLASS_PREFIX, true);
|
333
|
+
}
|
334
|
+
if (options.addClass) {
|
335
|
+
classes = concatWithSpace(classes, pendClasses(options.addClass, ADD_CLASS_SUFFIX));
|
336
|
+
}
|
337
|
+
if (options.removeClass) {
|
338
|
+
classes = concatWithSpace(classes, pendClasses(options.removeClass, REMOVE_CLASS_SUFFIX));
|
339
|
+
}
|
340
|
+
if (classes.length) {
|
341
|
+
options.preparationClasses = classes;
|
342
|
+
element.addClass(classes);
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
function clearGeneratedClasses(element, options) {
|
347
|
+
if (options.preparationClasses) {
|
348
|
+
element.removeClass(options.preparationClasses);
|
349
|
+
options.preparationClasses = null;
|
350
|
+
}
|
351
|
+
if (options.activeClasses) {
|
352
|
+
element.removeClass(options.activeClasses);
|
353
|
+
options.activeClasses = null;
|
354
|
+
}
|
355
|
+
}
|
356
|
+
|
357
|
+
function blockTransitions(node, duration) {
|
358
|
+
// we use a negative delay value since it performs blocking
|
359
|
+
// yet it doesn't kill any existing transitions running on the
|
360
|
+
// same element which makes this safe for class-based animations
|
361
|
+
var value = duration ? '-' + duration + 's' : '';
|
362
|
+
applyInlineStyle(node, [TRANSITION_DELAY_PROP, value]);
|
363
|
+
return [TRANSITION_DELAY_PROP, value];
|
364
|
+
}
|
365
|
+
|
366
|
+
function blockKeyframeAnimations(node, applyBlock) {
|
367
|
+
var value = applyBlock ? 'paused' : '';
|
368
|
+
var key = ANIMATION_PROP + ANIMATION_PLAYSTATE_KEY;
|
369
|
+
applyInlineStyle(node, [key, value]);
|
370
|
+
return [key, value];
|
371
|
+
}
|
372
|
+
|
373
|
+
function applyInlineStyle(node, styleTuple) {
|
374
|
+
var prop = styleTuple[0];
|
375
|
+
var value = styleTuple[1];
|
376
|
+
node.style[prop] = value;
|
377
|
+
}
|
378
|
+
|
379
|
+
function concatWithSpace(a,b) {
|
380
|
+
if (!a) return b;
|
381
|
+
if (!b) return a;
|
382
|
+
return a + ' ' + b;
|
383
|
+
}
|
384
|
+
|
385
|
+
var $$rAFSchedulerFactory = ['$$rAF', function($$rAF) {
|
386
|
+
var queue, cancelFn;
|
387
|
+
|
388
|
+
function scheduler(tasks) {
|
389
|
+
// we make a copy since RAFScheduler mutates the state
|
390
|
+
// of the passed in array variable and this would be difficult
|
391
|
+
// to track down on the outside code
|
392
|
+
queue = queue.concat(tasks);
|
393
|
+
nextTick();
|
394
|
+
}
|
395
|
+
|
396
|
+
queue = scheduler.queue = [];
|
397
|
+
|
398
|
+
/* waitUntilQuiet does two things:
|
399
|
+
* 1. It will run the FINAL `fn` value only when an uncanceled RAF has passed through
|
400
|
+
* 2. It will delay the next wave of tasks from running until the quiet `fn` has run.
|
401
|
+
*
|
402
|
+
* The motivation here is that animation code can request more time from the scheduler
|
403
|
+
* before the next wave runs. This allows for certain DOM properties such as classes to
|
404
|
+
* be resolved in time for the next animation to run.
|
405
|
+
*/
|
406
|
+
scheduler.waitUntilQuiet = function(fn) {
|
407
|
+
if (cancelFn) cancelFn();
|
408
|
+
|
409
|
+
cancelFn = $$rAF(function() {
|
410
|
+
cancelFn = null;
|
411
|
+
fn();
|
412
|
+
nextTick();
|
413
|
+
});
|
414
|
+
};
|
415
|
+
|
416
|
+
return scheduler;
|
417
|
+
|
418
|
+
function nextTick() {
|
419
|
+
if (!queue.length) return;
|
420
|
+
|
421
|
+
var items = queue.shift();
|
422
|
+
for (var i = 0; i < items.length; i++) {
|
423
|
+
items[i]();
|
424
|
+
}
|
425
|
+
|
426
|
+
if (!cancelFn) {
|
427
|
+
$$rAF(function() {
|
428
|
+
if (!cancelFn) nextTick();
|
429
|
+
});
|
430
|
+
}
|
431
|
+
}
|
432
|
+
}];
|
433
|
+
|
434
|
+
/**
|
435
|
+
* @ngdoc directive
|
436
|
+
* @name ngAnimateChildren
|
437
|
+
* @restrict AE
|
438
|
+
* @element ANY
|
439
|
+
*
|
440
|
+
* @description
|
441
|
+
*
|
442
|
+
* ngAnimateChildren allows you to specify that children of this element should animate even if any
|
443
|
+
* of the children's parents are currently animating. By default, when an element has an active `enter`, `leave`, or `move`
|
444
|
+
* (structural) animation, child elements that also have an active structural animation are not animated.
|
445
|
+
*
|
446
|
+
* Note that even if `ngAnimteChildren` is set, no child animations will run when the parent element is removed from the DOM (`leave` animation).
|
447
|
+
*
|
448
|
+
*
|
449
|
+
* @param {string} ngAnimateChildren If the value is empty, `true` or `on`,
|
450
|
+
* then child animations are allowed. If the value is `false`, child animations are not allowed.
|
451
|
+
*
|
452
|
+
* @example
|
453
|
+
* <example module="ngAnimateChildren" name="ngAnimateChildren" deps="angular-animate.js" animations="true">
|
454
|
+
<file name="index.html">
|
455
|
+
<div ng-controller="mainController as main">
|
456
|
+
<label>Show container? <input type="checkbox" ng-model="main.enterElement" /></label>
|
457
|
+
<label>Animate children? <input type="checkbox" ng-model="main.animateChildren" /></label>
|
458
|
+
<hr>
|
459
|
+
<div ng-animate-children="{{main.animateChildren}}">
|
460
|
+
<div ng-if="main.enterElement" class="container">
|
461
|
+
List of items:
|
462
|
+
<div ng-repeat="item in [0, 1, 2, 3]" class="item">Item {{item}}</div>
|
463
|
+
</div>
|
464
|
+
</div>
|
465
|
+
</div>
|
466
|
+
</file>
|
467
|
+
<file name="animations.css">
|
468
|
+
|
469
|
+
.container.ng-enter,
|
470
|
+
.container.ng-leave {
|
471
|
+
transition: all ease 1.5s;
|
472
|
+
}
|
473
|
+
|
474
|
+
.container.ng-enter,
|
475
|
+
.container.ng-leave-active {
|
476
|
+
opacity: 0;
|
477
|
+
}
|
478
|
+
|
479
|
+
.container.ng-leave,
|
480
|
+
.container.ng-enter-active {
|
481
|
+
opacity: 1;
|
482
|
+
}
|
483
|
+
|
484
|
+
.item {
|
485
|
+
background: firebrick;
|
486
|
+
color: #FFF;
|
487
|
+
margin-bottom: 10px;
|
488
|
+
}
|
489
|
+
|
490
|
+
.item.ng-enter,
|
491
|
+
.item.ng-leave {
|
492
|
+
transition: transform 1.5s ease;
|
493
|
+
}
|
494
|
+
|
495
|
+
.item.ng-enter {
|
496
|
+
transform: translateX(50px);
|
497
|
+
}
|
498
|
+
|
499
|
+
.item.ng-enter-active {
|
500
|
+
transform: translateX(0);
|
501
|
+
}
|
502
|
+
</file>
|
503
|
+
<file name="script.js">
|
504
|
+
angular.module('ngAnimateChildren', ['ngAnimate'])
|
505
|
+
.controller('mainController', function() {
|
506
|
+
this.animateChildren = false;
|
507
|
+
this.enterElement = false;
|
508
|
+
});
|
509
|
+
</file>
|
510
|
+
</example>
|
511
|
+
*/
|
512
|
+
var $$AnimateChildrenDirective = ['$interpolate', function($interpolate) {
|
513
|
+
return {
|
514
|
+
link: function(scope, element, attrs) {
|
515
|
+
var val = attrs.ngAnimateChildren;
|
516
|
+
if (angular.isString(val) && val.length === 0) { //empty attribute
|
517
|
+
element.data(NG_ANIMATE_CHILDREN_DATA, true);
|
518
|
+
} else {
|
519
|
+
// Interpolate and set the value, so that it is available to
|
520
|
+
// animations that run right after compilation
|
521
|
+
setData($interpolate(val)(scope));
|
522
|
+
attrs.$observe('ngAnimateChildren', setData);
|
523
|
+
}
|
524
|
+
|
525
|
+
function setData(value) {
|
526
|
+
value = value === 'on' || value === 'true';
|
527
|
+
element.data(NG_ANIMATE_CHILDREN_DATA, value);
|
528
|
+
}
|
529
|
+
}
|
530
|
+
};
|
531
|
+
}];
|
532
|
+
|
533
|
+
var ANIMATE_TIMER_KEY = '$$animateCss';
|
534
|
+
|
535
|
+
/**
|
536
|
+
* @ngdoc service
|
537
|
+
* @name $animateCss
|
538
|
+
* @kind object
|
539
|
+
*
|
540
|
+
* @description
|
541
|
+
* The `$animateCss` service is a useful utility to trigger customized CSS-based transitions/keyframes
|
542
|
+
* from a JavaScript-based animation or directly from a directive. The purpose of `$animateCss` is NOT
|
543
|
+
* to side-step how `$animate` and ngAnimate work, but the goal is to allow pre-existing animations or
|
544
|
+
* directives to create more complex animations that can be purely driven using CSS code.
|
545
|
+
*
|
546
|
+
* Note that only browsers that support CSS transitions and/or keyframe animations are capable of
|
547
|
+
* rendering animations triggered via `$animateCss` (bad news for IE9 and lower).
|
548
|
+
*
|
549
|
+
* ## Usage
|
550
|
+
* Once again, `$animateCss` is designed to be used inside of a registered JavaScript animation that
|
551
|
+
* is powered by ngAnimate. It is possible to use `$animateCss` directly inside of a directive, however,
|
552
|
+
* any automatic control over cancelling animations and/or preventing animations from being run on
|
553
|
+
* child elements will not be handled by Angular. For this to work as expected, please use `$animate` to
|
554
|
+
* trigger the animation and then setup a JavaScript animation that injects `$animateCss` to trigger
|
555
|
+
* the CSS animation.
|
556
|
+
*
|
557
|
+
* The example below shows how we can create a folding animation on an element using `ng-if`:
|
558
|
+
*
|
559
|
+
* ```html
|
560
|
+
* <!-- notice the `fold-animation` CSS class -->
|
561
|
+
* <div ng-if="onOff" class="fold-animation">
|
562
|
+
* This element will go BOOM
|
563
|
+
* </div>
|
564
|
+
* <button ng-click="onOff=true">Fold In</button>
|
565
|
+
* ```
|
566
|
+
*
|
567
|
+
* Now we create the **JavaScript animation** that will trigger the CSS transition:
|
568
|
+
*
|
569
|
+
* ```js
|
570
|
+
* ngModule.animation('.fold-animation', ['$animateCss', function($animateCss) {
|
571
|
+
* return {
|
572
|
+
* enter: function(element, doneFn) {
|
573
|
+
* var height = element[0].offsetHeight;
|
574
|
+
* return $animateCss(element, {
|
575
|
+
* from: { height:'0px' },
|
576
|
+
* to: { height:height + 'px' },
|
577
|
+
* duration: 1 // one second
|
578
|
+
* });
|
579
|
+
* }
|
580
|
+
* }
|
581
|
+
* }]);
|
582
|
+
* ```
|
583
|
+
*
|
584
|
+
* ## More Advanced Uses
|
585
|
+
*
|
586
|
+
* `$animateCss` is the underlying code that ngAnimate uses to power **CSS-based animations** behind the scenes. Therefore CSS hooks
|
587
|
+
* like `.ng-EVENT`, `.ng-EVENT-active`, `.ng-EVENT-stagger` are all features that can be triggered using `$animateCss` via JavaScript code.
|
588
|
+
*
|
589
|
+
* This also means that just about any combination of adding classes, removing classes, setting styles, dynamically setting a keyframe animation,
|
590
|
+
* applying a hardcoded duration or delay value, changing the animation easing or applying a stagger animation are all options that work with
|
591
|
+
* `$animateCss`. The service itself is smart enough to figure out the combination of options and examine the element styling properties in order
|
592
|
+
* to provide a working animation that will run in CSS.
|
593
|
+
*
|
594
|
+
* The example below showcases a more advanced version of the `.fold-animation` from the example above:
|
595
|
+
*
|
596
|
+
* ```js
|
597
|
+
* ngModule.animation('.fold-animation', ['$animateCss', function($animateCss) {
|
598
|
+
* return {
|
599
|
+
* enter: function(element, doneFn) {
|
600
|
+
* var height = element[0].offsetHeight;
|
601
|
+
* return $animateCss(element, {
|
602
|
+
* addClass: 'red large-text pulse-twice',
|
603
|
+
* easing: 'ease-out',
|
604
|
+
* from: { height:'0px' },
|
605
|
+
* to: { height:height + 'px' },
|
606
|
+
* duration: 1 // one second
|
607
|
+
* });
|
608
|
+
* }
|
609
|
+
* }
|
610
|
+
* }]);
|
611
|
+
* ```
|
612
|
+
*
|
613
|
+
* Since we're adding/removing CSS classes then the CSS transition will also pick those up:
|
614
|
+
*
|
615
|
+
* ```css
|
616
|
+
* /* since a hardcoded duration value of 1 was provided in the JavaScript animation code,
|
617
|
+
* the CSS classes below will be transitioned despite them being defined as regular CSS classes */
|
618
|
+
* .red { background:red; }
|
619
|
+
* .large-text { font-size:20px; }
|
620
|
+
*
|
621
|
+
* /* we can also use a keyframe animation and $animateCss will make it work alongside the transition */
|
622
|
+
* .pulse-twice {
|
623
|
+
* animation: 0.5s pulse linear 2;
|
624
|
+
* -webkit-animation: 0.5s pulse linear 2;
|
625
|
+
* }
|
626
|
+
*
|
627
|
+
* @keyframes pulse {
|
628
|
+
* from { transform: scale(0.5); }
|
629
|
+
* to { transform: scale(1.5); }
|
630
|
+
* }
|
631
|
+
*
|
632
|
+
* @-webkit-keyframes pulse {
|
633
|
+
* from { -webkit-transform: scale(0.5); }
|
634
|
+
* to { -webkit-transform: scale(1.5); }
|
635
|
+
* }
|
636
|
+
* ```
|
637
|
+
*
|
638
|
+
* Given this complex combination of CSS classes, styles and options, `$animateCss` will figure everything out and make the animation happen.
|
639
|
+
*
|
640
|
+
* ## How the Options are handled
|
641
|
+
*
|
642
|
+
* `$animateCss` is very versatile and intelligent when it comes to figuring out what configurations to apply to the element to ensure the animation
|
643
|
+
* works with the options provided. Say for example we were adding a class that contained a keyframe value and we wanted to also animate some inline
|
644
|
+
* styles using the `from` and `to` properties.
|
645
|
+
*
|
646
|
+
* ```js
|
647
|
+
* var animator = $animateCss(element, {
|
648
|
+
* from: { background:'red' },
|
649
|
+
* to: { background:'blue' }
|
650
|
+
* });
|
651
|
+
* animator.start();
|
652
|
+
* ```
|
653
|
+
*
|
654
|
+
* ```css
|
655
|
+
* .rotating-animation {
|
656
|
+
* animation:0.5s rotate linear;
|
657
|
+
* -webkit-animation:0.5s rotate linear;
|
658
|
+
* }
|
659
|
+
*
|
660
|
+
* @keyframes rotate {
|
661
|
+
* from { transform: rotate(0deg); }
|
662
|
+
* to { transform: rotate(360deg); }
|
663
|
+
* }
|
664
|
+
*
|
665
|
+
* @-webkit-keyframes rotate {
|
666
|
+
* from { -webkit-transform: rotate(0deg); }
|
667
|
+
* to { -webkit-transform: rotate(360deg); }
|
668
|
+
* }
|
669
|
+
* ```
|
670
|
+
*
|
671
|
+
* The missing pieces here are that we do not have a transition set (within the CSS code nor within the `$animateCss` options) and the duration of the animation is
|
672
|
+
* going to be detected from what the keyframe styles on the CSS class are. In this event, `$animateCss` will automatically create an inline transition
|
673
|
+
* style matching the duration detected from the keyframe style (which is present in the CSS class that is being added) and then prepare both the transition
|
674
|
+
* and keyframe animations to run in parallel on the element. Then when the animation is underway the provided `from` and `to` CSS styles will be applied
|
675
|
+
* and spread across the transition and keyframe animation.
|
676
|
+
*
|
677
|
+
* ## What is returned
|
678
|
+
*
|
679
|
+
* `$animateCss` works in two stages: a preparation phase and an animation phase. Therefore when `$animateCss` is first called it will NOT actually
|
680
|
+
* start the animation. All that is going on here is that the element is being prepared for the animation (which means that the generated CSS classes are
|
681
|
+
* added and removed on the element). Once `$animateCss` is called it will return an object with the following properties:
|
682
|
+
*
|
683
|
+
* ```js
|
684
|
+
* var animator = $animateCss(element, { ... });
|
685
|
+
* ```
|
686
|
+
*
|
687
|
+
* Now what do the contents of our `animator` variable look like:
|
688
|
+
*
|
689
|
+
* ```js
|
690
|
+
* {
|
691
|
+
* // starts the animation
|
692
|
+
* start: Function,
|
693
|
+
*
|
694
|
+
* // ends (aborts) the animation
|
695
|
+
* end: Function
|
696
|
+
* }
|
697
|
+
* ```
|
698
|
+
*
|
699
|
+
* To actually start the animation we need to run `animation.start()` which will then return a promise that we can hook into to detect when the animation ends.
|
700
|
+
* If we choose not to run the animation then we MUST run `animation.end()` to perform a cleanup on the element (since some CSS classes and styles may have been
|
701
|
+
* applied to the element during the preparation phase). Note that all other properties such as duration, delay, transitions and keyframes are just properties
|
702
|
+
* and that changing them will not reconfigure the parameters of the animation.
|
703
|
+
*
|
704
|
+
* ### runner.done() vs runner.then()
|
705
|
+
* It is documented that `animation.start()` will return a promise object and this is true, however, there is also an additional method available on the
|
706
|
+
* runner called `.done(callbackFn)`. The done method works the same as `.finally(callbackFn)`, however, it does **not trigger a digest to occur**.
|
707
|
+
* Therefore, for performance reasons, it's always best to use `runner.done(callback)` instead of `runner.then()`, `runner.catch()` or `runner.finally()`
|
708
|
+
* unless you really need a digest to kick off afterwards.
|
709
|
+
*
|
710
|
+
* Keep in mind that, to make this easier, ngAnimate has tweaked the JS animations API to recognize when a runner instance is returned from $animateCss
|
711
|
+
* (so there is no need to call `runner.done(doneFn)` inside of your JavaScript animation code).
|
712
|
+
* Check the {@link ngAnimate.$animateCss#usage animation code above} to see how this works.
|
713
|
+
*
|
714
|
+
* @param {DOMElement} element the element that will be animated
|
715
|
+
* @param {object} options the animation-related options that will be applied during the animation
|
716
|
+
*
|
717
|
+
* * `event` - The DOM event (e.g. enter, leave, move). When used, a generated CSS class of `ng-EVENT` and `ng-EVENT-active` will be applied
|
718
|
+
* to the element during the animation. Multiple events can be provided when spaces are used as a separator. (Note that this will not perform any DOM operation.)
|
719
|
+
* * `structural` - Indicates that the `ng-` prefix will be added to the event class. Setting to `false` or omitting will turn `ng-EVENT` and
|
720
|
+
* `ng-EVENT-active` in `EVENT` and `EVENT-active`. Unused if `event` is omitted.
|
721
|
+
* * `easing` - The CSS easing value that will be applied to the transition or keyframe animation (or both).
|
722
|
+
* * `transitionStyle` - The raw CSS transition style that will be used (e.g. `1s linear all`).
|
723
|
+
* * `keyframeStyle` - The raw CSS keyframe animation style that will be used (e.g. `1s my_animation linear`).
|
724
|
+
* * `from` - The starting CSS styles (a key/value object) that will be applied at the start of the animation.
|
725
|
+
* * `to` - The ending CSS styles (a key/value object) that will be applied across the animation via a CSS transition.
|
726
|
+
* * `addClass` - A space separated list of CSS classes that will be added to the element and spread across the animation.
|
727
|
+
* * `removeClass` - A space separated list of CSS classes that will be removed from the element and spread across the animation.
|
728
|
+
* * `duration` - A number value representing the total duration of the transition and/or keyframe (note that a value of 1 is 1000ms). If a value of `0`
|
729
|
+
* is provided then the animation will be skipped entirely.
|
730
|
+
* * `delay` - A number value representing the total delay of the transition and/or keyframe (note that a value of 1 is 1000ms). If a value of `true` is
|
731
|
+
* used then whatever delay value is detected from the CSS classes will be mirrored on the elements styles (e.g. by setting delay true then the style value
|
732
|
+
* of the element will be `transition-delay: DETECTED_VALUE`). Using `true` is useful when you want the CSS classes and inline styles to all share the same
|
733
|
+
* CSS delay value.
|
734
|
+
* * `stagger` - A numeric time value representing the delay between successively animated elements
|
735
|
+
* ({@link ngAnimate#css-staggering-animations Click here to learn how CSS-based staggering works in ngAnimate.})
|
736
|
+
* * `staggerIndex` - The numeric index representing the stagger item (e.g. a value of 5 is equal to the sixth item in the stagger; therefore when a
|
737
|
+
* `stagger` option value of `0.1` is used then there will be a stagger delay of `600ms`)
|
738
|
+
* * `applyClassesEarly` - Whether or not the classes being added or removed will be used when detecting the animation. This is set by `$animate` when enter/leave/move animations are fired to ensure that the CSS classes are resolved in time. (Note that this will prevent any transitions from occurring on the classes being added and removed.)
|
739
|
+
* * `cleanupStyles` - Whether or not the provided `from` and `to` styles will be removed once
|
740
|
+
* the animation is closed. This is useful for when the styles are used purely for the sake of
|
741
|
+
* the animation and do not have a lasting visual effect on the element (e.g. a collapse and open animation).
|
742
|
+
* By default this value is set to `false`.
|
743
|
+
*
|
744
|
+
* @return {object} an object with start and end methods and details about the animation.
|
745
|
+
*
|
746
|
+
* * `start` - The method to start the animation. This will return a `Promise` when called.
|
747
|
+
* * `end` - This method will cancel the animation and remove all applied CSS classes and styles.
|
748
|
+
*/
|
749
|
+
var ONE_SECOND = 1000;
|
750
|
+
var BASE_TEN = 10;
|
751
|
+
|
752
|
+
var ELAPSED_TIME_MAX_DECIMAL_PLACES = 3;
|
753
|
+
var CLOSING_TIME_BUFFER = 1.5;
|
754
|
+
|
755
|
+
var DETECT_CSS_PROPERTIES = {
|
756
|
+
transitionDuration: TRANSITION_DURATION_PROP,
|
757
|
+
transitionDelay: TRANSITION_DELAY_PROP,
|
758
|
+
transitionProperty: TRANSITION_PROP + PROPERTY_KEY,
|
759
|
+
animationDuration: ANIMATION_DURATION_PROP,
|
760
|
+
animationDelay: ANIMATION_DELAY_PROP,
|
761
|
+
animationIterationCount: ANIMATION_PROP + ANIMATION_ITERATION_COUNT_KEY
|
762
|
+
};
|
763
|
+
|
764
|
+
var DETECT_STAGGER_CSS_PROPERTIES = {
|
765
|
+
transitionDuration: TRANSITION_DURATION_PROP,
|
766
|
+
transitionDelay: TRANSITION_DELAY_PROP,
|
767
|
+
animationDuration: ANIMATION_DURATION_PROP,
|
768
|
+
animationDelay: ANIMATION_DELAY_PROP
|
769
|
+
};
|
770
|
+
|
771
|
+
function getCssKeyframeDurationStyle(duration) {
|
772
|
+
return [ANIMATION_DURATION_PROP, duration + 's'];
|
773
|
+
}
|
774
|
+
|
775
|
+
function getCssDelayStyle(delay, isKeyframeAnimation) {
|
776
|
+
var prop = isKeyframeAnimation ? ANIMATION_DELAY_PROP : TRANSITION_DELAY_PROP;
|
777
|
+
return [prop, delay + 's'];
|
778
|
+
}
|
779
|
+
|
780
|
+
function computeCssStyles($window, element, properties) {
|
781
|
+
var styles = Object.create(null);
|
782
|
+
var detectedStyles = $window.getComputedStyle(element) || {};
|
783
|
+
forEach(properties, function(formalStyleName, actualStyleName) {
|
784
|
+
var val = detectedStyles[formalStyleName];
|
785
|
+
if (val) {
|
786
|
+
var c = val.charAt(0);
|
787
|
+
|
788
|
+
// only numerical-based values have a negative sign or digit as the first value
|
789
|
+
if (c === '-' || c === '+' || c >= 0) {
|
790
|
+
val = parseMaxTime(val);
|
791
|
+
}
|
792
|
+
|
793
|
+
// by setting this to null in the event that the delay is not set or is set directly as 0
|
794
|
+
// then we can still allow for negative values to be used later on and not mistake this
|
795
|
+
// value for being greater than any other negative value.
|
796
|
+
if (val === 0) {
|
797
|
+
val = null;
|
798
|
+
}
|
799
|
+
styles[actualStyleName] = val;
|
800
|
+
}
|
801
|
+
});
|
802
|
+
|
803
|
+
return styles;
|
804
|
+
}
|
805
|
+
|
806
|
+
function parseMaxTime(str) {
|
807
|
+
var maxValue = 0;
|
808
|
+
var values = str.split(/\s*,\s*/);
|
809
|
+
forEach(values, function(value) {
|
810
|
+
// it's always safe to consider only second values and omit `ms` values since
|
811
|
+
// getComputedStyle will always handle the conversion for us
|
812
|
+
if (value.charAt(value.length - 1) == 's') {
|
813
|
+
value = value.substring(0, value.length - 1);
|
814
|
+
}
|
815
|
+
value = parseFloat(value) || 0;
|
816
|
+
maxValue = maxValue ? Math.max(value, maxValue) : value;
|
817
|
+
});
|
818
|
+
return maxValue;
|
819
|
+
}
|
820
|
+
|
821
|
+
function truthyTimingValue(val) {
|
822
|
+
return val === 0 || val != null;
|
823
|
+
}
|
824
|
+
|
825
|
+
function getCssTransitionDurationStyle(duration, applyOnlyDuration) {
|
826
|
+
var style = TRANSITION_PROP;
|
827
|
+
var value = duration + 's';
|
828
|
+
if (applyOnlyDuration) {
|
829
|
+
style += DURATION_KEY;
|
830
|
+
} else {
|
831
|
+
value += ' linear all';
|
832
|
+
}
|
833
|
+
return [style, value];
|
834
|
+
}
|
835
|
+
|
836
|
+
function createLocalCacheLookup() {
|
837
|
+
var cache = Object.create(null);
|
838
|
+
return {
|
839
|
+
flush: function() {
|
840
|
+
cache = Object.create(null);
|
841
|
+
},
|
842
|
+
|
843
|
+
count: function(key) {
|
844
|
+
var entry = cache[key];
|
845
|
+
return entry ? entry.total : 0;
|
846
|
+
},
|
847
|
+
|
848
|
+
get: function(key) {
|
849
|
+
var entry = cache[key];
|
850
|
+
return entry && entry.value;
|
851
|
+
},
|
852
|
+
|
853
|
+
put: function(key, value) {
|
854
|
+
if (!cache[key]) {
|
855
|
+
cache[key] = { total: 1, value: value };
|
856
|
+
} else {
|
857
|
+
cache[key].total++;
|
858
|
+
}
|
859
|
+
}
|
860
|
+
};
|
861
|
+
}
|
862
|
+
|
863
|
+
// we do not reassign an already present style value since
|
864
|
+
// if we detect the style property value again we may be
|
865
|
+
// detecting styles that were added via the `from` styles.
|
866
|
+
// We make use of `isDefined` here since an empty string
|
867
|
+
// or null value (which is what getPropertyValue will return
|
868
|
+
// for a non-existing style) will still be marked as a valid
|
869
|
+
// value for the style (a falsy value implies that the style
|
870
|
+
// is to be removed at the end of the animation). If we had a simple
|
871
|
+
// "OR" statement then it would not be enough to catch that.
|
872
|
+
function registerRestorableStyles(backup, node, properties) {
|
873
|
+
forEach(properties, function(prop) {
|
874
|
+
backup[prop] = isDefined(backup[prop])
|
875
|
+
? backup[prop]
|
876
|
+
: node.style.getPropertyValue(prop);
|
877
|
+
});
|
878
|
+
}
|
879
|
+
|
880
|
+
var $AnimateCssProvider = ['$animateProvider', function($animateProvider) {
|
881
|
+
var gcsLookup = createLocalCacheLookup();
|
882
|
+
var gcsStaggerLookup = createLocalCacheLookup();
|
883
|
+
|
884
|
+
this.$get = ['$window', '$$jqLite', '$$AnimateRunner', '$timeout',
|
885
|
+
'$$forceReflow', '$sniffer', '$$rAFScheduler', '$$animateQueue',
|
886
|
+
function($window, $$jqLite, $$AnimateRunner, $timeout,
|
887
|
+
$$forceReflow, $sniffer, $$rAFScheduler, $$animateQueue) {
|
888
|
+
|
889
|
+
var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
|
890
|
+
|
891
|
+
var parentCounter = 0;
|
892
|
+
function gcsHashFn(node, extraClasses) {
|
893
|
+
var KEY = "$$ngAnimateParentKey";
|
894
|
+
var parentNode = node.parentNode;
|
895
|
+
var parentID = parentNode[KEY] || (parentNode[KEY] = ++parentCounter);
|
896
|
+
return parentID + '-' + node.getAttribute('class') + '-' + extraClasses;
|
897
|
+
}
|
898
|
+
|
899
|
+
function computeCachedCssStyles(node, className, cacheKey, properties) {
|
900
|
+
var timings = gcsLookup.get(cacheKey);
|
901
|
+
|
902
|
+
if (!timings) {
|
903
|
+
timings = computeCssStyles($window, node, properties);
|
904
|
+
if (timings.animationIterationCount === 'infinite') {
|
905
|
+
timings.animationIterationCount = 1;
|
906
|
+
}
|
907
|
+
}
|
908
|
+
|
909
|
+
// we keep putting this in multiple times even though the value and the cacheKey are the same
|
910
|
+
// because we're keeping an internal tally of how many duplicate animations are detected.
|
911
|
+
gcsLookup.put(cacheKey, timings);
|
912
|
+
return timings;
|
913
|
+
}
|
914
|
+
|
915
|
+
function computeCachedCssStaggerStyles(node, className, cacheKey, properties) {
|
916
|
+
var stagger;
|
917
|
+
|
918
|
+
// if we have one or more existing matches of matching elements
|
919
|
+
// containing the same parent + CSS styles (which is how cacheKey works)
|
920
|
+
// then staggering is possible
|
921
|
+
if (gcsLookup.count(cacheKey) > 0) {
|
922
|
+
stagger = gcsStaggerLookup.get(cacheKey);
|
923
|
+
|
924
|
+
if (!stagger) {
|
925
|
+
var staggerClassName = pendClasses(className, '-stagger');
|
926
|
+
|
927
|
+
$$jqLite.addClass(node, staggerClassName);
|
928
|
+
|
929
|
+
stagger = computeCssStyles($window, node, properties);
|
930
|
+
|
931
|
+
// force the conversion of a null value to zero incase not set
|
932
|
+
stagger.animationDuration = Math.max(stagger.animationDuration, 0);
|
933
|
+
stagger.transitionDuration = Math.max(stagger.transitionDuration, 0);
|
934
|
+
|
935
|
+
$$jqLite.removeClass(node, staggerClassName);
|
936
|
+
|
937
|
+
gcsStaggerLookup.put(cacheKey, stagger);
|
938
|
+
}
|
939
|
+
}
|
940
|
+
|
941
|
+
return stagger || {};
|
942
|
+
}
|
943
|
+
|
944
|
+
var cancelLastRAFRequest;
|
945
|
+
var rafWaitQueue = [];
|
946
|
+
function waitUntilQuiet(callback) {
|
947
|
+
rafWaitQueue.push(callback);
|
948
|
+
$$rAFScheduler.waitUntilQuiet(function() {
|
949
|
+
gcsLookup.flush();
|
950
|
+
gcsStaggerLookup.flush();
|
951
|
+
|
952
|
+
// DO NOT REMOVE THIS LINE OR REFACTOR OUT THE `pageWidth` variable.
|
953
|
+
// PLEASE EXAMINE THE `$$forceReflow` service to understand why.
|
954
|
+
var pageWidth = $$forceReflow();
|
955
|
+
|
956
|
+
// we use a for loop to ensure that if the queue is changed
|
957
|
+
// during this looping then it will consider new requests
|
958
|
+
for (var i = 0; i < rafWaitQueue.length; i++) {
|
959
|
+
rafWaitQueue[i](pageWidth);
|
960
|
+
}
|
961
|
+
rafWaitQueue.length = 0;
|
962
|
+
});
|
963
|
+
}
|
964
|
+
|
965
|
+
function computeTimings(node, className, cacheKey) {
|
966
|
+
var timings = computeCachedCssStyles(node, className, cacheKey, DETECT_CSS_PROPERTIES);
|
967
|
+
var aD = timings.animationDelay;
|
968
|
+
var tD = timings.transitionDelay;
|
969
|
+
timings.maxDelay = aD && tD
|
970
|
+
? Math.max(aD, tD)
|
971
|
+
: (aD || tD);
|
972
|
+
timings.maxDuration = Math.max(
|
973
|
+
timings.animationDuration * timings.animationIterationCount,
|
974
|
+
timings.transitionDuration);
|
975
|
+
|
976
|
+
return timings;
|
977
|
+
}
|
978
|
+
|
979
|
+
return function init(element, initialOptions) {
|
980
|
+
// all of the animation functions should create
|
981
|
+
// a copy of the options data, however, if a
|
982
|
+
// parent service has already created a copy then
|
983
|
+
// we should stick to using that
|
984
|
+
var options = initialOptions || {};
|
985
|
+
if (!options.$$prepared) {
|
986
|
+
options = prepareAnimationOptions(copy(options));
|
987
|
+
}
|
988
|
+
|
989
|
+
var restoreStyles = {};
|
990
|
+
var node = getDomNode(element);
|
991
|
+
if (!node
|
992
|
+
|| !node.parentNode
|
993
|
+
|| !$$animateQueue.enabled()) {
|
994
|
+
return closeAndReturnNoopAnimator();
|
995
|
+
}
|
996
|
+
|
997
|
+
var temporaryStyles = [];
|
998
|
+
var classes = element.attr('class');
|
999
|
+
var styles = packageStyles(options);
|
1000
|
+
var animationClosed;
|
1001
|
+
var animationPaused;
|
1002
|
+
var animationCompleted;
|
1003
|
+
var runner;
|
1004
|
+
var runnerHost;
|
1005
|
+
var maxDelay;
|
1006
|
+
var maxDelayTime;
|
1007
|
+
var maxDuration;
|
1008
|
+
var maxDurationTime;
|
1009
|
+
var startTime;
|
1010
|
+
var events = [];
|
1011
|
+
|
1012
|
+
if (options.duration === 0 || (!$sniffer.animations && !$sniffer.transitions)) {
|
1013
|
+
return closeAndReturnNoopAnimator();
|
1014
|
+
}
|
1015
|
+
|
1016
|
+
var method = options.event && isArray(options.event)
|
1017
|
+
? options.event.join(' ')
|
1018
|
+
: options.event;
|
1019
|
+
|
1020
|
+
var isStructural = method && options.structural;
|
1021
|
+
var structuralClassName = '';
|
1022
|
+
var addRemoveClassName = '';
|
1023
|
+
|
1024
|
+
if (isStructural) {
|
1025
|
+
structuralClassName = pendClasses(method, EVENT_CLASS_PREFIX, true);
|
1026
|
+
} else if (method) {
|
1027
|
+
structuralClassName = method;
|
1028
|
+
}
|
1029
|
+
|
1030
|
+
if (options.addClass) {
|
1031
|
+
addRemoveClassName += pendClasses(options.addClass, ADD_CLASS_SUFFIX);
|
1032
|
+
}
|
1033
|
+
|
1034
|
+
if (options.removeClass) {
|
1035
|
+
if (addRemoveClassName.length) {
|
1036
|
+
addRemoveClassName += ' ';
|
1037
|
+
}
|
1038
|
+
addRemoveClassName += pendClasses(options.removeClass, REMOVE_CLASS_SUFFIX);
|
1039
|
+
}
|
1040
|
+
|
1041
|
+
// there may be a situation where a structural animation is combined together
|
1042
|
+
// with CSS classes that need to resolve before the animation is computed.
|
1043
|
+
// However this means that there is no explicit CSS code to block the animation
|
1044
|
+
// from happening (by setting 0s none in the class name). If this is the case
|
1045
|
+
// we need to apply the classes before the first rAF so we know to continue if
|
1046
|
+
// there actually is a detected transition or keyframe animation
|
1047
|
+
if (options.applyClassesEarly && addRemoveClassName.length) {
|
1048
|
+
applyAnimationClasses(element, options);
|
1049
|
+
}
|
1050
|
+
|
1051
|
+
var preparationClasses = [structuralClassName, addRemoveClassName].join(' ').trim();
|
1052
|
+
var fullClassName = classes + ' ' + preparationClasses;
|
1053
|
+
var activeClasses = pendClasses(preparationClasses, ACTIVE_CLASS_SUFFIX);
|
1054
|
+
var hasToStyles = styles.to && Object.keys(styles.to).length > 0;
|
1055
|
+
var containsKeyframeAnimation = (options.keyframeStyle || '').length > 0;
|
1056
|
+
|
1057
|
+
// there is no way we can trigger an animation if no styles and
|
1058
|
+
// no classes are being applied which would then trigger a transition,
|
1059
|
+
// unless there a is raw keyframe value that is applied to the element.
|
1060
|
+
if (!containsKeyframeAnimation
|
1061
|
+
&& !hasToStyles
|
1062
|
+
&& !preparationClasses) {
|
1063
|
+
return closeAndReturnNoopAnimator();
|
1064
|
+
}
|
1065
|
+
|
1066
|
+
var cacheKey, stagger;
|
1067
|
+
if (options.stagger > 0) {
|
1068
|
+
var staggerVal = parseFloat(options.stagger);
|
1069
|
+
stagger = {
|
1070
|
+
transitionDelay: staggerVal,
|
1071
|
+
animationDelay: staggerVal,
|
1072
|
+
transitionDuration: 0,
|
1073
|
+
animationDuration: 0
|
1074
|
+
};
|
1075
|
+
} else {
|
1076
|
+
cacheKey = gcsHashFn(node, fullClassName);
|
1077
|
+
stagger = computeCachedCssStaggerStyles(node, preparationClasses, cacheKey, DETECT_STAGGER_CSS_PROPERTIES);
|
1078
|
+
}
|
1079
|
+
|
1080
|
+
if (!options.$$skipPreparationClasses) {
|
1081
|
+
$$jqLite.addClass(element, preparationClasses);
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
var applyOnlyDuration;
|
1085
|
+
|
1086
|
+
if (options.transitionStyle) {
|
1087
|
+
var transitionStyle = [TRANSITION_PROP, options.transitionStyle];
|
1088
|
+
applyInlineStyle(node, transitionStyle);
|
1089
|
+
temporaryStyles.push(transitionStyle);
|
1090
|
+
}
|
1091
|
+
|
1092
|
+
if (options.duration >= 0) {
|
1093
|
+
applyOnlyDuration = node.style[TRANSITION_PROP].length > 0;
|
1094
|
+
var durationStyle = getCssTransitionDurationStyle(options.duration, applyOnlyDuration);
|
1095
|
+
|
1096
|
+
// we set the duration so that it will be picked up by getComputedStyle later
|
1097
|
+
applyInlineStyle(node, durationStyle);
|
1098
|
+
temporaryStyles.push(durationStyle);
|
1099
|
+
}
|
1100
|
+
|
1101
|
+
if (options.keyframeStyle) {
|
1102
|
+
var keyframeStyle = [ANIMATION_PROP, options.keyframeStyle];
|
1103
|
+
applyInlineStyle(node, keyframeStyle);
|
1104
|
+
temporaryStyles.push(keyframeStyle);
|
1105
|
+
}
|
1106
|
+
|
1107
|
+
var itemIndex = stagger
|
1108
|
+
? options.staggerIndex >= 0
|
1109
|
+
? options.staggerIndex
|
1110
|
+
: gcsLookup.count(cacheKey)
|
1111
|
+
: 0;
|
1112
|
+
|
1113
|
+
var isFirst = itemIndex === 0;
|
1114
|
+
|
1115
|
+
// this is a pre-emptive way of forcing the setup classes to be added and applied INSTANTLY
|
1116
|
+
// without causing any combination of transitions to kick in. By adding a negative delay value
|
1117
|
+
// it forces the setup class' transition to end immediately. We later then remove the negative
|
1118
|
+
// transition delay to allow for the transition to naturally do it's thing. The beauty here is
|
1119
|
+
// that if there is no transition defined then nothing will happen and this will also allow
|
1120
|
+
// other transitions to be stacked on top of each other without any chopping them out.
|
1121
|
+
if (isFirst && !options.skipBlocking) {
|
1122
|
+
blockTransitions(node, SAFE_FAST_FORWARD_DURATION_VALUE);
|
1123
|
+
}
|
1124
|
+
|
1125
|
+
var timings = computeTimings(node, fullClassName, cacheKey);
|
1126
|
+
var relativeDelay = timings.maxDelay;
|
1127
|
+
maxDelay = Math.max(relativeDelay, 0);
|
1128
|
+
maxDuration = timings.maxDuration;
|
1129
|
+
|
1130
|
+
var flags = {};
|
1131
|
+
flags.hasTransitions = timings.transitionDuration > 0;
|
1132
|
+
flags.hasAnimations = timings.animationDuration > 0;
|
1133
|
+
flags.hasTransitionAll = flags.hasTransitions && timings.transitionProperty == 'all';
|
1134
|
+
flags.applyTransitionDuration = hasToStyles && (
|
1135
|
+
(flags.hasTransitions && !flags.hasTransitionAll)
|
1136
|
+
|| (flags.hasAnimations && !flags.hasTransitions));
|
1137
|
+
flags.applyAnimationDuration = options.duration && flags.hasAnimations;
|
1138
|
+
flags.applyTransitionDelay = truthyTimingValue(options.delay) && (flags.applyTransitionDuration || flags.hasTransitions);
|
1139
|
+
flags.applyAnimationDelay = truthyTimingValue(options.delay) && flags.hasAnimations;
|
1140
|
+
flags.recalculateTimingStyles = addRemoveClassName.length > 0;
|
1141
|
+
|
1142
|
+
if (flags.applyTransitionDuration || flags.applyAnimationDuration) {
|
1143
|
+
maxDuration = options.duration ? parseFloat(options.duration) : maxDuration;
|
1144
|
+
|
1145
|
+
if (flags.applyTransitionDuration) {
|
1146
|
+
flags.hasTransitions = true;
|
1147
|
+
timings.transitionDuration = maxDuration;
|
1148
|
+
applyOnlyDuration = node.style[TRANSITION_PROP + PROPERTY_KEY].length > 0;
|
1149
|
+
temporaryStyles.push(getCssTransitionDurationStyle(maxDuration, applyOnlyDuration));
|
1150
|
+
}
|
1151
|
+
|
1152
|
+
if (flags.applyAnimationDuration) {
|
1153
|
+
flags.hasAnimations = true;
|
1154
|
+
timings.animationDuration = maxDuration;
|
1155
|
+
temporaryStyles.push(getCssKeyframeDurationStyle(maxDuration));
|
1156
|
+
}
|
1157
|
+
}
|
1158
|
+
|
1159
|
+
if (maxDuration === 0 && !flags.recalculateTimingStyles) {
|
1160
|
+
return closeAndReturnNoopAnimator();
|
1161
|
+
}
|
1162
|
+
|
1163
|
+
if (options.delay != null) {
|
1164
|
+
var delayStyle;
|
1165
|
+
if (typeof options.delay !== "boolean") {
|
1166
|
+
delayStyle = parseFloat(options.delay);
|
1167
|
+
// number in options.delay means we have to recalculate the delay for the closing timeout
|
1168
|
+
maxDelay = Math.max(delayStyle, 0);
|
1169
|
+
}
|
1170
|
+
|
1171
|
+
if (flags.applyTransitionDelay) {
|
1172
|
+
temporaryStyles.push(getCssDelayStyle(delayStyle));
|
1173
|
+
}
|
1174
|
+
|
1175
|
+
if (flags.applyAnimationDelay) {
|
1176
|
+
temporaryStyles.push(getCssDelayStyle(delayStyle, true));
|
1177
|
+
}
|
1178
|
+
}
|
1179
|
+
|
1180
|
+
// we need to recalculate the delay value since we used a pre-emptive negative
|
1181
|
+
// delay value and the delay value is required for the final event checking. This
|
1182
|
+
// property will ensure that this will happen after the RAF phase has passed.
|
1183
|
+
if (options.duration == null && timings.transitionDuration > 0) {
|
1184
|
+
flags.recalculateTimingStyles = flags.recalculateTimingStyles || isFirst;
|
1185
|
+
}
|
1186
|
+
|
1187
|
+
maxDelayTime = maxDelay * ONE_SECOND;
|
1188
|
+
maxDurationTime = maxDuration * ONE_SECOND;
|
1189
|
+
if (!options.skipBlocking) {
|
1190
|
+
flags.blockTransition = timings.transitionDuration > 0;
|
1191
|
+
flags.blockKeyframeAnimation = timings.animationDuration > 0 &&
|
1192
|
+
stagger.animationDelay > 0 &&
|
1193
|
+
stagger.animationDuration === 0;
|
1194
|
+
}
|
1195
|
+
|
1196
|
+
if (options.from) {
|
1197
|
+
if (options.cleanupStyles) {
|
1198
|
+
registerRestorableStyles(restoreStyles, node, Object.keys(options.from));
|
1199
|
+
}
|
1200
|
+
applyAnimationFromStyles(element, options);
|
1201
|
+
}
|
1202
|
+
|
1203
|
+
if (flags.blockTransition || flags.blockKeyframeAnimation) {
|
1204
|
+
applyBlocking(maxDuration);
|
1205
|
+
} else if (!options.skipBlocking) {
|
1206
|
+
blockTransitions(node, false);
|
1207
|
+
}
|
1208
|
+
|
1209
|
+
// TODO(matsko): for 1.5 change this code to have an animator object for better debugging
|
1210
|
+
return {
|
1211
|
+
$$willAnimate: true,
|
1212
|
+
end: endFn,
|
1213
|
+
start: function() {
|
1214
|
+
if (animationClosed) return;
|
1215
|
+
|
1216
|
+
runnerHost = {
|
1217
|
+
end: endFn,
|
1218
|
+
cancel: cancelFn,
|
1219
|
+
resume: null, //this will be set during the start() phase
|
1220
|
+
pause: null
|
1221
|
+
};
|
1222
|
+
|
1223
|
+
runner = new $$AnimateRunner(runnerHost);
|
1224
|
+
|
1225
|
+
waitUntilQuiet(start);
|
1226
|
+
|
1227
|
+
// we don't have access to pause/resume the animation
|
1228
|
+
// since it hasn't run yet. AnimateRunner will therefore
|
1229
|
+
// set noop functions for resume and pause and they will
|
1230
|
+
// later be overridden once the animation is triggered
|
1231
|
+
return runner;
|
1232
|
+
}
|
1233
|
+
};
|
1234
|
+
|
1235
|
+
function endFn() {
|
1236
|
+
close();
|
1237
|
+
}
|
1238
|
+
|
1239
|
+
function cancelFn() {
|
1240
|
+
close(true);
|
1241
|
+
}
|
1242
|
+
|
1243
|
+
function close(rejected) { // jshint ignore:line
|
1244
|
+
// if the promise has been called already then we shouldn't close
|
1245
|
+
// the animation again
|
1246
|
+
if (animationClosed || (animationCompleted && animationPaused)) return;
|
1247
|
+
animationClosed = true;
|
1248
|
+
animationPaused = false;
|
1249
|
+
|
1250
|
+
if (!options.$$skipPreparationClasses) {
|
1251
|
+
$$jqLite.removeClass(element, preparationClasses);
|
1252
|
+
}
|
1253
|
+
$$jqLite.removeClass(element, activeClasses);
|
1254
|
+
|
1255
|
+
blockKeyframeAnimations(node, false);
|
1256
|
+
blockTransitions(node, false);
|
1257
|
+
|
1258
|
+
forEach(temporaryStyles, function(entry) {
|
1259
|
+
// There is only one way to remove inline style properties entirely from elements.
|
1260
|
+
// By using `removeProperty` this works, but we need to convert camel-cased CSS
|
1261
|
+
// styles down to hyphenated values.
|
1262
|
+
node.style[entry[0]] = '';
|
1263
|
+
});
|
1264
|
+
|
1265
|
+
applyAnimationClasses(element, options);
|
1266
|
+
applyAnimationStyles(element, options);
|
1267
|
+
|
1268
|
+
if (Object.keys(restoreStyles).length) {
|
1269
|
+
forEach(restoreStyles, function(value, prop) {
|
1270
|
+
value ? node.style.setProperty(prop, value)
|
1271
|
+
: node.style.removeProperty(prop);
|
1272
|
+
});
|
1273
|
+
}
|
1274
|
+
|
1275
|
+
// the reason why we have this option is to allow a synchronous closing callback
|
1276
|
+
// that is fired as SOON as the animation ends (when the CSS is removed) or if
|
1277
|
+
// the animation never takes off at all. A good example is a leave animation since
|
1278
|
+
// the element must be removed just after the animation is over or else the element
|
1279
|
+
// will appear on screen for one animation frame causing an overbearing flicker.
|
1280
|
+
if (options.onDone) {
|
1281
|
+
options.onDone();
|
1282
|
+
}
|
1283
|
+
|
1284
|
+
if (events && events.length) {
|
1285
|
+
// Remove the transitionend / animationend listener(s)
|
1286
|
+
element.off(events.join(' '), onAnimationProgress);
|
1287
|
+
}
|
1288
|
+
|
1289
|
+
//Cancel the fallback closing timeout and remove the timer data
|
1290
|
+
var animationTimerData = element.data(ANIMATE_TIMER_KEY);
|
1291
|
+
if (animationTimerData) {
|
1292
|
+
$timeout.cancel(animationTimerData[0].timer);
|
1293
|
+
element.removeData(ANIMATE_TIMER_KEY);
|
1294
|
+
}
|
1295
|
+
|
1296
|
+
// if the preparation function fails then the promise is not setup
|
1297
|
+
if (runner) {
|
1298
|
+
runner.complete(!rejected);
|
1299
|
+
}
|
1300
|
+
}
|
1301
|
+
|
1302
|
+
function applyBlocking(duration) {
|
1303
|
+
if (flags.blockTransition) {
|
1304
|
+
blockTransitions(node, duration);
|
1305
|
+
}
|
1306
|
+
|
1307
|
+
if (flags.blockKeyframeAnimation) {
|
1308
|
+
blockKeyframeAnimations(node, !!duration);
|
1309
|
+
}
|
1310
|
+
}
|
1311
|
+
|
1312
|
+
function closeAndReturnNoopAnimator() {
|
1313
|
+
runner = new $$AnimateRunner({
|
1314
|
+
end: endFn,
|
1315
|
+
cancel: cancelFn
|
1316
|
+
});
|
1317
|
+
|
1318
|
+
// should flush the cache animation
|
1319
|
+
waitUntilQuiet(noop);
|
1320
|
+
close();
|
1321
|
+
|
1322
|
+
return {
|
1323
|
+
$$willAnimate: false,
|
1324
|
+
start: function() {
|
1325
|
+
return runner;
|
1326
|
+
},
|
1327
|
+
end: endFn
|
1328
|
+
};
|
1329
|
+
}
|
1330
|
+
|
1331
|
+
function onAnimationProgress(event) {
|
1332
|
+
event.stopPropagation();
|
1333
|
+
var ev = event.originalEvent || event;
|
1334
|
+
|
1335
|
+
// we now always use `Date.now()` due to the recent changes with
|
1336
|
+
// event.timeStamp in Firefox, Webkit and Chrome (see #13494 for more info)
|
1337
|
+
var timeStamp = ev.$manualTimeStamp || Date.now();
|
1338
|
+
|
1339
|
+
/* Firefox (or possibly just Gecko) likes to not round values up
|
1340
|
+
* when a ms measurement is used for the animation */
|
1341
|
+
var elapsedTime = parseFloat(ev.elapsedTime.toFixed(ELAPSED_TIME_MAX_DECIMAL_PLACES));
|
1342
|
+
|
1343
|
+
/* $manualTimeStamp is a mocked timeStamp value which is set
|
1344
|
+
* within browserTrigger(). This is only here so that tests can
|
1345
|
+
* mock animations properly. Real events fallback to event.timeStamp,
|
1346
|
+
* or, if they don't, then a timeStamp is automatically created for them.
|
1347
|
+
* We're checking to see if the timeStamp surpasses the expected delay,
|
1348
|
+
* but we're using elapsedTime instead of the timeStamp on the 2nd
|
1349
|
+
* pre-condition since animationPauseds sometimes close off early */
|
1350
|
+
if (Math.max(timeStamp - startTime, 0) >= maxDelayTime && elapsedTime >= maxDuration) {
|
1351
|
+
// we set this flag to ensure that if the transition is paused then, when resumed,
|
1352
|
+
// the animation will automatically close itself since transitions cannot be paused.
|
1353
|
+
animationCompleted = true;
|
1354
|
+
close();
|
1355
|
+
}
|
1356
|
+
}
|
1357
|
+
|
1358
|
+
function start() {
|
1359
|
+
if (animationClosed) return;
|
1360
|
+
if (!node.parentNode) {
|
1361
|
+
close();
|
1362
|
+
return;
|
1363
|
+
}
|
1364
|
+
|
1365
|
+
// even though we only pause keyframe animations here the pause flag
|
1366
|
+
// will still happen when transitions are used. Only the transition will
|
1367
|
+
// not be paused since that is not possible. If the animation ends when
|
1368
|
+
// paused then it will not complete until unpaused or cancelled.
|
1369
|
+
var playPause = function(playAnimation) {
|
1370
|
+
if (!animationCompleted) {
|
1371
|
+
animationPaused = !playAnimation;
|
1372
|
+
if (timings.animationDuration) {
|
1373
|
+
var value = blockKeyframeAnimations(node, animationPaused);
|
1374
|
+
animationPaused
|
1375
|
+
? temporaryStyles.push(value)
|
1376
|
+
: removeFromArray(temporaryStyles, value);
|
1377
|
+
}
|
1378
|
+
} else if (animationPaused && playAnimation) {
|
1379
|
+
animationPaused = false;
|
1380
|
+
close();
|
1381
|
+
}
|
1382
|
+
};
|
1383
|
+
|
1384
|
+
// checking the stagger duration prevents an accidentally cascade of the CSS delay style
|
1385
|
+
// being inherited from the parent. If the transition duration is zero then we can safely
|
1386
|
+
// rely that the delay value is an intentional stagger delay style.
|
1387
|
+
var maxStagger = itemIndex > 0
|
1388
|
+
&& ((timings.transitionDuration && stagger.transitionDuration === 0) ||
|
1389
|
+
(timings.animationDuration && stagger.animationDuration === 0))
|
1390
|
+
&& Math.max(stagger.animationDelay, stagger.transitionDelay);
|
1391
|
+
if (maxStagger) {
|
1392
|
+
$timeout(triggerAnimationStart,
|
1393
|
+
Math.floor(maxStagger * itemIndex * ONE_SECOND),
|
1394
|
+
false);
|
1395
|
+
} else {
|
1396
|
+
triggerAnimationStart();
|
1397
|
+
}
|
1398
|
+
|
1399
|
+
// this will decorate the existing promise runner with pause/resume methods
|
1400
|
+
runnerHost.resume = function() {
|
1401
|
+
playPause(true);
|
1402
|
+
};
|
1403
|
+
|
1404
|
+
runnerHost.pause = function() {
|
1405
|
+
playPause(false);
|
1406
|
+
};
|
1407
|
+
|
1408
|
+
function triggerAnimationStart() {
|
1409
|
+
// just incase a stagger animation kicks in when the animation
|
1410
|
+
// itself was cancelled entirely
|
1411
|
+
if (animationClosed) return;
|
1412
|
+
|
1413
|
+
applyBlocking(false);
|
1414
|
+
|
1415
|
+
forEach(temporaryStyles, function(entry) {
|
1416
|
+
var key = entry[0];
|
1417
|
+
var value = entry[1];
|
1418
|
+
node.style[key] = value;
|
1419
|
+
});
|
1420
|
+
|
1421
|
+
applyAnimationClasses(element, options);
|
1422
|
+
$$jqLite.addClass(element, activeClasses);
|
1423
|
+
|
1424
|
+
if (flags.recalculateTimingStyles) {
|
1425
|
+
fullClassName = node.className + ' ' + preparationClasses;
|
1426
|
+
cacheKey = gcsHashFn(node, fullClassName);
|
1427
|
+
|
1428
|
+
timings = computeTimings(node, fullClassName, cacheKey);
|
1429
|
+
relativeDelay = timings.maxDelay;
|
1430
|
+
maxDelay = Math.max(relativeDelay, 0);
|
1431
|
+
maxDuration = timings.maxDuration;
|
1432
|
+
|
1433
|
+
if (maxDuration === 0) {
|
1434
|
+
close();
|
1435
|
+
return;
|
1436
|
+
}
|
1437
|
+
|
1438
|
+
flags.hasTransitions = timings.transitionDuration > 0;
|
1439
|
+
flags.hasAnimations = timings.animationDuration > 0;
|
1440
|
+
}
|
1441
|
+
|
1442
|
+
if (flags.applyAnimationDelay) {
|
1443
|
+
relativeDelay = typeof options.delay !== "boolean" && truthyTimingValue(options.delay)
|
1444
|
+
? parseFloat(options.delay)
|
1445
|
+
: relativeDelay;
|
1446
|
+
|
1447
|
+
maxDelay = Math.max(relativeDelay, 0);
|
1448
|
+
timings.animationDelay = relativeDelay;
|
1449
|
+
delayStyle = getCssDelayStyle(relativeDelay, true);
|
1450
|
+
temporaryStyles.push(delayStyle);
|
1451
|
+
node.style[delayStyle[0]] = delayStyle[1];
|
1452
|
+
}
|
1453
|
+
|
1454
|
+
maxDelayTime = maxDelay * ONE_SECOND;
|
1455
|
+
maxDurationTime = maxDuration * ONE_SECOND;
|
1456
|
+
|
1457
|
+
if (options.easing) {
|
1458
|
+
var easeProp, easeVal = options.easing;
|
1459
|
+
if (flags.hasTransitions) {
|
1460
|
+
easeProp = TRANSITION_PROP + TIMING_KEY;
|
1461
|
+
temporaryStyles.push([easeProp, easeVal]);
|
1462
|
+
node.style[easeProp] = easeVal;
|
1463
|
+
}
|
1464
|
+
if (flags.hasAnimations) {
|
1465
|
+
easeProp = ANIMATION_PROP + TIMING_KEY;
|
1466
|
+
temporaryStyles.push([easeProp, easeVal]);
|
1467
|
+
node.style[easeProp] = easeVal;
|
1468
|
+
}
|
1469
|
+
}
|
1470
|
+
|
1471
|
+
if (timings.transitionDuration) {
|
1472
|
+
events.push(TRANSITIONEND_EVENT);
|
1473
|
+
}
|
1474
|
+
|
1475
|
+
if (timings.animationDuration) {
|
1476
|
+
events.push(ANIMATIONEND_EVENT);
|
1477
|
+
}
|
1478
|
+
|
1479
|
+
startTime = Date.now();
|
1480
|
+
var timerTime = maxDelayTime + CLOSING_TIME_BUFFER * maxDurationTime;
|
1481
|
+
var endTime = startTime + timerTime;
|
1482
|
+
|
1483
|
+
var animationsData = element.data(ANIMATE_TIMER_KEY) || [];
|
1484
|
+
var setupFallbackTimer = true;
|
1485
|
+
if (animationsData.length) {
|
1486
|
+
var currentTimerData = animationsData[0];
|
1487
|
+
setupFallbackTimer = endTime > currentTimerData.expectedEndTime;
|
1488
|
+
if (setupFallbackTimer) {
|
1489
|
+
$timeout.cancel(currentTimerData.timer);
|
1490
|
+
} else {
|
1491
|
+
animationsData.push(close);
|
1492
|
+
}
|
1493
|
+
}
|
1494
|
+
|
1495
|
+
if (setupFallbackTimer) {
|
1496
|
+
var timer = $timeout(onAnimationExpired, timerTime, false);
|
1497
|
+
animationsData[0] = {
|
1498
|
+
timer: timer,
|
1499
|
+
expectedEndTime: endTime
|
1500
|
+
};
|
1501
|
+
animationsData.push(close);
|
1502
|
+
element.data(ANIMATE_TIMER_KEY, animationsData);
|
1503
|
+
}
|
1504
|
+
|
1505
|
+
if (events.length) {
|
1506
|
+
element.on(events.join(' '), onAnimationProgress);
|
1507
|
+
}
|
1508
|
+
|
1509
|
+
if (options.to) {
|
1510
|
+
if (options.cleanupStyles) {
|
1511
|
+
registerRestorableStyles(restoreStyles, node, Object.keys(options.to));
|
1512
|
+
}
|
1513
|
+
applyAnimationToStyles(element, options);
|
1514
|
+
}
|
1515
|
+
}
|
1516
|
+
|
1517
|
+
function onAnimationExpired() {
|
1518
|
+
var animationsData = element.data(ANIMATE_TIMER_KEY);
|
1519
|
+
|
1520
|
+
// this will be false in the event that the element was
|
1521
|
+
// removed from the DOM (via a leave animation or something
|
1522
|
+
// similar)
|
1523
|
+
if (animationsData) {
|
1524
|
+
for (var i = 1; i < animationsData.length; i++) {
|
1525
|
+
animationsData[i]();
|
1526
|
+
}
|
1527
|
+
element.removeData(ANIMATE_TIMER_KEY);
|
1528
|
+
}
|
1529
|
+
}
|
1530
|
+
}
|
1531
|
+
};
|
1532
|
+
}];
|
1533
|
+
}];
|
1534
|
+
|
1535
|
+
var $$AnimateCssDriverProvider = ['$$animationProvider', function($$animationProvider) {
|
1536
|
+
$$animationProvider.drivers.push('$$animateCssDriver');
|
1537
|
+
|
1538
|
+
var NG_ANIMATE_SHIM_CLASS_NAME = 'ng-animate-shim';
|
1539
|
+
var NG_ANIMATE_ANCHOR_CLASS_NAME = 'ng-anchor';
|
1540
|
+
|
1541
|
+
var NG_OUT_ANCHOR_CLASS_NAME = 'ng-anchor-out';
|
1542
|
+
var NG_IN_ANCHOR_CLASS_NAME = 'ng-anchor-in';
|
1543
|
+
|
1544
|
+
function isDocumentFragment(node) {
|
1545
|
+
return node.parentNode && node.parentNode.nodeType === 11;
|
1546
|
+
}
|
1547
|
+
|
1548
|
+
this.$get = ['$animateCss', '$rootScope', '$$AnimateRunner', '$rootElement', '$sniffer', '$$jqLite', '$document',
|
1549
|
+
function($animateCss, $rootScope, $$AnimateRunner, $rootElement, $sniffer, $$jqLite, $document) {
|
1550
|
+
|
1551
|
+
// only browsers that support these properties can render animations
|
1552
|
+
if (!$sniffer.animations && !$sniffer.transitions) return noop;
|
1553
|
+
|
1554
|
+
var bodyNode = $document[0].body;
|
1555
|
+
var rootNode = getDomNode($rootElement);
|
1556
|
+
|
1557
|
+
var rootBodyElement = jqLite(
|
1558
|
+
// this is to avoid using something that exists outside of the body
|
1559
|
+
// we also special case the doc fragment case because our unit test code
|
1560
|
+
// appends the $rootElement to the body after the app has been bootstrapped
|
1561
|
+
isDocumentFragment(rootNode) || bodyNode.contains(rootNode) ? rootNode : bodyNode
|
1562
|
+
);
|
1563
|
+
|
1564
|
+
var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
|
1565
|
+
|
1566
|
+
return function initDriverFn(animationDetails) {
|
1567
|
+
return animationDetails.from && animationDetails.to
|
1568
|
+
? prepareFromToAnchorAnimation(animationDetails.from,
|
1569
|
+
animationDetails.to,
|
1570
|
+
animationDetails.classes,
|
1571
|
+
animationDetails.anchors)
|
1572
|
+
: prepareRegularAnimation(animationDetails);
|
1573
|
+
};
|
1574
|
+
|
1575
|
+
function filterCssClasses(classes) {
|
1576
|
+
//remove all the `ng-` stuff
|
1577
|
+
return classes.replace(/\bng-\S+\b/g, '');
|
1578
|
+
}
|
1579
|
+
|
1580
|
+
function getUniqueValues(a, b) {
|
1581
|
+
if (isString(a)) a = a.split(' ');
|
1582
|
+
if (isString(b)) b = b.split(' ');
|
1583
|
+
return a.filter(function(val) {
|
1584
|
+
return b.indexOf(val) === -1;
|
1585
|
+
}).join(' ');
|
1586
|
+
}
|
1587
|
+
|
1588
|
+
function prepareAnchoredAnimation(classes, outAnchor, inAnchor) {
|
1589
|
+
var clone = jqLite(getDomNode(outAnchor).cloneNode(true));
|
1590
|
+
var startingClasses = filterCssClasses(getClassVal(clone));
|
1591
|
+
|
1592
|
+
outAnchor.addClass(NG_ANIMATE_SHIM_CLASS_NAME);
|
1593
|
+
inAnchor.addClass(NG_ANIMATE_SHIM_CLASS_NAME);
|
1594
|
+
|
1595
|
+
clone.addClass(NG_ANIMATE_ANCHOR_CLASS_NAME);
|
1596
|
+
|
1597
|
+
rootBodyElement.append(clone);
|
1598
|
+
|
1599
|
+
var animatorIn, animatorOut = prepareOutAnimation();
|
1600
|
+
|
1601
|
+
// the user may not end up using the `out` animation and
|
1602
|
+
// only making use of the `in` animation or vice-versa.
|
1603
|
+
// In either case we should allow this and not assume the
|
1604
|
+
// animation is over unless both animations are not used.
|
1605
|
+
if (!animatorOut) {
|
1606
|
+
animatorIn = prepareInAnimation();
|
1607
|
+
if (!animatorIn) {
|
1608
|
+
return end();
|
1609
|
+
}
|
1610
|
+
}
|
1611
|
+
|
1612
|
+
var startingAnimator = animatorOut || animatorIn;
|
1613
|
+
|
1614
|
+
return {
|
1615
|
+
start: function() {
|
1616
|
+
var runner;
|
1617
|
+
|
1618
|
+
var currentAnimation = startingAnimator.start();
|
1619
|
+
currentAnimation.done(function() {
|
1620
|
+
currentAnimation = null;
|
1621
|
+
if (!animatorIn) {
|
1622
|
+
animatorIn = prepareInAnimation();
|
1623
|
+
if (animatorIn) {
|
1624
|
+
currentAnimation = animatorIn.start();
|
1625
|
+
currentAnimation.done(function() {
|
1626
|
+
currentAnimation = null;
|
1627
|
+
end();
|
1628
|
+
runner.complete();
|
1629
|
+
});
|
1630
|
+
return currentAnimation;
|
1631
|
+
}
|
1632
|
+
}
|
1633
|
+
// in the event that there is no `in` animation
|
1634
|
+
end();
|
1635
|
+
runner.complete();
|
1636
|
+
});
|
1637
|
+
|
1638
|
+
runner = new $$AnimateRunner({
|
1639
|
+
end: endFn,
|
1640
|
+
cancel: endFn
|
1641
|
+
});
|
1642
|
+
|
1643
|
+
return runner;
|
1644
|
+
|
1645
|
+
function endFn() {
|
1646
|
+
if (currentAnimation) {
|
1647
|
+
currentAnimation.end();
|
1648
|
+
}
|
1649
|
+
}
|
1650
|
+
}
|
1651
|
+
};
|
1652
|
+
|
1653
|
+
function calculateAnchorStyles(anchor) {
|
1654
|
+
var styles = {};
|
1655
|
+
|
1656
|
+
var coords = getDomNode(anchor).getBoundingClientRect();
|
1657
|
+
|
1658
|
+
// we iterate directly since safari messes up and doesn't return
|
1659
|
+
// all the keys for the coords object when iterated
|
1660
|
+
forEach(['width','height','top','left'], function(key) {
|
1661
|
+
var value = coords[key];
|
1662
|
+
switch (key) {
|
1663
|
+
case 'top':
|
1664
|
+
value += bodyNode.scrollTop;
|
1665
|
+
break;
|
1666
|
+
case 'left':
|
1667
|
+
value += bodyNode.scrollLeft;
|
1668
|
+
break;
|
1669
|
+
}
|
1670
|
+
styles[key] = Math.floor(value) + 'px';
|
1671
|
+
});
|
1672
|
+
return styles;
|
1673
|
+
}
|
1674
|
+
|
1675
|
+
function prepareOutAnimation() {
|
1676
|
+
var animator = $animateCss(clone, {
|
1677
|
+
addClass: NG_OUT_ANCHOR_CLASS_NAME,
|
1678
|
+
delay: true,
|
1679
|
+
from: calculateAnchorStyles(outAnchor)
|
1680
|
+
});
|
1681
|
+
|
1682
|
+
// read the comment within `prepareRegularAnimation` to understand
|
1683
|
+
// why this check is necessary
|
1684
|
+
return animator.$$willAnimate ? animator : null;
|
1685
|
+
}
|
1686
|
+
|
1687
|
+
function getClassVal(element) {
|
1688
|
+
return element.attr('class') || '';
|
1689
|
+
}
|
1690
|
+
|
1691
|
+
function prepareInAnimation() {
|
1692
|
+
var endingClasses = filterCssClasses(getClassVal(inAnchor));
|
1693
|
+
var toAdd = getUniqueValues(endingClasses, startingClasses);
|
1694
|
+
var toRemove = getUniqueValues(startingClasses, endingClasses);
|
1695
|
+
|
1696
|
+
var animator = $animateCss(clone, {
|
1697
|
+
to: calculateAnchorStyles(inAnchor),
|
1698
|
+
addClass: NG_IN_ANCHOR_CLASS_NAME + ' ' + toAdd,
|
1699
|
+
removeClass: NG_OUT_ANCHOR_CLASS_NAME + ' ' + toRemove,
|
1700
|
+
delay: true
|
1701
|
+
});
|
1702
|
+
|
1703
|
+
// read the comment within `prepareRegularAnimation` to understand
|
1704
|
+
// why this check is necessary
|
1705
|
+
return animator.$$willAnimate ? animator : null;
|
1706
|
+
}
|
1707
|
+
|
1708
|
+
function end() {
|
1709
|
+
clone.remove();
|
1710
|
+
outAnchor.removeClass(NG_ANIMATE_SHIM_CLASS_NAME);
|
1711
|
+
inAnchor.removeClass(NG_ANIMATE_SHIM_CLASS_NAME);
|
1712
|
+
}
|
1713
|
+
}
|
1714
|
+
|
1715
|
+
function prepareFromToAnchorAnimation(from, to, classes, anchors) {
|
1716
|
+
var fromAnimation = prepareRegularAnimation(from, noop);
|
1717
|
+
var toAnimation = prepareRegularAnimation(to, noop);
|
1718
|
+
|
1719
|
+
var anchorAnimations = [];
|
1720
|
+
forEach(anchors, function(anchor) {
|
1721
|
+
var outElement = anchor['out'];
|
1722
|
+
var inElement = anchor['in'];
|
1723
|
+
var animator = prepareAnchoredAnimation(classes, outElement, inElement);
|
1724
|
+
if (animator) {
|
1725
|
+
anchorAnimations.push(animator);
|
1726
|
+
}
|
1727
|
+
});
|
1728
|
+
|
1729
|
+
// no point in doing anything when there are no elements to animate
|
1730
|
+
if (!fromAnimation && !toAnimation && anchorAnimations.length === 0) return;
|
1731
|
+
|
1732
|
+
return {
|
1733
|
+
start: function() {
|
1734
|
+
var animationRunners = [];
|
1735
|
+
|
1736
|
+
if (fromAnimation) {
|
1737
|
+
animationRunners.push(fromAnimation.start());
|
1738
|
+
}
|
1739
|
+
|
1740
|
+
if (toAnimation) {
|
1741
|
+
animationRunners.push(toAnimation.start());
|
1742
|
+
}
|
1743
|
+
|
1744
|
+
forEach(anchorAnimations, function(animation) {
|
1745
|
+
animationRunners.push(animation.start());
|
1746
|
+
});
|
1747
|
+
|
1748
|
+
var runner = new $$AnimateRunner({
|
1749
|
+
end: endFn,
|
1750
|
+
cancel: endFn // CSS-driven animations cannot be cancelled, only ended
|
1751
|
+
});
|
1752
|
+
|
1753
|
+
$$AnimateRunner.all(animationRunners, function(status) {
|
1754
|
+
runner.complete(status);
|
1755
|
+
});
|
1756
|
+
|
1757
|
+
return runner;
|
1758
|
+
|
1759
|
+
function endFn() {
|
1760
|
+
forEach(animationRunners, function(runner) {
|
1761
|
+
runner.end();
|
1762
|
+
});
|
1763
|
+
}
|
1764
|
+
}
|
1765
|
+
};
|
1766
|
+
}
|
1767
|
+
|
1768
|
+
function prepareRegularAnimation(animationDetails) {
|
1769
|
+
var element = animationDetails.element;
|
1770
|
+
var options = animationDetails.options || {};
|
1771
|
+
|
1772
|
+
if (animationDetails.structural) {
|
1773
|
+
options.event = animationDetails.event;
|
1774
|
+
options.structural = true;
|
1775
|
+
options.applyClassesEarly = true;
|
1776
|
+
|
1777
|
+
// we special case the leave animation since we want to ensure that
|
1778
|
+
// the element is removed as soon as the animation is over. Otherwise
|
1779
|
+
// a flicker might appear or the element may not be removed at all
|
1780
|
+
if (animationDetails.event === 'leave') {
|
1781
|
+
options.onDone = options.domOperation;
|
1782
|
+
}
|
1783
|
+
}
|
1784
|
+
|
1785
|
+
// We assign the preparationClasses as the actual animation event since
|
1786
|
+
// the internals of $animateCss will just suffix the event token values
|
1787
|
+
// with `-active` to trigger the animation.
|
1788
|
+
if (options.preparationClasses) {
|
1789
|
+
options.event = concatWithSpace(options.event, options.preparationClasses);
|
1790
|
+
}
|
1791
|
+
|
1792
|
+
var animator = $animateCss(element, options);
|
1793
|
+
|
1794
|
+
// the driver lookup code inside of $$animation attempts to spawn a
|
1795
|
+
// driver one by one until a driver returns a.$$willAnimate animator object.
|
1796
|
+
// $animateCss will always return an object, however, it will pass in
|
1797
|
+
// a flag as a hint as to whether an animation was detected or not
|
1798
|
+
return animator.$$willAnimate ? animator : null;
|
1799
|
+
}
|
1800
|
+
}];
|
1801
|
+
}];
|
1802
|
+
|
1803
|
+
// TODO(matsko): use caching here to speed things up for detection
|
1804
|
+
// TODO(matsko): add documentation
|
1805
|
+
// by the time...
|
1806
|
+
|
1807
|
+
var $$AnimateJsProvider = ['$animateProvider', function($animateProvider) {
|
1808
|
+
this.$get = ['$injector', '$$AnimateRunner', '$$jqLite',
|
1809
|
+
function($injector, $$AnimateRunner, $$jqLite) {
|
1810
|
+
|
1811
|
+
var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
|
1812
|
+
// $animateJs(element, 'enter');
|
1813
|
+
return function(element, event, classes, options) {
|
1814
|
+
var animationClosed = false;
|
1815
|
+
|
1816
|
+
// the `classes` argument is optional and if it is not used
|
1817
|
+
// then the classes will be resolved from the element's className
|
1818
|
+
// property as well as options.addClass/options.removeClass.
|
1819
|
+
if (arguments.length === 3 && isObject(classes)) {
|
1820
|
+
options = classes;
|
1821
|
+
classes = null;
|
1822
|
+
}
|
1823
|
+
|
1824
|
+
options = prepareAnimationOptions(options);
|
1825
|
+
if (!classes) {
|
1826
|
+
classes = element.attr('class') || '';
|
1827
|
+
if (options.addClass) {
|
1828
|
+
classes += ' ' + options.addClass;
|
1829
|
+
}
|
1830
|
+
if (options.removeClass) {
|
1831
|
+
classes += ' ' + options.removeClass;
|
1832
|
+
}
|
1833
|
+
}
|
1834
|
+
|
1835
|
+
var classesToAdd = options.addClass;
|
1836
|
+
var classesToRemove = options.removeClass;
|
1837
|
+
|
1838
|
+
// the lookupAnimations function returns a series of animation objects that are
|
1839
|
+
// matched up with one or more of the CSS classes. These animation objects are
|
1840
|
+
// defined via the module.animation factory function. If nothing is detected then
|
1841
|
+
// we don't return anything which then makes $animation query the next driver.
|
1842
|
+
var animations = lookupAnimations(classes);
|
1843
|
+
var before, after;
|
1844
|
+
if (animations.length) {
|
1845
|
+
var afterFn, beforeFn;
|
1846
|
+
if (event == 'leave') {
|
1847
|
+
beforeFn = 'leave';
|
1848
|
+
afterFn = 'afterLeave'; // TODO(matsko): get rid of this
|
1849
|
+
} else {
|
1850
|
+
beforeFn = 'before' + event.charAt(0).toUpperCase() + event.substr(1);
|
1851
|
+
afterFn = event;
|
1852
|
+
}
|
1853
|
+
|
1854
|
+
if (event !== 'enter' && event !== 'move') {
|
1855
|
+
before = packageAnimations(element, event, options, animations, beforeFn);
|
1856
|
+
}
|
1857
|
+
after = packageAnimations(element, event, options, animations, afterFn);
|
1858
|
+
}
|
1859
|
+
|
1860
|
+
// no matching animations
|
1861
|
+
if (!before && !after) return;
|
1862
|
+
|
1863
|
+
function applyOptions() {
|
1864
|
+
options.domOperation();
|
1865
|
+
applyAnimationClasses(element, options);
|
1866
|
+
}
|
1867
|
+
|
1868
|
+
function close() {
|
1869
|
+
animationClosed = true;
|
1870
|
+
applyOptions();
|
1871
|
+
applyAnimationStyles(element, options);
|
1872
|
+
}
|
1873
|
+
|
1874
|
+
var runner;
|
1875
|
+
|
1876
|
+
return {
|
1877
|
+
$$willAnimate: true,
|
1878
|
+
end: function() {
|
1879
|
+
if (runner) {
|
1880
|
+
runner.end();
|
1881
|
+
} else {
|
1882
|
+
close();
|
1883
|
+
runner = new $$AnimateRunner();
|
1884
|
+
runner.complete(true);
|
1885
|
+
}
|
1886
|
+
return runner;
|
1887
|
+
},
|
1888
|
+
start: function() {
|
1889
|
+
if (runner) {
|
1890
|
+
return runner;
|
1891
|
+
}
|
1892
|
+
|
1893
|
+
runner = new $$AnimateRunner();
|
1894
|
+
var closeActiveAnimations;
|
1895
|
+
var chain = [];
|
1896
|
+
|
1897
|
+
if (before) {
|
1898
|
+
chain.push(function(fn) {
|
1899
|
+
closeActiveAnimations = before(fn);
|
1900
|
+
});
|
1901
|
+
}
|
1902
|
+
|
1903
|
+
if (chain.length) {
|
1904
|
+
chain.push(function(fn) {
|
1905
|
+
applyOptions();
|
1906
|
+
fn(true);
|
1907
|
+
});
|
1908
|
+
} else {
|
1909
|
+
applyOptions();
|
1910
|
+
}
|
1911
|
+
|
1912
|
+
if (after) {
|
1913
|
+
chain.push(function(fn) {
|
1914
|
+
closeActiveAnimations = after(fn);
|
1915
|
+
});
|
1916
|
+
}
|
1917
|
+
|
1918
|
+
runner.setHost({
|
1919
|
+
end: function() {
|
1920
|
+
endAnimations();
|
1921
|
+
},
|
1922
|
+
cancel: function() {
|
1923
|
+
endAnimations(true);
|
1924
|
+
}
|
1925
|
+
});
|
1926
|
+
|
1927
|
+
$$AnimateRunner.chain(chain, onComplete);
|
1928
|
+
return runner;
|
1929
|
+
|
1930
|
+
function onComplete(success) {
|
1931
|
+
close(success);
|
1932
|
+
runner.complete(success);
|
1933
|
+
}
|
1934
|
+
|
1935
|
+
function endAnimations(cancelled) {
|
1936
|
+
if (!animationClosed) {
|
1937
|
+
(closeActiveAnimations || noop)(cancelled);
|
1938
|
+
onComplete(cancelled);
|
1939
|
+
}
|
1940
|
+
}
|
1941
|
+
}
|
1942
|
+
};
|
1943
|
+
|
1944
|
+
function executeAnimationFn(fn, element, event, options, onDone) {
|
1945
|
+
var args;
|
1946
|
+
switch (event) {
|
1947
|
+
case 'animate':
|
1948
|
+
args = [element, options.from, options.to, onDone];
|
1949
|
+
break;
|
1950
|
+
|
1951
|
+
case 'setClass':
|
1952
|
+
args = [element, classesToAdd, classesToRemove, onDone];
|
1953
|
+
break;
|
1954
|
+
|
1955
|
+
case 'addClass':
|
1956
|
+
args = [element, classesToAdd, onDone];
|
1957
|
+
break;
|
1958
|
+
|
1959
|
+
case 'removeClass':
|
1960
|
+
args = [element, classesToRemove, onDone];
|
1961
|
+
break;
|
1962
|
+
|
1963
|
+
default:
|
1964
|
+
args = [element, onDone];
|
1965
|
+
break;
|
1966
|
+
}
|
1967
|
+
|
1968
|
+
args.push(options);
|
1969
|
+
|
1970
|
+
var value = fn.apply(fn, args);
|
1971
|
+
if (value) {
|
1972
|
+
if (isFunction(value.start)) {
|
1973
|
+
value = value.start();
|
1974
|
+
}
|
1975
|
+
|
1976
|
+
if (value instanceof $$AnimateRunner) {
|
1977
|
+
value.done(onDone);
|
1978
|
+
} else if (isFunction(value)) {
|
1979
|
+
// optional onEnd / onCancel callback
|
1980
|
+
return value;
|
1981
|
+
}
|
1982
|
+
}
|
1983
|
+
|
1984
|
+
return noop;
|
1985
|
+
}
|
1986
|
+
|
1987
|
+
function groupEventedAnimations(element, event, options, animations, fnName) {
|
1988
|
+
var operations = [];
|
1989
|
+
forEach(animations, function(ani) {
|
1990
|
+
var animation = ani[fnName];
|
1991
|
+
if (!animation) return;
|
1992
|
+
|
1993
|
+
// note that all of these animations will run in parallel
|
1994
|
+
operations.push(function() {
|
1995
|
+
var runner;
|
1996
|
+
var endProgressCb;
|
1997
|
+
|
1998
|
+
var resolved = false;
|
1999
|
+
var onAnimationComplete = function(rejected) {
|
2000
|
+
if (!resolved) {
|
2001
|
+
resolved = true;
|
2002
|
+
(endProgressCb || noop)(rejected);
|
2003
|
+
runner.complete(!rejected);
|
2004
|
+
}
|
2005
|
+
};
|
2006
|
+
|
2007
|
+
runner = new $$AnimateRunner({
|
2008
|
+
end: function() {
|
2009
|
+
onAnimationComplete();
|
2010
|
+
},
|
2011
|
+
cancel: function() {
|
2012
|
+
onAnimationComplete(true);
|
2013
|
+
}
|
2014
|
+
});
|
2015
|
+
|
2016
|
+
endProgressCb = executeAnimationFn(animation, element, event, options, function(result) {
|
2017
|
+
var cancelled = result === false;
|
2018
|
+
onAnimationComplete(cancelled);
|
2019
|
+
});
|
2020
|
+
|
2021
|
+
return runner;
|
2022
|
+
});
|
2023
|
+
});
|
2024
|
+
|
2025
|
+
return operations;
|
2026
|
+
}
|
2027
|
+
|
2028
|
+
function packageAnimations(element, event, options, animations, fnName) {
|
2029
|
+
var operations = groupEventedAnimations(element, event, options, animations, fnName);
|
2030
|
+
if (operations.length === 0) {
|
2031
|
+
var a,b;
|
2032
|
+
if (fnName === 'beforeSetClass') {
|
2033
|
+
a = groupEventedAnimations(element, 'removeClass', options, animations, 'beforeRemoveClass');
|
2034
|
+
b = groupEventedAnimations(element, 'addClass', options, animations, 'beforeAddClass');
|
2035
|
+
} else if (fnName === 'setClass') {
|
2036
|
+
a = groupEventedAnimations(element, 'removeClass', options, animations, 'removeClass');
|
2037
|
+
b = groupEventedAnimations(element, 'addClass', options, animations, 'addClass');
|
2038
|
+
}
|
2039
|
+
|
2040
|
+
if (a) {
|
2041
|
+
operations = operations.concat(a);
|
2042
|
+
}
|
2043
|
+
if (b) {
|
2044
|
+
operations = operations.concat(b);
|
2045
|
+
}
|
2046
|
+
}
|
2047
|
+
|
2048
|
+
if (operations.length === 0) return;
|
2049
|
+
|
2050
|
+
// TODO(matsko): add documentation
|
2051
|
+
return function startAnimation(callback) {
|
2052
|
+
var runners = [];
|
2053
|
+
if (operations.length) {
|
2054
|
+
forEach(operations, function(animateFn) {
|
2055
|
+
runners.push(animateFn());
|
2056
|
+
});
|
2057
|
+
}
|
2058
|
+
|
2059
|
+
runners.length ? $$AnimateRunner.all(runners, callback) : callback();
|
2060
|
+
|
2061
|
+
return function endFn(reject) {
|
2062
|
+
forEach(runners, function(runner) {
|
2063
|
+
reject ? runner.cancel() : runner.end();
|
2064
|
+
});
|
2065
|
+
};
|
2066
|
+
};
|
2067
|
+
}
|
2068
|
+
};
|
2069
|
+
|
2070
|
+
function lookupAnimations(classes) {
|
2071
|
+
classes = isArray(classes) ? classes : classes.split(' ');
|
2072
|
+
var matches = [], flagMap = {};
|
2073
|
+
for (var i=0; i < classes.length; i++) {
|
2074
|
+
var klass = classes[i],
|
2075
|
+
animationFactory = $animateProvider.$$registeredAnimations[klass];
|
2076
|
+
if (animationFactory && !flagMap[klass]) {
|
2077
|
+
matches.push($injector.get(animationFactory));
|
2078
|
+
flagMap[klass] = true;
|
2079
|
+
}
|
2080
|
+
}
|
2081
|
+
return matches;
|
2082
|
+
}
|
2083
|
+
}];
|
2084
|
+
}];
|
2085
|
+
|
2086
|
+
var $$AnimateJsDriverProvider = ['$$animationProvider', function($$animationProvider) {
|
2087
|
+
$$animationProvider.drivers.push('$$animateJsDriver');
|
2088
|
+
this.$get = ['$$animateJs', '$$AnimateRunner', function($$animateJs, $$AnimateRunner) {
|
2089
|
+
return function initDriverFn(animationDetails) {
|
2090
|
+
if (animationDetails.from && animationDetails.to) {
|
2091
|
+
var fromAnimation = prepareAnimation(animationDetails.from);
|
2092
|
+
var toAnimation = prepareAnimation(animationDetails.to);
|
2093
|
+
if (!fromAnimation && !toAnimation) return;
|
2094
|
+
|
2095
|
+
return {
|
2096
|
+
start: function() {
|
2097
|
+
var animationRunners = [];
|
2098
|
+
|
2099
|
+
if (fromAnimation) {
|
2100
|
+
animationRunners.push(fromAnimation.start());
|
2101
|
+
}
|
2102
|
+
|
2103
|
+
if (toAnimation) {
|
2104
|
+
animationRunners.push(toAnimation.start());
|
2105
|
+
}
|
2106
|
+
|
2107
|
+
$$AnimateRunner.all(animationRunners, done);
|
2108
|
+
|
2109
|
+
var runner = new $$AnimateRunner({
|
2110
|
+
end: endFnFactory(),
|
2111
|
+
cancel: endFnFactory()
|
2112
|
+
});
|
2113
|
+
|
2114
|
+
return runner;
|
2115
|
+
|
2116
|
+
function endFnFactory() {
|
2117
|
+
return function() {
|
2118
|
+
forEach(animationRunners, function(runner) {
|
2119
|
+
// at this point we cannot cancel animations for groups just yet. 1.5+
|
2120
|
+
runner.end();
|
2121
|
+
});
|
2122
|
+
};
|
2123
|
+
}
|
2124
|
+
|
2125
|
+
function done(status) {
|
2126
|
+
runner.complete(status);
|
2127
|
+
}
|
2128
|
+
}
|
2129
|
+
};
|
2130
|
+
} else {
|
2131
|
+
return prepareAnimation(animationDetails);
|
2132
|
+
}
|
2133
|
+
};
|
2134
|
+
|
2135
|
+
function prepareAnimation(animationDetails) {
|
2136
|
+
// TODO(matsko): make sure to check for grouped animations and delegate down to normal animations
|
2137
|
+
var element = animationDetails.element;
|
2138
|
+
var event = animationDetails.event;
|
2139
|
+
var options = animationDetails.options;
|
2140
|
+
var classes = animationDetails.classes;
|
2141
|
+
return $$animateJs(element, event, classes, options);
|
2142
|
+
}
|
2143
|
+
}];
|
2144
|
+
}];
|
2145
|
+
|
2146
|
+
var NG_ANIMATE_ATTR_NAME = 'data-ng-animate';
|
2147
|
+
var NG_ANIMATE_PIN_DATA = '$ngAnimatePin';
|
2148
|
+
var $$AnimateQueueProvider = ['$animateProvider', function($animateProvider) {
|
2149
|
+
var PRE_DIGEST_STATE = 1;
|
2150
|
+
var RUNNING_STATE = 2;
|
2151
|
+
var ONE_SPACE = ' ';
|
2152
|
+
|
2153
|
+
var rules = this.rules = {
|
2154
|
+
skip: [],
|
2155
|
+
cancel: [],
|
2156
|
+
join: []
|
2157
|
+
};
|
2158
|
+
|
2159
|
+
function makeTruthyCssClassMap(classString) {
|
2160
|
+
if (!classString) {
|
2161
|
+
return null;
|
2162
|
+
}
|
2163
|
+
|
2164
|
+
var keys = classString.split(ONE_SPACE);
|
2165
|
+
var map = Object.create(null);
|
2166
|
+
|
2167
|
+
forEach(keys, function(key) {
|
2168
|
+
map[key] = true;
|
2169
|
+
});
|
2170
|
+
return map;
|
2171
|
+
}
|
2172
|
+
|
2173
|
+
function hasMatchingClasses(newClassString, currentClassString) {
|
2174
|
+
if (newClassString && currentClassString) {
|
2175
|
+
var currentClassMap = makeTruthyCssClassMap(currentClassString);
|
2176
|
+
return newClassString.split(ONE_SPACE).some(function(className) {
|
2177
|
+
return currentClassMap[className];
|
2178
|
+
});
|
2179
|
+
}
|
2180
|
+
}
|
2181
|
+
|
2182
|
+
function isAllowed(ruleType, element, currentAnimation, previousAnimation) {
|
2183
|
+
return rules[ruleType].some(function(fn) {
|
2184
|
+
return fn(element, currentAnimation, previousAnimation);
|
2185
|
+
});
|
2186
|
+
}
|
2187
|
+
|
2188
|
+
function hasAnimationClasses(animation, and) {
|
2189
|
+
var a = (animation.addClass || '').length > 0;
|
2190
|
+
var b = (animation.removeClass || '').length > 0;
|
2191
|
+
return and ? a && b : a || b;
|
2192
|
+
}
|
2193
|
+
|
2194
|
+
rules.join.push(function(element, newAnimation, currentAnimation) {
|
2195
|
+
// if the new animation is class-based then we can just tack that on
|
2196
|
+
return !newAnimation.structural && hasAnimationClasses(newAnimation);
|
2197
|
+
});
|
2198
|
+
|
2199
|
+
rules.skip.push(function(element, newAnimation, currentAnimation) {
|
2200
|
+
// there is no need to animate anything if no classes are being added and
|
2201
|
+
// there is no structural animation that will be triggered
|
2202
|
+
return !newAnimation.structural && !hasAnimationClasses(newAnimation);
|
2203
|
+
});
|
2204
|
+
|
2205
|
+
rules.skip.push(function(element, newAnimation, currentAnimation) {
|
2206
|
+
// why should we trigger a new structural animation if the element will
|
2207
|
+
// be removed from the DOM anyway?
|
2208
|
+
return currentAnimation.event == 'leave' && newAnimation.structural;
|
2209
|
+
});
|
2210
|
+
|
2211
|
+
rules.skip.push(function(element, newAnimation, currentAnimation) {
|
2212
|
+
// if there is an ongoing current animation then don't even bother running the class-based animation
|
2213
|
+
return currentAnimation.structural && currentAnimation.state === RUNNING_STATE && !newAnimation.structural;
|
2214
|
+
});
|
2215
|
+
|
2216
|
+
rules.cancel.push(function(element, newAnimation, currentAnimation) {
|
2217
|
+
// there can never be two structural animations running at the same time
|
2218
|
+
return currentAnimation.structural && newAnimation.structural;
|
2219
|
+
});
|
2220
|
+
|
2221
|
+
rules.cancel.push(function(element, newAnimation, currentAnimation) {
|
2222
|
+
// if the previous animation is already running, but the new animation will
|
2223
|
+
// be triggered, but the new animation is structural
|
2224
|
+
return currentAnimation.state === RUNNING_STATE && newAnimation.structural;
|
2225
|
+
});
|
2226
|
+
|
2227
|
+
rules.cancel.push(function(element, newAnimation, currentAnimation) {
|
2228
|
+
// cancel the animation if classes added / removed in both animation cancel each other out,
|
2229
|
+
// but only if the current animation isn't structural
|
2230
|
+
|
2231
|
+
if (currentAnimation.structural) return false;
|
2232
|
+
|
2233
|
+
var nA = newAnimation.addClass;
|
2234
|
+
var nR = newAnimation.removeClass;
|
2235
|
+
var cA = currentAnimation.addClass;
|
2236
|
+
var cR = currentAnimation.removeClass;
|
2237
|
+
|
2238
|
+
// early detection to save the global CPU shortage :)
|
2239
|
+
if ((isUndefined(nA) && isUndefined(nR)) || (isUndefined(cA) && isUndefined(cR))) {
|
2240
|
+
return false;
|
2241
|
+
}
|
2242
|
+
|
2243
|
+
return hasMatchingClasses(nA, cR) || hasMatchingClasses(nR, cA);
|
2244
|
+
});
|
2245
|
+
|
2246
|
+
this.$get = ['$$rAF', '$rootScope', '$rootElement', '$document', '$$HashMap',
|
2247
|
+
'$$animation', '$$AnimateRunner', '$templateRequest', '$$jqLite', '$$forceReflow',
|
2248
|
+
function($$rAF, $rootScope, $rootElement, $document, $$HashMap,
|
2249
|
+
$$animation, $$AnimateRunner, $templateRequest, $$jqLite, $$forceReflow) {
|
2250
|
+
|
2251
|
+
var activeAnimationsLookup = new $$HashMap();
|
2252
|
+
var disabledElementsLookup = new $$HashMap();
|
2253
|
+
var animationsEnabled = null;
|
2254
|
+
|
2255
|
+
function postDigestTaskFactory() {
|
2256
|
+
var postDigestCalled = false;
|
2257
|
+
return function(fn) {
|
2258
|
+
// we only issue a call to postDigest before
|
2259
|
+
// it has first passed. This prevents any callbacks
|
2260
|
+
// from not firing once the animation has completed
|
2261
|
+
// since it will be out of the digest cycle.
|
2262
|
+
if (postDigestCalled) {
|
2263
|
+
fn();
|
2264
|
+
} else {
|
2265
|
+
$rootScope.$$postDigest(function() {
|
2266
|
+
postDigestCalled = true;
|
2267
|
+
fn();
|
2268
|
+
});
|
2269
|
+
}
|
2270
|
+
};
|
2271
|
+
}
|
2272
|
+
|
2273
|
+
// Wait until all directive and route-related templates are downloaded and
|
2274
|
+
// compiled. The $templateRequest.totalPendingRequests variable keeps track of
|
2275
|
+
// all of the remote templates being currently downloaded. If there are no
|
2276
|
+
// templates currently downloading then the watcher will still fire anyway.
|
2277
|
+
var deregisterWatch = $rootScope.$watch(
|
2278
|
+
function() { return $templateRequest.totalPendingRequests === 0; },
|
2279
|
+
function(isEmpty) {
|
2280
|
+
if (!isEmpty) return;
|
2281
|
+
deregisterWatch();
|
2282
|
+
|
2283
|
+
// Now that all templates have been downloaded, $animate will wait until
|
2284
|
+
// the post digest queue is empty before enabling animations. By having two
|
2285
|
+
// calls to $postDigest calls we can ensure that the flag is enabled at the
|
2286
|
+
// very end of the post digest queue. Since all of the animations in $animate
|
2287
|
+
// use $postDigest, it's important that the code below executes at the end.
|
2288
|
+
// This basically means that the page is fully downloaded and compiled before
|
2289
|
+
// any animations are triggered.
|
2290
|
+
$rootScope.$$postDigest(function() {
|
2291
|
+
$rootScope.$$postDigest(function() {
|
2292
|
+
// we check for null directly in the event that the application already called
|
2293
|
+
// .enabled() with whatever arguments that it provided it with
|
2294
|
+
if (animationsEnabled === null) {
|
2295
|
+
animationsEnabled = true;
|
2296
|
+
}
|
2297
|
+
});
|
2298
|
+
});
|
2299
|
+
}
|
2300
|
+
);
|
2301
|
+
|
2302
|
+
var callbackRegistry = {};
|
2303
|
+
|
2304
|
+
// remember that the classNameFilter is set during the provider/config
|
2305
|
+
// stage therefore we can optimize here and setup a helper function
|
2306
|
+
var classNameFilter = $animateProvider.classNameFilter();
|
2307
|
+
var isAnimatableClassName = !classNameFilter
|
2308
|
+
? function() { return true; }
|
2309
|
+
: function(className) {
|
2310
|
+
return classNameFilter.test(className);
|
2311
|
+
};
|
2312
|
+
|
2313
|
+
var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
|
2314
|
+
|
2315
|
+
function normalizeAnimationDetails(element, animation) {
|
2316
|
+
return mergeAnimationDetails(element, animation, {});
|
2317
|
+
}
|
2318
|
+
|
2319
|
+
// IE9-11 has no method "contains" in SVG element and in Node.prototype. Bug #10259.
|
2320
|
+
var contains = window.Node.prototype.contains || function(arg) {
|
2321
|
+
// jshint bitwise: false
|
2322
|
+
return this === arg || !!(this.compareDocumentPosition(arg) & 16);
|
2323
|
+
// jshint bitwise: true
|
2324
|
+
};
|
2325
|
+
|
2326
|
+
function findCallbacks(parent, element, event) {
|
2327
|
+
var targetNode = getDomNode(element);
|
2328
|
+
var targetParentNode = getDomNode(parent);
|
2329
|
+
|
2330
|
+
var matches = [];
|
2331
|
+
var entries = callbackRegistry[event];
|
2332
|
+
if (entries) {
|
2333
|
+
forEach(entries, function(entry) {
|
2334
|
+
if (contains.call(entry.node, targetNode)) {
|
2335
|
+
matches.push(entry.callback);
|
2336
|
+
} else if (event === 'leave' && contains.call(entry.node, targetParentNode)) {
|
2337
|
+
matches.push(entry.callback);
|
2338
|
+
}
|
2339
|
+
});
|
2340
|
+
}
|
2341
|
+
|
2342
|
+
return matches;
|
2343
|
+
}
|
2344
|
+
|
2345
|
+
function filterFromRegistry(list, matchContainer, matchCallback) {
|
2346
|
+
var containerNode = extractElementNode(matchContainer);
|
2347
|
+
return list.filter(function(entry) {
|
2348
|
+
var isMatch = entry.node === containerNode &&
|
2349
|
+
(!matchCallback || entry.callback === matchCallback);
|
2350
|
+
return !isMatch;
|
2351
|
+
});
|
2352
|
+
}
|
2353
|
+
|
2354
|
+
function cleanupEventListeners(phase, element) {
|
2355
|
+
if (phase === 'close' && !element[0].parentNode) {
|
2356
|
+
// If the element is not attached to a parentNode, it has been removed by
|
2357
|
+
// the domOperation, and we can safely remove the event callbacks
|
2358
|
+
$animate.off(element);
|
2359
|
+
}
|
2360
|
+
}
|
2361
|
+
|
2362
|
+
var $animate = {
|
2363
|
+
on: function(event, container, callback) {
|
2364
|
+
var node = extractElementNode(container);
|
2365
|
+
callbackRegistry[event] = callbackRegistry[event] || [];
|
2366
|
+
callbackRegistry[event].push({
|
2367
|
+
node: node,
|
2368
|
+
callback: callback
|
2369
|
+
});
|
2370
|
+
|
2371
|
+
// Remove the callback when the element is removed from the DOM
|
2372
|
+
jqLite(container).on('$destroy', function() {
|
2373
|
+
var animationDetails = activeAnimationsLookup.get(node);
|
2374
|
+
|
2375
|
+
if (!animationDetails) {
|
2376
|
+
// If there's an animation ongoing, the callback calling code will remove
|
2377
|
+
// the event listeners. If we'd remove here, the callbacks would be removed
|
2378
|
+
// before the animation ends
|
2379
|
+
$animate.off(event, container, callback);
|
2380
|
+
}
|
2381
|
+
});
|
2382
|
+
},
|
2383
|
+
|
2384
|
+
off: function(event, container, callback) {
|
2385
|
+
if (arguments.length === 1 && !angular.isString(arguments[0])) {
|
2386
|
+
container = arguments[0];
|
2387
|
+
for (var eventType in callbackRegistry) {
|
2388
|
+
callbackRegistry[eventType] = filterFromRegistry(callbackRegistry[eventType], container);
|
2389
|
+
}
|
2390
|
+
|
2391
|
+
return;
|
2392
|
+
}
|
2393
|
+
|
2394
|
+
var entries = callbackRegistry[event];
|
2395
|
+
if (!entries) return;
|
2396
|
+
|
2397
|
+
callbackRegistry[event] = arguments.length === 1
|
2398
|
+
? null
|
2399
|
+
: filterFromRegistry(entries, container, callback);
|
2400
|
+
},
|
2401
|
+
|
2402
|
+
pin: function(element, parentElement) {
|
2403
|
+
assertArg(isElement(element), 'element', 'not an element');
|
2404
|
+
assertArg(isElement(parentElement), 'parentElement', 'not an element');
|
2405
|
+
element.data(NG_ANIMATE_PIN_DATA, parentElement);
|
2406
|
+
},
|
2407
|
+
|
2408
|
+
push: function(element, event, options, domOperation) {
|
2409
|
+
options = options || {};
|
2410
|
+
options.domOperation = domOperation;
|
2411
|
+
return queueAnimation(element, event, options);
|
2412
|
+
},
|
2413
|
+
|
2414
|
+
// this method has four signatures:
|
2415
|
+
// () - global getter
|
2416
|
+
// (bool) - global setter
|
2417
|
+
// (element) - element getter
|
2418
|
+
// (element, bool) - element setter<F37>
|
2419
|
+
enabled: function(element, bool) {
|
2420
|
+
var argCount = arguments.length;
|
2421
|
+
|
2422
|
+
if (argCount === 0) {
|
2423
|
+
// () - Global getter
|
2424
|
+
bool = !!animationsEnabled;
|
2425
|
+
} else {
|
2426
|
+
var hasElement = isElement(element);
|
2427
|
+
|
2428
|
+
if (!hasElement) {
|
2429
|
+
// (bool) - Global setter
|
2430
|
+
bool = animationsEnabled = !!element;
|
2431
|
+
} else {
|
2432
|
+
var node = getDomNode(element);
|
2433
|
+
var recordExists = disabledElementsLookup.get(node);
|
2434
|
+
|
2435
|
+
if (argCount === 1) {
|
2436
|
+
// (element) - Element getter
|
2437
|
+
bool = !recordExists;
|
2438
|
+
} else {
|
2439
|
+
// (element, bool) - Element setter
|
2440
|
+
disabledElementsLookup.put(node, !bool);
|
2441
|
+
}
|
2442
|
+
}
|
2443
|
+
}
|
2444
|
+
|
2445
|
+
return bool;
|
2446
|
+
}
|
2447
|
+
};
|
2448
|
+
|
2449
|
+
return $animate;
|
2450
|
+
|
2451
|
+
function queueAnimation(element, event, initialOptions) {
|
2452
|
+
// we always make a copy of the options since
|
2453
|
+
// there should never be any side effects on
|
2454
|
+
// the input data when running `$animateCss`.
|
2455
|
+
var options = copy(initialOptions);
|
2456
|
+
|
2457
|
+
var node, parent;
|
2458
|
+
element = stripCommentsFromElement(element);
|
2459
|
+
if (element) {
|
2460
|
+
node = getDomNode(element);
|
2461
|
+
parent = element.parent();
|
2462
|
+
}
|
2463
|
+
|
2464
|
+
options = prepareAnimationOptions(options);
|
2465
|
+
|
2466
|
+
// we create a fake runner with a working promise.
|
2467
|
+
// These methods will become available after the digest has passed
|
2468
|
+
var runner = new $$AnimateRunner();
|
2469
|
+
|
2470
|
+
// this is used to trigger callbacks in postDigest mode
|
2471
|
+
var runInNextPostDigestOrNow = postDigestTaskFactory();
|
2472
|
+
|
2473
|
+
if (isArray(options.addClass)) {
|
2474
|
+
options.addClass = options.addClass.join(' ');
|
2475
|
+
}
|
2476
|
+
|
2477
|
+
if (options.addClass && !isString(options.addClass)) {
|
2478
|
+
options.addClass = null;
|
2479
|
+
}
|
2480
|
+
|
2481
|
+
if (isArray(options.removeClass)) {
|
2482
|
+
options.removeClass = options.removeClass.join(' ');
|
2483
|
+
}
|
2484
|
+
|
2485
|
+
if (options.removeClass && !isString(options.removeClass)) {
|
2486
|
+
options.removeClass = null;
|
2487
|
+
}
|
2488
|
+
|
2489
|
+
if (options.from && !isObject(options.from)) {
|
2490
|
+
options.from = null;
|
2491
|
+
}
|
2492
|
+
|
2493
|
+
if (options.to && !isObject(options.to)) {
|
2494
|
+
options.to = null;
|
2495
|
+
}
|
2496
|
+
|
2497
|
+
// there are situations where a directive issues an animation for
|
2498
|
+
// a jqLite wrapper that contains only comment nodes... If this
|
2499
|
+
// happens then there is no way we can perform an animation
|
2500
|
+
if (!node) {
|
2501
|
+
close();
|
2502
|
+
return runner;
|
2503
|
+
}
|
2504
|
+
|
2505
|
+
var className = [node.className, options.addClass, options.removeClass].join(' ');
|
2506
|
+
if (!isAnimatableClassName(className)) {
|
2507
|
+
close();
|
2508
|
+
return runner;
|
2509
|
+
}
|
2510
|
+
|
2511
|
+
var isStructural = ['enter', 'move', 'leave'].indexOf(event) >= 0;
|
2512
|
+
|
2513
|
+
var documentHidden = $document[0].hidden;
|
2514
|
+
|
2515
|
+
// this is a hard disable of all animations for the application or on
|
2516
|
+
// the element itself, therefore there is no need to continue further
|
2517
|
+
// past this point if not enabled
|
2518
|
+
// Animations are also disabled if the document is currently hidden (page is not visible
|
2519
|
+
// to the user), because browsers slow down or do not flush calls to requestAnimationFrame
|
2520
|
+
var skipAnimations = !animationsEnabled || documentHidden || disabledElementsLookup.get(node);
|
2521
|
+
var existingAnimation = (!skipAnimations && activeAnimationsLookup.get(node)) || {};
|
2522
|
+
var hasExistingAnimation = !!existingAnimation.state;
|
2523
|
+
|
2524
|
+
// there is no point in traversing the same collection of parent ancestors if a followup
|
2525
|
+
// animation will be run on the same element that already did all that checking work
|
2526
|
+
if (!skipAnimations && (!hasExistingAnimation || existingAnimation.state != PRE_DIGEST_STATE)) {
|
2527
|
+
skipAnimations = !areAnimationsAllowed(element, parent, event);
|
2528
|
+
}
|
2529
|
+
|
2530
|
+
if (skipAnimations) {
|
2531
|
+
// Callbacks should fire even if the document is hidden (regression fix for issue #14120)
|
2532
|
+
if (documentHidden) notifyProgress(runner, event, 'start');
|
2533
|
+
close();
|
2534
|
+
if (documentHidden) notifyProgress(runner, event, 'close');
|
2535
|
+
return runner;
|
2536
|
+
}
|
2537
|
+
|
2538
|
+
if (isStructural) {
|
2539
|
+
closeChildAnimations(element);
|
2540
|
+
}
|
2541
|
+
|
2542
|
+
var newAnimation = {
|
2543
|
+
structural: isStructural,
|
2544
|
+
element: element,
|
2545
|
+
event: event,
|
2546
|
+
addClass: options.addClass,
|
2547
|
+
removeClass: options.removeClass,
|
2548
|
+
close: close,
|
2549
|
+
options: options,
|
2550
|
+
runner: runner
|
2551
|
+
};
|
2552
|
+
|
2553
|
+
if (hasExistingAnimation) {
|
2554
|
+
var skipAnimationFlag = isAllowed('skip', element, newAnimation, existingAnimation);
|
2555
|
+
if (skipAnimationFlag) {
|
2556
|
+
if (existingAnimation.state === RUNNING_STATE) {
|
2557
|
+
close();
|
2558
|
+
return runner;
|
2559
|
+
} else {
|
2560
|
+
mergeAnimationDetails(element, existingAnimation, newAnimation);
|
2561
|
+
return existingAnimation.runner;
|
2562
|
+
}
|
2563
|
+
}
|
2564
|
+
var cancelAnimationFlag = isAllowed('cancel', element, newAnimation, existingAnimation);
|
2565
|
+
if (cancelAnimationFlag) {
|
2566
|
+
if (existingAnimation.state === RUNNING_STATE) {
|
2567
|
+
// this will end the animation right away and it is safe
|
2568
|
+
// to do so since the animation is already running and the
|
2569
|
+
// runner callback code will run in async
|
2570
|
+
existingAnimation.runner.end();
|
2571
|
+
} else if (existingAnimation.structural) {
|
2572
|
+
// this means that the animation is queued into a digest, but
|
2573
|
+
// hasn't started yet. Therefore it is safe to run the close
|
2574
|
+
// method which will call the runner methods in async.
|
2575
|
+
existingAnimation.close();
|
2576
|
+
} else {
|
2577
|
+
// this will merge the new animation options into existing animation options
|
2578
|
+
mergeAnimationDetails(element, existingAnimation, newAnimation);
|
2579
|
+
|
2580
|
+
return existingAnimation.runner;
|
2581
|
+
}
|
2582
|
+
} else {
|
2583
|
+
// a joined animation means that this animation will take over the existing one
|
2584
|
+
// so an example would involve a leave animation taking over an enter. Then when
|
2585
|
+
// the postDigest kicks in the enter will be ignored.
|
2586
|
+
var joinAnimationFlag = isAllowed('join', element, newAnimation, existingAnimation);
|
2587
|
+
if (joinAnimationFlag) {
|
2588
|
+
if (existingAnimation.state === RUNNING_STATE) {
|
2589
|
+
normalizeAnimationDetails(element, newAnimation);
|
2590
|
+
} else {
|
2591
|
+
applyGeneratedPreparationClasses(element, isStructural ? event : null, options);
|
2592
|
+
|
2593
|
+
event = newAnimation.event = existingAnimation.event;
|
2594
|
+
options = mergeAnimationDetails(element, existingAnimation, newAnimation);
|
2595
|
+
|
2596
|
+
//we return the same runner since only the option values of this animation will
|
2597
|
+
//be fed into the `existingAnimation`.
|
2598
|
+
return existingAnimation.runner;
|
2599
|
+
}
|
2600
|
+
}
|
2601
|
+
}
|
2602
|
+
} else {
|
2603
|
+
// normalization in this case means that it removes redundant CSS classes that
|
2604
|
+
// already exist (addClass) or do not exist (removeClass) on the element
|
2605
|
+
normalizeAnimationDetails(element, newAnimation);
|
2606
|
+
}
|
2607
|
+
|
2608
|
+
// when the options are merged and cleaned up we may end up not having to do
|
2609
|
+
// an animation at all, therefore we should check this before issuing a post
|
2610
|
+
// digest callback. Structural animations will always run no matter what.
|
2611
|
+
var isValidAnimation = newAnimation.structural;
|
2612
|
+
if (!isValidAnimation) {
|
2613
|
+
// animate (from/to) can be quickly checked first, otherwise we check if any classes are present
|
2614
|
+
isValidAnimation = (newAnimation.event === 'animate' && Object.keys(newAnimation.options.to || {}).length > 0)
|
2615
|
+
|| hasAnimationClasses(newAnimation);
|
2616
|
+
}
|
2617
|
+
|
2618
|
+
if (!isValidAnimation) {
|
2619
|
+
close();
|
2620
|
+
clearElementAnimationState(element);
|
2621
|
+
return runner;
|
2622
|
+
}
|
2623
|
+
|
2624
|
+
// the counter keeps track of cancelled animations
|
2625
|
+
var counter = (existingAnimation.counter || 0) + 1;
|
2626
|
+
newAnimation.counter = counter;
|
2627
|
+
|
2628
|
+
markElementAnimationState(element, PRE_DIGEST_STATE, newAnimation);
|
2629
|
+
|
2630
|
+
$rootScope.$$postDigest(function() {
|
2631
|
+
var animationDetails = activeAnimationsLookup.get(node);
|
2632
|
+
var animationCancelled = !animationDetails;
|
2633
|
+
animationDetails = animationDetails || {};
|
2634
|
+
|
2635
|
+
// if addClass/removeClass is called before something like enter then the
|
2636
|
+
// registered parent element may not be present. The code below will ensure
|
2637
|
+
// that a final value for parent element is obtained
|
2638
|
+
var parentElement = element.parent() || [];
|
2639
|
+
|
2640
|
+
// animate/structural/class-based animations all have requirements. Otherwise there
|
2641
|
+
// is no point in performing an animation. The parent node must also be set.
|
2642
|
+
var isValidAnimation = parentElement.length > 0
|
2643
|
+
&& (animationDetails.event === 'animate'
|
2644
|
+
|| animationDetails.structural
|
2645
|
+
|| hasAnimationClasses(animationDetails));
|
2646
|
+
|
2647
|
+
// this means that the previous animation was cancelled
|
2648
|
+
// even if the follow-up animation is the same event
|
2649
|
+
if (animationCancelled || animationDetails.counter !== counter || !isValidAnimation) {
|
2650
|
+
// if another animation did not take over then we need
|
2651
|
+
// to make sure that the domOperation and options are
|
2652
|
+
// handled accordingly
|
2653
|
+
if (animationCancelled) {
|
2654
|
+
applyAnimationClasses(element, options);
|
2655
|
+
applyAnimationStyles(element, options);
|
2656
|
+
}
|
2657
|
+
|
2658
|
+
// if the event changed from something like enter to leave then we do
|
2659
|
+
// it, otherwise if it's the same then the end result will be the same too
|
2660
|
+
if (animationCancelled || (isStructural && animationDetails.event !== event)) {
|
2661
|
+
options.domOperation();
|
2662
|
+
runner.end();
|
2663
|
+
}
|
2664
|
+
|
2665
|
+
// in the event that the element animation was not cancelled or a follow-up animation
|
2666
|
+
// isn't allowed to animate from here then we need to clear the state of the element
|
2667
|
+
// so that any future animations won't read the expired animation data.
|
2668
|
+
if (!isValidAnimation) {
|
2669
|
+
clearElementAnimationState(element);
|
2670
|
+
}
|
2671
|
+
|
2672
|
+
return;
|
2673
|
+
}
|
2674
|
+
|
2675
|
+
// this combined multiple class to addClass / removeClass into a setClass event
|
2676
|
+
// so long as a structural event did not take over the animation
|
2677
|
+
event = !animationDetails.structural && hasAnimationClasses(animationDetails, true)
|
2678
|
+
? 'setClass'
|
2679
|
+
: animationDetails.event;
|
2680
|
+
|
2681
|
+
markElementAnimationState(element, RUNNING_STATE);
|
2682
|
+
var realRunner = $$animation(element, event, animationDetails.options);
|
2683
|
+
|
2684
|
+
// this will update the runner's flow-control events based on
|
2685
|
+
// the `realRunner` object.
|
2686
|
+
runner.setHost(realRunner);
|
2687
|
+
notifyProgress(runner, event, 'start', {});
|
2688
|
+
|
2689
|
+
realRunner.done(function(status) {
|
2690
|
+
close(!status);
|
2691
|
+
var animationDetails = activeAnimationsLookup.get(node);
|
2692
|
+
if (animationDetails && animationDetails.counter === counter) {
|
2693
|
+
clearElementAnimationState(getDomNode(element));
|
2694
|
+
}
|
2695
|
+
notifyProgress(runner, event, 'close', {});
|
2696
|
+
});
|
2697
|
+
});
|
2698
|
+
|
2699
|
+
return runner;
|
2700
|
+
|
2701
|
+
function notifyProgress(runner, event, phase, data) {
|
2702
|
+
runInNextPostDigestOrNow(function() {
|
2703
|
+
var callbacks = findCallbacks(parent, element, event);
|
2704
|
+
if (callbacks.length) {
|
2705
|
+
// do not optimize this call here to RAF because
|
2706
|
+
// we don't know how heavy the callback code here will
|
2707
|
+
// be and if this code is buffered then this can
|
2708
|
+
// lead to a performance regression.
|
2709
|
+
$$rAF(function() {
|
2710
|
+
forEach(callbacks, function(callback) {
|
2711
|
+
callback(element, phase, data);
|
2712
|
+
});
|
2713
|
+
cleanupEventListeners(phase, element);
|
2714
|
+
});
|
2715
|
+
} else {
|
2716
|
+
cleanupEventListeners(phase, element);
|
2717
|
+
}
|
2718
|
+
});
|
2719
|
+
runner.progress(event, phase, data);
|
2720
|
+
}
|
2721
|
+
|
2722
|
+
function close(reject) { // jshint ignore:line
|
2723
|
+
clearGeneratedClasses(element, options);
|
2724
|
+
applyAnimationClasses(element, options);
|
2725
|
+
applyAnimationStyles(element, options);
|
2726
|
+
options.domOperation();
|
2727
|
+
runner.complete(!reject);
|
2728
|
+
}
|
2729
|
+
}
|
2730
|
+
|
2731
|
+
function closeChildAnimations(element) {
|
2732
|
+
var node = getDomNode(element);
|
2733
|
+
var children = node.querySelectorAll('[' + NG_ANIMATE_ATTR_NAME + ']');
|
2734
|
+
forEach(children, function(child) {
|
2735
|
+
var state = parseInt(child.getAttribute(NG_ANIMATE_ATTR_NAME));
|
2736
|
+
var animationDetails = activeAnimationsLookup.get(child);
|
2737
|
+
if (animationDetails) {
|
2738
|
+
switch (state) {
|
2739
|
+
case RUNNING_STATE:
|
2740
|
+
animationDetails.runner.end();
|
2741
|
+
/* falls through */
|
2742
|
+
case PRE_DIGEST_STATE:
|
2743
|
+
activeAnimationsLookup.remove(child);
|
2744
|
+
break;
|
2745
|
+
}
|
2746
|
+
}
|
2747
|
+
});
|
2748
|
+
}
|
2749
|
+
|
2750
|
+
function clearElementAnimationState(element) {
|
2751
|
+
var node = getDomNode(element);
|
2752
|
+
node.removeAttribute(NG_ANIMATE_ATTR_NAME);
|
2753
|
+
activeAnimationsLookup.remove(node);
|
2754
|
+
}
|
2755
|
+
|
2756
|
+
function isMatchingElement(nodeOrElmA, nodeOrElmB) {
|
2757
|
+
return getDomNode(nodeOrElmA) === getDomNode(nodeOrElmB);
|
2758
|
+
}
|
2759
|
+
|
2760
|
+
/**
|
2761
|
+
* This fn returns false if any of the following is true:
|
2762
|
+
* a) animations on any parent element are disabled, and animations on the element aren't explicitly allowed
|
2763
|
+
* b) a parent element has an ongoing structural animation, and animateChildren is false
|
2764
|
+
* c) the element is not a child of the body
|
2765
|
+
* d) the element is not a child of the $rootElement
|
2766
|
+
*/
|
2767
|
+
function areAnimationsAllowed(element, parentElement, event) {
|
2768
|
+
var bodyElement = jqLite($document[0].body);
|
2769
|
+
var bodyElementDetected = isMatchingElement(element, bodyElement) || element[0].nodeName === 'HTML';
|
2770
|
+
var rootElementDetected = isMatchingElement(element, $rootElement);
|
2771
|
+
var parentAnimationDetected = false;
|
2772
|
+
var animateChildren;
|
2773
|
+
var elementDisabled = disabledElementsLookup.get(getDomNode(element));
|
2774
|
+
|
2775
|
+
var parentHost = jqLite.data(element[0], NG_ANIMATE_PIN_DATA);
|
2776
|
+
if (parentHost) {
|
2777
|
+
parentElement = parentHost;
|
2778
|
+
}
|
2779
|
+
|
2780
|
+
parentElement = getDomNode(parentElement);
|
2781
|
+
|
2782
|
+
while (parentElement) {
|
2783
|
+
if (!rootElementDetected) {
|
2784
|
+
// angular doesn't want to attempt to animate elements outside of the application
|
2785
|
+
// therefore we need to ensure that the rootElement is an ancestor of the current element
|
2786
|
+
rootElementDetected = isMatchingElement(parentElement, $rootElement);
|
2787
|
+
}
|
2788
|
+
|
2789
|
+
if (parentElement.nodeType !== ELEMENT_NODE) {
|
2790
|
+
// no point in inspecting the #document element
|
2791
|
+
break;
|
2792
|
+
}
|
2793
|
+
|
2794
|
+
var details = activeAnimationsLookup.get(parentElement) || {};
|
2795
|
+
// either an enter, leave or move animation will commence
|
2796
|
+
// therefore we can't allow any animations to take place
|
2797
|
+
// but if a parent animation is class-based then that's ok
|
2798
|
+
if (!parentAnimationDetected) {
|
2799
|
+
var parentElementDisabled = disabledElementsLookup.get(parentElement);
|
2800
|
+
|
2801
|
+
if (parentElementDisabled === true && elementDisabled !== false) {
|
2802
|
+
// disable animations if the user hasn't explicitly enabled animations on the
|
2803
|
+
// current element
|
2804
|
+
elementDisabled = true;
|
2805
|
+
// element is disabled via parent element, no need to check anything else
|
2806
|
+
break;
|
2807
|
+
} else if (parentElementDisabled === false) {
|
2808
|
+
elementDisabled = false;
|
2809
|
+
}
|
2810
|
+
parentAnimationDetected = details.structural;
|
2811
|
+
}
|
2812
|
+
|
2813
|
+
if (isUndefined(animateChildren) || animateChildren === true) {
|
2814
|
+
var value = jqLite.data(parentElement, NG_ANIMATE_CHILDREN_DATA);
|
2815
|
+
if (isDefined(value)) {
|
2816
|
+
animateChildren = value;
|
2817
|
+
}
|
2818
|
+
}
|
2819
|
+
|
2820
|
+
// there is no need to continue traversing at this point
|
2821
|
+
if (parentAnimationDetected && animateChildren === false) break;
|
2822
|
+
|
2823
|
+
if (!bodyElementDetected) {
|
2824
|
+
// we also need to ensure that the element is or will be a part of the body element
|
2825
|
+
// otherwise it is pointless to even issue an animation to be rendered
|
2826
|
+
bodyElementDetected = isMatchingElement(parentElement, bodyElement);
|
2827
|
+
}
|
2828
|
+
|
2829
|
+
if (bodyElementDetected && rootElementDetected) {
|
2830
|
+
// If both body and root have been found, any other checks are pointless,
|
2831
|
+
// as no animation data should live outside the application
|
2832
|
+
break;
|
2833
|
+
}
|
2834
|
+
|
2835
|
+
if (!rootElementDetected) {
|
2836
|
+
// If no rootElement is detected, check if the parentElement is pinned to another element
|
2837
|
+
parentHost = jqLite.data(parentElement, NG_ANIMATE_PIN_DATA);
|
2838
|
+
if (parentHost) {
|
2839
|
+
// The pin target element becomes the next parent element
|
2840
|
+
parentElement = getDomNode(parentHost);
|
2841
|
+
continue;
|
2842
|
+
}
|
2843
|
+
}
|
2844
|
+
|
2845
|
+
parentElement = parentElement.parentNode;
|
2846
|
+
}
|
2847
|
+
|
2848
|
+
var allowAnimation = (!parentAnimationDetected || animateChildren) && elementDisabled !== true;
|
2849
|
+
return allowAnimation && rootElementDetected && bodyElementDetected;
|
2850
|
+
}
|
2851
|
+
|
2852
|
+
function markElementAnimationState(element, state, details) {
|
2853
|
+
details = details || {};
|
2854
|
+
details.state = state;
|
2855
|
+
|
2856
|
+
var node = getDomNode(element);
|
2857
|
+
node.setAttribute(NG_ANIMATE_ATTR_NAME, state);
|
2858
|
+
|
2859
|
+
var oldValue = activeAnimationsLookup.get(node);
|
2860
|
+
var newValue = oldValue
|
2861
|
+
? extend(oldValue, details)
|
2862
|
+
: details;
|
2863
|
+
activeAnimationsLookup.put(node, newValue);
|
2864
|
+
}
|
2865
|
+
}];
|
2866
|
+
}];
|
2867
|
+
|
2868
|
+
var $$AnimationProvider = ['$animateProvider', function($animateProvider) {
|
2869
|
+
var NG_ANIMATE_REF_ATTR = 'ng-animate-ref';
|
2870
|
+
|
2871
|
+
var drivers = this.drivers = [];
|
2872
|
+
|
2873
|
+
var RUNNER_STORAGE_KEY = '$$animationRunner';
|
2874
|
+
|
2875
|
+
function setRunner(element, runner) {
|
2876
|
+
element.data(RUNNER_STORAGE_KEY, runner);
|
2877
|
+
}
|
2878
|
+
|
2879
|
+
function removeRunner(element) {
|
2880
|
+
element.removeData(RUNNER_STORAGE_KEY);
|
2881
|
+
}
|
2882
|
+
|
2883
|
+
function getRunner(element) {
|
2884
|
+
return element.data(RUNNER_STORAGE_KEY);
|
2885
|
+
}
|
2886
|
+
|
2887
|
+
this.$get = ['$$jqLite', '$rootScope', '$injector', '$$AnimateRunner', '$$HashMap', '$$rAFScheduler',
|
2888
|
+
function($$jqLite, $rootScope, $injector, $$AnimateRunner, $$HashMap, $$rAFScheduler) {
|
2889
|
+
|
2890
|
+
var animationQueue = [];
|
2891
|
+
var applyAnimationClasses = applyAnimationClassesFactory($$jqLite);
|
2892
|
+
|
2893
|
+
function sortAnimations(animations) {
|
2894
|
+
var tree = { children: [] };
|
2895
|
+
var i, lookup = new $$HashMap();
|
2896
|
+
|
2897
|
+
// this is done first beforehand so that the hashmap
|
2898
|
+
// is filled with a list of the elements that will be animated
|
2899
|
+
for (i = 0; i < animations.length; i++) {
|
2900
|
+
var animation = animations[i];
|
2901
|
+
lookup.put(animation.domNode, animations[i] = {
|
2902
|
+
domNode: animation.domNode,
|
2903
|
+
fn: animation.fn,
|
2904
|
+
children: []
|
2905
|
+
});
|
2906
|
+
}
|
2907
|
+
|
2908
|
+
for (i = 0; i < animations.length; i++) {
|
2909
|
+
processNode(animations[i]);
|
2910
|
+
}
|
2911
|
+
|
2912
|
+
return flatten(tree);
|
2913
|
+
|
2914
|
+
function processNode(entry) {
|
2915
|
+
if (entry.processed) return entry;
|
2916
|
+
entry.processed = true;
|
2917
|
+
|
2918
|
+
var elementNode = entry.domNode;
|
2919
|
+
var parentNode = elementNode.parentNode;
|
2920
|
+
lookup.put(elementNode, entry);
|
2921
|
+
|
2922
|
+
var parentEntry;
|
2923
|
+
while (parentNode) {
|
2924
|
+
parentEntry = lookup.get(parentNode);
|
2925
|
+
if (parentEntry) {
|
2926
|
+
if (!parentEntry.processed) {
|
2927
|
+
parentEntry = processNode(parentEntry);
|
2928
|
+
}
|
2929
|
+
break;
|
2930
|
+
}
|
2931
|
+
parentNode = parentNode.parentNode;
|
2932
|
+
}
|
2933
|
+
|
2934
|
+
(parentEntry || tree).children.push(entry);
|
2935
|
+
return entry;
|
2936
|
+
}
|
2937
|
+
|
2938
|
+
function flatten(tree) {
|
2939
|
+
var result = [];
|
2940
|
+
var queue = [];
|
2941
|
+
var i;
|
2942
|
+
|
2943
|
+
for (i = 0; i < tree.children.length; i++) {
|
2944
|
+
queue.push(tree.children[i]);
|
2945
|
+
}
|
2946
|
+
|
2947
|
+
var remainingLevelEntries = queue.length;
|
2948
|
+
var nextLevelEntries = 0;
|
2949
|
+
var row = [];
|
2950
|
+
|
2951
|
+
for (i = 0; i < queue.length; i++) {
|
2952
|
+
var entry = queue[i];
|
2953
|
+
if (remainingLevelEntries <= 0) {
|
2954
|
+
remainingLevelEntries = nextLevelEntries;
|
2955
|
+
nextLevelEntries = 0;
|
2956
|
+
result.push(row);
|
2957
|
+
row = [];
|
2958
|
+
}
|
2959
|
+
row.push(entry.fn);
|
2960
|
+
entry.children.forEach(function(childEntry) {
|
2961
|
+
nextLevelEntries++;
|
2962
|
+
queue.push(childEntry);
|
2963
|
+
});
|
2964
|
+
remainingLevelEntries--;
|
2965
|
+
}
|
2966
|
+
|
2967
|
+
if (row.length) {
|
2968
|
+
result.push(row);
|
2969
|
+
}
|
2970
|
+
|
2971
|
+
return result;
|
2972
|
+
}
|
2973
|
+
}
|
2974
|
+
|
2975
|
+
// TODO(matsko): document the signature in a better way
|
2976
|
+
return function(element, event, options) {
|
2977
|
+
options = prepareAnimationOptions(options);
|
2978
|
+
var isStructural = ['enter', 'move', 'leave'].indexOf(event) >= 0;
|
2979
|
+
|
2980
|
+
// there is no animation at the current moment, however
|
2981
|
+
// these runner methods will get later updated with the
|
2982
|
+
// methods leading into the driver's end/cancel methods
|
2983
|
+
// for now they just stop the animation from starting
|
2984
|
+
var runner = new $$AnimateRunner({
|
2985
|
+
end: function() { close(); },
|
2986
|
+
cancel: function() { close(true); }
|
2987
|
+
});
|
2988
|
+
|
2989
|
+
if (!drivers.length) {
|
2990
|
+
close();
|
2991
|
+
return runner;
|
2992
|
+
}
|
2993
|
+
|
2994
|
+
setRunner(element, runner);
|
2995
|
+
|
2996
|
+
var classes = mergeClasses(element.attr('class'), mergeClasses(options.addClass, options.removeClass));
|
2997
|
+
var tempClasses = options.tempClasses;
|
2998
|
+
if (tempClasses) {
|
2999
|
+
classes += ' ' + tempClasses;
|
3000
|
+
options.tempClasses = null;
|
3001
|
+
}
|
3002
|
+
|
3003
|
+
var prepareClassName;
|
3004
|
+
if (isStructural) {
|
3005
|
+
prepareClassName = 'ng-' + event + PREPARE_CLASS_SUFFIX;
|
3006
|
+
$$jqLite.addClass(element, prepareClassName);
|
3007
|
+
}
|
3008
|
+
|
3009
|
+
animationQueue.push({
|
3010
|
+
// this data is used by the postDigest code and passed into
|
3011
|
+
// the driver step function
|
3012
|
+
element: element,
|
3013
|
+
classes: classes,
|
3014
|
+
event: event,
|
3015
|
+
structural: isStructural,
|
3016
|
+
options: options,
|
3017
|
+
beforeStart: beforeStart,
|
3018
|
+
close: close
|
3019
|
+
});
|
3020
|
+
|
3021
|
+
element.on('$destroy', handleDestroyedElement);
|
3022
|
+
|
3023
|
+
// we only want there to be one function called within the post digest
|
3024
|
+
// block. This way we can group animations for all the animations that
|
3025
|
+
// were apart of the same postDigest flush call.
|
3026
|
+
if (animationQueue.length > 1) return runner;
|
3027
|
+
|
3028
|
+
$rootScope.$$postDigest(function() {
|
3029
|
+
var animations = [];
|
3030
|
+
forEach(animationQueue, function(entry) {
|
3031
|
+
// the element was destroyed early on which removed the runner
|
3032
|
+
// form its storage. This means we can't animate this element
|
3033
|
+
// at all and it already has been closed due to destruction.
|
3034
|
+
if (getRunner(entry.element)) {
|
3035
|
+
animations.push(entry);
|
3036
|
+
} else {
|
3037
|
+
entry.close();
|
3038
|
+
}
|
3039
|
+
});
|
3040
|
+
|
3041
|
+
// now any future animations will be in another postDigest
|
3042
|
+
animationQueue.length = 0;
|
3043
|
+
|
3044
|
+
var groupedAnimations = groupAnimations(animations);
|
3045
|
+
var toBeSortedAnimations = [];
|
3046
|
+
|
3047
|
+
forEach(groupedAnimations, function(animationEntry) {
|
3048
|
+
toBeSortedAnimations.push({
|
3049
|
+
domNode: getDomNode(animationEntry.from ? animationEntry.from.element : animationEntry.element),
|
3050
|
+
fn: function triggerAnimationStart() {
|
3051
|
+
// it's important that we apply the `ng-animate` CSS class and the
|
3052
|
+
// temporary classes before we do any driver invoking since these
|
3053
|
+
// CSS classes may be required for proper CSS detection.
|
3054
|
+
animationEntry.beforeStart();
|
3055
|
+
|
3056
|
+
var startAnimationFn, closeFn = animationEntry.close;
|
3057
|
+
|
3058
|
+
// in the event that the element was removed before the digest runs or
|
3059
|
+
// during the RAF sequencing then we should not trigger the animation.
|
3060
|
+
var targetElement = animationEntry.anchors
|
3061
|
+
? (animationEntry.from.element || animationEntry.to.element)
|
3062
|
+
: animationEntry.element;
|
3063
|
+
|
3064
|
+
if (getRunner(targetElement)) {
|
3065
|
+
var operation = invokeFirstDriver(animationEntry);
|
3066
|
+
if (operation) {
|
3067
|
+
startAnimationFn = operation.start;
|
3068
|
+
}
|
3069
|
+
}
|
3070
|
+
|
3071
|
+
if (!startAnimationFn) {
|
3072
|
+
closeFn();
|
3073
|
+
} else {
|
3074
|
+
var animationRunner = startAnimationFn();
|
3075
|
+
animationRunner.done(function(status) {
|
3076
|
+
closeFn(!status);
|
3077
|
+
});
|
3078
|
+
updateAnimationRunners(animationEntry, animationRunner);
|
3079
|
+
}
|
3080
|
+
}
|
3081
|
+
});
|
3082
|
+
});
|
3083
|
+
|
3084
|
+
// we need to sort each of the animations in order of parent to child
|
3085
|
+
// relationships. This ensures that the child classes are applied at the
|
3086
|
+
// right time.
|
3087
|
+
$$rAFScheduler(sortAnimations(toBeSortedAnimations));
|
3088
|
+
});
|
3089
|
+
|
3090
|
+
return runner;
|
3091
|
+
|
3092
|
+
// TODO(matsko): change to reference nodes
|
3093
|
+
function getAnchorNodes(node) {
|
3094
|
+
var SELECTOR = '[' + NG_ANIMATE_REF_ATTR + ']';
|
3095
|
+
var items = node.hasAttribute(NG_ANIMATE_REF_ATTR)
|
3096
|
+
? [node]
|
3097
|
+
: node.querySelectorAll(SELECTOR);
|
3098
|
+
var anchors = [];
|
3099
|
+
forEach(items, function(node) {
|
3100
|
+
var attr = node.getAttribute(NG_ANIMATE_REF_ATTR);
|
3101
|
+
if (attr && attr.length) {
|
3102
|
+
anchors.push(node);
|
3103
|
+
}
|
3104
|
+
});
|
3105
|
+
return anchors;
|
3106
|
+
}
|
3107
|
+
|
3108
|
+
function groupAnimations(animations) {
|
3109
|
+
var preparedAnimations = [];
|
3110
|
+
var refLookup = {};
|
3111
|
+
forEach(animations, function(animation, index) {
|
3112
|
+
var element = animation.element;
|
3113
|
+
var node = getDomNode(element);
|
3114
|
+
var event = animation.event;
|
3115
|
+
var enterOrMove = ['enter', 'move'].indexOf(event) >= 0;
|
3116
|
+
var anchorNodes = animation.structural ? getAnchorNodes(node) : [];
|
3117
|
+
|
3118
|
+
if (anchorNodes.length) {
|
3119
|
+
var direction = enterOrMove ? 'to' : 'from';
|
3120
|
+
|
3121
|
+
forEach(anchorNodes, function(anchor) {
|
3122
|
+
var key = anchor.getAttribute(NG_ANIMATE_REF_ATTR);
|
3123
|
+
refLookup[key] = refLookup[key] || {};
|
3124
|
+
refLookup[key][direction] = {
|
3125
|
+
animationID: index,
|
3126
|
+
element: jqLite(anchor)
|
3127
|
+
};
|
3128
|
+
});
|
3129
|
+
} else {
|
3130
|
+
preparedAnimations.push(animation);
|
3131
|
+
}
|
3132
|
+
});
|
3133
|
+
|
3134
|
+
var usedIndicesLookup = {};
|
3135
|
+
var anchorGroups = {};
|
3136
|
+
forEach(refLookup, function(operations, key) {
|
3137
|
+
var from = operations.from;
|
3138
|
+
var to = operations.to;
|
3139
|
+
|
3140
|
+
if (!from || !to) {
|
3141
|
+
// only one of these is set therefore we can't have an
|
3142
|
+
// anchor animation since all three pieces are required
|
3143
|
+
var index = from ? from.animationID : to.animationID;
|
3144
|
+
var indexKey = index.toString();
|
3145
|
+
if (!usedIndicesLookup[indexKey]) {
|
3146
|
+
usedIndicesLookup[indexKey] = true;
|
3147
|
+
preparedAnimations.push(animations[index]);
|
3148
|
+
}
|
3149
|
+
return;
|
3150
|
+
}
|
3151
|
+
|
3152
|
+
var fromAnimation = animations[from.animationID];
|
3153
|
+
var toAnimation = animations[to.animationID];
|
3154
|
+
var lookupKey = from.animationID.toString();
|
3155
|
+
if (!anchorGroups[lookupKey]) {
|
3156
|
+
var group = anchorGroups[lookupKey] = {
|
3157
|
+
structural: true,
|
3158
|
+
beforeStart: function() {
|
3159
|
+
fromAnimation.beforeStart();
|
3160
|
+
toAnimation.beforeStart();
|
3161
|
+
},
|
3162
|
+
close: function() {
|
3163
|
+
fromAnimation.close();
|
3164
|
+
toAnimation.close();
|
3165
|
+
},
|
3166
|
+
classes: cssClassesIntersection(fromAnimation.classes, toAnimation.classes),
|
3167
|
+
from: fromAnimation,
|
3168
|
+
to: toAnimation,
|
3169
|
+
anchors: [] // TODO(matsko): change to reference nodes
|
3170
|
+
};
|
3171
|
+
|
3172
|
+
// the anchor animations require that the from and to elements both have at least
|
3173
|
+
// one shared CSS class which effectively marries the two elements together to use
|
3174
|
+
// the same animation driver and to properly sequence the anchor animation.
|
3175
|
+
if (group.classes.length) {
|
3176
|
+
preparedAnimations.push(group);
|
3177
|
+
} else {
|
3178
|
+
preparedAnimations.push(fromAnimation);
|
3179
|
+
preparedAnimations.push(toAnimation);
|
3180
|
+
}
|
3181
|
+
}
|
3182
|
+
|
3183
|
+
anchorGroups[lookupKey].anchors.push({
|
3184
|
+
'out': from.element, 'in': to.element
|
3185
|
+
});
|
3186
|
+
});
|
3187
|
+
|
3188
|
+
return preparedAnimations;
|
3189
|
+
}
|
3190
|
+
|
3191
|
+
function cssClassesIntersection(a,b) {
|
3192
|
+
a = a.split(' ');
|
3193
|
+
b = b.split(' ');
|
3194
|
+
var matches = [];
|
3195
|
+
|
3196
|
+
for (var i = 0; i < a.length; i++) {
|
3197
|
+
var aa = a[i];
|
3198
|
+
if (aa.substring(0,3) === 'ng-') continue;
|
3199
|
+
|
3200
|
+
for (var j = 0; j < b.length; j++) {
|
3201
|
+
if (aa === b[j]) {
|
3202
|
+
matches.push(aa);
|
3203
|
+
break;
|
3204
|
+
}
|
3205
|
+
}
|
3206
|
+
}
|
3207
|
+
|
3208
|
+
return matches.join(' ');
|
3209
|
+
}
|
3210
|
+
|
3211
|
+
function invokeFirstDriver(animationDetails) {
|
3212
|
+
// we loop in reverse order since the more general drivers (like CSS and JS)
|
3213
|
+
// may attempt more elements, but custom drivers are more particular
|
3214
|
+
for (var i = drivers.length - 1; i >= 0; i--) {
|
3215
|
+
var driverName = drivers[i];
|
3216
|
+
if (!$injector.has(driverName)) continue; // TODO(matsko): remove this check
|
3217
|
+
|
3218
|
+
var factory = $injector.get(driverName);
|
3219
|
+
var driver = factory(animationDetails);
|
3220
|
+
if (driver) {
|
3221
|
+
return driver;
|
3222
|
+
}
|
3223
|
+
}
|
3224
|
+
}
|
3225
|
+
|
3226
|
+
function beforeStart() {
|
3227
|
+
element.addClass(NG_ANIMATE_CLASSNAME);
|
3228
|
+
if (tempClasses) {
|
3229
|
+
$$jqLite.addClass(element, tempClasses);
|
3230
|
+
}
|
3231
|
+
if (prepareClassName) {
|
3232
|
+
$$jqLite.removeClass(element, prepareClassName);
|
3233
|
+
prepareClassName = null;
|
3234
|
+
}
|
3235
|
+
}
|
3236
|
+
|
3237
|
+
function updateAnimationRunners(animation, newRunner) {
|
3238
|
+
if (animation.from && animation.to) {
|
3239
|
+
update(animation.from.element);
|
3240
|
+
update(animation.to.element);
|
3241
|
+
} else {
|
3242
|
+
update(animation.element);
|
3243
|
+
}
|
3244
|
+
|
3245
|
+
function update(element) {
|
3246
|
+
getRunner(element).setHost(newRunner);
|
3247
|
+
}
|
3248
|
+
}
|
3249
|
+
|
3250
|
+
function handleDestroyedElement() {
|
3251
|
+
var runner = getRunner(element);
|
3252
|
+
if (runner && (event !== 'leave' || !options.$$domOperationFired)) {
|
3253
|
+
runner.end();
|
3254
|
+
}
|
3255
|
+
}
|
3256
|
+
|
3257
|
+
function close(rejected) { // jshint ignore:line
|
3258
|
+
element.off('$destroy', handleDestroyedElement);
|
3259
|
+
removeRunner(element);
|
3260
|
+
|
3261
|
+
applyAnimationClasses(element, options);
|
3262
|
+
applyAnimationStyles(element, options);
|
3263
|
+
options.domOperation();
|
3264
|
+
|
3265
|
+
if (tempClasses) {
|
3266
|
+
$$jqLite.removeClass(element, tempClasses);
|
3267
|
+
}
|
3268
|
+
|
3269
|
+
element.removeClass(NG_ANIMATE_CLASSNAME);
|
3270
|
+
runner.complete(!rejected);
|
3271
|
+
}
|
3272
|
+
};
|
3273
|
+
}];
|
3274
|
+
}];
|
3275
|
+
|
3276
|
+
/**
|
3277
|
+
* @ngdoc directive
|
3278
|
+
* @name ngAnimateSwap
|
3279
|
+
* @restrict A
|
3280
|
+
* @scope
|
3281
|
+
*
|
3282
|
+
* @description
|
3283
|
+
*
|
3284
|
+
* ngAnimateSwap is a animation-oriented directive that allows for the container to
|
3285
|
+
* be removed and entered in whenever the associated expression changes. A
|
3286
|
+
* common usecase for this directive is a rotating banner or slider component which
|
3287
|
+
* contains one image being present at a time. When the active image changes
|
3288
|
+
* then the old image will perform a `leave` animation and the new element
|
3289
|
+
* will be inserted via an `enter` animation.
|
3290
|
+
*
|
3291
|
+
* @animations
|
3292
|
+
* | Animation | Occurs |
|
3293
|
+
* |----------------------------------|--------------------------------------|
|
3294
|
+
* | {@link ng.$animate#enter enter} | when the new element is inserted to the DOM |
|
3295
|
+
* | {@link ng.$animate#leave leave} | when the old element is removed from the DOM |
|
3296
|
+
*
|
3297
|
+
* @example
|
3298
|
+
* <example name="ngAnimateSwap-directive" module="ngAnimateSwapExample"
|
3299
|
+
* deps="angular-animate.js"
|
3300
|
+
* animations="true" fixBase="true">
|
3301
|
+
* <file name="index.html">
|
3302
|
+
* <div class="container" ng-controller="AppCtrl">
|
3303
|
+
* <div ng-animate-swap="number" class="cell swap-animation" ng-class="colorClass(number)">
|
3304
|
+
* {{ number }}
|
3305
|
+
* </div>
|
3306
|
+
* </div>
|
3307
|
+
* </file>
|
3308
|
+
* <file name="script.js">
|
3309
|
+
* angular.module('ngAnimateSwapExample', ['ngAnimate'])
|
3310
|
+
* .controller('AppCtrl', ['$scope', '$interval', function($scope, $interval) {
|
3311
|
+
* $scope.number = 0;
|
3312
|
+
* $interval(function() {
|
3313
|
+
* $scope.number++;
|
3314
|
+
* }, 1000);
|
3315
|
+
*
|
3316
|
+
* var colors = ['red','blue','green','yellow','orange'];
|
3317
|
+
* $scope.colorClass = function(number) {
|
3318
|
+
* return colors[number % colors.length];
|
3319
|
+
* };
|
3320
|
+
* }]);
|
3321
|
+
* </file>
|
3322
|
+
* <file name="animations.css">
|
3323
|
+
* .container {
|
3324
|
+
* height:250px;
|
3325
|
+
* width:250px;
|
3326
|
+
* position:relative;
|
3327
|
+
* overflow:hidden;
|
3328
|
+
* border:2px solid black;
|
3329
|
+
* }
|
3330
|
+
* .container .cell {
|
3331
|
+
* font-size:150px;
|
3332
|
+
* text-align:center;
|
3333
|
+
* line-height:250px;
|
3334
|
+
* position:absolute;
|
3335
|
+
* top:0;
|
3336
|
+
* left:0;
|
3337
|
+
* right:0;
|
3338
|
+
* border-bottom:2px solid black;
|
3339
|
+
* }
|
3340
|
+
* .swap-animation.ng-enter, .swap-animation.ng-leave {
|
3341
|
+
* transition:0.5s linear all;
|
3342
|
+
* }
|
3343
|
+
* .swap-animation.ng-enter {
|
3344
|
+
* top:-250px;
|
3345
|
+
* }
|
3346
|
+
* .swap-animation.ng-enter-active {
|
3347
|
+
* top:0px;
|
3348
|
+
* }
|
3349
|
+
* .swap-animation.ng-leave {
|
3350
|
+
* top:0px;
|
3351
|
+
* }
|
3352
|
+
* .swap-animation.ng-leave-active {
|
3353
|
+
* top:250px;
|
3354
|
+
* }
|
3355
|
+
* .red { background:red; }
|
3356
|
+
* .green { background:green; }
|
3357
|
+
* .blue { background:blue; }
|
3358
|
+
* .yellow { background:yellow; }
|
3359
|
+
* .orange { background:orange; }
|
3360
|
+
* </file>
|
3361
|
+
* </example>
|
3362
|
+
*/
|
3363
|
+
var ngAnimateSwapDirective = ['$animate', '$rootScope', function($animate, $rootScope) {
|
3364
|
+
return {
|
3365
|
+
restrict: 'A',
|
3366
|
+
transclude: 'element',
|
3367
|
+
terminal: true,
|
3368
|
+
priority: 600, // we use 600 here to ensure that the directive is caught before others
|
3369
|
+
link: function(scope, $element, attrs, ctrl, $transclude) {
|
3370
|
+
var previousElement, previousScope;
|
3371
|
+
scope.$watchCollection(attrs.ngAnimateSwap || attrs['for'], function(value) {
|
3372
|
+
if (previousElement) {
|
3373
|
+
$animate.leave(previousElement);
|
3374
|
+
}
|
3375
|
+
if (previousScope) {
|
3376
|
+
previousScope.$destroy();
|
3377
|
+
previousScope = null;
|
3378
|
+
}
|
3379
|
+
if (value || value === 0) {
|
3380
|
+
previousScope = scope.$new();
|
3381
|
+
$transclude(previousScope, function(element) {
|
3382
|
+
previousElement = element;
|
3383
|
+
$animate.enter(element, null, $element);
|
3384
|
+
});
|
3385
|
+
}
|
3386
|
+
});
|
3387
|
+
}
|
3388
|
+
};
|
3389
|
+
}];
|
3390
|
+
|
3391
|
+
/* global angularAnimateModule: true,
|
3392
|
+
|
3393
|
+
ngAnimateSwapDirective,
|
3394
|
+
$$AnimateAsyncRunFactory,
|
3395
|
+
$$rAFSchedulerFactory,
|
3396
|
+
$$AnimateChildrenDirective,
|
3397
|
+
$$AnimateQueueProvider,
|
3398
|
+
$$AnimationProvider,
|
3399
|
+
$AnimateCssProvider,
|
3400
|
+
$$AnimateCssDriverProvider,
|
3401
|
+
$$AnimateJsProvider,
|
3402
|
+
$$AnimateJsDriverProvider,
|
3403
|
+
*/
|
3404
|
+
|
3405
|
+
/**
|
3406
|
+
* @ngdoc module
|
3407
|
+
* @name ngAnimate
|
3408
|
+
* @description
|
3409
|
+
*
|
3410
|
+
* The `ngAnimate` module provides support for CSS-based animations (keyframes and transitions) as well as JavaScript-based animations via
|
3411
|
+
* callback hooks. Animations are not enabled by default, however, by including `ngAnimate` the animation hooks are enabled for an Angular app.
|
3412
|
+
*
|
3413
|
+
* <div doc-module-components="ngAnimate"></div>
|
3414
|
+
*
|
3415
|
+
* # Usage
|
3416
|
+
* Simply put, there are two ways to make use of animations when ngAnimate is used: by using **CSS** and **JavaScript**. The former works purely based
|
3417
|
+
* using CSS (by using matching CSS selectors/styles) and the latter triggers animations that are registered via `module.animation()`. For
|
3418
|
+
* both CSS and JS animations the sole requirement is to have a matching `CSS class` that exists both in the registered animation and within
|
3419
|
+
* the HTML element that the animation will be triggered on.
|
3420
|
+
*
|
3421
|
+
* ## Directive Support
|
3422
|
+
* The following directives are "animation aware":
|
3423
|
+
*
|
3424
|
+
* | Directive | Supported Animations |
|
3425
|
+
* |----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|
|
3426
|
+
* | {@link ng.directive:ngRepeat#animations ngRepeat} | enter, leave and move |
|
3427
|
+
* | {@link ngRoute.directive:ngView#animations ngView} | enter and leave |
|
3428
|
+
* | {@link ng.directive:ngInclude#animations ngInclude} | enter and leave |
|
3429
|
+
* | {@link ng.directive:ngSwitch#animations ngSwitch} | enter and leave |
|
3430
|
+
* | {@link ng.directive:ngIf#animations ngIf} | enter and leave |
|
3431
|
+
* | {@link ng.directive:ngClass#animations ngClass} | add and remove (the CSS class(es) present) |
|
3432
|
+
* | {@link ng.directive:ngShow#animations ngShow} & {@link ng.directive:ngHide#animations ngHide} | add and remove (the ng-hide class value) |
|
3433
|
+
* | {@link ng.directive:form#animation-hooks form} & {@link ng.directive:ngModel#animation-hooks ngModel} | add and remove (dirty, pristine, valid, invalid & all other validations) |
|
3434
|
+
* | {@link module:ngMessages#animations ngMessages} | add and remove (ng-active & ng-inactive) |
|
3435
|
+
* | {@link module:ngMessages#animations ngMessage} | enter and leave |
|
3436
|
+
*
|
3437
|
+
* (More information can be found by visiting each the documentation associated with each directive.)
|
3438
|
+
*
|
3439
|
+
* ## CSS-based Animations
|
3440
|
+
*
|
3441
|
+
* CSS-based animations with ngAnimate are unique since they require no JavaScript code at all. By using a CSS class that we reference between our HTML
|
3442
|
+
* and CSS code we can create an animation that will be picked up by Angular when an the underlying directive performs an operation.
|
3443
|
+
*
|
3444
|
+
* The example below shows how an `enter` animation can be made possible on an element using `ng-if`:
|
3445
|
+
*
|
3446
|
+
* ```html
|
3447
|
+
* <div ng-if="bool" class="fade">
|
3448
|
+
* Fade me in out
|
3449
|
+
* </div>
|
3450
|
+
* <button ng-click="bool=true">Fade In!</button>
|
3451
|
+
* <button ng-click="bool=false">Fade Out!</button>
|
3452
|
+
* ```
|
3453
|
+
*
|
3454
|
+
* Notice the CSS class **fade**? We can now create the CSS transition code that references this class:
|
3455
|
+
*
|
3456
|
+
* ```css
|
3457
|
+
* /* The starting CSS styles for the enter animation */
|
3458
|
+
* .fade.ng-enter {
|
3459
|
+
* transition:0.5s linear all;
|
3460
|
+
* opacity:0;
|
3461
|
+
* }
|
3462
|
+
*
|
3463
|
+
* /* The finishing CSS styles for the enter animation */
|
3464
|
+
* .fade.ng-enter.ng-enter-active {
|
3465
|
+
* opacity:1;
|
3466
|
+
* }
|
3467
|
+
* ```
|
3468
|
+
*
|
3469
|
+
* The key thing to remember here is that, depending on the animation event (which each of the directives above trigger depending on what's going on) two
|
3470
|
+
* generated CSS classes will be applied to the element; in the example above we have `.ng-enter` and `.ng-enter-active`. For CSS transitions, the transition
|
3471
|
+
* code **must** be defined within the starting CSS class (in this case `.ng-enter`). The destination class is what the transition will animate towards.
|
3472
|
+
*
|
3473
|
+
* If for example we wanted to create animations for `leave` and `move` (ngRepeat triggers move) then we can do so using the same CSS naming conventions:
|
3474
|
+
*
|
3475
|
+
* ```css
|
3476
|
+
* /* now the element will fade out before it is removed from the DOM */
|
3477
|
+
* .fade.ng-leave {
|
3478
|
+
* transition:0.5s linear all;
|
3479
|
+
* opacity:1;
|
3480
|
+
* }
|
3481
|
+
* .fade.ng-leave.ng-leave-active {
|
3482
|
+
* opacity:0;
|
3483
|
+
* }
|
3484
|
+
* ```
|
3485
|
+
*
|
3486
|
+
* We can also make use of **CSS Keyframes** by referencing the keyframe animation within the starting CSS class:
|
3487
|
+
*
|
3488
|
+
* ```css
|
3489
|
+
* /* there is no need to define anything inside of the destination
|
3490
|
+
* CSS class since the keyframe will take charge of the animation */
|
3491
|
+
* .fade.ng-leave {
|
3492
|
+
* animation: my_fade_animation 0.5s linear;
|
3493
|
+
* -webkit-animation: my_fade_animation 0.5s linear;
|
3494
|
+
* }
|
3495
|
+
*
|
3496
|
+
* @keyframes my_fade_animation {
|
3497
|
+
* from { opacity:1; }
|
3498
|
+
* to { opacity:0; }
|
3499
|
+
* }
|
3500
|
+
*
|
3501
|
+
* @-webkit-keyframes my_fade_animation {
|
3502
|
+
* from { opacity:1; }
|
3503
|
+
* to { opacity:0; }
|
3504
|
+
* }
|
3505
|
+
* ```
|
3506
|
+
*
|
3507
|
+
* Feel free also mix transitions and keyframes together as well as any other CSS classes on the same element.
|
3508
|
+
*
|
3509
|
+
* ### CSS Class-based Animations
|
3510
|
+
*
|
3511
|
+
* Class-based animations (animations that are triggered via `ngClass`, `ngShow`, `ngHide` and some other directives) have a slightly different
|
3512
|
+
* naming convention. Class-based animations are basic enough that a standard transition or keyframe can be referenced on the class being added
|
3513
|
+
* and removed.
|
3514
|
+
*
|
3515
|
+
* For example if we wanted to do a CSS animation for `ngHide` then we place an animation on the `.ng-hide` CSS class:
|
3516
|
+
*
|
3517
|
+
* ```html
|
3518
|
+
* <div ng-show="bool" class="fade">
|
3519
|
+
* Show and hide me
|
3520
|
+
* </div>
|
3521
|
+
* <button ng-click="bool=!bool">Toggle</button>
|
3522
|
+
*
|
3523
|
+
* <style>
|
3524
|
+
* .fade.ng-hide {
|
3525
|
+
* transition:0.5s linear all;
|
3526
|
+
* opacity:0;
|
3527
|
+
* }
|
3528
|
+
* </style>
|
3529
|
+
* ```
|
3530
|
+
*
|
3531
|
+
* All that is going on here with ngShow/ngHide behind the scenes is the `.ng-hide` class is added/removed (when the hidden state is valid). Since
|
3532
|
+
* ngShow and ngHide are animation aware then we can match up a transition and ngAnimate handles the rest.
|
3533
|
+
*
|
3534
|
+
* In addition the addition and removal of the CSS class, ngAnimate also provides two helper methods that we can use to further decorate the animation
|
3535
|
+
* with CSS styles.
|
3536
|
+
*
|
3537
|
+
* ```html
|
3538
|
+
* <div ng-class="{on:onOff}" class="highlight">
|
3539
|
+
* Highlight this box
|
3540
|
+
* </div>
|
3541
|
+
* <button ng-click="onOff=!onOff">Toggle</button>
|
3542
|
+
*
|
3543
|
+
* <style>
|
3544
|
+
* .highlight {
|
3545
|
+
* transition:0.5s linear all;
|
3546
|
+
* }
|
3547
|
+
* .highlight.on-add {
|
3548
|
+
* background:white;
|
3549
|
+
* }
|
3550
|
+
* .highlight.on {
|
3551
|
+
* background:yellow;
|
3552
|
+
* }
|
3553
|
+
* .highlight.on-remove {
|
3554
|
+
* background:black;
|
3555
|
+
* }
|
3556
|
+
* </style>
|
3557
|
+
* ```
|
3558
|
+
*
|
3559
|
+
* We can also make use of CSS keyframes by placing them within the CSS classes.
|
3560
|
+
*
|
3561
|
+
*
|
3562
|
+
* ### CSS Staggering Animations
|
3563
|
+
* A Staggering animation is a collection of animations that are issued with a slight delay in between each successive operation resulting in a
|
3564
|
+
* curtain-like effect. The ngAnimate module (versions >=1.2) supports staggering animations and the stagger effect can be
|
3565
|
+
* performed by creating a **ng-EVENT-stagger** CSS class and attaching that class to the base CSS class used for
|
3566
|
+
* the animation. The style property expected within the stagger class can either be a **transition-delay** or an
|
3567
|
+
* **animation-delay** property (or both if your animation contains both transitions and keyframe animations).
|
3568
|
+
*
|
3569
|
+
* ```css
|
3570
|
+
* .my-animation.ng-enter {
|
3571
|
+
* /* standard transition code */
|
3572
|
+
* transition: 1s linear all;
|
3573
|
+
* opacity:0;
|
3574
|
+
* }
|
3575
|
+
* .my-animation.ng-enter-stagger {
|
3576
|
+
* /* this will have a 100ms delay between each successive leave animation */
|
3577
|
+
* transition-delay: 0.1s;
|
3578
|
+
*
|
3579
|
+
* /* As of 1.4.4, this must always be set: it signals ngAnimate
|
3580
|
+
* to not accidentally inherit a delay property from another CSS class */
|
3581
|
+
* transition-duration: 0s;
|
3582
|
+
* }
|
3583
|
+
* .my-animation.ng-enter.ng-enter-active {
|
3584
|
+
* /* standard transition styles */
|
3585
|
+
* opacity:1;
|
3586
|
+
* }
|
3587
|
+
* ```
|
3588
|
+
*
|
3589
|
+
* Staggering animations work by default in ngRepeat (so long as the CSS class is defined). Outside of ngRepeat, to use staggering animations
|
3590
|
+
* on your own, they can be triggered by firing multiple calls to the same event on $animate. However, the restrictions surrounding this
|
3591
|
+
* are that each of the elements must have the same CSS className value as well as the same parent element. A stagger operation
|
3592
|
+
* will also be reset if one or more animation frames have passed since the multiple calls to `$animate` were fired.
|
3593
|
+
*
|
3594
|
+
* The following code will issue the **ng-leave-stagger** event on the element provided:
|
3595
|
+
*
|
3596
|
+
* ```js
|
3597
|
+
* var kids = parent.children();
|
3598
|
+
*
|
3599
|
+
* $animate.leave(kids[0]); //stagger index=0
|
3600
|
+
* $animate.leave(kids[1]); //stagger index=1
|
3601
|
+
* $animate.leave(kids[2]); //stagger index=2
|
3602
|
+
* $animate.leave(kids[3]); //stagger index=3
|
3603
|
+
* $animate.leave(kids[4]); //stagger index=4
|
3604
|
+
*
|
3605
|
+
* window.requestAnimationFrame(function() {
|
3606
|
+
* //stagger has reset itself
|
3607
|
+
* $animate.leave(kids[5]); //stagger index=0
|
3608
|
+
* $animate.leave(kids[6]); //stagger index=1
|
3609
|
+
*
|
3610
|
+
* $scope.$digest();
|
3611
|
+
* });
|
3612
|
+
* ```
|
3613
|
+
*
|
3614
|
+
* Stagger animations are currently only supported within CSS-defined animations.
|
3615
|
+
*
|
3616
|
+
* ### The `ng-animate` CSS class
|
3617
|
+
*
|
3618
|
+
* When ngAnimate is animating an element it will apply the `ng-animate` CSS class to the element for the duration of the animation.
|
3619
|
+
* This is a temporary CSS class and it will be removed once the animation is over (for both JavaScript and CSS-based animations).
|
3620
|
+
*
|
3621
|
+
* Therefore, animations can be applied to an element using this temporary class directly via CSS.
|
3622
|
+
*
|
3623
|
+
* ```css
|
3624
|
+
* .zipper.ng-animate {
|
3625
|
+
* transition:0.5s linear all;
|
3626
|
+
* }
|
3627
|
+
* .zipper.ng-enter {
|
3628
|
+
* opacity:0;
|
3629
|
+
* }
|
3630
|
+
* .zipper.ng-enter.ng-enter-active {
|
3631
|
+
* opacity:1;
|
3632
|
+
* }
|
3633
|
+
* .zipper.ng-leave {
|
3634
|
+
* opacity:1;
|
3635
|
+
* }
|
3636
|
+
* .zipper.ng-leave.ng-leave-active {
|
3637
|
+
* opacity:0;
|
3638
|
+
* }
|
3639
|
+
* ```
|
3640
|
+
*
|
3641
|
+
* (Note that the `ng-animate` CSS class is reserved and it cannot be applied on an element directly since ngAnimate will always remove
|
3642
|
+
* the CSS class once an animation has completed.)
|
3643
|
+
*
|
3644
|
+
*
|
3645
|
+
* ### The `ng-[event]-prepare` class
|
3646
|
+
*
|
3647
|
+
* This is a special class that can be used to prevent unwanted flickering / flash of content before
|
3648
|
+
* the actual animation starts. The class is added as soon as an animation is initialized, but removed
|
3649
|
+
* before the actual animation starts (after waiting for a $digest).
|
3650
|
+
* It is also only added for *structural* animations (`enter`, `move`, and `leave`).
|
3651
|
+
*
|
3652
|
+
* In practice, flickering can appear when nesting elements with structural animations such as `ngIf`
|
3653
|
+
* into elements that have class-based animations such as `ngClass`.
|
3654
|
+
*
|
3655
|
+
* ```html
|
3656
|
+
* <div ng-class="{red: myProp}">
|
3657
|
+
* <div ng-class="{blue: myProp}">
|
3658
|
+
* <div class="message" ng-if="myProp"></div>
|
3659
|
+
* </div>
|
3660
|
+
* </div>
|
3661
|
+
* ```
|
3662
|
+
*
|
3663
|
+
* It is possible that during the `enter` animation, the `.message` div will be briefly visible before it starts animating.
|
3664
|
+
* In that case, you can add styles to the CSS that make sure the element stays hidden before the animation starts:
|
3665
|
+
*
|
3666
|
+
* ```css
|
3667
|
+
* .message.ng-enter-prepare {
|
3668
|
+
* opacity: 0;
|
3669
|
+
* }
|
3670
|
+
*
|
3671
|
+
* ```
|
3672
|
+
*
|
3673
|
+
* ## JavaScript-based Animations
|
3674
|
+
*
|
3675
|
+
* ngAnimate also allows for animations to be consumed by JavaScript code. The approach is similar to CSS-based animations (where there is a shared
|
3676
|
+
* CSS class that is referenced in our HTML code) but in addition we need to register the JavaScript animation on the module. By making use of the
|
3677
|
+
* `module.animation()` module function we can register the animation.
|
3678
|
+
*
|
3679
|
+
* Let's see an example of a enter/leave animation using `ngRepeat`:
|
3680
|
+
*
|
3681
|
+
* ```html
|
3682
|
+
* <div ng-repeat="item in items" class="slide">
|
3683
|
+
* {{ item }}
|
3684
|
+
* </div>
|
3685
|
+
* ```
|
3686
|
+
*
|
3687
|
+
* See the **slide** CSS class? Let's use that class to define an animation that we'll structure in our module code by using `module.animation`:
|
3688
|
+
*
|
3689
|
+
* ```js
|
3690
|
+
* myModule.animation('.slide', [function() {
|
3691
|
+
* return {
|
3692
|
+
* // make note that other events (like addClass/removeClass)
|
3693
|
+
* // have different function input parameters
|
3694
|
+
* enter: function(element, doneFn) {
|
3695
|
+
* jQuery(element).fadeIn(1000, doneFn);
|
3696
|
+
*
|
3697
|
+
* // remember to call doneFn so that angular
|
3698
|
+
* // knows that the animation has concluded
|
3699
|
+
* },
|
3700
|
+
*
|
3701
|
+
* move: function(element, doneFn) {
|
3702
|
+
* jQuery(element).fadeIn(1000, doneFn);
|
3703
|
+
* },
|
3704
|
+
*
|
3705
|
+
* leave: function(element, doneFn) {
|
3706
|
+
* jQuery(element).fadeOut(1000, doneFn);
|
3707
|
+
* }
|
3708
|
+
* }
|
3709
|
+
* }]);
|
3710
|
+
* ```
|
3711
|
+
*
|
3712
|
+
* The nice thing about JS-based animations is that we can inject other services and make use of advanced animation libraries such as
|
3713
|
+
* greensock.js and velocity.js.
|
3714
|
+
*
|
3715
|
+
* If our animation code class-based (meaning that something like `ngClass`, `ngHide` and `ngShow` triggers it) then we can still define
|
3716
|
+
* our animations inside of the same registered animation, however, the function input arguments are a bit different:
|
3717
|
+
*
|
3718
|
+
* ```html
|
3719
|
+
* <div ng-class="color" class="colorful">
|
3720
|
+
* this box is moody
|
3721
|
+
* </div>
|
3722
|
+
* <button ng-click="color='red'">Change to red</button>
|
3723
|
+
* <button ng-click="color='blue'">Change to blue</button>
|
3724
|
+
* <button ng-click="color='green'">Change to green</button>
|
3725
|
+
* ```
|
3726
|
+
*
|
3727
|
+
* ```js
|
3728
|
+
* myModule.animation('.colorful', [function() {
|
3729
|
+
* return {
|
3730
|
+
* addClass: function(element, className, doneFn) {
|
3731
|
+
* // do some cool animation and call the doneFn
|
3732
|
+
* },
|
3733
|
+
* removeClass: function(element, className, doneFn) {
|
3734
|
+
* // do some cool animation and call the doneFn
|
3735
|
+
* },
|
3736
|
+
* setClass: function(element, addedClass, removedClass, doneFn) {
|
3737
|
+
* // do some cool animation and call the doneFn
|
3738
|
+
* }
|
3739
|
+
* }
|
3740
|
+
* }]);
|
3741
|
+
* ```
|
3742
|
+
*
|
3743
|
+
* ## CSS + JS Animations Together
|
3744
|
+
*
|
3745
|
+
* AngularJS 1.4 and higher has taken steps to make the amalgamation of CSS and JS animations more flexible. However, unlike earlier versions of Angular,
|
3746
|
+
* defining CSS and JS animations to work off of the same CSS class will not work anymore. Therefore the example below will only result in **JS animations taking
|
3747
|
+
* charge of the animation**:
|
3748
|
+
*
|
3749
|
+
* ```html
|
3750
|
+
* <div ng-if="bool" class="slide">
|
3751
|
+
* Slide in and out
|
3752
|
+
* </div>
|
3753
|
+
* ```
|
3754
|
+
*
|
3755
|
+
* ```js
|
3756
|
+
* myModule.animation('.slide', [function() {
|
3757
|
+
* return {
|
3758
|
+
* enter: function(element, doneFn) {
|
3759
|
+
* jQuery(element).slideIn(1000, doneFn);
|
3760
|
+
* }
|
3761
|
+
* }
|
3762
|
+
* }]);
|
3763
|
+
* ```
|
3764
|
+
*
|
3765
|
+
* ```css
|
3766
|
+
* .slide.ng-enter {
|
3767
|
+
* transition:0.5s linear all;
|
3768
|
+
* transform:translateY(-100px);
|
3769
|
+
* }
|
3770
|
+
* .slide.ng-enter.ng-enter-active {
|
3771
|
+
* transform:translateY(0);
|
3772
|
+
* }
|
3773
|
+
* ```
|
3774
|
+
*
|
3775
|
+
* Does this mean that CSS and JS animations cannot be used together? Do JS-based animations always have higher priority? We can make up for the
|
3776
|
+
* lack of CSS animations by using the `$animateCss` service to trigger our own tweaked-out, CSS-based animations directly from
|
3777
|
+
* our own JS-based animation code:
|
3778
|
+
*
|
3779
|
+
* ```js
|
3780
|
+
* myModule.animation('.slide', ['$animateCss', function($animateCss) {
|
3781
|
+
* return {
|
3782
|
+
* enter: function(element) {
|
3783
|
+
* // this will trigger `.slide.ng-enter` and `.slide.ng-enter-active`.
|
3784
|
+
* return $animateCss(element, {
|
3785
|
+
* event: 'enter',
|
3786
|
+
* structural: true
|
3787
|
+
* });
|
3788
|
+
* }
|
3789
|
+
* }
|
3790
|
+
* }]);
|
3791
|
+
* ```
|
3792
|
+
*
|
3793
|
+
* The nice thing here is that we can save bandwidth by sticking to our CSS-based animation code and we don't need to rely on a 3rd-party animation framework.
|
3794
|
+
*
|
3795
|
+
* The `$animateCss` service is very powerful since we can feed in all kinds of extra properties that will be evaluated and fed into a CSS transition or
|
3796
|
+
* keyframe animation. For example if we wanted to animate the height of an element while adding and removing classes then we can do so by providing that
|
3797
|
+
* data into `$animateCss` directly:
|
3798
|
+
*
|
3799
|
+
* ```js
|
3800
|
+
* myModule.animation('.slide', ['$animateCss', function($animateCss) {
|
3801
|
+
* return {
|
3802
|
+
* enter: function(element) {
|
3803
|
+
* return $animateCss(element, {
|
3804
|
+
* event: 'enter',
|
3805
|
+
* structural: true,
|
3806
|
+
* addClass: 'maroon-setting',
|
3807
|
+
* from: { height:0 },
|
3808
|
+
* to: { height: 200 }
|
3809
|
+
* });
|
3810
|
+
* }
|
3811
|
+
* }
|
3812
|
+
* }]);
|
3813
|
+
* ```
|
3814
|
+
*
|
3815
|
+
* Now we can fill in the rest via our transition CSS code:
|
3816
|
+
*
|
3817
|
+
* ```css
|
3818
|
+
* /* the transition tells ngAnimate to make the animation happen */
|
3819
|
+
* .slide.ng-enter { transition:0.5s linear all; }
|
3820
|
+
*
|
3821
|
+
* /* this extra CSS class will be absorbed into the transition
|
3822
|
+
* since the $animateCss code is adding the class */
|
3823
|
+
* .maroon-setting { background:red; }
|
3824
|
+
* ```
|
3825
|
+
*
|
3826
|
+
* And `$animateCss` will figure out the rest. Just make sure to have the `done()` callback fire the `doneFn` function to signal when the animation is over.
|
3827
|
+
*
|
3828
|
+
* To learn more about what's possible be sure to visit the {@link ngAnimate.$animateCss $animateCss service}.
|
3829
|
+
*
|
3830
|
+
* ## Animation Anchoring (via `ng-animate-ref`)
|
3831
|
+
*
|
3832
|
+
* ngAnimate in AngularJS 1.4 comes packed with the ability to cross-animate elements between
|
3833
|
+
* structural areas of an application (like views) by pairing up elements using an attribute
|
3834
|
+
* called `ng-animate-ref`.
|
3835
|
+
*
|
3836
|
+
* Let's say for example we have two views that are managed by `ng-view` and we want to show
|
3837
|
+
* that there is a relationship between two components situated in within these views. By using the
|
3838
|
+
* `ng-animate-ref` attribute we can identify that the two components are paired together and we
|
3839
|
+
* can then attach an animation, which is triggered when the view changes.
|
3840
|
+
*
|
3841
|
+
* Say for example we have the following template code:
|
3842
|
+
*
|
3843
|
+
* ```html
|
3844
|
+
* <!-- index.html -->
|
3845
|
+
* <div ng-view class="view-animation">
|
3846
|
+
* </div>
|
3847
|
+
*
|
3848
|
+
* <!-- home.html -->
|
3849
|
+
* <a href="#/banner-page">
|
3850
|
+
* <img src="./banner.jpg" class="banner" ng-animate-ref="banner">
|
3851
|
+
* </a>
|
3852
|
+
*
|
3853
|
+
* <!-- banner-page.html -->
|
3854
|
+
* <img src="./banner.jpg" class="banner" ng-animate-ref="banner">
|
3855
|
+
* ```
|
3856
|
+
*
|
3857
|
+
* Now, when the view changes (once the link is clicked), ngAnimate will examine the
|
3858
|
+
* HTML contents to see if there is a match reference between any components in the view
|
3859
|
+
* that is leaving and the view that is entering. It will scan both the view which is being
|
3860
|
+
* removed (leave) and inserted (enter) to see if there are any paired DOM elements that
|
3861
|
+
* contain a matching ref value.
|
3862
|
+
*
|
3863
|
+
* The two images match since they share the same ref value. ngAnimate will now create a
|
3864
|
+
* transport element (which is a clone of the first image element) and it will then attempt
|
3865
|
+
* to animate to the position of the second image element in the next view. For the animation to
|
3866
|
+
* work a special CSS class called `ng-anchor` will be added to the transported element.
|
3867
|
+
*
|
3868
|
+
* We can now attach a transition onto the `.banner.ng-anchor` CSS class and then
|
3869
|
+
* ngAnimate will handle the entire transition for us as well as the addition and removal of
|
3870
|
+
* any changes of CSS classes between the elements:
|
3871
|
+
*
|
3872
|
+
* ```css
|
3873
|
+
* .banner.ng-anchor {
|
3874
|
+
* /* this animation will last for 1 second since there are
|
3875
|
+
* two phases to the animation (an `in` and an `out` phase) */
|
3876
|
+
* transition:0.5s linear all;
|
3877
|
+
* }
|
3878
|
+
* ```
|
3879
|
+
*
|
3880
|
+
* We also **must** include animations for the views that are being entered and removed
|
3881
|
+
* (otherwise anchoring wouldn't be possible since the new view would be inserted right away).
|
3882
|
+
*
|
3883
|
+
* ```css
|
3884
|
+
* .view-animation.ng-enter, .view-animation.ng-leave {
|
3885
|
+
* transition:0.5s linear all;
|
3886
|
+
* position:fixed;
|
3887
|
+
* left:0;
|
3888
|
+
* top:0;
|
3889
|
+
* width:100%;
|
3890
|
+
* }
|
3891
|
+
* .view-animation.ng-enter {
|
3892
|
+
* transform:translateX(100%);
|
3893
|
+
* }
|
3894
|
+
* .view-animation.ng-leave,
|
3895
|
+
* .view-animation.ng-enter.ng-enter-active {
|
3896
|
+
* transform:translateX(0%);
|
3897
|
+
* }
|
3898
|
+
* .view-animation.ng-leave.ng-leave-active {
|
3899
|
+
* transform:translateX(-100%);
|
3900
|
+
* }
|
3901
|
+
* ```
|
3902
|
+
*
|
3903
|
+
* Now we can jump back to the anchor animation. When the animation happens, there are two stages that occur:
|
3904
|
+
* an `out` and an `in` stage. The `out` stage happens first and that is when the element is animated away
|
3905
|
+
* from its origin. Once that animation is over then the `in` stage occurs which animates the
|
3906
|
+
* element to its destination. The reason why there are two animations is to give enough time
|
3907
|
+
* for the enter animation on the new element to be ready.
|
3908
|
+
*
|
3909
|
+
* The example above sets up a transition for both the in and out phases, but we can also target the out or
|
3910
|
+
* in phases directly via `ng-anchor-out` and `ng-anchor-in`.
|
3911
|
+
*
|
3912
|
+
* ```css
|
3913
|
+
* .banner.ng-anchor-out {
|
3914
|
+
* transition: 0.5s linear all;
|
3915
|
+
*
|
3916
|
+
* /* the scale will be applied during the out animation,
|
3917
|
+
* but will be animated away when the in animation runs */
|
3918
|
+
* transform: scale(1.2);
|
3919
|
+
* }
|
3920
|
+
*
|
3921
|
+
* .banner.ng-anchor-in {
|
3922
|
+
* transition: 1s linear all;
|
3923
|
+
* }
|
3924
|
+
* ```
|
3925
|
+
*
|
3926
|
+
*
|
3927
|
+
*
|
3928
|
+
*
|
3929
|
+
* ### Anchoring Demo
|
3930
|
+
*
|
3931
|
+
<example module="anchoringExample"
|
3932
|
+
name="anchoringExample"
|
3933
|
+
id="anchoringExample"
|
3934
|
+
deps="angular-animate.js;angular-route.js"
|
3935
|
+
animations="true">
|
3936
|
+
<file name="index.html">
|
3937
|
+
<a href="#/">Home</a>
|
3938
|
+
<hr />
|
3939
|
+
<div class="view-container">
|
3940
|
+
<div ng-view class="view"></div>
|
3941
|
+
</div>
|
3942
|
+
</file>
|
3943
|
+
<file name="script.js">
|
3944
|
+
angular.module('anchoringExample', ['ngAnimate', 'ngRoute'])
|
3945
|
+
.config(['$routeProvider', function($routeProvider) {
|
3946
|
+
$routeProvider.when('/', {
|
3947
|
+
templateUrl: 'home.html',
|
3948
|
+
controller: 'HomeController as home'
|
3949
|
+
});
|
3950
|
+
$routeProvider.when('/profile/:id', {
|
3951
|
+
templateUrl: 'profile.html',
|
3952
|
+
controller: 'ProfileController as profile'
|
3953
|
+
});
|
3954
|
+
}])
|
3955
|
+
.run(['$rootScope', function($rootScope) {
|
3956
|
+
$rootScope.records = [
|
3957
|
+
{ id:1, title: "Miss Beulah Roob" },
|
3958
|
+
{ id:2, title: "Trent Morissette" },
|
3959
|
+
{ id:3, title: "Miss Ava Pouros" },
|
3960
|
+
{ id:4, title: "Rod Pouros" },
|
3961
|
+
{ id:5, title: "Abdul Rice" },
|
3962
|
+
{ id:6, title: "Laurie Rutherford Sr." },
|
3963
|
+
{ id:7, title: "Nakia McLaughlin" },
|
3964
|
+
{ id:8, title: "Jordon Blanda DVM" },
|
3965
|
+
{ id:9, title: "Rhoda Hand" },
|
3966
|
+
{ id:10, title: "Alexandrea Sauer" }
|
3967
|
+
];
|
3968
|
+
}])
|
3969
|
+
.controller('HomeController', [function() {
|
3970
|
+
//empty
|
3971
|
+
}])
|
3972
|
+
.controller('ProfileController', ['$rootScope', '$routeParams', function($rootScope, $routeParams) {
|
3973
|
+
var index = parseInt($routeParams.id, 10);
|
3974
|
+
var record = $rootScope.records[index - 1];
|
3975
|
+
|
3976
|
+
this.title = record.title;
|
3977
|
+
this.id = record.id;
|
3978
|
+
}]);
|
3979
|
+
</file>
|
3980
|
+
<file name="home.html">
|
3981
|
+
<h2>Welcome to the home page</h1>
|
3982
|
+
<p>Please click on an element</p>
|
3983
|
+
<a class="record"
|
3984
|
+
ng-href="#/profile/{{ record.id }}"
|
3985
|
+
ng-animate-ref="{{ record.id }}"
|
3986
|
+
ng-repeat="record in records">
|
3987
|
+
{{ record.title }}
|
3988
|
+
</a>
|
3989
|
+
</file>
|
3990
|
+
<file name="profile.html">
|
3991
|
+
<div class="profile record" ng-animate-ref="{{ profile.id }}">
|
3992
|
+
{{ profile.title }}
|
3993
|
+
</div>
|
3994
|
+
</file>
|
3995
|
+
<file name="animations.css">
|
3996
|
+
.record {
|
3997
|
+
display:block;
|
3998
|
+
font-size:20px;
|
3999
|
+
}
|
4000
|
+
.profile {
|
4001
|
+
background:black;
|
4002
|
+
color:white;
|
4003
|
+
font-size:100px;
|
4004
|
+
}
|
4005
|
+
.view-container {
|
4006
|
+
position:relative;
|
4007
|
+
}
|
4008
|
+
.view-container > .view.ng-animate {
|
4009
|
+
position:absolute;
|
4010
|
+
top:0;
|
4011
|
+
left:0;
|
4012
|
+
width:100%;
|
4013
|
+
min-height:500px;
|
4014
|
+
}
|
4015
|
+
.view.ng-enter, .view.ng-leave,
|
4016
|
+
.record.ng-anchor {
|
4017
|
+
transition:0.5s linear all;
|
4018
|
+
}
|
4019
|
+
.view.ng-enter {
|
4020
|
+
transform:translateX(100%);
|
4021
|
+
}
|
4022
|
+
.view.ng-enter.ng-enter-active, .view.ng-leave {
|
4023
|
+
transform:translateX(0%);
|
4024
|
+
}
|
4025
|
+
.view.ng-leave.ng-leave-active {
|
4026
|
+
transform:translateX(-100%);
|
4027
|
+
}
|
4028
|
+
.record.ng-anchor-out {
|
4029
|
+
background:red;
|
4030
|
+
}
|
4031
|
+
</file>
|
4032
|
+
</example>
|
4033
|
+
*
|
4034
|
+
* ### How is the element transported?
|
4035
|
+
*
|
4036
|
+
* When an anchor animation occurs, ngAnimate will clone the starting element and position it exactly where the starting
|
4037
|
+
* element is located on screen via absolute positioning. The cloned element will be placed inside of the root element
|
4038
|
+
* of the application (where ng-app was defined) and all of the CSS classes of the starting element will be applied. The
|
4039
|
+
* element will then animate into the `out` and `in` animations and will eventually reach the coordinates and match
|
4040
|
+
* the dimensions of the destination element. During the entire animation a CSS class of `.ng-animate-shim` will be applied
|
4041
|
+
* to both the starting and destination elements in order to hide them from being visible (the CSS styling for the class
|
4042
|
+
* is: `visibility:hidden`). Once the anchor reaches its destination then it will be removed and the destination element
|
4043
|
+
* will become visible since the shim class will be removed.
|
4044
|
+
*
|
4045
|
+
* ### How is the morphing handled?
|
4046
|
+
*
|
4047
|
+
* CSS Anchoring relies on transitions and keyframes and the internal code is intelligent enough to figure out
|
4048
|
+
* what CSS classes differ between the starting element and the destination element. These different CSS classes
|
4049
|
+
* will be added/removed on the anchor element and a transition will be applied (the transition that is provided
|
4050
|
+
* in the anchor class). Long story short, ngAnimate will figure out what classes to add and remove which will
|
4051
|
+
* make the transition of the element as smooth and automatic as possible. Be sure to use simple CSS classes that
|
4052
|
+
* do not rely on DOM nesting structure so that the anchor element appears the same as the starting element (since
|
4053
|
+
* the cloned element is placed inside of root element which is likely close to the body element).
|
4054
|
+
*
|
4055
|
+
* Note that if the root element is on the `<html>` element then the cloned node will be placed inside of body.
|
4056
|
+
*
|
4057
|
+
*
|
4058
|
+
* ## Using $animate in your directive code
|
4059
|
+
*
|
4060
|
+
* So far we've explored how to feed in animations into an Angular application, but how do we trigger animations within our own directives in our application?
|
4061
|
+
* By injecting the `$animate` service into our directive code, we can trigger structural and class-based hooks which can then be consumed by animations. Let's
|
4062
|
+
* imagine we have a greeting box that shows and hides itself when the data changes
|
4063
|
+
*
|
4064
|
+
* ```html
|
4065
|
+
* <greeting-box active="onOrOff">Hi there</greeting-box>
|
4066
|
+
* ```
|
4067
|
+
*
|
4068
|
+
* ```js
|
4069
|
+
* ngModule.directive('greetingBox', ['$animate', function($animate) {
|
4070
|
+
* return function(scope, element, attrs) {
|
4071
|
+
* attrs.$observe('active', function(value) {
|
4072
|
+
* value ? $animate.addClass(element, 'on') : $animate.removeClass(element, 'on');
|
4073
|
+
* });
|
4074
|
+
* });
|
4075
|
+
* }]);
|
4076
|
+
* ```
|
4077
|
+
*
|
4078
|
+
* Now the `on` CSS class is added and removed on the greeting box component. Now if we add a CSS class on top of the greeting box element
|
4079
|
+
* in our HTML code then we can trigger a CSS or JS animation to happen.
|
4080
|
+
*
|
4081
|
+
* ```css
|
4082
|
+
* /* normally we would create a CSS class to reference on the element */
|
4083
|
+
* greeting-box.on { transition:0.5s linear all; background:green; color:white; }
|
4084
|
+
* ```
|
4085
|
+
*
|
4086
|
+
* The `$animate` service contains a variety of other methods like `enter`, `leave`, `animate` and `setClass`. To learn more about what's
|
4087
|
+
* possible be sure to visit the {@link ng.$animate $animate service API page}.
|
4088
|
+
*
|
4089
|
+
*
|
4090
|
+
* ## Callbacks and Promises
|
4091
|
+
*
|
4092
|
+
* When `$animate` is called it returns a promise that can be used to capture when the animation has ended. Therefore if we were to trigger
|
4093
|
+
* an animation (within our directive code) then we can continue performing directive and scope related activities after the animation has
|
4094
|
+
* ended by chaining onto the returned promise that animation method returns.
|
4095
|
+
*
|
4096
|
+
* ```js
|
4097
|
+
* // somewhere within the depths of the directive
|
4098
|
+
* $animate.enter(element, parent).then(function() {
|
4099
|
+
* //the animation has completed
|
4100
|
+
* });
|
4101
|
+
* ```
|
4102
|
+
*
|
4103
|
+
* (Note that earlier versions of Angular prior to v1.4 required the promise code to be wrapped using `$scope.$apply(...)`. This is not the case
|
4104
|
+
* anymore.)
|
4105
|
+
*
|
4106
|
+
* In addition to the animation promise, we can also make use of animation-related callbacks within our directives and controller code by registering
|
4107
|
+
* an event listener using the `$animate` service. Let's say for example that an animation was triggered on our view
|
4108
|
+
* routing controller to hook into that:
|
4109
|
+
*
|
4110
|
+
* ```js
|
4111
|
+
* ngModule.controller('HomePageController', ['$animate', function($animate) {
|
4112
|
+
* $animate.on('enter', ngViewElement, function(element) {
|
4113
|
+
* // the animation for this route has completed
|
4114
|
+
* }]);
|
4115
|
+
* }])
|
4116
|
+
* ```
|
4117
|
+
*
|
4118
|
+
* (Note that you will need to trigger a digest within the callback to get angular to notice any scope-related changes.)
|
4119
|
+
*/
|
4120
|
+
|
4121
|
+
/**
|
4122
|
+
* @ngdoc service
|
4123
|
+
* @name $animate
|
4124
|
+
* @kind object
|
4125
|
+
*
|
4126
|
+
* @description
|
4127
|
+
* The ngAnimate `$animate` service documentation is the same for the core `$animate` service.
|
4128
|
+
*
|
4129
|
+
* Click here {@link ng.$animate to learn more about animations with `$animate`}.
|
4130
|
+
*/
|
4131
|
+
angular.module('ngAnimate', [])
|
4132
|
+
.directive('ngAnimateSwap', ngAnimateSwapDirective)
|
4133
|
+
|
4134
|
+
.directive('ngAnimateChildren', $$AnimateChildrenDirective)
|
4135
|
+
.factory('$$rAFScheduler', $$rAFSchedulerFactory)
|
4136
|
+
|
4137
|
+
.provider('$$animateQueue', $$AnimateQueueProvider)
|
4138
|
+
.provider('$$animation', $$AnimationProvider)
|
4139
|
+
|
4140
|
+
.provider('$animateCss', $AnimateCssProvider)
|
4141
|
+
.provider('$$animateCssDriver', $$AnimateCssDriverProvider)
|
4142
|
+
|
4143
|
+
.provider('$$animateJs', $$AnimateJsProvider)
|
4144
|
+
.provider('$$animateJsDriver', $$AnimateJsDriverProvider);
|
4145
|
+
|
4146
|
+
|
4147
|
+
})(window, window.angular);
|