zuora_connect_ui 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/zuora_connect_ui.js +1 -0
- data/app/assets/javascripts/zuora_connect_ui/util.js +51 -0
- data/app/assets/stylesheets/_zuora_connect_ui.scss +4 -6
- data/app/assets/stylesheets/zuora_connect_ui/datatables.scss +3 -3
- data/app/helpers/zuora_connect_ui/application_helper.rb +28 -4
- data/app/views/partials/_table.html.erb +16 -7
- data/lib/zuora_connect_ui/version.rb +1 -1
- data/vendor/ruby/2.6.0/cache/autoprefixer-rails-9.6.1.1.gem +0 -0
- data/vendor/ruby/2.6.0/cache/parser-2.6.4.1.gem +0 -0
- data/vendor/ruby/2.6.0/cache/sassc-2.2.0.gem +0 -0
- data/vendor/ruby/2.6.0/cache/zeitwerk-2.1.10.gem +0 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/sassc-2.2.0/gem.build_complete +0 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/sassc-2.2.0/gem_make.out +75 -0
- data/vendor/ruby/2.6.0/extensions/x86_64-linux/2.6.0/sassc-2.2.0/sassc/libsass.so +0 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/CHANGELOG.md +1085 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/Gemfile +10 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/LICENSE +20 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/README.md +237 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/Rakefile +53 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/autoprefixer-rails.gemspec +32 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/lib/autoprefixer-rails.rb +41 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/lib/autoprefixer-rails/processor.rb +194 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/lib/autoprefixer-rails/railtie.rb +50 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/lib/autoprefixer-rails/result.rb +24 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/lib/autoprefixer-rails/sprockets.rb +62 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/lib/autoprefixer-rails/version.rb +3 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/lib/rake/autoprefixer_tasks.rb +28 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/Rakefile +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/assets/config/manifest.js +0 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/assets/stylesheets/evaluate.css.erb +1 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/assets/stylesheets/loaded.sass +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/assets/stylesheets/sass.sass +1 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/assets/stylesheets/test.css +3 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/assets/stylesheets/wrong.css +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/controllers/application_controller.rb +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/controllers/css_controller.rb +6 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/config.ru +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/config/application.rb +16 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/config/autoprefixer.yml +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/config/boot.rb +2 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/config/environment.rb +3 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/config/environments/test.rb +9 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/config/initializers/secret_token.rb +1 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/config/routes.rb +3 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/autoprefixer_spec.rb +121 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/processor_spec.rb +25 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/rails_spec.rb +40 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/railtie_spec.rb +29 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/spec_helper.rb +16 -0
- data/vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/vendor/autoprefixer.js +67195 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/CHANGELOG.md +909 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/CONTRIBUTING.md +17 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/Gemfile +10 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/LICENSE.txt +25 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/README.md +301 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/Rakefile +166 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/bin/ruby-parse +7 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/bin/ruby-rewrite +7 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/ci/run_rubocop_specs +14 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/doc/AST_FORMAT.md +1816 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/doc/CUSTOMIZATION.md +37 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/doc/INTERNALS.md +21 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/doc/css/common.css +68 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/gauntlet_parser.rb +123 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser.rb +82 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/all.rb +12 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ast/node.rb +40 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ast/processor.rb +264 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/base.rb +270 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/builders/default.rb +1741 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/clobbering_error.rb +13 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/color.rb +32 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/context.rb +59 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/current.rb +92 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/deprecation.rb +13 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/diagnostic.rb +163 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/diagnostic/engine.rb +105 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/lexer.rb +23546 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/lexer.rl +2503 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/lexer/dedenter.rb +79 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/lexer/explanation.rb +55 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/lexer/literal.rb +269 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/lexer/max_numparam_stack.rb +42 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/lexer/stack_state.rb +49 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/macruby.rb +6124 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/macruby.y +2198 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/messages.rb +90 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/meta.rb +33 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/rewriter.rb +105 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby18.rb +5661 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby18.y +1934 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby19.rb +6084 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby19.y +2175 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby20.rb +6511 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby20.y +2353 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby21.rb +6570 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby21.y +2357 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby22.rb +6605 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby22.y +2364 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby23.rb +6624 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby23.y +2370 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby24.rb +6689 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby24.y +2408 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby25.rb +6656 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby25.y +2405 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby26.rb +6670 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby26.y +2413 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby27.rb +6893 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/ruby27.y +2470 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/rubymotion.rb +6078 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/rubymotion.y +2182 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/runner.rb +253 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/runner/ruby_parse.rb +157 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/runner/ruby_rewrite.rb +101 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/buffer.rb +330 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/comment.rb +121 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/comment/associator.rb +210 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map.rb +186 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/collection.rb +18 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/condition.rb +21 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/constant.rb +32 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/definition.rb +23 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/for.rb +19 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/heredoc.rb +19 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/index.rb +33 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/keyword.rb +20 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/objc_kwarg.rb +19 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/operator.rb +17 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/rescue_body.rb +21 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/send.rb +36 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/ternary.rb +18 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/map/variable.rb +31 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/range.rb +310 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/rewriter.rb +513 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/rewriter/action.rb +44 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/tree_rewriter.rb +301 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/source/tree_rewriter/action.rb +133 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/static_environment.rb +46 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/syntax_error.rb +21 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/tree_rewriter.rb +134 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/lib/parser/version.rb +5 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/parser.gemspec +51 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/bug_163/fixtures/input.rb +5 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/bug_163/fixtures/output.rb +5 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/bug_163/rewriter.rb +20 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/helper.rb +59 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/parse_helper.rb +316 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/racc_coverage_helper.rb +133 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_base.rb +31 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_current.rb +29 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_diagnostic.rb +96 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_diagnostic_engine.rb +62 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_encoding.rb +99 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_lexer.rb +3659 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_lexer_stack_state.rb +78 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_parse_helper.rb +80 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_parser.rb +7579 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_runner_parse.rb +35 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_runner_rewrite.rb +47 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_source_buffer.rb +162 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_source_comment.rb +36 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_source_comment_associator.rb +367 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_source_map.rb +15 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_source_range.rb +172 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_source_rewriter.rb +541 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_source_rewriter_action.rb +46 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_source_tree_rewriter.rb +173 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/test_static_environment.rb +45 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/using_tree_rewriter/fixtures/input.rb +3 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/using_tree_rewriter/fixtures/output.rb +3 -0
- data/vendor/ruby/2.6.0/gems/parser-2.6.4.1/test/using_tree_rewriter/using_tree_rewriter.rb +9 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/CHANGELOG.md +77 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/CODE_OF_CONDUCT.md +10 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/Gemfile +2 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/LICENSE.txt +22 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/README.md +68 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/Rakefile +53 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/Makefile +271 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/SharedPtr.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/ast.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/ast2c.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/ast_fwd_decl.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/ast_sel_cmp.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/ast_sel_unify.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/ast_selectors.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/ast_supports.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/ast_values.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/backtrace.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/base64vlq.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/bind.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/c2ast.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/c99func.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/cencode.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/check_nesting.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/color_maps.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/constants.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/context.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/cssize.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/depend +4 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/emitter.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/environment.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/error_handling.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/eval.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/expand.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/extconf.rb +84 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/extend.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/file.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/fn_colors.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/fn_lists.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/fn_maps.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/fn_miscs.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/fn_numbers.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/fn_selectors.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/fn_strings.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/fn_utils.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/inspect.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/json.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/lexer.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass.so +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/VERSION +1 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/contrib/plugin.cpp +60 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/include/sass.h +15 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/include/sass/base.h +96 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/include/sass/context.h +170 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/include/sass/functions.h +139 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/include/sass/values.h +145 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/include/sass/version.h +12 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/include/sass2scss.h +120 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast.cpp +963 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast.hpp +905 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast2c.cpp +80 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast2c.hpp +39 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast_def_macros.hpp +132 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast_fwd_decl.cpp +30 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast_fwd_decl.hpp +341 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast_sel_cmp.cpp +909 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast_sel_unify.cpp +280 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast_selectors.cpp +1475 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast_selectors.hpp +568 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast_supports.cpp +130 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast_supports.hpp +121 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast_values.cpp +967 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/ast_values.hpp +489 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/b64/cencode.h +32 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/b64/encode.h +79 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/backtrace.cpp +50 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/backtrace.hpp +29 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/base64vlq.cpp +47 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/base64vlq.hpp +30 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/bind.cpp +312 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/bind.hpp +15 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/c2ast.cpp +64 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/c2ast.hpp +14 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/c99func.c +54 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/cencode.c +108 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/check_nesting.cpp +394 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/check_nesting.hpp +66 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/color_maps.cpp +651 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/color_maps.hpp +331 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/constants.cpp +194 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/constants.hpp +194 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/context.cpp +890 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/context.hpp +152 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/cssize.cpp +604 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/cssize.hpp +77 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/debug.hpp +43 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/debugger.hpp +807 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/emitter.cpp +298 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/emitter.hpp +103 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/environment.cpp +260 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/environment.hpp +119 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/error_handling.cpp +212 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/error_handling.hpp +229 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/eval.cpp +1657 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/eval.hpp +112 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/expand.cpp +822 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/expand.hpp +78 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/extend.cpp +2132 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/extend.hpp +86 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/file.cpp +522 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/file.hpp +133 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_colors.cpp +594 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_colors.hpp +85 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_lists.cpp +284 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_lists.hpp +34 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_maps.cpp +94 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_maps.hpp +30 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_miscs.cpp +256 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_miscs.hpp +40 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_numbers.cpp +220 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_numbers.hpp +45 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_selectors.cpp +235 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_selectors.hpp +35 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_strings.cpp +254 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_strings.hpp +34 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_utils.cpp +156 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/fn_utils.hpp +56 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/inspect.cpp +1087 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/inspect.hpp +99 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/json.cpp +1436 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/json.hpp +117 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/kwd_arg_macros.hpp +28 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/lexer.cpp +184 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/lexer.hpp +315 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/listize.cpp +84 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/listize.hpp +38 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/mapping.hpp +18 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/memory/SharedPtr.cpp +33 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/memory/SharedPtr.hpp +286 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/node.cpp +322 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/node.hpp +118 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/operation.hpp +213 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/operators.cpp +266 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/operators.hpp +30 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/output.cpp +339 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/output.hpp +47 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/parser.cpp +3153 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/parser.hpp +402 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/paths.hpp +71 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/plugins.cpp +188 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/plugins.hpp +57 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/position.cpp +184 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/position.hpp +124 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/prelexer.cpp +1780 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/prelexer.hpp +484 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/remove_placeholders.cpp +87 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/remove_placeholders.hpp +34 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/sass.cpp +155 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/sass.hpp +142 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/sass2scss.cpp +895 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/sass_context.cpp +772 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/sass_context.hpp +129 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/sass_functions.cpp +210 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/sass_functions.hpp +50 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/sass_util.cpp +152 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/sass_util.hpp +256 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/sass_values.cpp +365 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/sass_values.hpp +82 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/source_map.cpp +198 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/source_map.hpp +62 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/subset_map.cpp +58 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/subset_map.hpp +76 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/to_value.cpp +114 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/to_value.hpp +46 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/units.cpp +505 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/units.hpp +110 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/utf8.h +34 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/utf8/checked.h +336 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/utf8/core.h +332 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/utf8/unchecked.h +235 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/utf8_string.cpp +105 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/utf8_string.hpp +37 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/util.cpp +725 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/util.hpp +106 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/util_string.cpp +75 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/util_string.hpp +19 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/values.cpp +140 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/libsass/src/values.hpp +12 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/listize.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/node.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/operators.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/output.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/parser.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/plugins.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/position.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/prelexer.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/remove_placeholders.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/sass.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/sass2scss.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/sass_context.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/sass_functions.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/sass_util.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/sass_values.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/source_map.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/subset_map.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/to_value.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/units.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/utf8_string.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/util.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/util_string.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/ext/values.o +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc.rb +57 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/dependency.rb +17 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/engine.rb +139 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/error.rb +37 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/functions_handler.rb +73 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/import_handler.rb +50 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/importer.rb +31 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/libsass.so +0 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native.rb +62 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/lib_c.rb +21 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/native_context_api.rb +147 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/native_functions_api.rb +159 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/sass2scss_api.rb +10 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/sass_input_style.rb +13 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/sass_output_style.rb +12 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/sass_value.rb +97 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/native/string_list.rb +10 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/sass_2_scss.rb +9 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script.rb +17 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/functions.rb +8 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value.rb +137 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value/bool.rb +32 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value/color.rb +95 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value/list.rb +136 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value/map.rb +69 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value/number.rb +389 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value/string.rb +96 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value_conversion.rb +69 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value_conversion/base.rb +13 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value_conversion/bool.rb +13 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value_conversion/color.rb +18 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value_conversion/list.rb +25 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value_conversion/map.rb +21 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value_conversion/number.rb +13 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/script/value_conversion/string.rb +17 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/util.rb +231 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/util/normalized_map.rb +117 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/lib/sassc/version.rb +5 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/sassc.gemspec +69 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/test/custom_importer_test.rb +127 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/test/engine_test.rb +314 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/test/error_test.rb +29 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/test/fixtures/paths.scss +10 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/test/functions_test.rb +323 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/test/native_test.rb +213 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/test/output_style_test.rb +107 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/test/sass_2_scss_test.rb +14 -0
- data/vendor/ruby/2.6.0/gems/sassc-2.2.0/test/test_helper.rb +45 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/README.md +533 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk.rb +12 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/error.rb +10 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/explicit_namespace.rb +80 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/gem_inflector.rb +19 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/inflector.rb +19 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/kernel.rb +33 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader.rb +759 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/loader/callbacks.rb +71 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/real_mod_name.rb +15 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/registry.rb +147 -0
- data/vendor/ruby/2.6.0/gems/zeitwerk-2.1.10/lib/zeitwerk/version.rb +5 -0
- data/vendor/ruby/2.6.0/specifications/autoprefixer-rails-9.6.1.1.gemspec +47 -0
- data/vendor/ruby/2.6.0/specifications/parser-2.6.4.1.gemspec +62 -0
- data/vendor/ruby/2.6.0/specifications/sassc-2.2.0.gemspec +60 -0
- data/vendor/ruby/2.6.0/specifications/zeitwerk-2.1.10.gemspec +21 -0
- metadata +441 -4
- data/vendor/assets/anjuna/css/anjuna-application.css +0 -2
- data/vendor/assets/anjuna/css/anjuna-theme.css +0 -2
@@ -0,0 +1,266 @@
|
|
1
|
+
// sass.hpp must go before all system headers to get the
|
2
|
+
// __EXTENSIONS__ fix on Solaris.
|
3
|
+
#include "sass.hpp"
|
4
|
+
|
5
|
+
#include "operators.hpp"
|
6
|
+
|
7
|
+
namespace Sass {
|
8
|
+
|
9
|
+
namespace Operators {
|
10
|
+
|
11
|
+
inline double add(double x, double y) { return x + y; }
|
12
|
+
inline double sub(double x, double y) { return x - y; }
|
13
|
+
inline double mul(double x, double y) { return x * y; }
|
14
|
+
inline double div(double x, double y) { return x / y; } // x/0 checked by caller
|
15
|
+
|
16
|
+
inline double mod(double x, double y) { // x/0 checked by caller
|
17
|
+
if ((x > 0 && y < 0) || (x < 0 && y > 0)) {
|
18
|
+
double ret = std::fmod(x, y);
|
19
|
+
return ret ? ret + y : ret;
|
20
|
+
} else {
|
21
|
+
return std::fmod(x, y);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
typedef double (*bop)(double, double);
|
26
|
+
bop ops[Sass_OP::NUM_OPS] = {
|
27
|
+
0, 0, // and, or
|
28
|
+
0, 0, 0, 0, 0, 0, // eq, neq, gt, gte, lt, lte
|
29
|
+
add, sub, mul, div, mod
|
30
|
+
};
|
31
|
+
|
32
|
+
/* static function, has no pstate or traces */
|
33
|
+
bool eq(Expression_Obj lhs, Expression_Obj rhs)
|
34
|
+
{
|
35
|
+
// operation is undefined if one is not a number
|
36
|
+
if (!lhs || !rhs) throw Exception::UndefinedOperation(lhs, rhs, Sass_OP::EQ);
|
37
|
+
// use compare operator from ast node
|
38
|
+
return *lhs == *rhs;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* static function, throws OperationError, has no pstate or traces */
|
42
|
+
bool cmp(Expression_Obj lhs, Expression_Obj rhs, const Sass_OP op)
|
43
|
+
{
|
44
|
+
// can only compare numbers!?
|
45
|
+
Number_Obj l = Cast<Number>(lhs);
|
46
|
+
Number_Obj r = Cast<Number>(rhs);
|
47
|
+
// operation is undefined if one is not a number
|
48
|
+
if (!l || !r) throw Exception::UndefinedOperation(lhs, rhs, op);
|
49
|
+
// use compare operator from ast node
|
50
|
+
return *l < *r;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* static functions, throws OperationError, has no pstate or traces */
|
54
|
+
bool lt(Expression_Obj lhs, Expression_Obj rhs) { return cmp(lhs, rhs, Sass_OP::LT); }
|
55
|
+
bool neq(Expression_Obj lhs, Expression_Obj rhs) { return eq(lhs, rhs) == false; }
|
56
|
+
bool gt(Expression_Obj lhs, Expression_Obj rhs) { return !cmp(lhs, rhs, Sass_OP::GT) && neq(lhs, rhs); }
|
57
|
+
bool lte(Expression_Obj lhs, Expression_Obj rhs) { return cmp(lhs, rhs, Sass_OP::LTE) || eq(lhs, rhs); }
|
58
|
+
bool gte(Expression_Obj lhs, Expression_Obj rhs) { return !cmp(lhs, rhs, Sass_OP::GTE) || eq(lhs, rhs); }
|
59
|
+
|
60
|
+
/* colour math deprecation warning */
|
61
|
+
void op_color_deprecation(enum Sass_OP op, std::string lsh, std::string rhs, const ParserState& pstate)
|
62
|
+
{
|
63
|
+
deprecated(
|
64
|
+
"The operation `" + lsh + " " + sass_op_to_name(op) + " " + rhs +
|
65
|
+
"` is deprecated and will be an error in future versions.",
|
66
|
+
"Consider using Sass's color functions instead.\n"
|
67
|
+
"https://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions",
|
68
|
+
/*with_column=*/false, pstate);
|
69
|
+
}
|
70
|
+
|
71
|
+
/* static function, throws OperationError, has no traces but optional pstate for returned value */
|
72
|
+
Value* op_strings(Sass::Operand operand, Value& lhs, Value& rhs, struct Sass_Inspect_Options opt, const ParserState& pstate, bool delayed)
|
73
|
+
{
|
74
|
+
enum Sass_OP op = operand.operand;
|
75
|
+
|
76
|
+
String_Quoted* lqstr = Cast<String_Quoted>(&lhs);
|
77
|
+
String_Quoted* rqstr = Cast<String_Quoted>(&rhs);
|
78
|
+
|
79
|
+
std::string lstr(lqstr ? lqstr->value() : lhs.to_string(opt));
|
80
|
+
std::string rstr(rqstr ? rqstr->value() : rhs.to_string(opt));
|
81
|
+
|
82
|
+
if (Cast<Null>(&lhs)) throw Exception::InvalidNullOperation(&lhs, &rhs, op);
|
83
|
+
if (Cast<Null>(&rhs)) throw Exception::InvalidNullOperation(&lhs, &rhs, op);
|
84
|
+
|
85
|
+
std::string sep;
|
86
|
+
switch (op) {
|
87
|
+
case Sass_OP::ADD: sep = ""; break;
|
88
|
+
case Sass_OP::SUB: sep = "-"; break;
|
89
|
+
case Sass_OP::DIV: sep = "/"; break;
|
90
|
+
case Sass_OP::EQ: sep = "=="; break;
|
91
|
+
case Sass_OP::NEQ: sep = "!="; break;
|
92
|
+
case Sass_OP::LT: sep = "<"; break;
|
93
|
+
case Sass_OP::GT: sep = ">"; break;
|
94
|
+
case Sass_OP::LTE: sep = "<="; break;
|
95
|
+
case Sass_OP::GTE: sep = ">="; break;
|
96
|
+
default:
|
97
|
+
throw Exception::UndefinedOperation(&lhs, &rhs, op);
|
98
|
+
break;
|
99
|
+
}
|
100
|
+
|
101
|
+
if (op == Sass_OP::ADD) {
|
102
|
+
// create string that might be quoted on output (but do not unquote what we pass)
|
103
|
+
return SASS_MEMORY_NEW(String_Quoted, pstate, lstr + rstr, 0, false, true);
|
104
|
+
}
|
105
|
+
|
106
|
+
// add whitespace around operator
|
107
|
+
// but only if result is not delayed
|
108
|
+
if (sep != "" && delayed == false) {
|
109
|
+
if (operand.ws_before) sep = " " + sep;
|
110
|
+
if (operand.ws_after) sep = sep + " ";
|
111
|
+
}
|
112
|
+
|
113
|
+
if (op == Sass_OP::SUB || op == Sass_OP::DIV) {
|
114
|
+
if (lqstr && lqstr->quote_mark()) lstr = quote(lstr);
|
115
|
+
if (rqstr && rqstr->quote_mark()) rstr = quote(rstr);
|
116
|
+
}
|
117
|
+
|
118
|
+
return SASS_MEMORY_NEW(String_Constant, pstate, lstr + sep + rstr);
|
119
|
+
}
|
120
|
+
|
121
|
+
/* ToDo: allow to operate also with hsla colors */
|
122
|
+
/* static function, throws OperationError, has no traces but optional pstate for returned value */
|
123
|
+
Value* op_colors(enum Sass_OP op, const Color_RGBA& lhs, const Color_RGBA& rhs, struct Sass_Inspect_Options opt, const ParserState& pstate, bool delayed)
|
124
|
+
{
|
125
|
+
|
126
|
+
if (lhs.a() != rhs.a()) {
|
127
|
+
throw Exception::AlphaChannelsNotEqual(&lhs, &rhs, op);
|
128
|
+
}
|
129
|
+
if ((op == Sass_OP::DIV || op == Sass_OP::MOD) && (!rhs.r() || !rhs.g() || !rhs.b())) {
|
130
|
+
throw Exception::ZeroDivisionError(lhs, rhs);
|
131
|
+
}
|
132
|
+
|
133
|
+
op_color_deprecation(op, lhs.to_string(), rhs.to_string(), pstate);
|
134
|
+
|
135
|
+
return SASS_MEMORY_NEW(Color_RGBA,
|
136
|
+
pstate,
|
137
|
+
ops[op](lhs.r(), rhs.r()),
|
138
|
+
ops[op](lhs.g(), rhs.g()),
|
139
|
+
ops[op](lhs.b(), rhs.b()),
|
140
|
+
lhs.a());
|
141
|
+
}
|
142
|
+
|
143
|
+
/* static function, throws OperationError, has no traces but optional pstate for returned value */
|
144
|
+
Value* op_numbers(enum Sass_OP op, const Number& lhs, const Number& rhs, struct Sass_Inspect_Options opt, const ParserState& pstate, bool delayed)
|
145
|
+
{
|
146
|
+
double lval = lhs.value();
|
147
|
+
double rval = rhs.value();
|
148
|
+
|
149
|
+
if (op == Sass_OP::MOD && rval == 0) {
|
150
|
+
return SASS_MEMORY_NEW(String_Quoted, pstate, "NaN");
|
151
|
+
}
|
152
|
+
|
153
|
+
if (op == Sass_OP::DIV && rval == 0) {
|
154
|
+
std::string result(lval ? "Infinity" : "NaN");
|
155
|
+
return SASS_MEMORY_NEW(String_Quoted, pstate, result);
|
156
|
+
}
|
157
|
+
|
158
|
+
size_t l_n_units = lhs.numerators.size();
|
159
|
+
size_t l_d_units = lhs.numerators.size();
|
160
|
+
size_t r_n_units = rhs.denominators.size();
|
161
|
+
size_t r_d_units = rhs.denominators.size();
|
162
|
+
// optimize out the most common and simplest case
|
163
|
+
if (l_n_units == r_n_units && l_d_units == r_d_units) {
|
164
|
+
if (l_n_units + l_d_units <= 1 && r_n_units + r_d_units <= 1) {
|
165
|
+
if (lhs.numerators == rhs.numerators) {
|
166
|
+
if (lhs.denominators == rhs.denominators) {
|
167
|
+
Number* v = SASS_MEMORY_COPY(&lhs);
|
168
|
+
v->value(ops[op](lval, rval));
|
169
|
+
return v;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
Number_Obj v = SASS_MEMORY_COPY(&lhs);
|
176
|
+
|
177
|
+
if (lhs.is_unitless() && (op == Sass_OP::ADD || op == Sass_OP::SUB || op == Sass_OP::MOD)) {
|
178
|
+
v->numerators = rhs.numerators;
|
179
|
+
v->denominators = rhs.denominators;
|
180
|
+
}
|
181
|
+
|
182
|
+
if (op == Sass_OP::MUL) {
|
183
|
+
v->value(ops[op](lval, rval));
|
184
|
+
v->numerators.insert(v->numerators.end(),
|
185
|
+
rhs.numerators.begin(), rhs.numerators.end()
|
186
|
+
);
|
187
|
+
v->denominators.insert(v->denominators.end(),
|
188
|
+
rhs.denominators.begin(), rhs.denominators.end()
|
189
|
+
);
|
190
|
+
v->reduce();
|
191
|
+
}
|
192
|
+
else if (op == Sass_OP::DIV) {
|
193
|
+
v->value(ops[op](lval, rval));
|
194
|
+
v->numerators.insert(v->numerators.end(),
|
195
|
+
rhs.denominators.begin(), rhs.denominators.end()
|
196
|
+
);
|
197
|
+
v->denominators.insert(v->denominators.end(),
|
198
|
+
rhs.numerators.begin(), rhs.numerators.end()
|
199
|
+
);
|
200
|
+
v->reduce();
|
201
|
+
}
|
202
|
+
else {
|
203
|
+
Number ln(lhs), rn(rhs);
|
204
|
+
ln.reduce(); rn.reduce();
|
205
|
+
double f(rn.convert_factor(ln));
|
206
|
+
v->value(ops[op](lval, rn.value() * f));
|
207
|
+
}
|
208
|
+
|
209
|
+
v->pstate(pstate);
|
210
|
+
return v.detach();
|
211
|
+
}
|
212
|
+
|
213
|
+
/* static function, throws OperationError, has no traces but optional pstate for returned value */
|
214
|
+
Value* op_number_color(enum Sass_OP op, const Number& lhs, const Color_RGBA& rhs, struct Sass_Inspect_Options opt, const ParserState& pstate, bool delayed)
|
215
|
+
{
|
216
|
+
double lval = lhs.value();
|
217
|
+
|
218
|
+
switch (op) {
|
219
|
+
case Sass_OP::ADD:
|
220
|
+
case Sass_OP::MUL: {
|
221
|
+
op_color_deprecation(op, lhs.to_string(), rhs.to_string(opt), pstate);
|
222
|
+
return SASS_MEMORY_NEW(Color_RGBA,
|
223
|
+
pstate,
|
224
|
+
ops[op](lval, rhs.r()),
|
225
|
+
ops[op](lval, rhs.g()),
|
226
|
+
ops[op](lval, rhs.b()),
|
227
|
+
rhs.a());
|
228
|
+
}
|
229
|
+
case Sass_OP::SUB:
|
230
|
+
case Sass_OP::DIV: {
|
231
|
+
std::string color(rhs.to_string(opt));
|
232
|
+
op_color_deprecation(op, lhs.to_string(), color, pstate);
|
233
|
+
return SASS_MEMORY_NEW(String_Quoted,
|
234
|
+
pstate,
|
235
|
+
lhs.to_string(opt)
|
236
|
+
+ sass_op_separator(op)
|
237
|
+
+ color);
|
238
|
+
}
|
239
|
+
default: break;
|
240
|
+
}
|
241
|
+
throw Exception::UndefinedOperation(&lhs, &rhs, op);
|
242
|
+
}
|
243
|
+
|
244
|
+
/* static function, throws OperationError, has no traces but optional pstate for returned value */
|
245
|
+
Value* op_color_number(enum Sass_OP op, const Color_RGBA& lhs, const Number& rhs, struct Sass_Inspect_Options opt, const ParserState& pstate, bool delayed)
|
246
|
+
{
|
247
|
+
double rval = rhs.value();
|
248
|
+
|
249
|
+
if ((op == Sass_OP::DIV || op == Sass_OP::DIV) && rval == 0) {
|
250
|
+
// comparison of Fixnum with Float failed?
|
251
|
+
throw Exception::ZeroDivisionError(lhs, rhs);
|
252
|
+
}
|
253
|
+
|
254
|
+
op_color_deprecation(op, lhs.to_string(), rhs.to_string(), pstate);
|
255
|
+
|
256
|
+
return SASS_MEMORY_NEW(Color_RGBA,
|
257
|
+
pstate,
|
258
|
+
ops[op](lhs.r(), rval),
|
259
|
+
ops[op](lhs.g(), rval),
|
260
|
+
ops[op](lhs.b(), rval),
|
261
|
+
lhs.a());
|
262
|
+
}
|
263
|
+
|
264
|
+
}
|
265
|
+
|
266
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
#ifndef SASS_OPERATORS_H
|
2
|
+
#define SASS_OPERATORS_H
|
3
|
+
|
4
|
+
#include "values.hpp"
|
5
|
+
#include "sass/values.h"
|
6
|
+
|
7
|
+
namespace Sass {
|
8
|
+
|
9
|
+
namespace Operators {
|
10
|
+
|
11
|
+
// equality operator using AST Node operator==
|
12
|
+
bool eq(Expression_Obj, Expression_Obj);
|
13
|
+
bool neq(Expression_Obj, Expression_Obj);
|
14
|
+
// specific operators based on cmp and eq
|
15
|
+
bool lt(Expression_Obj, Expression_Obj);
|
16
|
+
bool gt(Expression_Obj, Expression_Obj);
|
17
|
+
bool lte(Expression_Obj, Expression_Obj);
|
18
|
+
bool gte(Expression_Obj, Expression_Obj);
|
19
|
+
// arithmetic for all the combinations that matter
|
20
|
+
Value* op_strings(Sass::Operand, Value&, Value&, struct Sass_Inspect_Options opt, const ParserState& pstate, bool delayed = false);
|
21
|
+
Value* op_colors(enum Sass_OP, const Color_RGBA&, const Color_RGBA&, struct Sass_Inspect_Options opt, const ParserState& pstate, bool delayed = false);
|
22
|
+
Value* op_numbers(enum Sass_OP, const Number&, const Number&, struct Sass_Inspect_Options opt, const ParserState& pstate, bool delayed = false);
|
23
|
+
Value* op_number_color(enum Sass_OP, const Number&, const Color_RGBA&, struct Sass_Inspect_Options opt, const ParserState& pstate, bool delayed = false);
|
24
|
+
Value* op_color_number(enum Sass_OP, const Color_RGBA&, const Number&, struct Sass_Inspect_Options opt, const ParserState& pstate, bool delayed = false);
|
25
|
+
|
26
|
+
};
|
27
|
+
|
28
|
+
}
|
29
|
+
|
30
|
+
#endif
|
@@ -0,0 +1,339 @@
|
|
1
|
+
// sass.hpp must go before all system headers to get the
|
2
|
+
// __EXTENSIONS__ fix on Solaris.
|
3
|
+
#include "sass.hpp"
|
4
|
+
|
5
|
+
#include "ast.hpp"
|
6
|
+
#include "output.hpp"
|
7
|
+
#include "util.hpp"
|
8
|
+
|
9
|
+
namespace Sass {
|
10
|
+
|
11
|
+
Output::Output(Sass_Output_Options& opt)
|
12
|
+
: Inspect(Emitter(opt)),
|
13
|
+
charset(""),
|
14
|
+
top_nodes(0)
|
15
|
+
{}
|
16
|
+
|
17
|
+
Output::~Output() { }
|
18
|
+
|
19
|
+
void Output::fallback_impl(AST_Node* n)
|
20
|
+
{
|
21
|
+
return n->perform(this);
|
22
|
+
}
|
23
|
+
|
24
|
+
void Output::operator()(Number* n)
|
25
|
+
{
|
26
|
+
// check for a valid unit here
|
27
|
+
// includes result for reporting
|
28
|
+
if (!n->is_valid_css_unit()) {
|
29
|
+
// should be handle in check_expression
|
30
|
+
throw Exception::InvalidValue({}, *n);
|
31
|
+
}
|
32
|
+
// use values to_string facility
|
33
|
+
std::string res = n->to_string(opt);
|
34
|
+
// output the final token
|
35
|
+
append_token(res, n);
|
36
|
+
}
|
37
|
+
|
38
|
+
void Output::operator()(Import* imp)
|
39
|
+
{
|
40
|
+
top_nodes.push_back(imp);
|
41
|
+
}
|
42
|
+
|
43
|
+
void Output::operator()(Map* m)
|
44
|
+
{
|
45
|
+
// should be handle in check_expression
|
46
|
+
throw Exception::InvalidValue({}, *m);
|
47
|
+
}
|
48
|
+
|
49
|
+
OutputBuffer Output::get_buffer(void)
|
50
|
+
{
|
51
|
+
|
52
|
+
Emitter emitter(opt);
|
53
|
+
Inspect inspect(emitter);
|
54
|
+
|
55
|
+
size_t size_nodes = top_nodes.size();
|
56
|
+
for (size_t i = 0; i < size_nodes; i++) {
|
57
|
+
top_nodes[i]->perform(&inspect);
|
58
|
+
inspect.append_mandatory_linefeed();
|
59
|
+
}
|
60
|
+
|
61
|
+
// flush scheduled outputs
|
62
|
+
// maybe omit semicolon if possible
|
63
|
+
inspect.finalize(wbuf.buffer.size() == 0);
|
64
|
+
// prepend buffer on top
|
65
|
+
prepend_output(inspect.output());
|
66
|
+
// make sure we end with a linefeed
|
67
|
+
if (!ends_with(wbuf.buffer, opt.linefeed)) {
|
68
|
+
// if the output is not completely empty
|
69
|
+
if (!wbuf.buffer.empty()) append_string(opt.linefeed);
|
70
|
+
}
|
71
|
+
|
72
|
+
// search for unicode char
|
73
|
+
for(const char& chr : wbuf.buffer) {
|
74
|
+
// skip all ascii chars
|
75
|
+
// static cast to unsigned to handle `char` being signed / unsigned
|
76
|
+
if (static_cast<unsigned>(chr) < 128) continue;
|
77
|
+
// declare the charset
|
78
|
+
if (output_style() != COMPRESSED)
|
79
|
+
charset = "@charset \"UTF-8\";"
|
80
|
+
+ std::string(opt.linefeed);
|
81
|
+
else charset = "\xEF\xBB\xBF";
|
82
|
+
// abort search
|
83
|
+
break;
|
84
|
+
}
|
85
|
+
|
86
|
+
// add charset as first line, before comments and imports
|
87
|
+
if (!charset.empty()) prepend_string(charset);
|
88
|
+
|
89
|
+
return wbuf;
|
90
|
+
|
91
|
+
}
|
92
|
+
|
93
|
+
void Output::operator()(Comment* c)
|
94
|
+
{
|
95
|
+
// if (indentation && txt == "/**/") return;
|
96
|
+
bool important = c->is_important();
|
97
|
+
if (output_style() != COMPRESSED || important) {
|
98
|
+
if (buffer().size() == 0) {
|
99
|
+
top_nodes.push_back(c);
|
100
|
+
} else {
|
101
|
+
in_comment = true;
|
102
|
+
append_indentation();
|
103
|
+
c->text()->perform(this);
|
104
|
+
in_comment = false;
|
105
|
+
if (indentation == 0) {
|
106
|
+
append_mandatory_linefeed();
|
107
|
+
} else {
|
108
|
+
append_optional_linefeed();
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
void Output::operator()(Ruleset* r)
|
115
|
+
{
|
116
|
+
Selector_Obj s = r->selector();
|
117
|
+
Block_Obj b = r->block();
|
118
|
+
|
119
|
+
// Filter out rulesets that aren't printable (process its children though)
|
120
|
+
if (!Util::isPrintable(r, output_style())) {
|
121
|
+
for (size_t i = 0, L = b->length(); i < L; ++i) {
|
122
|
+
const Statement_Obj& stm = b->at(i);
|
123
|
+
if (Cast<Has_Block>(stm)) {
|
124
|
+
if (!Cast<Declaration>(stm)) {
|
125
|
+
stm->perform(this);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
return;
|
130
|
+
}
|
131
|
+
|
132
|
+
if (output_style() == NESTED) indentation += r->tabs();
|
133
|
+
if (opt.source_comments) {
|
134
|
+
std::stringstream ss;
|
135
|
+
append_indentation();
|
136
|
+
std::string path(File::abs2rel(r->pstate().path));
|
137
|
+
ss << "/* line " << r->pstate().line + 1 << ", " << path << " */";
|
138
|
+
append_string(ss.str());
|
139
|
+
append_optional_linefeed();
|
140
|
+
}
|
141
|
+
scheduled_crutch = s;
|
142
|
+
if (s) s->perform(this);
|
143
|
+
append_scope_opener(b);
|
144
|
+
for (size_t i = 0, L = b->length(); i < L; ++i) {
|
145
|
+
Statement_Obj stm = b->at(i);
|
146
|
+
bool bPrintExpression = true;
|
147
|
+
// Check print conditions
|
148
|
+
if (Declaration* dec = Cast<Declaration>(stm)) {
|
149
|
+
if (String_Constant* valConst = Cast<String_Constant>(dec->value())) {
|
150
|
+
std::string val(valConst->value());
|
151
|
+
if (String_Quoted* qstr = Cast<String_Quoted>(valConst)) {
|
152
|
+
if (!qstr->quote_mark() && val.empty()) {
|
153
|
+
bPrintExpression = false;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
else if (List* list = Cast<List>(dec->value())) {
|
158
|
+
bool all_invisible = true;
|
159
|
+
for (size_t list_i = 0, list_L = list->length(); list_i < list_L; ++list_i) {
|
160
|
+
Expression* item = list->at(list_i);
|
161
|
+
if (!item->is_invisible()) all_invisible = false;
|
162
|
+
}
|
163
|
+
if (all_invisible && !list->is_bracketed()) bPrintExpression = false;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
// Print if OK
|
167
|
+
if (bPrintExpression) {
|
168
|
+
stm->perform(this);
|
169
|
+
}
|
170
|
+
}
|
171
|
+
if (output_style() == NESTED) indentation -= r->tabs();
|
172
|
+
append_scope_closer(b);
|
173
|
+
|
174
|
+
}
|
175
|
+
void Output::operator()(Keyframe_Rule* r)
|
176
|
+
{
|
177
|
+
Block_Obj b = r->block();
|
178
|
+
Selector_Obj v = r->name();
|
179
|
+
|
180
|
+
if (!v.isNull()) {
|
181
|
+
v->perform(this);
|
182
|
+
}
|
183
|
+
|
184
|
+
if (!b) {
|
185
|
+
append_colon_separator();
|
186
|
+
return;
|
187
|
+
}
|
188
|
+
|
189
|
+
append_scope_opener();
|
190
|
+
for (size_t i = 0, L = b->length(); i < L; ++i) {
|
191
|
+
Statement_Obj stm = b->at(i);
|
192
|
+
stm->perform(this);
|
193
|
+
if (i < L - 1) append_special_linefeed();
|
194
|
+
}
|
195
|
+
append_scope_closer();
|
196
|
+
}
|
197
|
+
|
198
|
+
void Output::operator()(Supports_Block* f)
|
199
|
+
{
|
200
|
+
if (f->is_invisible()) return;
|
201
|
+
|
202
|
+
Supports_Condition_Obj c = f->condition();
|
203
|
+
Block_Obj b = f->block();
|
204
|
+
|
205
|
+
// Filter out feature blocks that aren't printable (process its children though)
|
206
|
+
if (!Util::isPrintable(f, output_style())) {
|
207
|
+
for (size_t i = 0, L = b->length(); i < L; ++i) {
|
208
|
+
Statement_Obj stm = b->at(i);
|
209
|
+
if (Cast<Has_Block>(stm)) {
|
210
|
+
stm->perform(this);
|
211
|
+
}
|
212
|
+
}
|
213
|
+
return;
|
214
|
+
}
|
215
|
+
|
216
|
+
if (output_style() == NESTED) indentation += f->tabs();
|
217
|
+
append_indentation();
|
218
|
+
append_token("@supports", f);
|
219
|
+
append_mandatory_space();
|
220
|
+
c->perform(this);
|
221
|
+
append_scope_opener();
|
222
|
+
|
223
|
+
for (size_t i = 0, L = b->length(); i < L; ++i) {
|
224
|
+
Statement_Obj stm = b->at(i);
|
225
|
+
stm->perform(this);
|
226
|
+
if (i < L - 1) append_special_linefeed();
|
227
|
+
}
|
228
|
+
|
229
|
+
if (output_style() == NESTED) indentation -= f->tabs();
|
230
|
+
|
231
|
+
append_scope_closer();
|
232
|
+
|
233
|
+
}
|
234
|
+
|
235
|
+
void Output::operator()(Media_Block* m)
|
236
|
+
{
|
237
|
+
if (m->is_invisible()) return;
|
238
|
+
|
239
|
+
Block_Obj b = m->block();
|
240
|
+
|
241
|
+
// Filter out media blocks that aren't printable (process its children though)
|
242
|
+
if (!Util::isPrintable(m, output_style())) {
|
243
|
+
for (size_t i = 0, L = b->length(); i < L; ++i) {
|
244
|
+
Statement_Obj stm = b->at(i);
|
245
|
+
if (Cast<Has_Block>(stm)) {
|
246
|
+
stm->perform(this);
|
247
|
+
}
|
248
|
+
}
|
249
|
+
return;
|
250
|
+
}
|
251
|
+
if (output_style() == NESTED) indentation += m->tabs();
|
252
|
+
append_indentation();
|
253
|
+
append_token("@media", m);
|
254
|
+
append_mandatory_space();
|
255
|
+
in_media_block = true;
|
256
|
+
m->media_queries()->perform(this);
|
257
|
+
in_media_block = false;
|
258
|
+
append_scope_opener();
|
259
|
+
|
260
|
+
for (size_t i = 0, L = b->length(); i < L; ++i) {
|
261
|
+
if (b->at(i)) {
|
262
|
+
Statement_Obj stm = b->at(i);
|
263
|
+
stm->perform(this);
|
264
|
+
}
|
265
|
+
if (i < L - 1) append_special_linefeed();
|
266
|
+
}
|
267
|
+
|
268
|
+
if (output_style() == NESTED) indentation -= m->tabs();
|
269
|
+
append_scope_closer();
|
270
|
+
}
|
271
|
+
|
272
|
+
void Output::operator()(Directive* a)
|
273
|
+
{
|
274
|
+
std::string kwd = a->keyword();
|
275
|
+
Selector_Obj s = a->selector();
|
276
|
+
Expression_Obj v = a->value();
|
277
|
+
Block_Obj b = a->block();
|
278
|
+
|
279
|
+
append_indentation();
|
280
|
+
append_token(kwd, a);
|
281
|
+
if (s) {
|
282
|
+
append_mandatory_space();
|
283
|
+
in_wrapped = true;
|
284
|
+
s->perform(this);
|
285
|
+
in_wrapped = false;
|
286
|
+
}
|
287
|
+
if (v) {
|
288
|
+
append_mandatory_space();
|
289
|
+
// ruby sass bug? should use options?
|
290
|
+
append_token(v->to_string(/* opt */), v);
|
291
|
+
}
|
292
|
+
if (!b) {
|
293
|
+
append_delimiter();
|
294
|
+
return;
|
295
|
+
}
|
296
|
+
|
297
|
+
if (b->is_invisible() || b->length() == 0) {
|
298
|
+
append_optional_space();
|
299
|
+
return append_string("{}");
|
300
|
+
}
|
301
|
+
|
302
|
+
append_scope_opener();
|
303
|
+
|
304
|
+
bool format = kwd != "@font-face";;
|
305
|
+
|
306
|
+
for (size_t i = 0, L = b->length(); i < L; ++i) {
|
307
|
+
Statement_Obj stm = b->at(i);
|
308
|
+
stm->perform(this);
|
309
|
+
if (i < L - 1 && format) append_special_linefeed();
|
310
|
+
}
|
311
|
+
|
312
|
+
append_scope_closer();
|
313
|
+
}
|
314
|
+
|
315
|
+
void Output::operator()(String_Quoted* s)
|
316
|
+
{
|
317
|
+
if (s->quote_mark()) {
|
318
|
+
append_token(quote(s->value(), s->quote_mark()), s);
|
319
|
+
} else if (!in_comment) {
|
320
|
+
append_token(string_to_output(s->value()), s);
|
321
|
+
} else {
|
322
|
+
append_token(s->value(), s);
|
323
|
+
}
|
324
|
+
}
|
325
|
+
|
326
|
+
void Output::operator()(String_Constant* s)
|
327
|
+
{
|
328
|
+
std::string value(s->value());
|
329
|
+
if (s->can_compress_whitespace() && output_style() == COMPRESSED) {
|
330
|
+
value.erase(std::remove_if(value.begin(), value.end(), ::isspace), value.end());
|
331
|
+
}
|
332
|
+
if (!in_comment && !in_custom_property) {
|
333
|
+
append_token(string_to_output(value), s);
|
334
|
+
} else {
|
335
|
+
append_token(value, s);
|
336
|
+
}
|
337
|
+
}
|
338
|
+
|
339
|
+
}
|