workarea-admin 3.4.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1331) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +52 -0
  3. data/README.md +19 -0
  4. data/Rakefile +23 -0
  5. data/app/assets/fonts/workarea/admin/spark_dotline_medium.woff +0 -0
  6. data/app/assets/fonts/workarea/admin/spark_dotline_medium.woff2 +0 -0
  7. data/app/assets/images/workarea/admin/add.svg +1 -0
  8. data/app/assets/images/workarea/admin/complete.svg +1 -0
  9. data/app/assets/images/workarea/admin/content_block_types/button.svg +1 -0
  10. data/app/assets/images/workarea/admin/content_block_types/category_summary.svg +1 -0
  11. data/app/assets/images/workarea/admin/content_block_types/custom_block.svg +1 -0
  12. data/app/assets/images/workarea/admin/content_block_types/divider.svg +1 -0
  13. data/app/assets/images/workarea/admin/content_block_types/hero.svg +1 -0
  14. data/app/assets/images/workarea/admin/content_block_types/html.svg +1 -0
  15. data/app/assets/images/workarea/admin/content_block_types/image.svg +1 -0
  16. data/app/assets/images/workarea/admin/content_block_types/image_and_text.svg +1 -0
  17. data/app/assets/images/workarea/admin/content_block_types/image_group.svg +1 -0
  18. data/app/assets/images/workarea/admin/content_block_types/product_insights.svg +1 -0
  19. data/app/assets/images/workarea/admin/content_block_types/product_list.svg +1 -0
  20. data/app/assets/images/workarea/admin/content_block_types/quote.svg +1 -0
  21. data/app/assets/images/workarea/admin/content_block_types/recommendations.svg +1 -0
  22. data/app/assets/images/workarea/admin/content_block_types/social_networks.svg +1 -0
  23. data/app/assets/images/workarea/admin/content_block_types/taxonomy.svg +1 -0
  24. data/app/assets/images/workarea/admin/content_block_types/text.svg +1 -0
  25. data/app/assets/images/workarea/admin/content_block_types/three_column_taxonomy.svg +1 -0
  26. data/app/assets/images/workarea/admin/content_block_types/two_column_taxonomy.svg +1 -0
  27. data/app/assets/images/workarea/admin/content_block_types/video.svg +1 -0
  28. data/app/assets/images/workarea/admin/content_block_types/video_and_text.svg +1 -0
  29. data/app/assets/images/workarea/admin/default_card.svg +1 -0
  30. data/app/assets/images/workarea/admin/favicon.ico +0 -0
  31. data/app/assets/images/workarea/admin/i18n.svg +1 -0
  32. data/app/assets/images/workarea/admin/icons/add.svg +1 -0
  33. data/app/assets/images/workarea/admin/icons/add_circle.svg +1 -0
  34. data/app/assets/images/workarea/admin/icons/alert.svg +1 -0
  35. data/app/assets/images/workarea/admin/icons/apple_calendar.svg +1 -0
  36. data/app/assets/images/workarea/admin/icons/arrow_down.svg +1 -0
  37. data/app/assets/images/workarea/admin/icons/arrow_up.svg +1 -0
  38. data/app/assets/images/workarea/admin/icons/asset.svg +1 -0
  39. data/app/assets/images/workarea/admin/icons/attributes.svg +1 -0
  40. data/app/assets/images/workarea/admin/icons/calendar.svg +1 -0
  41. data/app/assets/images/workarea/admin/icons/categories.svg +1 -0
  42. data/app/assets/images/workarea/admin/icons/category.svg +1 -0
  43. data/app/assets/images/workarea/admin/icons/clock.svg +1 -0
  44. data/app/assets/images/workarea/admin/icons/close.svg +1 -0
  45. data/app/assets/images/workarea/admin/icons/comment.svg +1 -0
  46. data/app/assets/images/workarea/admin/icons/comments.svg +1 -0
  47. data/app/assets/images/workarea/admin/icons/comments_viewed.svg +1 -0
  48. data/app/assets/images/workarea/admin/icons/content.svg +1 -0
  49. data/app/assets/images/workarea/admin/icons/create_preset.svg +1 -0
  50. data/app/assets/images/workarea/admin/icons/delete.svg +1 -0
  51. data/app/assets/images/workarea/admin/icons/edit.svg +1 -0
  52. data/app/assets/images/workarea/admin/icons/expand_more.svg +1 -0
  53. data/app/assets/images/workarea/admin/icons/favicon.svg +1 -0
  54. data/app/assets/images/workarea/admin/icons/featured_products.svg +1 -0
  55. data/app/assets/images/workarea/admin/icons/fire.svg +1 -0
  56. data/app/assets/images/workarea/admin/icons/fulfillment.svg +1 -0
  57. data/app/assets/images/workarea/admin/icons/google_calendar.svg +1 -0
  58. data/app/assets/images/workarea/admin/icons/grip.svg +1 -0
  59. data/app/assets/images/workarea/admin/icons/help.svg +1 -0
  60. data/app/assets/images/workarea/admin/icons/home.svg +1 -0
  61. data/app/assets/images/workarea/admin/icons/images.svg +1 -0
  62. data/app/assets/images/workarea/admin/icons/impersonation.svg +1 -0
  63. data/app/assets/images/workarea/admin/icons/imports.svg +1 -0
  64. data/app/assets/images/workarea/admin/icons/insights.svg +1 -0
  65. data/app/assets/images/workarea/admin/icons/inventory_sku.svg +1 -0
  66. data/app/assets/images/workarea/admin/icons/items.svg +1 -0
  67. data/app/assets/images/workarea/admin/icons/link.svg +1 -0
  68. data/app/assets/images/workarea/admin/icons/medium.svg +1 -0
  69. data/app/assets/images/workarea/admin/icons/menu.svg +1 -0
  70. data/app/assets/images/workarea/admin/icons/navigate_before.svg +1 -0
  71. data/app/assets/images/workarea/admin/icons/navigate_next.svg +1 -0
  72. data/app/assets/images/workarea/admin/icons/navigation_menu.svg +1 -0
  73. data/app/assets/images/workarea/admin/icons/order.svg +1 -0
  74. data/app/assets/images/workarea/admin/icons/order_statistics.svg +1 -0
  75. data/app/assets/images/workarea/admin/icons/orders.svg +1 -0
  76. data/app/assets/images/workarea/admin/icons/original.svg +1 -0
  77. data/app/assets/images/workarea/admin/icons/outlook.svg +1 -0
  78. data/app/assets/images/workarea/admin/icons/page.svg +1 -0
  79. data/app/assets/images/workarea/admin/icons/pages.svg +1 -0
  80. data/app/assets/images/workarea/admin/icons/payment.svg +1 -0
  81. data/app/assets/images/workarea/admin/icons/payment_transaction.svg +1 -0
  82. data/app/assets/images/workarea/admin/icons/permissions.svg +1 -0
  83. data/app/assets/images/workarea/admin/icons/plan_changes.svg +1 -0
  84. data/app/assets/images/workarea/admin/icons/planned_changes.svg +1 -0
  85. data/app/assets/images/workarea/admin/icons/prices.svg +1 -0
  86. data/app/assets/images/workarea/admin/icons/pricing.svg +1 -0
  87. data/app/assets/images/workarea/admin/icons/pricing_discount.svg +1 -0
  88. data/app/assets/images/workarea/admin/icons/pricing_sku.svg +1 -0
  89. data/app/assets/images/workarea/admin/icons/products.svg +1 -0
  90. data/app/assets/images/workarea/admin/icons/rates.svg +1 -0
  91. data/app/assets/images/workarea/admin/icons/recommendations.svg +1 -0
  92. data/app/assets/images/workarea/admin/icons/refresh.svg +1 -0
  93. data/app/assets/images/workarea/admin/icons/release.svg +1 -0
  94. data/app/assets/images/workarea/admin/icons/release_timeline.svg +1 -0
  95. data/app/assets/images/workarea/admin/icons/rules.svg +1 -0
  96. data/app/assets/images/workarea/admin/icons/saved_addresses.svg +1 -0
  97. data/app/assets/images/workarea/admin/icons/search.svg +1 -0
  98. data/app/assets/images/workarea/admin/icons/settings.svg +1 -0
  99. data/app/assets/images/workarea/admin/icons/shipping.svg +1 -0
  100. data/app/assets/images/workarea/admin/icons/small.svg +1 -0
  101. data/app/assets/images/workarea/admin/icons/star.svg +1 -0
  102. data/app/assets/images/workarea/admin/icons/timeline.svg +1 -0
  103. data/app/assets/images/workarea/admin/icons/tmp.svg +1 -0
  104. data/app/assets/images/workarea/admin/icons/user.svg +1 -0
  105. data/app/assets/images/workarea/admin/icons/variants.svg +1 -0
  106. data/app/assets/images/workarea/admin/icons/view.svg +1 -0
  107. data/app/assets/images/workarea/admin/icons/wide.svg +1 -0
  108. data/app/assets/images/workarea/admin/icons/wysiwyg/bold.svg +1 -0
  109. data/app/assets/images/workarea/admin/icons/wysiwyg/bulleted_list.svg +1 -0
  110. data/app/assets/images/workarea/admin/icons/wysiwyg/html.svg +1 -0
  111. data/app/assets/images/workarea/admin/icons/wysiwyg/italic.svg +1 -0
  112. data/app/assets/images/workarea/admin/icons/wysiwyg/link.svg +1 -0
  113. data/app/assets/images/workarea/admin/icons/wysiwyg/numbered_list.svg +1 -0
  114. data/app/assets/images/workarea/admin/icons/wysiwyg/underline.svg +1 -0
  115. data/app/assets/images/workarea/admin/invalid.svg +1 -0
  116. data/app/assets/images/workarea/admin/logo.svg +1 -0
  117. data/app/assets/images/workarea/admin/message_error.svg +1 -0
  118. data/app/assets/images/workarea/admin/message_info.svg +1 -0
  119. data/app/assets/images/workarea/admin/message_success.svg +1 -0
  120. data/app/assets/images/workarea/admin/message_warning.svg +1 -0
  121. data/app/assets/images/workarea/admin/payment_icons/american_express.svg +1 -0
  122. data/app/assets/images/workarea/admin/payment_icons/diner_s_club.svg +1 -0
  123. data/app/assets/images/workarea/admin/payment_icons/discover.svg +1 -0
  124. data/app/assets/images/workarea/admin/payment_icons/mastercard.svg +1 -0
  125. data/app/assets/images/workarea/admin/payment_icons/visa.svg +1 -0
  126. data/app/assets/images/workarea/admin/selected.svg +1 -0
  127. data/app/assets/images/workarea/admin/valid.svg +1 -0
  128. data/app/assets/javascripts/jquery_ui/admin/categorized_autocomplete.js +53 -0
  129. data/app/assets/javascripts/jquery_ujs/replace.js +15 -0
  130. data/app/assets/javascripts/workarea/admin/application.js.erb +235 -0
  131. data/app/assets/javascripts/workarea/admin/config.js.erb +700 -0
  132. data/app/assets/javascripts/workarea/admin/google_analytics.js +6 -0
  133. data/app/assets/javascripts/workarea/admin/modules/add_content_block_buttons.js +71 -0
  134. data/app/assets/javascripts/workarea/admin/modules/add_to_calendar_buttons.js +45 -0
  135. data/app/assets/javascripts/workarea/admin/modules/asset_picker_fields.js +51 -0
  136. data/app/assets/javascripts/workarea/admin/modules/asset_pickers.js +65 -0
  137. data/app/assets/javascripts/workarea/admin/modules/autocomplete_fields.js +55 -0
  138. data/app/assets/javascripts/workarea/admin/modules/bookmarks.js +40 -0
  139. data/app/assets/javascripts/workarea/admin/modules/bulk_action_deletion.js +43 -0
  140. data/app/assets/javascripts/workarea/admin/modules/bulk_action_items.js +319 -0
  141. data/app/assets/javascripts/workarea/admin/modules/calendars.js +130 -0
  142. data/app/assets/javascripts/workarea/admin/modules/categorized_autocomplete_fields.js +58 -0
  143. data/app/assets/javascripts/workarea/admin/modules/cloneable_rows.js +58 -0
  144. data/app/assets/javascripts/workarea/admin/modules/content_block_list.js +70 -0
  145. data/app/assets/javascripts/workarea/admin/modules/content_blocks.js +248 -0
  146. data/app/assets/javascripts/workarea/admin/modules/content_editor.js +44 -0
  147. data/app/assets/javascripts/workarea/admin/modules/content_editor_form_cancel.js +29 -0
  148. data/app/assets/javascripts/workarea/admin/modules/content_editor_forms.js +58 -0
  149. data/app/assets/javascripts/workarea/admin/modules/content_preset_form.js +29 -0
  150. data/app/assets/javascripts/workarea/admin/modules/content_preview.js +86 -0
  151. data/app/assets/javascripts/workarea/admin/modules/dashboard_charts.js +182 -0
  152. data/app/assets/javascripts/workarea/admin/modules/dashboard_toggles.js +59 -0
  153. data/app/assets/javascripts/workarea/admin/modules/datepicker_fields.js +113 -0
  154. data/app/assets/javascripts/workarea/admin/modules/datetimepicker_fields.js +160 -0
  155. data/app/assets/javascripts/workarea/admin/modules/direct_uploads.js +329 -0
  156. data/app/assets/javascripts/workarea/admin/modules/disable_publish_now.js +80 -0
  157. data/app/assets/javascripts/workarea/admin/modules/discount_options_menus.js +115 -0
  158. data/app/assets/javascripts/workarea/admin/modules/dom_remove.js +30 -0
  159. data/app/assets/javascripts/workarea/admin/modules/expandables.js +70 -0
  160. data/app/assets/javascripts/workarea/admin/modules/featured_products_sort.js +28 -0
  161. data/app/assets/javascripts/workarea/admin/modules/filter_dropdowns.js +88 -0
  162. data/app/assets/javascripts/workarea/admin/modules/help_helper.js +127 -0
  163. data/app/assets/javascripts/workarea/admin/modules/help_lookup_buttons.js +66 -0
  164. data/app/assets/javascripts/workarea/admin/modules/live_search_text.js +49 -0
  165. data/app/assets/javascripts/workarea/admin/modules/menu_editor_links.js +69 -0
  166. data/app/assets/javascripts/workarea/admin/modules/menu_editor_menu_list_sortables.js +107 -0
  167. data/app/assets/javascripts/workarea/admin/modules/menu_editor_sort_by_menus.js +48 -0
  168. data/app/assets/javascripts/workarea/admin/modules/messages.js +187 -0
  169. data/app/assets/javascripts/workarea/admin/modules/new_navigation_taxons.js +58 -0
  170. data/app/assets/javascripts/workarea/admin/modules/pricing_overrides.js +36 -0
  171. data/app/assets/javascripts/workarea/admin/modules/primary_nav.js +37 -0
  172. data/app/assets/javascripts/workarea/admin/modules/product_copy_ids.js +47 -0
  173. data/app/assets/javascripts/workarea/admin/modules/product_images_sortables.js +59 -0
  174. data/app/assets/javascripts/workarea/admin/modules/product_rules_preview.js +51 -0
  175. data/app/assets/javascripts/workarea/admin/modules/property_toggles.js +88 -0
  176. data/app/assets/javascripts/workarea/admin/modules/publish_create_release.js +40 -0
  177. data/app/assets/javascripts/workarea/admin/modules/publish_with_release_menus.js +132 -0
  178. data/app/assets/javascripts/workarea/admin/modules/range_fields.js +35 -0
  179. data/app/assets/javascripts/workarea/admin/modules/recommendations_sortables.js +20 -0
  180. data/app/assets/javascripts/workarea/admin/modules/releasable_model_search_forms.js +42 -0
  181. data/app/assets/javascripts/workarea/admin/modules/release_calendar_placeholders.js +83 -0
  182. data/app/assets/javascripts/workarea/admin/modules/release_reminder.js +93 -0
  183. data/app/assets/javascripts/workarea/admin/modules/relevance_sort.js +30 -0
  184. data/app/assets/javascripts/workarea/admin/modules/remote_selects.js +116 -0
  185. data/app/assets/javascripts/workarea/admin/modules/sort_navigation_menus.js +44 -0
  186. data/app/assets/javascripts/workarea/admin/modules/sort_variants.js +67 -0
  187. data/app/assets/javascripts/workarea/admin/modules/tabs.js +66 -0
  188. data/app/assets/javascripts/workarea/admin/modules/takeover.js +154 -0
  189. data/app/assets/javascripts/workarea/admin/modules/taxon_insert.js +96 -0
  190. data/app/assets/javascripts/workarea/admin/modules/taxon_select.js +50 -0
  191. data/app/assets/javascripts/workarea/admin/modules/toggle_buttons.js +50 -0
  192. data/app/assets/javascripts/workarea/admin/modules/toggle_filters.js +43 -0
  193. data/app/assets/javascripts/workarea/admin/modules/tooltips.js +128 -0
  194. data/app/assets/javascripts/workarea/admin/modules/unsaved_changes.js +56 -0
  195. data/app/assets/javascripts/workarea/admin/modules/wysiwygs.js +87 -0
  196. data/app/assets/javascripts/workarea/admin/routes.js.erb +27 -0
  197. data/app/assets/javascripts/workarea/admin/templates/bookmark_form.jst.ejs +5 -0
  198. data/app/assets/javascripts/workarea/admin/templates/bulk_action_items_count.jst.ejs +4 -0
  199. data/app/assets/javascripts/workarea/admin/templates/chart_legend.jst.ejs +9 -0
  200. data/app/assets/javascripts/workarea/admin/templates/checkbox_with_label.jst.ejs +2 -0
  201. data/app/assets/javascripts/workarea/admin/templates/content_block_iframe.jst.ejs +2 -0
  202. data/app/assets/javascripts/workarea/admin/templates/datetime_picker.jst.ejs +37 -0
  203. data/app/assets/javascripts/workarea/admin/templates/direct_upload_processing.jst.ejs +25 -0
  204. data/app/assets/javascripts/workarea/admin/templates/direct_upload_table_row.jst.ejs +10 -0
  205. data/app/assets/javascripts/workarea/admin/templates/expandable_button.jst.ejs +4 -0
  206. data/app/assets/javascripts/workarea/admin/templates/help_helper.jst.ejs +97 -0
  207. data/app/assets/javascripts/workarea/admin/templates/help_helper_text.jst.ejs +6 -0
  208. data/app/assets/javascripts/workarea/admin/templates/inactive_blocks_toggle.jst.ejs +1 -0
  209. data/app/assets/javascripts/workarea/admin/templates/inline_datepicker.jst.ejs +1 -0
  210. data/app/assets/javascripts/workarea/admin/templates/loading.jst.ejs +1 -0
  211. data/app/assets/javascripts/workarea/admin/templates/message.jst.ejs +10 -0
  212. data/app/assets/javascripts/workarea/admin/templates/message_dismiss_action.jst.ejs +5 -0
  213. data/app/assets/javascripts/workarea/admin/templates/new_release_option.jst.ejs +1 -0
  214. data/app/assets/javascripts/workarea/admin/templates/release_select_form.jst.ejs +5 -0
  215. data/app/assets/javascripts/workarea/admin/templates/remote_select.jst.ejs +1 -0
  216. data/app/assets/javascripts/workarea/admin/templates/remote_select_insight.jst.ejs.ruby +25 -0
  217. data/app/assets/javascripts/workarea/admin/templates/remote_select_sparkline.jst.ejs +8 -0
  218. data/app/assets/javascripts/workarea/admin/templates/tabs_menu.jst.ejs +7 -0
  219. data/app/assets/javascripts/workarea/admin/templates/takeover.jst.ejs +3 -0
  220. data/app/assets/javascripts/workarea/admin/templates/ui_menu_heading.jst.ejs +1 -0
  221. data/app/assets/javascripts/workarea/admin/templates/ui_menu_item.jst.ejs +8 -0
  222. data/app/assets/javascripts/workarea/admin/templates/wysiwyg_toolbar.jst.ejs.ruby +59 -0
  223. data/app/assets/stylesheets/dropzonejs/admin/_dropzone.scss +126 -0
  224. data/app/assets/stylesheets/jquery_select2/admin/theme/_workarea.scss +413 -0
  225. data/app/assets/stylesheets/jquery_ui/admin/_ui_accordion.scss +11 -0
  226. data/app/assets/stylesheets/jquery_ui/admin/_ui_accordion_content.scss +12 -0
  227. data/app/assets/stylesheets/jquery_ui/admin/_ui_accordion_header.scss +37 -0
  228. data/app/assets/stylesheets/jquery_ui/admin/_ui_autocomplete.scss +17 -0
  229. data/app/assets/stylesheets/jquery_ui/admin/_ui_datepicker.scss +158 -0
  230. data/app/assets/stylesheets/jquery_ui/admin/_ui_helper_hidden_accessible.scss +7 -0
  231. data/app/assets/stylesheets/jquery_ui/admin/_ui_menu.scss +44 -0
  232. data/app/assets/stylesheets/jquery_ui/admin/_ui_sortable.scss +9 -0
  233. data/app/assets/stylesheets/jquery_ui/admin/_ui_state_focus.scss +14 -0
  234. data/app/assets/stylesheets/jquery_ui/admin/_ui_tabs.scss +71 -0
  235. data/app/assets/stylesheets/tooltipster/admin/_tooltipster_workarea_admin.scss +88 -0
  236. data/app/assets/stylesheets/turbolinks/admin/_progress_bar.scss +11 -0
  237. data/app/assets/stylesheets/workarea/admin/application.scss.erb +150 -0
  238. data/app/assets/stylesheets/workarea/admin/base/_forms.scss +82 -0
  239. data/app/assets/stylesheets/workarea/admin/base/_images.scss +29 -0
  240. data/app/assets/stylesheets/workarea/admin/base/_links.scss +5 -0
  241. data/app/assets/stylesheets/workarea/admin/base/_lists.scss +8 -0
  242. data/app/assets/stylesheets/workarea/admin/base/_page.scss +32 -0
  243. data/app/assets/stylesheets/workarea/admin/base/_tables.scss +54 -0
  244. data/app/assets/stylesheets/workarea/admin/components/_activity.scss +63 -0
  245. data/app/assets/stylesheets/workarea/admin/components/_activity_group.scss +27 -0
  246. data/app/assets/stylesheets/workarea/admin/components/_add_to_calendar.scss +17 -0
  247. data/app/assets/stylesheets/workarea/admin/components/_admin_toolbar.scss +5 -0
  248. data/app/assets/stylesheets/workarea/admin/components/_asset_picker_field.scss +11 -0
  249. data/app/assets/stylesheets/workarea/admin/components/_avatar.scss +38 -0
  250. data/app/assets/stylesheets/workarea/admin/components/_box.scss +52 -0
  251. data/app/assets/stylesheets/workarea/admin/components/_browsing_controls.scss +234 -0
  252. data/app/assets/stylesheets/workarea/admin/components/_bulk_actions.scss +42 -0
  253. data/app/assets/stylesheets/workarea/admin/components/_button.scss +75 -0
  254. data/app/assets/stylesheets/workarea/admin/components/_calendar.scss +325 -0
  255. data/app/assets/stylesheets/workarea/admin/components/_card.scss +193 -0
  256. data/app/assets/stylesheets/workarea/admin/components/_chart.scss +154 -0
  257. data/app/assets/stylesheets/workarea/admin/components/_chart_legend.scss +22 -0
  258. data/app/assets/stylesheets/workarea/admin/components/_chartkick.scss +11 -0
  259. data/app/assets/stylesheets/workarea/admin/components/_checkbox.scss +74 -0
  260. data/app/assets/stylesheets/workarea/admin/components/_color_picker.scss +21 -0
  261. data/app/assets/stylesheets/workarea/admin/components/_comments.scss +76 -0
  262. data/app/assets/stylesheets/workarea/admin/components/_content_block.scss +136 -0
  263. data/app/assets/stylesheets/workarea/admin/components/_content_block_list.scss +58 -0
  264. data/app/assets/stylesheets/workarea/admin/components/_content_editor.scss +161 -0
  265. data/app/assets/stylesheets/workarea/admin/components/_content_preview.scss +117 -0
  266. data/app/assets/stylesheets/workarea/admin/components/_dashboard.scss +80 -0
  267. data/app/assets/stylesheets/workarea/admin/components/_dashboard_graphs.scss +23 -0
  268. data/app/assets/stylesheets/workarea/admin/components/_data_file_sample.scss +18 -0
  269. data/app/assets/stylesheets/workarea/admin/components/_data_pairs.scss +46 -0
  270. data/app/assets/stylesheets/workarea/admin/components/_date_marker.scss +42 -0
  271. data/app/assets/stylesheets/workarea/admin/components/_direct_upload.scss +105 -0
  272. data/app/assets/stylesheets/workarea/admin/components/_discount.scss +41 -0
  273. data/app/assets/stylesheets/workarea/admin/components/_expandable.scss +48 -0
  274. data/app/assets/stylesheets/workarea/admin/components/_header.scss +184 -0
  275. data/app/assets/stylesheets/workarea/admin/components/_help_article.scss +17 -0
  276. data/app/assets/stylesheets/workarea/admin/components/_help_article_summary.scss +57 -0
  277. data/app/assets/stylesheets/workarea/admin/components/_help_helper.scss +559 -0
  278. data/app/assets/stylesheets/workarea/admin/components/_index_table.scss +79 -0
  279. data/app/assets/stylesheets/workarea/admin/components/_insight.scss +93 -0
  280. data/app/assets/stylesheets/workarea/admin/components/_live_search.scss +120 -0
  281. data/app/assets/stylesheets/workarea/admin/components/_loading.scss +63 -0
  282. data/app/assets/stylesheets/workarea/admin/components/_menu.scss +121 -0
  283. data/app/assets/stylesheets/workarea/admin/components/_menu_editor.scss +400 -0
  284. data/app/assets/stylesheets/workarea/admin/components/_message.scss +108 -0
  285. data/app/assets/stylesheets/workarea/admin/components/_navigation_builder.scss +97 -0
  286. data/app/assets/stylesheets/workarea/admin/components/_new_block_button.scss +64 -0
  287. data/app/assets/stylesheets/workarea/admin/components/_new_navigation_link.scss +23 -0
  288. data/app/assets/stylesheets/workarea/admin/components/_page_container.scss +5 -0
  289. data/app/assets/stylesheets/workarea/admin/components/_page_content.scss +19 -0
  290. data/app/assets/stylesheets/workarea/admin/components/_page_messages.scss +11 -0
  291. data/app/assets/stylesheets/workarea/admin/components/_pagination.scss +27 -0
  292. data/app/assets/stylesheets/workarea/admin/components/_payment_icon.scss +20 -0
  293. data/app/assets/stylesheets/workarea/admin/components/_pricing_overrides.scss +13 -0
  294. data/app/assets/stylesheets/workarea/admin/components/_primary_nav.scss +85 -0
  295. data/app/assets/stylesheets/workarea/admin/components/_product_images.scss +83 -0
  296. data/app/assets/stylesheets/workarea/admin/components/_product_rules.scss +33 -0
  297. data/app/assets/stylesheets/workarea/admin/components/_product_rules_preview.scss +29 -0
  298. data/app/assets/stylesheets/workarea/admin/components/_product_summary.scss +78 -0
  299. data/app/assets/stylesheets/workarea/admin/components/_property.scss +116 -0
  300. data/app/assets/stylesheets/workarea/admin/components/_property_toggle.scss +35 -0
  301. data/app/assets/stylesheets/workarea/admin/components/_range_input.scss +32 -0
  302. data/app/assets/stylesheets/workarea/admin/components/_release_changeset.scss +87 -0
  303. data/app/assets/stylesheets/workarea/admin/components/_release_creatable.scss +53 -0
  304. data/app/assets/stylesheets/workarea/admin/components/_release_select.scss +70 -0
  305. data/app/assets/stylesheets/workarea/admin/components/_search_form.scss +78 -0
  306. data/app/assets/stylesheets/workarea/admin/components/_secondary_nav.scss +16 -0
  307. data/app/assets/stylesheets/workarea/admin/components/_state.scss +35 -0
  308. data/app/assets/stylesheets/workarea/admin/components/_style_guide.scss +134 -0
  309. data/app/assets/stylesheets/workarea/admin/components/_summary.scss +199 -0
  310. data/app/assets/stylesheets/workarea/admin/components/_svg_icon.scss +62 -0
  311. data/app/assets/stylesheets/workarea/admin/components/_tabs.scss +22 -0
  312. data/app/assets/stylesheets/workarea/admin/components/_takeover.scss +95 -0
  313. data/app/assets/stylesheets/workarea/admin/components/_text_box.scss +97 -0
  314. data/app/assets/stylesheets/workarea/admin/components/_text_button.scss +73 -0
  315. data/app/assets/stylesheets/workarea/admin/components/_toggle_button.scss +159 -0
  316. data/app/assets/stylesheets/workarea/admin/components/_top_help_articles.scss +82 -0
  317. data/app/assets/stylesheets/workarea/admin/components/_view.scss +64 -0
  318. data/app/assets/stylesheets/workarea/admin/components/_workflow_bar.scss +125 -0
  319. data/app/assets/stylesheets/workarea/admin/components/_wysiwyg.scss +110 -0
  320. data/app/assets/stylesheets/workarea/admin/email.scss +4 -0
  321. data/app/assets/stylesheets/workarea/admin/email/_base.scss +48 -0
  322. data/app/assets/stylesheets/workarea/admin/email/_components.scss +114 -0
  323. data/app/assets/stylesheets/workarea/admin/email/_helpers.scss +69 -0
  324. data/app/assets/stylesheets/workarea/admin/email/_settings.scss +22 -0
  325. data/app/assets/stylesheets/workarea/admin/generic/_box_sizing.scss +20 -0
  326. data/app/assets/stylesheets/workarea/admin/generic/_fonts.scss +10 -0
  327. data/app/assets/stylesheets/workarea/admin/generic/_reset.scss +47 -0
  328. data/app/assets/stylesheets/workarea/admin/objects/_button_reset.scss +17 -0
  329. data/app/assets/stylesheets/workarea/admin/objects/_inline_list.scss +26 -0
  330. data/app/assets/stylesheets/workarea/admin/objects/_list_reset.scss +10 -0
  331. data/app/assets/stylesheets/workarea/admin/objects/_section.scss +8 -0
  332. data/app/assets/stylesheets/workarea/admin/objects/_text_field_reset.scss +10 -0
  333. data/app/assets/stylesheets/workarea/admin/objects/_tooltip_content.scss +25 -0
  334. data/app/assets/stylesheets/workarea/admin/settings/_breakpoints.scss.erb +8 -0
  335. data/app/assets/stylesheets/workarea/admin/settings/_colors.scss +32 -0
  336. data/app/assets/stylesheets/workarea/admin/settings/_global.scss +35 -0
  337. data/app/assets/stylesheets/workarea/admin/settings/_grid.scss +37 -0
  338. data/app/assets/stylesheets/workarea/admin/settings/_typography.scss +21 -0
  339. data/app/assets/stylesheets/workarea/admin/settings/_z_indexes.scss +37 -0
  340. data/app/assets/stylesheets/workarea/admin/tools/_center.scss +34 -0
  341. data/app/assets/stylesheets/workarea/admin/tools/_focus_ring.scss +23 -0
  342. data/app/assets/stylesheets/workarea/admin/tools/_global_box_shadow.scss +32 -0
  343. data/app/assets/stylesheets/workarea/admin/tools/_respond_to.scss +31 -0
  344. data/app/assets/stylesheets/workarea/admin/tools/_svg.scss +29 -0
  345. data/app/assets/stylesheets/workarea/admin/tools/_text_box_image.scss +24 -0
  346. data/app/assets/stylesheets/workarea/admin/trumps/_break_word.scss +9 -0
  347. data/app/assets/stylesheets/workarea/admin/trumps/_clearfix.scss +13 -0
  348. data/app/assets/stylesheets/workarea/admin/trumps/_hidden.scss +71 -0
  349. data/app/assets/stylesheets/workarea/admin/trumps/_image_replacement.scss +11 -0
  350. data/app/assets/stylesheets/workarea/admin/trumps/_truncate.scss +10 -0
  351. data/app/assets/stylesheets/workarea/admin/trumps/_visible.scss +70 -0
  352. data/app/assets/stylesheets/workarea/admin/trumps/_visually_hidden.scss +14 -0
  353. data/app/assets/stylesheets/workarea/admin/typography/_align.scss +15 -0
  354. data/app/assets/stylesheets/workarea/admin/typography/_headings.scss +87 -0
  355. data/app/assets/stylesheets/workarea/admin/typography/_links.scss +39 -0
  356. data/app/assets/stylesheets/workarea/admin/typography/_spark.scss +26 -0
  357. data/app/assets/stylesheets/workarea/admin/typography/_text.scss +75 -0
  358. data/app/controllers/workarea/admin/activities_controller.rb +9 -0
  359. data/app/controllers/workarea/admin/application_controller.rb +109 -0
  360. data/app/controllers/workarea/admin/bookmarks_controller.rb +17 -0
  361. data/app/controllers/workarea/admin/bulk_action_deletions_controller.rb +38 -0
  362. data/app/controllers/workarea/admin/bulk_action_product_edits_controller.rb +55 -0
  363. data/app/controllers/workarea/admin/bulk_action_sequential_product_edits_controller.rb +126 -0
  364. data/app/controllers/workarea/admin/bulk_actions_controller.rb +43 -0
  365. data/app/controllers/workarea/admin/bulk_variant_saving.rb +31 -0
  366. data/app/controllers/workarea/admin/catalog_categories_controller.rb +62 -0
  367. data/app/controllers/workarea/admin/catalog_product_copies_controller.rb +31 -0
  368. data/app/controllers/workarea/admin/catalog_product_images_controller.rb +67 -0
  369. data/app/controllers/workarea/admin/catalog_products_controller.rb +82 -0
  370. data/app/controllers/workarea/admin/catalog_variants_controller.rb +93 -0
  371. data/app/controllers/workarea/admin/categorizations_controller.rb +37 -0
  372. data/app/controllers/workarea/admin/changesets_controller.rb +28 -0
  373. data/app/controllers/workarea/admin/comments_controller.rb +104 -0
  374. data/app/controllers/workarea/admin/content_assets_controller.rb +66 -0
  375. data/app/controllers/workarea/admin/content_block_drafts_controller.rb +14 -0
  376. data/app/controllers/workarea/admin/content_blocks_controller.rb +105 -0
  377. data/app/controllers/workarea/admin/content_controller.rb +54 -0
  378. data/app/controllers/workarea/admin/content_emails_controller.rb +35 -0
  379. data/app/controllers/workarea/admin/content_pages_controller.rb +59 -0
  380. data/app/controllers/workarea/admin/content_presets_controller.rb +40 -0
  381. data/app/controllers/workarea/admin/create_catalog_categories_controller.rb +135 -0
  382. data/app/controllers/workarea/admin/create_catalog_products_controller.rb +145 -0
  383. data/app/controllers/workarea/admin/create_content_pages_controller.rb +91 -0
  384. data/app/controllers/workarea/admin/create_pricing_discounts_controller.rb +68 -0
  385. data/app/controllers/workarea/admin/create_releases_controller.rb +51 -0
  386. data/app/controllers/workarea/admin/create_users_controller.rb +65 -0
  387. data/app/controllers/workarea/admin/dashboards_controller.rb +51 -0
  388. data/app/controllers/workarea/admin/data_file_exports_controller.rb +35 -0
  389. data/app/controllers/workarea/admin/data_file_imports_controller.rb +35 -0
  390. data/app/controllers/workarea/admin/data_file_tax_imports_controller.rb +38 -0
  391. data/app/controllers/workarea/admin/data_files_controller.rb +13 -0
  392. data/app/controllers/workarea/admin/direct_uploads_controller.rb +36 -0
  393. data/app/controllers/workarea/admin/email_signups_controller.rb +20 -0
  394. data/app/controllers/workarea/admin/featured_products_controller.rb +78 -0
  395. data/app/controllers/workarea/admin/fulfillments_controller.rb +15 -0
  396. data/app/controllers/workarea/admin/guest_browsings_controller.rb +25 -0
  397. data/app/controllers/workarea/admin/help_assets_controller.rb +27 -0
  398. data/app/controllers/workarea/admin/help_authorization.rb +17 -0
  399. data/app/controllers/workarea/admin/help_controller.rb +79 -0
  400. data/app/controllers/workarea/admin/impersonations_controller.rb +34 -0
  401. data/app/controllers/workarea/admin/inventory_skus_controller.rb +79 -0
  402. data/app/controllers/workarea/admin/jump_to_controller.rb +30 -0
  403. data/app/controllers/workarea/admin/navigation_menus_controller.rb +104 -0
  404. data/app/controllers/workarea/admin/navigation_redirects_controller.rb +41 -0
  405. data/app/controllers/workarea/admin/navigation_taxons_controller.rb +104 -0
  406. data/app/controllers/workarea/admin/orders_controller.rb +28 -0
  407. data/app/controllers/workarea/admin/payment_transactions_controller.rb +20 -0
  408. data/app/controllers/workarea/admin/payments_controller.rb +12 -0
  409. data/app/controllers/workarea/admin/prices_controller.rb +69 -0
  410. data/app/controllers/workarea/admin/pricing_discount_code_lists_controller.rb +58 -0
  411. data/app/controllers/workarea/admin/pricing_discounts_controller.rb +56 -0
  412. data/app/controllers/workarea/admin/pricing_overrides_controller.rb +54 -0
  413. data/app/controllers/workarea/admin/pricing_skus_controller.rb +87 -0
  414. data/app/controllers/workarea/admin/product_rules_controller.rb +97 -0
  415. data/app/controllers/workarea/admin/publishing.rb +45 -0
  416. data/app/controllers/workarea/admin/recommendations_controller.rb +36 -0
  417. data/app/controllers/workarea/admin/releasables_controller.rb +16 -0
  418. data/app/controllers/workarea/admin/release_sessions_controller.rb +25 -0
  419. data/app/controllers/workarea/admin/releases_controller.rb +110 -0
  420. data/app/controllers/workarea/admin/reports_controller.rb +115 -0
  421. data/app/controllers/workarea/admin/search_customizations_controller.rb +84 -0
  422. data/app/controllers/workarea/admin/search_settings_controller.rb +27 -0
  423. data/app/controllers/workarea/admin/searches_controller.rb +11 -0
  424. data/app/controllers/workarea/admin/shipping_services_controller.rb +85 -0
  425. data/app/controllers/workarea/admin/shippings_controller.rb +24 -0
  426. data/app/controllers/workarea/admin/style_guides_controller.rb +6 -0
  427. data/app/controllers/workarea/admin/tax_categories_controller.rb +55 -0
  428. data/app/controllers/workarea/admin/tax_rates_controller.rb +14 -0
  429. data/app/controllers/workarea/admin/timeline_controller.rb +10 -0
  430. data/app/controllers/workarea/admin/toolbar_controller.rb +16 -0
  431. data/app/controllers/workarea/admin/trash_controller.rb +50 -0
  432. data/app/controllers/workarea/admin/user_params.rb +16 -0
  433. data/app/controllers/workarea/admin/users_controller.rb +77 -0
  434. data/app/controllers/workarea/admin/visiting.rb +51 -0
  435. data/app/helpers/workarea/admin/activities_helper.rb +70 -0
  436. data/app/helpers/workarea/admin/application_helper.rb +161 -0
  437. data/app/helpers/workarea/admin/bookmarks_helper.rb +15 -0
  438. data/app/helpers/workarea/admin/bulk_actions_helper.rb +9 -0
  439. data/app/helpers/workarea/admin/changesets_helper.rb +14 -0
  440. data/app/helpers/workarea/admin/content_block_icon_helper.rb +22 -0
  441. data/app/helpers/workarea/admin/content_helper.rb +69 -0
  442. data/app/helpers/workarea/admin/credit_cards_helper.rb +26 -0
  443. data/app/helpers/workarea/admin/data_files_helper.rb +9 -0
  444. data/app/helpers/workarea/admin/date_selector_helper.rb +58 -0
  445. data/app/helpers/workarea/admin/facets_helper.rb +15 -0
  446. data/app/helpers/workarea/admin/icons_helper.rb +95 -0
  447. data/app/helpers/workarea/admin/imports_helper.rb +50 -0
  448. data/app/helpers/workarea/admin/insights_helper.rb +42 -0
  449. data/app/helpers/workarea/admin/inventory_helper.rb +9 -0
  450. data/app/helpers/workarea/admin/navigation_helper.rb +70 -0
  451. data/app/helpers/workarea/admin/navigation_menus_helper.rb +12 -0
  452. data/app/helpers/workarea/admin/orders_helper.rb +17 -0
  453. data/app/helpers/workarea/admin/pages_helper.rb +9 -0
  454. data/app/helpers/workarea/admin/price_adjustments_helper.rb +21 -0
  455. data/app/helpers/workarea/admin/pricing_overrides_helper.rb +9 -0
  456. data/app/helpers/workarea/admin/product_rules_helper.rb +50 -0
  457. data/app/helpers/workarea/admin/products_helper.rb +10 -0
  458. data/app/helpers/workarea/admin/releases_helper.rb +221 -0
  459. data/app/helpers/workarea/admin/reports_helper.rb +57 -0
  460. data/app/helpers/workarea/admin/search_customizations_helper.rb +19 -0
  461. data/app/helpers/workarea/admin/settings_helper.rb +18 -0
  462. data/app/helpers/workarea/admin/storefront_helper.rb +13 -0
  463. data/app/helpers/workarea/admin/taxons_helper.rb +65 -0
  464. data/app/mailers/workarea/admin/application_mailer.rb +32 -0
  465. data/app/mailers/workarea/admin/comment_mailer.rb +32 -0
  466. data/app/mailers/workarea/admin/data_file_mailer.rb +68 -0
  467. data/app/mailers/workarea/admin/reports_mailer.rb +18 -0
  468. data/app/mailers/workarea/admin/status_report_mailer.rb +19 -0
  469. data/app/view_models/workarea/admin/activity_view_model.rb +107 -0
  470. data/app/view_models/workarea/admin/alerts_view_model.rb +60 -0
  471. data/app/view_models/workarea/admin/asset_view_model.rb +11 -0
  472. data/app/view_models/workarea/admin/bulk_action_deletion_view_model.rb +13 -0
  473. data/app/view_models/workarea/admin/bulk_action_product_edit_view_model.rb +25 -0
  474. data/app/view_models/workarea/admin/bulk_action_sequential_product_edit_view_model.rb +25 -0
  475. data/app/view_models/workarea/admin/category_view_model.rb +55 -0
  476. data/app/view_models/workarea/admin/changes_view_model.rb +52 -0
  477. data/app/view_models/workarea/admin/changeset_view_model.rb +81 -0
  478. data/app/view_models/workarea/admin/code_list_view_model.rb +25 -0
  479. data/app/view_models/workarea/admin/comment_view_model.rb +18 -0
  480. data/app/view_models/workarea/admin/commentable_view_model.rb +21 -0
  481. data/app/view_models/workarea/admin/content_view_model.rb +142 -0
  482. data/app/view_models/workarea/admin/contentable_view_model.rb +9 -0
  483. data/app/view_models/workarea/admin/dashboards/catalog_view_model.rb +13 -0
  484. data/app/view_models/workarea/admin/dashboards/index_view_model.rb +28 -0
  485. data/app/view_models/workarea/admin/dashboards/insights_graphs.rb +97 -0
  486. data/app/view_models/workarea/admin/dashboards/marketing_view_model.rb +83 -0
  487. data/app/view_models/workarea/admin/dashboards/orders_view_model.rb +20 -0
  488. data/app/view_models/workarea/admin/dashboards/people_view_model.rb +39 -0
  489. data/app/view_models/workarea/admin/dashboards/reports_view_model.rb +105 -0
  490. data/app/view_models/workarea/admin/dashboards/search_view_model.rb +22 -0
  491. data/app/view_models/workarea/admin/dashboards/store_view_model.rb +13 -0
  492. data/app/view_models/workarea/admin/data_file_view_model.rb +28 -0
  493. data/app/view_models/workarea/admin/data_files_view_model.rb +42 -0
  494. data/app/view_models/workarea/admin/discount_rules_view_model.rb +99 -0
  495. data/app/view_models/workarea/admin/discount_search_view_model.rb +17 -0
  496. data/app/view_models/workarea/admin/discount_view_model.rb +127 -0
  497. data/app/view_models/workarea/admin/discounts/buy_some_get_some_view_model.rb +35 -0
  498. data/app/view_models/workarea/admin/discounts/categories.rb +13 -0
  499. data/app/view_models/workarea/admin/discounts/category_view_model.rb +40 -0
  500. data/app/view_models/workarea/admin/discounts/free_gift_view_model.rb +35 -0
  501. data/app/view_models/workarea/admin/discounts/order_total_view_model.rb +32 -0
  502. data/app/view_models/workarea/admin/discounts/product_attribute_view_model.rb +38 -0
  503. data/app/view_models/workarea/admin/discounts/product_view_model.rb +40 -0
  504. data/app/view_models/workarea/admin/discounts/products.rb +13 -0
  505. data/app/view_models/workarea/admin/discounts/quantity_fixed_price_view_model.rb +35 -0
  506. data/app/view_models/workarea/admin/discounts/shipping_view_model.rb +36 -0
  507. data/app/view_models/workarea/admin/featured_products_view_model.rb +20 -0
  508. data/app/view_models/workarea/admin/fulfillment_item_view_model.rb +13 -0
  509. data/app/view_models/workarea/admin/fulfillment_view_model.rb +41 -0
  510. data/app/view_models/workarea/admin/help_search_view_model.rb +17 -0
  511. data/app/view_models/workarea/admin/insight_view_model.rb +37 -0
  512. data/app/view_models/workarea/admin/insights/category_view_model.rb +25 -0
  513. data/app/view_models/workarea/admin/insights/discount_view_model.rb +25 -0
  514. data/app/view_models/workarea/admin/insights/insights_details.rb +83 -0
  515. data/app/view_models/workarea/admin/insights/product_view_model.rb +56 -0
  516. data/app/view_models/workarea/admin/insights/search_view_model.rb +29 -0
  517. data/app/view_models/workarea/admin/inventory_sku_view_model.rb +21 -0
  518. data/app/view_models/workarea/admin/order_item_view_model.rb +29 -0
  519. data/app/view_models/workarea/admin/order_search_view_model.rb +14 -0
  520. data/app/view_models/workarea/admin/order_timeline_view_model.rb +163 -0
  521. data/app/view_models/workarea/admin/order_view_model.rb +114 -0
  522. data/app/view_models/workarea/admin/package_view_model.rb +20 -0
  523. data/app/view_models/workarea/admin/page_view_model.rb +16 -0
  524. data/app/view_models/workarea/admin/payment_view_model.rb +21 -0
  525. data/app/view_models/workarea/admin/pricing_sku_view_model.rb +21 -0
  526. data/app/view_models/workarea/admin/product_images_view_model.rb +9 -0
  527. data/app/view_models/workarea/admin/product_rules_preview_view_model.rb +64 -0
  528. data/app/view_models/workarea/admin/product_view_model.rb +153 -0
  529. data/app/view_models/workarea/admin/promo_code_view_model.rb +7 -0
  530. data/app/view_models/workarea/admin/recommendations_view_model.rb +23 -0
  531. data/app/view_models/workarea/admin/release_calendar_view_model.rb +57 -0
  532. data/app/view_models/workarea/admin/release_event_view_model.rb +56 -0
  533. data/app/view_models/workarea/admin/release_search_view_model.rb +13 -0
  534. data/app/view_models/workarea/admin/release_view_model.rb +44 -0
  535. data/app/view_models/workarea/admin/releases_feed_view_model.rb +58 -0
  536. data/app/view_models/workarea/admin/reports/average_order_value_view_model.rb +14 -0
  537. data/app/view_models/workarea/admin/reports/customers_view_model.rb +18 -0
  538. data/app/view_models/workarea/admin/reports/first_time_vs_returning_sales_view_model.rb +14 -0
  539. data/app/view_models/workarea/admin/reports/group_by_time.rb +38 -0
  540. data/app/view_models/workarea/admin/reports/insights_view_model.rb +32 -0
  541. data/app/view_models/workarea/admin/reports/low_inventory_view_model.rb +20 -0
  542. data/app/view_models/workarea/admin/reports/sales_by_category_view_model.rb +20 -0
  543. data/app/view_models/workarea/admin/reports/sales_by_country_view_model.rb +14 -0
  544. data/app/view_models/workarea/admin/reports/sales_by_discount_view_model.rb +20 -0
  545. data/app/view_models/workarea/admin/reports/sales_by_product_view_model.rb +20 -0
  546. data/app/view_models/workarea/admin/reports/sales_by_sku_view_model.rb +20 -0
  547. data/app/view_models/workarea/admin/reports/sales_by_traffic_referrer_view_model.rb +18 -0
  548. data/app/view_models/workarea/admin/reports/sales_over_time_view_model.rb +14 -0
  549. data/app/view_models/workarea/admin/reports/searches_view_model.rb +11 -0
  550. data/app/view_models/workarea/admin/revenue_view_model.rb +45 -0
  551. data/app/view_models/workarea/admin/search_analysis_view_model.rb +68 -0
  552. data/app/view_models/workarea/admin/search_customization_product_rules_view_model.rb +25 -0
  553. data/app/view_models/workarea/admin/search_customization_view_model.rb +17 -0
  554. data/app/view_models/workarea/admin/search_view_model.rb +91 -0
  555. data/app/view_models/workarea/admin/shipping_view_model.rb +23 -0
  556. data/app/view_models/workarea/admin/tax_category_view_model.rb +13 -0
  557. data/app/view_models/workarea/admin/timeline_view_model.rb +57 -0
  558. data/app/view_models/workarea/admin/transaction_view_model.rb +39 -0
  559. data/app/view_models/workarea/admin/user_search_view_model.rb +13 -0
  560. data/app/view_models/workarea/admin/user_view_model.rb +88 -0
  561. data/app/view_models/workarea/admin/variant_view_model.rb +48 -0
  562. data/app/views/layouts/workarea/admin/application.html.haml +181 -0
  563. data/app/views/layouts/workarea/admin/email.html.haml +185 -0
  564. data/app/views/layouts/workarea/admin/empty.html.haml +38 -0
  565. data/app/views/workarea/admin/activities/_bulk_action_order_export_create.haml +8 -0
  566. data/app/views/workarea/admin/activities/_bulk_action_pricing_discount_code_list_export_create.haml +8 -0
  567. data/app/views/workarea/admin/activities/_bulk_action_user_export_create.haml +8 -0
  568. data/app/views/workarea/admin/activities/_catalog_category_create.html.haml +12 -0
  569. data/app/views/workarea/admin/activities/_catalog_category_destroy.html.haml +10 -0
  570. data/app/views/workarea/admin/activities/_catalog_category_update.html.haml +11 -0
  571. data/app/views/workarea/admin/activities/_catalog_product_create.html.haml +12 -0
  572. data/app/views/workarea/admin/activities/_catalog_product_destroy.html.haml +10 -0
  573. data/app/views/workarea/admin/activities/_catalog_product_image_create.html.haml +10 -0
  574. data/app/views/workarea/admin/activities/_catalog_product_image_destroy.html.haml +11 -0
  575. data/app/views/workarea/admin/activities/_catalog_product_update.html.haml +11 -0
  576. data/app/views/workarea/admin/activities/_catalog_variant_create.html.haml +21 -0
  577. data/app/views/workarea/admin/activities/_catalog_variant_destroy.html.haml +15 -0
  578. data/app/views/workarea/admin/activities/_catalog_variant_update.html.haml +22 -0
  579. data/app/views/workarea/admin/activities/_comment_create.html.haml +12 -0
  580. data/app/views/workarea/admin/activities/_comment_destroy.html.haml +14 -0
  581. data/app/views/workarea/admin/activities/_comment_update.html.haml +12 -0
  582. data/app/views/workarea/admin/activities/_content_asset_create.html.haml +12 -0
  583. data/app/views/workarea/admin/activities/_content_asset_destroy.html.haml +10 -0
  584. data/app/views/workarea/admin/activities/_content_asset_update.html.haml +11 -0
  585. data/app/views/workarea/admin/activities/_content_block_create.html.haml +12 -0
  586. data/app/views/workarea/admin/activities/_content_block_destroy.html.haml +14 -0
  587. data/app/views/workarea/admin/activities/_content_block_update.html.haml +23 -0
  588. data/app/views/workarea/admin/activities/_content_email_update.html.haml +10 -0
  589. data/app/views/workarea/admin/activities/_content_page_create.html.haml +12 -0
  590. data/app/views/workarea/admin/activities/_content_page_destroy.html.haml +10 -0
  591. data/app/views/workarea/admin/activities/_content_page_update.html.haml +11 -0
  592. data/app/views/workarea/admin/activities/_content_update.html.haml +12 -0
  593. data/app/views/workarea/admin/activities/_help_article_create.html.haml +12 -0
  594. data/app/views/workarea/admin/activities/_help_article_destroy.html.haml +10 -0
  595. data/app/views/workarea/admin/activities/_help_article_update.html.haml +10 -0
  596. data/app/views/workarea/admin/activities/_help_asset_create.html.haml +8 -0
  597. data/app/views/workarea/admin/activities/_help_asset_destroy.html.haml +10 -0
  598. data/app/views/workarea/admin/activities/_import_catalog_create.html.haml +9 -0
  599. data/app/views/workarea/admin/activities/_import_redirect_create.html.haml +9 -0
  600. data/app/views/workarea/admin/activities/_import_tax_create.html.haml +9 -0
  601. data/app/views/workarea/admin/activities/_inventory_sku_create.html.haml +12 -0
  602. data/app/views/workarea/admin/activities/_inventory_sku_destroy.html.haml +10 -0
  603. data/app/views/workarea/admin/activities/_inventory_sku_update.html.haml +10 -0
  604. data/app/views/workarea/admin/activities/_navigation_menu_create.html.haml +12 -0
  605. data/app/views/workarea/admin/activities/_navigation_menu_destroy.html.haml +10 -0
  606. data/app/views/workarea/admin/activities/_navigation_menu_update.html.haml +11 -0
  607. data/app/views/workarea/admin/activities/_navigation_redirect_create.html.haml +9 -0
  608. data/app/views/workarea/admin/activities/_navigation_redirect_destroy.html.haml +10 -0
  609. data/app/views/workarea/admin/activities/_navigation_taxon_create.html.haml +12 -0
  610. data/app/views/workarea/admin/activities/_navigation_taxon_destroy.html.haml +10 -0
  611. data/app/views/workarea/admin/activities/_navigation_taxon_update.html.haml +10 -0
  612. data/app/views/workarea/admin/activities/_pricing_discount_code_list_create.html.haml +12 -0
  613. data/app/views/workarea/admin/activities/_pricing_discount_code_list_destroy.html.haml +10 -0
  614. data/app/views/workarea/admin/activities/_pricing_discount_code_list_update.html.haml +10 -0
  615. data/app/views/workarea/admin/activities/_pricing_discount_create.html.haml +12 -0
  616. data/app/views/workarea/admin/activities/_pricing_discount_destroy.html.haml +10 -0
  617. data/app/views/workarea/admin/activities/_pricing_discount_update.html.haml +11 -0
  618. data/app/views/workarea/admin/activities/_pricing_sku_create.html.haml +12 -0
  619. data/app/views/workarea/admin/activities/_pricing_sku_update.html.haml +10 -0
  620. data/app/views/workarea/admin/activities/_product_rule_create.html.haml +13 -0
  621. data/app/views/workarea/admin/activities/_product_rule_destroy.html.haml +13 -0
  622. data/app/views/workarea/admin/activities/_product_rule_update.html.haml +13 -0
  623. data/app/views/workarea/admin/activities/_release_create.html.haml +12 -0
  624. data/app/views/workarea/admin/activities/_release_destroy.html.haml +10 -0
  625. data/app/views/workarea/admin/activities/_release_info.html.haml +6 -0
  626. data/app/views/workarea/admin/activities/_release_update.html.haml +15 -0
  627. data/app/views/workarea/admin/activities/_search_customization_create.html.haml +12 -0
  628. data/app/views/workarea/admin/activities/_search_customization_destroy.html.haml +14 -0
  629. data/app/views/workarea/admin/activities/_search_customization_update.html.haml +11 -0
  630. data/app/views/workarea/admin/activities/_search_settings_update.html.haml +9 -0
  631. data/app/views/workarea/admin/activities/_shipping_service_create.html.haml +12 -0
  632. data/app/views/workarea/admin/activities/_shipping_service_destroy.html.haml +10 -0
  633. data/app/views/workarea/admin/activities/_shipping_service_update.html.haml +10 -0
  634. data/app/views/workarea/admin/activities/_tax_category_create.html.haml +12 -0
  635. data/app/views/workarea/admin/activities/_tax_category_destroy.html.haml +10 -0
  636. data/app/views/workarea/admin/activities/_tax_category_update.html.haml +10 -0
  637. data/app/views/workarea/admin/activities/_tax_rate_create.html.haml +12 -0
  638. data/app/views/workarea/admin/activities/_tax_rate_destroy.html.haml +10 -0
  639. data/app/views/workarea/admin/activities/_tax_rate_update.html.haml +14 -0
  640. data/app/views/workarea/admin/activities/_user_update.html.haml +10 -0
  641. data/app/views/workarea/admin/activities/show.html.haml +43 -0
  642. data/app/views/workarea/admin/bulk_action_deletions/_form.html.haml +8 -0
  643. data/app/views/workarea/admin/bulk_action_deletions/edit.html.haml +31 -0
  644. data/app/views/workarea/admin/bulk_action_product_edits/edit.html.haml +266 -0
  645. data/app/views/workarea/admin/bulk_action_product_edits/review.html.haml +113 -0
  646. data/app/views/workarea/admin/bulk_action_sequential_product_edits/product.html.haml +254 -0
  647. data/app/views/workarea/admin/bulk_action_sequential_product_edits/publishing.html.haml +29 -0
  648. data/app/views/workarea/admin/bulk_actions/selected.html.haml +16 -0
  649. data/app/views/workarea/admin/catalog_categories/_aux_navigation.html.haml +2 -0
  650. data/app/views/workarea/admin/catalog_categories/_cards.html.haml +119 -0
  651. data/app/views/workarea/admin/catalog_categories/_summary.html.haml +14 -0
  652. data/app/views/workarea/admin/catalog_categories/edit.html.haml +85 -0
  653. data/app/views/workarea/admin/catalog_categories/index.html.haml +88 -0
  654. data/app/views/workarea/admin/catalog_categories/index.json.jbuilder +9 -0
  655. data/app/views/workarea/admin/catalog_categories/insights.html.haml +71 -0
  656. data/app/views/workarea/admin/catalog_categories/show.html.haml +23 -0
  657. data/app/views/workarea/admin/catalog_product_copies/new.html.haml +47 -0
  658. data/app/views/workarea/admin/catalog_product_images/edit.html.haml +52 -0
  659. data/app/views/workarea/admin/catalog_product_images/index.html.haml +75 -0
  660. data/app/views/workarea/admin/catalog_product_images/options.json.jbuilder +4 -0
  661. data/app/views/workarea/admin/catalog_products/_aux_navigation.html.haml +3 -0
  662. data/app/views/workarea/admin/catalog_products/_cards.html.haml +265 -0
  663. data/app/views/workarea/admin/catalog_products/_summary.html.haml +19 -0
  664. data/app/views/workarea/admin/catalog_products/content.html.haml +40 -0
  665. data/app/views/workarea/admin/catalog_products/edit.html.haml +170 -0
  666. data/app/views/workarea/admin/catalog_products/index.html.haml +120 -0
  667. data/app/views/workarea/admin/catalog_products/index.json.jbuilder +9 -0
  668. data/app/views/workarea/admin/catalog_products/insights.html.haml +89 -0
  669. data/app/views/workarea/admin/catalog_products/show.html.haml +24 -0
  670. data/app/views/workarea/admin/catalog_variants/edit.html.haml +76 -0
  671. data/app/views/workarea/admin/catalog_variants/index.html.haml +58 -0
  672. data/app/views/workarea/admin/catalog_variants/index.json.jbuilder +4 -0
  673. data/app/views/workarea/admin/catalog_variants/new.html.haml +68 -0
  674. data/app/views/workarea/admin/categorizations/index.html.haml +75 -0
  675. data/app/views/workarea/admin/categorizations/index.json.jbuilder +9 -0
  676. data/app/views/workarea/admin/changesets/fields/_category_id.html.haml +4 -0
  677. data/app/views/workarea/admin/changesets/fields/_category_ids.html.haml +4 -0
  678. data/app/views/workarea/admin/changesets/fields/_compatible_discount_ids.html.haml +4 -0
  679. data/app/views/workarea/admin/changesets/fields/_data.html.haml +2 -0
  680. data/app/views/workarea/admin/changesets/fields/_generic.html.haml +4 -0
  681. data/app/views/workarea/admin/changesets/fields/_packaged_product_ids.html.haml +4 -0
  682. data/app/views/workarea/admin/changesets/fields/_product_id.html.haml +4 -0
  683. data/app/views/workarea/admin/changesets/fields/_product_ids.html.haml +4 -0
  684. data/app/views/workarea/admin/changesets/fields/_shipping_service_id.html.haml +4 -0
  685. data/app/views/workarea/admin/changesets/fields/data/_category.html.haml +4 -0
  686. data/app/views/workarea/admin/changesets/fields/data/_generic.html.haml +4 -0
  687. data/app/views/workarea/admin/changesets/fields/data/_products.html.haml +4 -0
  688. data/app/views/workarea/admin/changesets/index.html.haml +42 -0
  689. data/app/views/workarea/admin/comment_mailer/notify.html.haml +36 -0
  690. data/app/views/workarea/admin/comments/_card.html.haml +26 -0
  691. data/app/views/workarea/admin/comments/edit.html.haml +27 -0
  692. data/app/views/workarea/admin/comments/index.html.haml +64 -0
  693. data/app/views/workarea/admin/content/_aux_navigation.html.haml +4 -0
  694. data/app/views/workarea/admin/content/_card.html.haml +24 -0
  695. data/app/views/workarea/admin/content/_cards.html.haml +9 -0
  696. data/app/views/workarea/admin/content/_edit.html.haml +75 -0
  697. data/app/views/workarea/admin/content/_form.html.haml +51 -0
  698. data/app/views/workarea/admin/content/_summary.html.haml +10 -0
  699. data/app/views/workarea/admin/content/advanced.html.haml +65 -0
  700. data/app/views/workarea/admin/content/edit.html.haml +25 -0
  701. data/app/views/workarea/admin/content/index.html.haml +32 -0
  702. data/app/views/workarea/admin/content/preview.html.haml +14 -0
  703. data/app/views/workarea/admin/content/show.html.haml +27 -0
  704. data/app/views/workarea/admin/content_assets/_cards.html.haml +49 -0
  705. data/app/views/workarea/admin/content_assets/_summary.html.haml +9 -0
  706. data/app/views/workarea/admin/content_assets/edit.html.haml +56 -0
  707. data/app/views/workarea/admin/content_assets/index.html.haml +95 -0
  708. data/app/views/workarea/admin/content_assets/insert.html.haml +46 -0
  709. data/app/views/workarea/admin/content_assets/new.html.haml +36 -0
  710. data/app/views/workarea/admin/content_assets/show.html.haml +21 -0
  711. data/app/views/workarea/admin/content_blocks/_asset.html.haml +24 -0
  712. data/app/views/workarea/admin/content_blocks/_boolean.html.haml +14 -0
  713. data/app/views/workarea/admin/content_blocks/_breakpoints.html.haml +17 -0
  714. data/app/views/workarea/admin/content_blocks/_category.html.haml +14 -0
  715. data/app/views/workarea/admin/content_blocks/_color.html.haml +19 -0
  716. data/app/views/workarea/admin/content_blocks/_integer.html.haml +14 -0
  717. data/app/views/workarea/admin/content_blocks/_options.html.haml +14 -0
  718. data/app/views/workarea/admin/content_blocks/_products.html.haml +14 -0
  719. data/app/views/workarea/admin/content_blocks/_range.html.haml +16 -0
  720. data/app/views/workarea/admin/content_blocks/_string.html.haml +17 -0
  721. data/app/views/workarea/admin/content_blocks/_taxonomy.html.haml +14 -0
  722. data/app/views/workarea/admin/content_blocks/_text.html.haml +14 -0
  723. data/app/views/workarea/admin/content_blocks/_url.html.haml +14 -0
  724. data/app/views/workarea/admin/content_blocks/index.html.haml +31 -0
  725. data/app/views/workarea/admin/content_emails/edit.html.haml +22 -0
  726. data/app/views/workarea/admin/content_emails/index.html.haml +26 -0
  727. data/app/views/workarea/admin/content_pages/_aux_navigation.html.haml +2 -0
  728. data/app/views/workarea/admin/content_pages/_cards.html.haml +40 -0
  729. data/app/views/workarea/admin/content_pages/_summary.html.haml +14 -0
  730. data/app/views/workarea/admin/content_pages/edit.html.haml +76 -0
  731. data/app/views/workarea/admin/content_pages/index.html.haml +81 -0
  732. data/app/views/workarea/admin/content_pages/index.json.jbuilder +7 -0
  733. data/app/views/workarea/admin/content_pages/show.html.haml +23 -0
  734. data/app/views/workarea/admin/content_presets/new.html.haml +7 -0
  735. data/app/views/workarea/admin/create_catalog_categories/content.html.haml +31 -0
  736. data/app/views/workarea/admin/create_catalog_categories/featured_products.html.haml +75 -0
  737. data/app/views/workarea/admin/create_catalog_categories/navigation.html.haml +46 -0
  738. data/app/views/workarea/admin/create_catalog_categories/products.html.haml +64 -0
  739. data/app/views/workarea/admin/create_catalog_categories/publish.html.haml +36 -0
  740. data/app/views/workarea/admin/create_catalog_categories/rules.html.haml +68 -0
  741. data/app/views/workarea/admin/create_catalog_categories/setup.html.haml +51 -0
  742. data/app/views/workarea/admin/create_catalog_categories/taxonomy.html.haml +35 -0
  743. data/app/views/workarea/admin/create_catalog_products/categorization.html.haml +68 -0
  744. data/app/views/workarea/admin/create_catalog_products/content.html.haml +58 -0
  745. data/app/views/workarea/admin/create_catalog_products/details.html.haml +90 -0
  746. data/app/views/workarea/admin/create_catalog_products/images.html.haml +60 -0
  747. data/app/views/workarea/admin/create_catalog_products/publish.html.haml +45 -0
  748. data/app/views/workarea/admin/create_catalog_products/setup.html.haml +66 -0
  749. data/app/views/workarea/admin/create_catalog_products/variants.html.haml +93 -0
  750. data/app/views/workarea/admin/create_content_pages/content.html.haml +30 -0
  751. data/app/views/workarea/admin/create_content_pages/navigation.html.haml +45 -0
  752. data/app/views/workarea/admin/create_content_pages/publish.html.haml +35 -0
  753. data/app/views/workarea/admin/create_content_pages/setup.html.haml +53 -0
  754. data/app/views/workarea/admin/create_content_pages/taxonomy.html.haml +35 -0
  755. data/app/views/workarea/admin/create_pricing_discounts/details.html.haml +47 -0
  756. data/app/views/workarea/admin/create_pricing_discounts/publish.html.haml +31 -0
  757. data/app/views/workarea/admin/create_pricing_discounts/rules.html.haml +85 -0
  758. data/app/views/workarea/admin/create_pricing_discounts/setup.html.haml +100 -0
  759. data/app/views/workarea/admin/create_releases/plan.html.haml +83 -0
  760. data/app/views/workarea/admin/create_releases/setup.html.haml +58 -0
  761. data/app/views/workarea/admin/create_users/admin.html.haml +157 -0
  762. data/app/views/workarea/admin/create_users/customer.html.haml +76 -0
  763. data/app/views/workarea/admin/create_users/index.html.haml +38 -0
  764. data/app/views/workarea/admin/dashboards/catalog.html.haml +19 -0
  765. data/app/views/workarea/admin/dashboards/index.html.haml +177 -0
  766. data/app/views/workarea/admin/dashboards/marketing.html.haml +64 -0
  767. data/app/views/workarea/admin/dashboards/orders.html.haml +87 -0
  768. data/app/views/workarea/admin/dashboards/people.html.haml +70 -0
  769. data/app/views/workarea/admin/dashboards/reports.html.haml +220 -0
  770. data/app/views/workarea/admin/dashboards/search.html.haml +48 -0
  771. data/app/views/workarea/admin/dashboards/settings.html.haml +29 -0
  772. data/app/views/workarea/admin/dashboards/store.html.haml +21 -0
  773. data/app/views/workarea/admin/data_file_exports/new.html.haml +47 -0
  774. data/app/views/workarea/admin/data_file_imports/_csv_notes.html.haml +1 -0
  775. data/app/views/workarea/admin/data_file_imports/new.html.haml +47 -0
  776. data/app/views/workarea/admin/data_file_mailer/export.html.haml +3 -0
  777. data/app/views/workarea/admin/data_file_mailer/import.html.haml +11 -0
  778. data/app/views/workarea/admin/data_file_mailer/import_error.html.haml +13 -0
  779. data/app/views/workarea/admin/data_file_mailer/import_failure.html.haml +22 -0
  780. data/app/views/workarea/admin/data_file_tax_imports/new.html.haml +59 -0
  781. data/app/views/workarea/admin/data_files/errors.html.haml +38 -0
  782. data/app/views/workarea/admin/data_files/index.html.haml +68 -0
  783. data/app/views/workarea/admin/direct_uploads/product_images.html.haml +19 -0
  784. data/app/views/workarea/admin/email_signups/_summary.html.haml +6 -0
  785. data/app/views/workarea/admin/email_signups/index.html.haml +47 -0
  786. data/app/views/workarea/admin/facets/_applied.html.haml +17 -0
  787. data/app/views/workarea/admin/facets/_price_inputs.html.haml +23 -0
  788. data/app/views/workarea/admin/facets/_terms.html.haml +17 -0
  789. data/app/views/workarea/admin/featured_products/_release_preview_warning.html.haml +4 -0
  790. data/app/views/workarea/admin/featured_products/_selected.html.haml +10 -0
  791. data/app/views/workarea/admin/featured_products/_unselected.html.haml +8 -0
  792. data/app/views/workarea/admin/featured_products/edit.html.haml +46 -0
  793. data/app/views/workarea/admin/featured_products/select.html.haml +72 -0
  794. data/app/views/workarea/admin/fulfillments/show.html.haml +100 -0
  795. data/app/views/workarea/admin/help/edit.html.haml +53 -0
  796. data/app/views/workarea/admin/help/index.html.haml +78 -0
  797. data/app/views/workarea/admin/help/new.html.haml +53 -0
  798. data/app/views/workarea/admin/help/show.html.haml +23 -0
  799. data/app/views/workarea/admin/help/takeover.html.haml +35 -0
  800. data/app/views/workarea/admin/help_assets/index.html.haml +36 -0
  801. data/app/views/workarea/admin/insights/_best_customers.html.haml +20 -0
  802. data/app/views/workarea/admin/insights/_best_full_price_customers.html.haml +20 -0
  803. data/app/views/workarea/admin/insights/_cold_products.html.haml +29 -0
  804. data/app/views/workarea/admin/insights/_cold_searches.html.haml +25 -0
  805. data/app/views/workarea/admin/insights/_customer_acquisition.html.haml +11 -0
  806. data/app/views/workarea/admin/insights/_customers_at_risk.html.haml +20 -0
  807. data/app/views/workarea/admin/insights/_hot_products.html.haml +29 -0
  808. data/app/views/workarea/admin/insights/_hot_searches.html.haml +27 -0
  809. data/app/views/workarea/admin/insights/_low_aov_customers.html.haml +20 -0
  810. data/app/views/workarea/admin/insights/_most_discount_given.html.haml +24 -0
  811. data/app/views/workarea/admin/insights/_most_discounted_products.html.haml +32 -0
  812. data/app/views/workarea/admin/insights/_new_products.html.haml +20 -0
  813. data/app/views/workarea/admin/insights/_non_sellers.html.haml +23 -0
  814. data/app/views/workarea/admin/insights/_popular_searches.html.haml +21 -0
  815. data/app/views/workarea/admin/insights/_popular_searches_without_results.html.haml +19 -0
  816. data/app/views/workarea/admin/insights/_products_purchased_together.html.haml +26 -0
  817. data/app/views/workarea/admin/insights/_products_to_improve.html.haml +26 -0
  818. data/app/views/workarea/admin/insights/_promising_products.html.haml +26 -0
  819. data/app/views/workarea/admin/insights/_release_reminder.html.haml +36 -0
  820. data/app/views/workarea/admin/insights/_repeat_purchase_rate.html.haml +20 -0
  821. data/app/views/workarea/admin/insights/_sales_by_navigation.html.haml +22 -0
  822. data/app/views/workarea/admin/insights/_searches_to_improve.html.haml +25 -0
  823. data/app/views/workarea/admin/insights/_star_products.html.haml +26 -0
  824. data/app/views/workarea/admin/insights/_star_searches.html.haml +21 -0
  825. data/app/views/workarea/admin/insights/_top_categories.html.haml +22 -0
  826. data/app/views/workarea/admin/insights/_top_discounts.html.haml +24 -0
  827. data/app/views/workarea/admin/insights/_top_products.html.haml +25 -0
  828. data/app/views/workarea/admin/insights/_trending_products.html.haml +24 -0
  829. data/app/views/workarea/admin/insights/_trending_searches.html.haml +21 -0
  830. data/app/views/workarea/admin/insights/_upcoming_releases.html.haml +36 -0
  831. data/app/views/workarea/admin/inventory_skus/_aux_navigation.html.haml +4 -0
  832. data/app/views/workarea/admin/inventory_skus/_cards.html.haml +42 -0
  833. data/app/views/workarea/admin/inventory_skus/_summary.html.haml +6 -0
  834. data/app/views/workarea/admin/inventory_skus/edit.html.haml +71 -0
  835. data/app/views/workarea/admin/inventory_skus/index.html.haml +81 -0
  836. data/app/views/workarea/admin/inventory_skus/new.html.haml +52 -0
  837. data/app/views/workarea/admin/inventory_skus/show.html.haml +17 -0
  838. data/app/views/workarea/admin/navigation_menus/_summary.html.haml +10 -0
  839. data/app/views/workarea/admin/navigation_menus/edit.html.haml +42 -0
  840. data/app/views/workarea/admin/navigation_menus/index.html.haml +57 -0
  841. data/app/views/workarea/admin/navigation_menus/new.html.haml +44 -0
  842. data/app/views/workarea/admin/navigation_redirects/_summary.html.haml +7 -0
  843. data/app/views/workarea/admin/navigation_redirects/index.html.haml +72 -0
  844. data/app/views/workarea/admin/navigation_taxons/_insert.html.haml +53 -0
  845. data/app/views/workarea/admin/navigation_taxons/_select.html.haml +21 -0
  846. data/app/views/workarea/admin/navigation_taxons/_taxon.html.haml +34 -0
  847. data/app/views/workarea/admin/navigation_taxons/children.html.haml +19 -0
  848. data/app/views/workarea/admin/navigation_taxons/edit.html.haml +52 -0
  849. data/app/views/workarea/admin/navigation_taxons/index.html.haml +38 -0
  850. data/app/views/workarea/admin/navigation_taxons/new.html.haml +43 -0
  851. data/app/views/workarea/admin/orders/_aux_navigation.html.haml +4 -0
  852. data/app/views/workarea/admin/orders/_cards.html.haml +181 -0
  853. data/app/views/workarea/admin/orders/_summary.html.haml +11 -0
  854. data/app/views/workarea/admin/orders/attributes.html.haml +123 -0
  855. data/app/views/workarea/admin/orders/index.html.haml +128 -0
  856. data/app/views/workarea/admin/orders/show.html.haml +24 -0
  857. data/app/views/workarea/admin/orders/tenders/_credit_card.html.haml +4 -0
  858. data/app/views/workarea/admin/orders/tenders/_missing.html.haml +1 -0
  859. data/app/views/workarea/admin/orders/tenders/_store_credit.html.haml +4 -0
  860. data/app/views/workarea/admin/orders/timeline.html.haml +33 -0
  861. data/app/views/workarea/admin/orders/timeline/_authorize.html.haml +12 -0
  862. data/app/views/workarea/admin/orders/timeline/_canceled.html.haml +8 -0
  863. data/app/views/workarea/admin/orders/timeline/_canceled_fulfillment.html.haml +8 -0
  864. data/app/views/workarea/admin/orders/timeline/_capture.html.haml +12 -0
  865. data/app/views/workarea/admin/orders/timeline/_comment.html.haml +9 -0
  866. data/app/views/workarea/admin/orders/timeline/_copied.html.haml +9 -0
  867. data/app/views/workarea/admin/orders/timeline/_created.html.haml +8 -0
  868. data/app/views/workarea/admin/orders/timeline/_placed.html.haml +8 -0
  869. data/app/views/workarea/admin/orders/timeline/_price_overridden.html.haml +8 -0
  870. data/app/views/workarea/admin/orders/timeline/_refund.html.haml +12 -0
  871. data/app/views/workarea/admin/orders/timeline/_shipped.html.haml +8 -0
  872. data/app/views/workarea/admin/payment_transactions/_aux_navigation.html.haml +2 -0
  873. data/app/views/workarea/admin/payment_transactions/_summary.html.haml +6 -0
  874. data/app/views/workarea/admin/payment_transactions/index.html.haml +78 -0
  875. data/app/views/workarea/admin/payment_transactions/show.html.haml +80 -0
  876. data/app/views/workarea/admin/payments/show.html.haml +72 -0
  877. data/app/views/workarea/admin/prices/edit.html.haml +70 -0
  878. data/app/views/workarea/admin/prices/index.html.haml +51 -0
  879. data/app/views/workarea/admin/prices/new.html.haml +65 -0
  880. data/app/views/workarea/admin/pricing/show.html.haml +99 -0
  881. data/app/views/workarea/admin/pricing_discount_code_lists/_cards.html.haml +67 -0
  882. data/app/views/workarea/admin/pricing_discount_code_lists/_summary.html.haml +6 -0
  883. data/app/views/workarea/admin/pricing_discount_code_lists/edit.html.haml +34 -0
  884. data/app/views/workarea/admin/pricing_discount_code_lists/index.html.haml +53 -0
  885. data/app/views/workarea/admin/pricing_discount_code_lists/new.html.haml +40 -0
  886. data/app/views/workarea/admin/pricing_discount_code_lists/promo_codes.html.haml +50 -0
  887. data/app/views/workarea/admin/pricing_discount_code_lists/show.html.haml +31 -0
  888. data/app/views/workarea/admin/pricing_discounts/_aux_navigation.html.haml +3 -0
  889. data/app/views/workarea/admin/pricing_discounts/_cards.html.haml +122 -0
  890. data/app/views/workarea/admin/pricing_discounts/_summary.html.haml +10 -0
  891. data/app/views/workarea/admin/pricing_discounts/conditions/_item_quantity.html.haml +8 -0
  892. data/app/views/workarea/admin/pricing_discounts/conditions/_order_total.html.haml +10 -0
  893. data/app/views/workarea/admin/pricing_discounts/conditions/_promo_code.html.haml +17 -0
  894. data/app/views/workarea/admin/pricing_discounts/conditions/_user_tags.html.haml +13 -0
  895. data/app/views/workarea/admin/pricing_discounts/edit.html.haml +57 -0
  896. data/app/views/workarea/admin/pricing_discounts/index.html.haml +85 -0
  897. data/app/views/workarea/admin/pricing_discounts/index.json.jbuilder +8 -0
  898. data/app/views/workarea/admin/pricing_discounts/insights.html.haml +60 -0
  899. data/app/views/workarea/admin/pricing_discounts/properties/_buy_some_get_some.html.haml +39 -0
  900. data/app/views/workarea/admin/pricing_discounts/properties/_category.html.haml +22 -0
  901. data/app/views/workarea/admin/pricing_discounts/properties/_free_gift.html.haml +28 -0
  902. data/app/views/workarea/admin/pricing_discounts/properties/_order_total.html.haml +21 -0
  903. data/app/views/workarea/admin/pricing_discounts/properties/_product.html.haml +23 -0
  904. data/app/views/workarea/admin/pricing_discounts/properties/_product_attribute.html.haml +32 -0
  905. data/app/views/workarea/admin/pricing_discounts/properties/_quantity_fixed_price.html.haml +36 -0
  906. data/app/views/workarea/admin/pricing_discounts/properties/_shipping.html.haml +21 -0
  907. data/app/views/workarea/admin/pricing_discounts/rules.html.haml +64 -0
  908. data/app/views/workarea/admin/pricing_discounts/show.html.haml +39 -0
  909. data/app/views/workarea/admin/pricing_overrides/edit.html.haml +115 -0
  910. data/app/views/workarea/admin/pricing_skus/_aux_navigation.html.haml +4 -0
  911. data/app/views/workarea/admin/pricing_skus/_cards.html.haml +67 -0
  912. data/app/views/workarea/admin/pricing_skus/_summary.html.haml +10 -0
  913. data/app/views/workarea/admin/pricing_skus/edit.html.haml +65 -0
  914. data/app/views/workarea/admin/pricing_skus/index.html.haml +81 -0
  915. data/app/views/workarea/admin/pricing_skus/new.html.haml +78 -0
  916. data/app/views/workarea/admin/pricing_skus/show.html.haml +16 -0
  917. data/app/views/workarea/admin/product_rules/_card.html.haml +23 -0
  918. data/app/views/workarea/admin/product_rules/_form.html.haml +12 -0
  919. data/app/views/workarea/admin/product_rules/_preview.html.haml +28 -0
  920. data/app/views/workarea/admin/product_rules/fields/_available_inventory.html.haml +7 -0
  921. data/app/views/workarea/admin/product_rules/fields/_category.html.haml +5 -0
  922. data/app/views/workarea/admin/product_rules/fields/_created_at.html.haml +4 -0
  923. data/app/views/workarea/admin/product_rules/fields/_excluded_products.html.haml +5 -0
  924. data/app/views/workarea/admin/product_rules/fields/_generic.html.haml +8 -0
  925. data/app/views/workarea/admin/product_rules/fields/_on_sale.html.haml +7 -0
  926. data/app/views/workarea/admin/product_rules/fields/_price.html.haml +5 -0
  927. data/app/views/workarea/admin/product_rules/fields/_search.html.haml +31 -0
  928. data/app/views/workarea/admin/product_rules/index.html.haml +61 -0
  929. data/app/views/workarea/admin/product_rules/preview.html.haml +1 -0
  930. data/app/views/workarea/admin/product_rules/summaries/_available_inventory.html.haml +1 -0
  931. data/app/views/workarea/admin/product_rules/summaries/_category.html.haml +1 -0
  932. data/app/views/workarea/admin/product_rules/summaries/_created_at.html.haml +1 -0
  933. data/app/views/workarea/admin/product_rules/summaries/_excluded_products.html.haml +4 -0
  934. data/app/views/workarea/admin/product_rules/summaries/_generic.html.haml +3 -0
  935. data/app/views/workarea/admin/product_rules/summaries/_on_sale.html.haml +5 -0
  936. data/app/views/workarea/admin/product_rules/summaries/_price.html.haml +1 -0
  937. data/app/views/workarea/admin/product_rules/summaries/_search.html.haml +1 -0
  938. data/app/views/workarea/admin/recommendations/edit.html.haml +42 -0
  939. data/app/views/workarea/admin/releasables/index.html.haml +72 -0
  940. data/app/views/workarea/admin/releases/_cards.html.haml +103 -0
  941. data/app/views/workarea/admin/releases/_publish.html.haml +31 -0
  942. data/app/views/workarea/admin/releases/_select.html.haml +13 -0
  943. data/app/views/workarea/admin/releases/_summary.html.haml +6 -0
  944. data/app/views/workarea/admin/releases/calendar.html.haml +54 -0
  945. data/app/views/workarea/admin/releases/edit.html.haml +83 -0
  946. data/app/views/workarea/admin/releases/index.html.haml +100 -0
  947. data/app/views/workarea/admin/releases/new.html.haml +6 -0
  948. data/app/views/workarea/admin/releases/show.html.haml +65 -0
  949. data/app/views/workarea/admin/reports/_export.html.haml +12 -0
  950. data/app/views/workarea/admin/reports/_group_by_time.html.haml +6 -0
  951. data/app/views/workarea/admin/reports/average_order_value.html.haml +39 -0
  952. data/app/views/workarea/admin/reports/customers.html.haml +49 -0
  953. data/app/views/workarea/admin/reports/first_time_vs_returning_sales.html.haml +41 -0
  954. data/app/views/workarea/admin/reports/insights.html.haml +16 -0
  955. data/app/views/workarea/admin/reports/low_inventory.html.haml +35 -0
  956. data/app/views/workarea/admin/reports/reference.html.haml +88 -0
  957. data/app/views/workarea/admin/reports/sales_by_category.html.haml +42 -0
  958. data/app/views/workarea/admin/reports/sales_by_country.html.haml +42 -0
  959. data/app/views/workarea/admin/reports/sales_by_discount.html.haml +38 -0
  960. data/app/views/workarea/admin/reports/sales_by_product.html.haml +42 -0
  961. data/app/views/workarea/admin/reports/sales_by_sku.html.haml +42 -0
  962. data/app/views/workarea/admin/reports/sales_by_traffic_referrer.html.haml +42 -0
  963. data/app/views/workarea/admin/reports/sales_over_time.html.haml +49 -0
  964. data/app/views/workarea/admin/reports/searches.html.haml +45 -0
  965. data/app/views/workarea/admin/reports_mailer/export.html.haml +3 -0
  966. data/app/views/workarea/admin/search_customizations/_aux_navigation.html.haml +2 -0
  967. data/app/views/workarea/admin/search_customizations/_cards.html.haml +130 -0
  968. data/app/views/workarea/admin/search_customizations/analyze.html.haml +119 -0
  969. data/app/views/workarea/admin/search_customizations/edit.html.haml +74 -0
  970. data/app/views/workarea/admin/search_customizations/index.html.haml +78 -0
  971. data/app/views/workarea/admin/search_customizations/index.json.jbuilder +4 -0
  972. data/app/views/workarea/admin/search_customizations/insights.html.haml +71 -0
  973. data/app/views/workarea/admin/search_customizations/show.html.haml +19 -0
  974. data/app/views/workarea/admin/search_settings/show.html.haml +55 -0
  975. data/app/views/workarea/admin/searches/show.html.haml +54 -0
  976. data/app/views/workarea/admin/shared/_activate_select.html.haml +6 -0
  977. data/app/views/workarea/admin/shared/_bulk_actions.html.haml +18 -0
  978. data/app/views/workarea/admin/shared/_creation_date.html.haml +21 -0
  979. data/app/views/workarea/admin/shared/_csv_formatting_tooltip.html.haml +9 -0
  980. data/app/views/workarea/admin/shared/_date_selector.html.haml +22 -0
  981. data/app/views/workarea/admin/shared/_message.html.haml +4 -0
  982. data/app/views/workarea/admin/shared/_pagination.html.haml +38 -0
  983. data/app/views/workarea/admin/shared/_primary_nav.html.haml +113 -0
  984. data/app/views/workarea/admin/shared/_publishing_select.html.haml +6 -0
  985. data/app/views/workarea/admin/shared/_release_slug_tooltip.html.haml +7 -0
  986. data/app/views/workarea/admin/shared/_summary.html.haml +9 -0
  987. data/app/views/workarea/admin/shared/_toggle_button.html.haml +7 -0
  988. data/app/views/workarea/admin/shared/values.json.jbuilder +4 -0
  989. data/app/views/workarea/admin/shipping_services/edit.html.haml +69 -0
  990. data/app/views/workarea/admin/shipping_services/index.html.haml +61 -0
  991. data/app/views/workarea/admin/shipping_services/new.html.haml +57 -0
  992. data/app/views/workarea/admin/shippings/index.html.haml +92 -0
  993. data/app/views/workarea/admin/status_report_mailer/report.html.haml +94 -0
  994. data/app/views/workarea/admin/style_guides/_navigation.html.haml +10 -0
  995. data/app/views/workarea/admin/style_guides/base/_forms.html.haml +77 -0
  996. data/app/views/workarea/admin/style_guides/base/_tables.html.haml +72 -0
  997. data/app/views/workarea/admin/style_guides/components/_activity.html.haml +25 -0
  998. data/app/views/workarea/admin/style_guides/components/_activity_group.html.haml +80 -0
  999. data/app/views/workarea/admin/style_guides/components/_asset_picker_field.html.haml +12 -0
  1000. data/app/views/workarea/admin/style_guides/components/_avatar.html.haml +17 -0
  1001. data/app/views/workarea/admin/style_guides/components/_box.html.haml +59 -0
  1002. data/app/views/workarea/admin/style_guides/components/_button.html.haml +53 -0
  1003. data/app/views/workarea/admin/style_guides/components/_card.html.haml +157 -0
  1004. data/app/views/workarea/admin/style_guides/components/_checkbox.html.haml +21 -0
  1005. data/app/views/workarea/admin/style_guides/components/_color_picker_field.html.haml +36 -0
  1006. data/app/views/workarea/admin/style_guides/components/_data_file_sample.html.haml +28 -0
  1007. data/app/views/workarea/admin/style_guides/components/_data_pairs.html.haml +28 -0
  1008. data/app/views/workarea/admin/style_guides/components/_date_marker.html.haml +18 -0
  1009. data/app/views/workarea/admin/style_guides/components/_direct_upload.html.haml +96 -0
  1010. data/app/views/workarea/admin/style_guides/components/_expandable.html.haml +25 -0
  1011. data/app/views/workarea/admin/style_guides/components/_index_table.html.haml +51 -0
  1012. data/app/views/workarea/admin/style_guides/components/_insight.html.haml +100 -0
  1013. data/app/views/workarea/admin/style_guides/components/_loading.html.haml +85 -0
  1014. data/app/views/workarea/admin/style_guides/components/_menu.html.haml +112 -0
  1015. data/app/views/workarea/admin/style_guides/components/_message.html.haml +45 -0
  1016. data/app/views/workarea/admin/style_guides/components/_pagination.html.haml +156 -0
  1017. data/app/views/workarea/admin/style_guides/components/_product_summary.html.haml +28 -0
  1018. data/app/views/workarea/admin/style_guides/components/_property.html.haml +147 -0
  1019. data/app/views/workarea/admin/style_guides/components/_property_toggle.html.haml +48 -0
  1020. data/app/views/workarea/admin/style_guides/components/_release_changeset.html.haml +55 -0
  1021. data/app/views/workarea/admin/style_guides/components/_search_form.html.haml +28 -0
  1022. data/app/views/workarea/admin/style_guides/components/_state.html.haml +35 -0
  1023. data/app/views/workarea/admin/style_guides/components/_summary.html.haml +66 -0
  1024. data/app/views/workarea/admin/style_guides/components/_svg_icon.html.haml +51 -0
  1025. data/app/views/workarea/admin/style_guides/components/_tabs.html.haml +17 -0
  1026. data/app/views/workarea/admin/style_guides/components/_text_box.html.haml +147 -0
  1027. data/app/views/workarea/admin/style_guides/components/_text_button.html.haml +58 -0
  1028. data/app/views/workarea/admin/style_guides/components/_toggle_button.html.haml +59 -0
  1029. data/app/views/workarea/admin/style_guides/components/_ui_accordion.html.haml +21 -0
  1030. data/app/views/workarea/admin/style_guides/components/_ui_autocomplete.html.haml +10 -0
  1031. data/app/views/workarea/admin/style_guides/components/_ui_datepicker.html.haml +22 -0
  1032. data/app/views/workarea/admin/style_guides/components/_ui_helper_hidden_accessible.html.haml +5 -0
  1033. data/app/views/workarea/admin/style_guides/components/_view.html.haml +45 -0
  1034. data/app/views/workarea/admin/style_guides/components/_workflow_bar.html.haml +118 -0
  1035. data/app/views/workarea/admin/style_guides/components/_wysiwyg.html.haml +10 -0
  1036. data/app/views/workarea/admin/style_guides/index.html.haml +87 -0
  1037. data/app/views/workarea/admin/style_guides/objects/_button.html.haml +9 -0
  1038. data/app/views/workarea/admin/style_guides/objects/_button_reset.html.haml +17 -0
  1039. data/app/views/workarea/admin/style_guides/objects/_inline_list.html.haml +41 -0
  1040. data/app/views/workarea/admin/style_guides/objects/_list_reset.html.haml +17 -0
  1041. data/app/views/workarea/admin/style_guides/objects/_section.html.haml +13 -0
  1042. data/app/views/workarea/admin/style_guides/objects/_text_field_reset.html.haml +11 -0
  1043. data/app/views/workarea/admin/style_guides/objects/_tooltip_content.html.haml +31 -0
  1044. data/app/views/workarea/admin/style_guides/settings/_color_variables.html.haml +21 -0
  1045. data/app/views/workarea/admin/style_guides/show.html.haml +10 -0
  1046. data/app/views/workarea/admin/style_guides/trumps/_break_word.html.haml +15 -0
  1047. data/app/views/workarea/admin/style_guides/trumps/_clearfix.html.haml +21 -0
  1048. data/app/views/workarea/admin/style_guides/trumps/_hidden.html.haml +97 -0
  1049. data/app/views/workarea/admin/style_guides/trumps/_image_replacement.html.haml +13 -0
  1050. data/app/views/workarea/admin/style_guides/trumps/_truncate.html.haml +13 -0
  1051. data/app/views/workarea/admin/style_guides/trumps/_visible.html.haml +97 -0
  1052. data/app/views/workarea/admin/style_guides/trumps/_visually_hidden.html.haml +17 -0
  1053. data/app/views/workarea/admin/style_guides/typography/_align.html.haml +25 -0
  1054. data/app/views/workarea/admin/style_guides/typography/_fonts.html.haml +25 -0
  1055. data/app/views/workarea/admin/style_guides/typography/_headings.html.haml +34 -0
  1056. data/app/views/workarea/admin/style_guides/typography/_links.html.haml +47 -0
  1057. data/app/views/workarea/admin/style_guides/typography/_spark.html.haml +32 -0
  1058. data/app/views/workarea/admin/style_guides/typography/_text.html.haml +50 -0
  1059. data/app/views/workarea/admin/tax_categories/_cards.html.haml +57 -0
  1060. data/app/views/workarea/admin/tax_categories/edit.html.haml +44 -0
  1061. data/app/views/workarea/admin/tax_categories/index.html.haml +48 -0
  1062. data/app/views/workarea/admin/tax_categories/new.html.haml +39 -0
  1063. data/app/views/workarea/admin/tax_categories/show.html.haml +19 -0
  1064. data/app/views/workarea/admin/tax_rates/index.html.haml +52 -0
  1065. data/app/views/workarea/admin/timeline/_card.html.haml +16 -0
  1066. data/app/views/workarea/admin/timeline/show.html.haml +78 -0
  1067. data/app/views/workarea/admin/toolbar/show.html.haml +79 -0
  1068. data/app/views/workarea/admin/trash/index.html.haml +21 -0
  1069. data/app/views/workarea/admin/users/_cards.html.haml +199 -0
  1070. data/app/views/workarea/admin/users/_summary.html.haml +15 -0
  1071. data/app/views/workarea/admin/users/addresses.html.haml +22 -0
  1072. data/app/views/workarea/admin/users/edit.html.haml +88 -0
  1073. data/app/views/workarea/admin/users/index.html.haml +94 -0
  1074. data/app/views/workarea/admin/users/index.json.jbuilder +4 -0
  1075. data/app/views/workarea/admin/users/insights.html.haml +128 -0
  1076. data/app/views/workarea/admin/users/orders.html.haml +52 -0
  1077. data/app/views/workarea/admin/users/permissions.html.haml +132 -0
  1078. data/app/views/workarea/admin/users/show.html.haml +38 -0
  1079. data/bin/rails +18 -0
  1080. data/config/locales/en.yml +3609 -0
  1081. data/config/routes.rb +372 -0
  1082. data/lib/workarea/admin.rb +7 -0
  1083. data/lib/workarea/admin/engine.rb +8 -0
  1084. data/lib/workarea/mailer_previews/admin/comment_mailer_preview.rb +12 -0
  1085. data/lib/workarea/mailer_previews/admin/data_file_mailer_preview.rb +21 -0
  1086. data/lib/workarea/mailer_previews/admin/status_report_mailer_preview.rb +9 -0
  1087. data/public/workarea/import_samples/tax_rates.csv +3 -0
  1088. data/test/dummy/README.rdoc +261 -0
  1089. data/test/dummy/Rakefile +7 -0
  1090. data/test/dummy/app/controllers/application_controller.rb +3 -0
  1091. data/test/dummy/app/helpers/application_helper.rb +2 -0
  1092. data/test/dummy/app/mailers/.gitkeep +0 -0
  1093. data/test/dummy/app/models/.gitkeep +0 -0
  1094. data/test/dummy/bin/bundle +3 -0
  1095. data/test/dummy/bin/rails +5 -0
  1096. data/test/dummy/bin/rake +4 -0
  1097. data/test/dummy/bin/setup +34 -0
  1098. data/test/dummy/bin/update +29 -0
  1099. data/test/dummy/config.ru +4 -0
  1100. data/test/dummy/config/application.rb +22 -0
  1101. data/test/dummy/config/boot.rb +3 -0
  1102. data/test/dummy/config/cable.yml +9 -0
  1103. data/test/dummy/config/environment.rb +5 -0
  1104. data/test/dummy/config/environments/development.rb +54 -0
  1105. data/test/dummy/config/environments/production.rb +86 -0
  1106. data/test/dummy/config/environments/test.rb +43 -0
  1107. data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
  1108. data/test/dummy/config/initializers/assets.rb +11 -0
  1109. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  1110. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  1111. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  1112. data/test/dummy/config/initializers/inflections.rb +16 -0
  1113. data/test/dummy/config/initializers/mime_types.rb +4 -0
  1114. data/test/dummy/config/initializers/new_framework_defaults.rb +17 -0
  1115. data/test/dummy/config/initializers/secret_token.rb +7 -0
  1116. data/test/dummy/config/initializers/session_store.rb +3 -0
  1117. data/test/dummy/config/initializers/workarea.rb +8 -0
  1118. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  1119. data/test/dummy/config/locales/de.yml +2 -0
  1120. data/test/dummy/config/locales/en.yml +23 -0
  1121. data/test/dummy/config/puma.rb +47 -0
  1122. data/test/dummy/config/routes.rb +5 -0
  1123. data/test/dummy/config/secrets.yml +22 -0
  1124. data/test/dummy/config/spring.rb +6 -0
  1125. data/test/dummy/db/seeds.rb +10 -0
  1126. data/test/dummy/lib/assets/.gitkeep +0 -0
  1127. data/test/dummy/log/.gitkeep +0 -0
  1128. data/test/dummy/public/404.html +26 -0
  1129. data/test/dummy/public/422.html +26 -0
  1130. data/test/dummy/public/500.html +25 -0
  1131. data/test/dummy/public/favicon.ico +1 -0
  1132. data/test/dummy/script/rails +6 -0
  1133. data/test/helpers/workarea/admin/application_helper_test.rb +83 -0
  1134. data/test/helpers/workarea/admin/icons_helper_test.rb +62 -0
  1135. data/test/helpers/workarea/admin/imports_helper_test.rb +31 -0
  1136. data/test/helpers/workarea/admin/insights_helper_test.rb +19 -0
  1137. data/test/helpers/workarea/admin/releases_helper_test.rb +152 -0
  1138. data/test/helpers/workarea/admin/settings_helper_test.rb +34 -0
  1139. data/test/integration/workarea/admin/assets_integration_test.rb +62 -0
  1140. data/test/integration/workarea/admin/authorization_integration_test.rb +32 -0
  1141. data/test/integration/workarea/admin/bookmarks_integration_test.rb +29 -0
  1142. data/test/integration/workarea/admin/bulk_action_deletions_integration_test.rb +149 -0
  1143. data/test/integration/workarea/admin/bulk_action_product_edits_integration_test.rb +77 -0
  1144. data/test/integration/workarea/admin/bulk_action_sequential_product_edits_integration_test.rb +198 -0
  1145. data/test/integration/workarea/admin/bulk_actions_integration_test.rb +42 -0
  1146. data/test/integration/workarea/admin/catalog_product_copies_integration_test.rb +37 -0
  1147. data/test/integration/workarea/admin/categories_integration_test.rb +63 -0
  1148. data/test/integration/workarea/admin/categorizations_integration_test.rb +49 -0
  1149. data/test/integration/workarea/admin/changesets_integration_test.rb +22 -0
  1150. data/test/integration/workarea/admin/comments_integration_test.rb +147 -0
  1151. data/test/integration/workarea/admin/content_blocks_integration_test.rb +116 -0
  1152. data/test/integration/workarea/admin/content_emails_integration_test.rb +22 -0
  1153. data/test/integration/workarea/admin/content_integration_test.rb +20 -0
  1154. data/test/integration/workarea/admin/content_presets_integration_test.rb +38 -0
  1155. data/test/integration/workarea/admin/create_catalog_categories_integration_test.rb +99 -0
  1156. data/test/integration/workarea/admin/create_catalog_products_integration_test.rb +215 -0
  1157. data/test/integration/workarea/admin/create_content_pages_integration_test.rb +99 -0
  1158. data/test/integration/workarea/admin/create_pricing_discounts_integration_test.rb +249 -0
  1159. data/test/integration/workarea/admin/create_releases_integration_test.rb +24 -0
  1160. data/test/integration/workarea/admin/create_users_integration_test.rb +188 -0
  1161. data/test/integration/workarea/admin/data_file_exports_integration_test.rb +69 -0
  1162. data/test/integration/workarea/admin/data_file_imports_integration_test.rb +153 -0
  1163. data/test/integration/workarea/admin/direct_uploads_integration_test.rb +92 -0
  1164. data/test/integration/workarea/admin/discounts_integration_test.rb +57 -0
  1165. data/test/integration/workarea/admin/email_signups_integration_test.rb +18 -0
  1166. data/test/integration/workarea/admin/featured_products_integration_test.rb +55 -0
  1167. data/test/integration/workarea/admin/guest_browsings_integration_test.rb +62 -0
  1168. data/test/integration/workarea/admin/help_articles_integration_test.rb +70 -0
  1169. data/test/integration/workarea/admin/impersonations_integration_test.rb +79 -0
  1170. data/test/integration/workarea/admin/import_taxes_integration_test.rb +30 -0
  1171. data/test/integration/workarea/admin/inventory_skus_integration_test.rb +68 -0
  1172. data/test/integration/workarea/admin/jump_to_integration_test.rb +239 -0
  1173. data/test/integration/workarea/admin/menus_integration_test.rb +142 -0
  1174. data/test/integration/workarea/admin/pages_integration_test.rb +45 -0
  1175. data/test/integration/workarea/admin/permissions_integration_test.rb +27 -0
  1176. data/test/integration/workarea/admin/pricing_overrides_integration_test.rb +63 -0
  1177. data/test/integration/workarea/admin/pricing_sku_prices_integration_test.rb +86 -0
  1178. data/test/integration/workarea/admin/pricing_skus_integration_test.rb +67 -0
  1179. data/test/integration/workarea/admin/product_images_integration_test.rb +68 -0
  1180. data/test/integration/workarea/admin/product_rules_integration_test.rb +151 -0
  1181. data/test/integration/workarea/admin/products_integration_test.rb +73 -0
  1182. data/test/integration/workarea/admin/promo_codes_list_integration_test.rb +73 -0
  1183. data/test/integration/workarea/admin/publish_authorization_integration_test.rb +66 -0
  1184. data/test/integration/workarea/admin/publishing_integration_test.rb +36 -0
  1185. data/test/integration/workarea/admin/recommendations_integration_test.rb +29 -0
  1186. data/test/integration/workarea/admin/redirects_integration_test.rb +26 -0
  1187. data/test/integration/workarea/admin/releases_integration_test.rb +172 -0
  1188. data/test/integration/workarea/admin/reports_integration_test.rb +55 -0
  1189. data/test/integration/workarea/admin/search_customizations_integration_test.rb +60 -0
  1190. data/test/integration/workarea/admin/search_settings_integration_test.rb +63 -0
  1191. data/test/integration/workarea/admin/shipping_service_integration_test.rb +79 -0
  1192. data/test/integration/workarea/admin/sort_integration_test.rb +17 -0
  1193. data/test/integration/workarea/admin/tax_categories_integration_test.rb +44 -0
  1194. data/test/integration/workarea/admin/taxonomy_integration_test.rb +94 -0
  1195. data/test/integration/workarea/admin/trash_integration_test.rb +145 -0
  1196. data/test/integration/workarea/admin/users_integration_test.rb +153 -0
  1197. data/test/integration/workarea/admin/variants_integration_test.rb +78 -0
  1198. data/test/integration/workarea/admin/visiting_integration_test.rb +40 -0
  1199. data/test/javascripts/add_content_block_buttons_spec.js +21 -0
  1200. data/test/javascripts/add_to_calendar_buttons_spec.js +27 -0
  1201. data/test/javascripts/asset_pickers_spec.js +56 -0
  1202. data/test/javascripts/cloneable_rows_spec.js +38 -0
  1203. data/test/javascripts/content_blocks_spec.js +47 -0
  1204. data/test/javascripts/content_editor_form_cancel_spec.js +19 -0
  1205. data/test/javascripts/content_editor_forms_spec.js +20 -0
  1206. data/test/javascripts/content_preset_form_spec.js +18 -0
  1207. data/test/javascripts/datepicker_fields_spec.js +65 -0
  1208. data/test/javascripts/datetimepicker_fields_spec.js +97 -0
  1209. data/test/javascripts/direct_uploads_spec.js +152 -0
  1210. data/test/javascripts/fixtures/add_content_block_button.html.haml +10 -0
  1211. data/test/javascripts/fixtures/add_to_calendar_button.html.haml +6 -0
  1212. data/test/javascripts/fixtures/asset_picker.html.haml +6 -0
  1213. data/test/javascripts/fixtures/calendar.html.haml +25 -0
  1214. data/test/javascripts/fixtures/cloneable_row.html.haml +7 -0
  1215. data/test/javascripts/fixtures/content_block.html.haml +4 -0
  1216. data/test/javascripts/fixtures/content_block_editor_form.html.haml +8 -0
  1217. data/test/javascripts/fixtures/datepicker_fields.html.haml +31 -0
  1218. data/test/javascripts/fixtures/datetimepicker_fields.html.haml +11 -0
  1219. data/test/javascripts/fixtures/direct_upload.html.haml +3 -0
  1220. data/test/javascripts/fixtures/help_lookup_button.haml +11 -0
  1221. data/test/javascripts/fixtures/menu_editor_menu_list_sortable.html.haml +3 -0
  1222. data/test/javascripts/fixtures/new_navigation_taxon.html.haml +10 -0
  1223. data/test/javascripts/fixtures/primary_nav.html.haml +4 -0
  1224. data/test/javascripts/fixtures/property_toggle.html.haml +16 -0
  1225. data/test/javascripts/fixtures/release_calendar_placeholder.html.haml +1 -0
  1226. data/test/javascripts/fixtures/release_reminder.html.haml +6 -0
  1227. data/test/javascripts/fixtures/remote_select.html.haml +1 -0
  1228. data/test/javascripts/fixtures/sort_form.html.haml +3 -0
  1229. data/test/javascripts/fixtures/takeover.html.haml +4 -0
  1230. data/test/javascripts/fixtures/tooltip.html.haml +3 -0
  1231. data/test/javascripts/menu_editor_menu_list_sortables_spec.js +40 -0
  1232. data/test/javascripts/messages_spec.js +50 -0
  1233. data/test/javascripts/new_navigation_taxons_spec.js +20 -0
  1234. data/test/javascripts/primary_nav_spec.js +22 -0
  1235. data/test/javascripts/property_toggles_spec.js +33 -0
  1236. data/test/javascripts/release_calendar_placeholders_spec.js +60 -0
  1237. data/test/javascripts/release_reminder_spec.js +18 -0
  1238. data/test/javascripts/relevance_sort_spec.js +23 -0
  1239. data/test/javascripts/remove_selects_spec.js +32 -0
  1240. data/test/javascripts/spec_helper.js +3 -0
  1241. data/test/javascripts/takeover_spec.js +99 -0
  1242. data/test/javascripts/tooltips_spec.js +52 -0
  1243. data/test/mailers/workarea/admin/status_report_mailer_test.rb +38 -0
  1244. data/test/system/workarea/admin/activity_system_test.rb +79 -0
  1245. data/test/system/workarea/admin/alerts_system_test.rb +43 -0
  1246. data/test/system/workarea/admin/assets_system_test.rb +75 -0
  1247. data/test/system/workarea/admin/bookmarks_system_test.rb +31 -0
  1248. data/test/system/workarea/admin/bulk_action_deletions_system_test.rb +71 -0
  1249. data/test/system/workarea/admin/bulk_actions_system_test.rb +206 -0
  1250. data/test/system/workarea/admin/categories_system_test.rb +188 -0
  1251. data/test/system/workarea/admin/comments_system_test.rb +21 -0
  1252. data/test/system/workarea/admin/content_emails_system_test.rb +29 -0
  1253. data/test/system/workarea/admin/content_presets_system_test.rb +65 -0
  1254. data/test/system/workarea/admin/content_system_test.rb +130 -0
  1255. data/test/system/workarea/admin/dashboard_system_test.rb +72 -0
  1256. data/test/system/workarea/admin/data_files_system_test.rb +110 -0
  1257. data/test/system/workarea/admin/discounts_system_test.rb +106 -0
  1258. data/test/system/workarea/admin/exports_system_test.rb +63 -0
  1259. data/test/system/workarea/admin/featured_products_system_test.rb +39 -0
  1260. data/test/system/workarea/admin/guest_browsing_system_test.rb +86 -0
  1261. data/test/system/workarea/admin/help_system_test.rb +104 -0
  1262. data/test/system/workarea/admin/impersonation_system_test.rb +59 -0
  1263. data/test/system/workarea/admin/imports_system_test.rb +42 -0
  1264. data/test/system/workarea/admin/insights_system_test.rb +15 -0
  1265. data/test/system/workarea/admin/inventory_skus_system_test.rb +45 -0
  1266. data/test/system/workarea/admin/menus_system_test.rb +94 -0
  1267. data/test/system/workarea/admin/orders_system_test.rb +108 -0
  1268. data/test/system/workarea/admin/pages_system_test.rb +58 -0
  1269. data/test/system/workarea/admin/payment_transactions_system_test.rb +44 -0
  1270. data/test/system/workarea/admin/pricing_sku_prices_system_test.rb +81 -0
  1271. data/test/system/workarea/admin/pricing_skus_system_test.rb +56 -0
  1272. data/test/system/workarea/admin/product_copy_system_test.rb +48 -0
  1273. data/test/system/workarea/admin/product_images_system_test.rb +71 -0
  1274. data/test/system/workarea/admin/product_rules_system_test.rb +157 -0
  1275. data/test/system/workarea/admin/products_system_test.rb +140 -0
  1276. data/test/system/workarea/admin/publish_authorization_system_test.rb +90 -0
  1277. data/test/system/workarea/admin/recommendations_system_test.rb +80 -0
  1278. data/test/system/workarea/admin/redirects_system_test.rb +42 -0
  1279. data/test/system/workarea/admin/releases_system_test.rb +232 -0
  1280. data/test/system/workarea/admin/reports_system_test.rb +455 -0
  1281. data/test/system/workarea/admin/search_customizations_system_test.rb +133 -0
  1282. data/test/system/workarea/admin/search_settings_system_test.rb +34 -0
  1283. data/test/system/workarea/admin/search_system_test.rb +111 -0
  1284. data/test/system/workarea/admin/sequential_product_editing_system_test.rb +57 -0
  1285. data/test/system/workarea/admin/shipping_services_system_test.rb +30 -0
  1286. data/test/system/workarea/admin/style_guides_system_test.rb +18 -0
  1287. data/test/system/workarea/admin/tax_categories_system_test.rb +61 -0
  1288. data/test/system/workarea/admin/taxonomy_system_test.rb +41 -0
  1289. data/test/system/workarea/admin/timeline_system_test.rb +62 -0
  1290. data/test/system/workarea/admin/toolbar_system_test.rb +24 -0
  1291. data/test/system/workarea/admin/trash_system_test.rb +53 -0
  1292. data/test/system/workarea/admin/users_system_test.rb +141 -0
  1293. data/test/system/workarea/admin/variants_system_test.rb +51 -0
  1294. data/test/teaspoon_env.rb +10 -0
  1295. data/test/test_helper.rb +10 -0
  1296. data/test/view_models/workarea/admin/activity_view_model_test.rb +173 -0
  1297. data/test/view_models/workarea/admin/changeset_view_model_test.rb +72 -0
  1298. data/test/view_models/workarea/admin/code_list_view_model_test.rb +43 -0
  1299. data/test/view_models/workarea/admin/commentable_view_model_test.rb +52 -0
  1300. data/test/view_models/workarea/admin/content_view_model_test.rb +109 -0
  1301. data/test/view_models/workarea/admin/dashboards/insights_graphs_test.rb +106 -0
  1302. data/test/view_models/workarea/admin/dashboards/marketing_view_model_test.rb +25 -0
  1303. data/test/view_models/workarea/admin/dashboards/people_view_model_test.rb +26 -0
  1304. data/test/view_models/workarea/admin/discount_rules_view_model_test.rb +119 -0
  1305. data/test/view_models/workarea/admin/discount_search_view_model_test.rb +26 -0
  1306. data/test/view_models/workarea/admin/discount_view_model_test.rb +19 -0
  1307. data/test/view_models/workarea/admin/fulfillment_item_view_model_test.rb +18 -0
  1308. data/test/view_models/workarea/admin/fulfillment_view_model_test.rb +37 -0
  1309. data/test/view_models/workarea/admin/help_search_view_model_test.rb +35 -0
  1310. data/test/view_models/workarea/admin/insights/insights_details_test.rb +159 -0
  1311. data/test/view_models/workarea/admin/insights/product_view_model_test.rb +92 -0
  1312. data/test/view_models/workarea/admin/order_timeline_view_model_test.rb +194 -0
  1313. data/test/view_models/workarea/admin/product_images_view_model_test.rb +22 -0
  1314. data/test/view_models/workarea/admin/product_view_model_test.rb +152 -0
  1315. data/test/view_models/workarea/admin/promo_code_view_model_test.rb +17 -0
  1316. data/test/view_models/workarea/admin/release_calendar_view_model_test.rb +72 -0
  1317. data/test/view_models/workarea/admin/release_view_model_test.rb +80 -0
  1318. data/test/view_models/workarea/admin/releases_feed_view_model_test.rb +39 -0
  1319. data/test/view_models/workarea/admin/reports/average_order_value_view_model_test.rb +27 -0
  1320. data/test/view_models/workarea/admin/reports/group_by_time_test.rb +32 -0
  1321. data/test/view_models/workarea/admin/reports/insights_view_model_test.rb +36 -0
  1322. data/test/view_models/workarea/admin/reports/sales_by_traffic_referrer_view_model_test.rb +19 -0
  1323. data/test/view_models/workarea/admin/reports/sales_over_time_view_model_test.rb +27 -0
  1324. data/test/view_models/workarea/admin/search_analysis_view_model_test.rb +74 -0
  1325. data/test/view_models/workarea/admin/search_view_model_test.rb +36 -0
  1326. data/test/view_models/workarea/admin/shipping_view_model_test.rb +29 -0
  1327. data/test/view_models/workarea/admin/timeline_view_model_test.rb +80 -0
  1328. data/test/view_models/workarea/admin/transaction_view_model_test.rb +34 -0
  1329. data/test/view_models/workarea/admin/user_search_view_model_test.rb +16 -0
  1330. data/workarea-admin.gemspec +17 -0
  1331. metadata +1401 -0
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M16 5.77A16.13 16.13 0 0 0 1 16a16.11 16.11 0 0 0 30 0A16.13 16.13 0 0 0 16 5.77m0 17A6.82 6.82 0 1 1 22.82 16 6.82 6.82 0 0 1 16 22.82m0-10.96A4.09 4.09 0 1 0 20.09 16 4.09 4.09 0 0 0 16 11.91"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 40"><path d="M31.24,39.65H19.18a.4.4,0,0,1-.39-.5l1.56-6.51H1.4a.4.4,0,0,1-.4-.4V.75a.4.4,0,0,1,.4-.4H48.6a.4.4,0,0,1,.4.4V32.24a.4.4,0,0,1-.4.4H29.67l1.95,6.49a.4.4,0,0,1-.39.52Zm-11.54-.81h11l-1.95-6.49a.4.4,0,0,1,.39-.52H48.19V1.16H1.81V31.83H20.87a.4.4,0,0,1,.39.5Z"/><path d="M38.1,32.64H20.87a.4.4,0,1,1,0-.81H38.1a.4.4,0,1,1,0,.81Z"/><path d="M48.6,3.7H1.5a.4.4,0,0,1,0-.81H48.6a.4.4,0,1,1,0,.81Z"/><path d="M48.6,26.4H1.5a.4.4,0,0,1,0-.81H48.6a.4.4,0,0,1,0,.81Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zm0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5zm0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5zM7 19h14v-2H7v2zm0-6h14v-2H7v2zm0-8v2h14V5H7z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5.41,7,.34,12l5.06,5.06,1.77-1.77L3.89,12,7.18,8.76ZM18.59,7,16.82,8.76,20.11,12l-3.29,3.29,1.77,1.77L23.66,12ZM7.14,17.7,14.76,5l2.17,1.3L9.31,19Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13.6 15.1a4.3 4.3 0 0 1-2.8-1.1 4.13 4.13 0 0 1-1.1-2.5.86.86 0 0 1 .6-.7.86.86 0 0 1 .7.6 2.36 2.36 0 0 0 .7 1.6 2.41 2.41 0 0 0 1.8.7 2.87 2.87 0 0 0 1.8-.7l3.3-3.3A2.62 2.62 0 0 0 14.9 6l-2.5 2.5a.56.56 0 0 1-.9 0 .56.56 0 0 1 0-.9L14 5.1A4.77 4.77 0 0 1 16.9 4a4.3 4.3 0 0 1 2.8 1.1 3.93 3.93 0 0 1 1.1 2.8 4.11 4.11 0 0 1-1.1 2.8L16.4 14a3.93 3.93 0 0 1-2.8 1.1z"/><path d="M7.1 20a4.3 4.3 0 0 1-2.8-1.1 3.92 3.92 0 0 1 0-5.5l3.3-3.3a3.92 3.92 0 0 1 5.5 0 4.13 4.13 0 0 1 1.1 2.5.86.86 0 0 1-.6.7.86.86 0 0 1-.7-.6 2.36 2.36 0 0 0-.7-1.6 2.66 2.66 0 0 0-3.7 0l-3.3 3.3a2.62 2.62 0 0 0 3.7 3.7l2.5-2.5a.64.64 0 1 1 .9.9L9.8 19a4.27 4.27 0 0 1-2.7 1z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z"/></svg>
@@ -0,0 +1 @@
1
+ <svg fill="#000000" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" fill="#ff002d"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 176 28"><path d="M51.39 9.32a8.56 8.56 0 0 1 3.38 3.51A11 11 0 0 1 56 18a11 11 0 0 1-1.2 5.21 8.55 8.55 0 0 1-3.38 3.51 10.92 10.92 0 0 1-10.11 0 8.43 8.43 0 0 1-3.36-3.51A11.11 11.11 0 0 1 36.73 18a11.12 11.12 0 0 1 1.18-5.21 8.44 8.44 0 0 1 3.36-3.51 10.92 10.92 0 0 1 10.12.04zm-2.08 14.85a5.74 5.74 0 0 0 2.33-2.26 7.52 7.52 0 0 0 .92-3.91 7.45 7.45 0 0 0-.92-3.87 5.63 5.63 0 0 0-2.33-2.24 6.6 6.6 0 0 0-3-.69 6.68 6.68 0 0 0-3 .69A5.51 5.51 0 0 0 41 14.13a7.57 7.57 0 0 0-.9 3.87 7.64 7.64 0 0 0 .9 3.91 5.62 5.62 0 0 0 2.31 2.26 6.52 6.52 0 0 0 3 .71 6.45 6.45 0 0 0 3-.71zM72.64 8.57a1.67 1.67 0 0 1 .47 1.2 1.51 1.51 0 0 1-.49 1.16 1.76 1.76 0 0 1-1.24.45h-.19a6.41 6.41 0 0 0-3.31.88 7.62 7.62 0 0 0-2.52 2.42v11.44a1.6 1.6 0 0 1-.51 1.2 1.7 1.7 0 0 1-1.22.49 1.67 1.67 0 0 1-1.69-1.69V10a1.7 1.7 0 0 1 .49-1.22 1.6 1.6 0 0 1 1.2-.51A1.73 1.73 0 0 1 65.37 10v1.62q2.63-3.54 5.9-3.54h.19a1.57 1.57 0 0 1 1.18.49zM94.17 26.16a1.56 1.56 0 0 1-.49 1.2 1.76 1.76 0 0 1-1.24.45 1.67 1.67 0 0 1-.75-.19 1.84 1.84 0 0 1-.69-.52l-6.46-8.8-3.27 3v4.85a1.6 1.6 0 0 1-.51 1.2 1.7 1.7 0 0 1-1.22.49 1.67 1.67 0 0 1-1.69-1.69V1.73a1.7 1.7 0 0 1 .53-1.22A1.61 1.61 0 0 1 79.59 0a1.67 1.67 0 0 1 1.22.51 1.67 1.67 0 0 1 .51 1.22V17.1l8.95-8.27a1.73 1.73 0 0 1 1.13-.49 1.53 1.53 0 0 1 1.26.49A1.79 1.79 0 0 1 93 10a1.84 1.84 0 0 1-.64 1.28L87 16.12l6.8 9a1.65 1.65 0 0 1 .37 1.04zM111.44 9.13a6.62 6.62 0 0 1 2.63 2.72 7.93 7.93 0 0 1 .85 3.63v10.64a1.6 1.6 0 0 1-.51 1.2 1.7 1.7 0 0 1-1.22.49 1.67 1.67 0 0 1-1.69-1.69v-1a9.44 9.44 0 0 1-7.07 2.88 7 7 0 0 1-3.06-.68 5.34 5.34 0 0 1-2.24-2 5.43 5.43 0 0 1-.83-3 5.27 5.27 0 0 1 2.2-4.44q2.2-1.65 6.45-1.65h4.55V16a4.58 4.58 0 0 0-1.22-3.57 5.62 5.62 0 0 0-3.81-1.09 12.79 12.79 0 0 0-2.54.23 21 21 0 0 0-2.46.68 2.12 2.12 0 0 1-.49.07 1.33 1.33 0 0 1-1-.41 1.38 1.38 0 0 1-.41-1 1.45 1.45 0 0 1 1-1.43 16.53 16.53 0 0 1 6.5-1.35 8.48 8.48 0 0 1 4.37 1zm-2.54 15.06a8.87 8.87 0 0 0 2.59-2V19h-4.1q-5.68 0-5.67 3a2.79 2.79 0 0 0 .92 2.18 4.55 4.55 0 0 0 3.06.83 6.79 6.79 0 0 0 3.2-.82zM132.51 8.57a1.67 1.67 0 0 1 .47 1.2 1.51 1.51 0 0 1-.49 1.16 1.76 1.76 0 0 1-1.24.45h-.19a6.41 6.41 0 0 0-3.31.88 7.62 7.62 0 0 0-2.52 2.42v11.44a1.6 1.6 0 0 1-.51 1.2 1.7 1.7 0 0 1-1.22.49 1.67 1.67 0 0 1-1.69-1.69V10a1.7 1.7 0 0 1 .49-1.22 1.6 1.6 0 0 1 1.2-.51 1.73 1.73 0 0 1 1.74 1.73v1.62q2.63-3.53 5.9-3.53h.19a1.57 1.57 0 0 1 1.18.48zM152.92 23.9a1.37 1.37 0 0 1 .45 1.05 1.62 1.62 0 0 1-1 1.39 13.58 13.58 0 0 1-2.89 1.24 13.58 13.58 0 0 1-3.68.41 9.59 9.59 0 0 1-7.16-2.61q-2.57-2.61-2.57-7.35a12.24 12.24 0 0 1 1-4.92 8.37 8.37 0 0 1 3-3.65 8.64 8.64 0 0 1 5-1.39 8.75 8.75 0 0 1 4.81 1.3 8.39 8.39 0 0 1 3.12 3.46 10.64 10.64 0 0 1 1 4.72 1.64 1.64 0 0 1-1.73 1.69h-12.73a6.18 6.18 0 0 0 2 4.1 6.74 6.74 0 0 0 4.62 1.47 11.29 11.29 0 0 0 2.76-.3 11.42 11.42 0 0 0 2.31-.86 1.57 1.57 0 0 1 1.69.25zm-10.38-12.34a5.05 5.05 0 0 0-2.07 1.82 6.14 6.14 0 0 0-.94 3.08h11.09a6 6 0 0 0-1-3.08 5.17 5.17 0 0 0-2.09-1.82 5.74 5.74 0 0 0-4.99 0zM171.36 9.13a6.62 6.62 0 0 1 2.64 2.73 7.93 7.93 0 0 1 .85 3.63v10.63a1.6 1.6 0 0 1-.51 1.2 1.7 1.7 0 0 1-1.22.49 1.67 1.67 0 0 1-1.69-1.69v-1a9.44 9.44 0 0 1-7.08 2.88 7 7 0 0 1-3.06-.68 5.34 5.34 0 0 1-2.24-2 5.43 5.43 0 0 1-.83-3 5.27 5.27 0 0 1 2.2-4.44q2.2-1.65 6.45-1.65h4.55V16a4.58 4.58 0 0 0-1.22-3.57 5.62 5.62 0 0 0-3.81-1.09 12.79 12.79 0 0 0-2.54.23 21 21 0 0 0-2.46.68 2.12 2.12 0 0 1-.49.07 1.33 1.33 0 0 1-1-.41 1.38 1.38 0 0 1-.41-1 1.45 1.45 0 0 1 1-1.43 16.53 16.53 0 0 1 6.51-1.4 8.48 8.48 0 0 1 4.36 1.05zm-2.54 15.05a8.87 8.87 0 0 0 2.59-2V19h-4.1q-5.68 0-5.67 3a2.79 2.79 0 0 0 .92 2.18 4.55 4.55 0 0 0 3.06.83 6.79 6.79 0 0 0 3.2-.82zM18.64 9a1.7 1.7 0 0 1 .49 1.22 2.12 2.12 0 0 1-.19.79l-6.53 15.6a2.35 2.35 0 0 1-.83 1 2.12 2.12 0 0 1-1.24.4H10a2.12 2.12 0 0 1-1.24-.4 2.34 2.34 0 0 1-.83-1L1.36 11a2.1 2.1 0 0 1-.19-.79A1.7 1.7 0 0 1 1.66 9a1.61 1.61 0 0 1 1.2-.51 1.66 1.66 0 0 1 .92.28 1.64 1.64 0 0 1 .62.69L10.15 24 15.9 9.43a1.63 1.63 0 0 1 .62-.69 1.65 1.65 0 0 1 .92-.28 1.61 1.61 0 0 1 1.2.54zM33.21 9A1.61 1.61 0 0 0 32 8.46a1.65 1.65 0 0 0-.92.28 1.63 1.63 0 0 0-.62.69L24.72 24 21 14.56l-1.8 4.27 3.25 7.78a2.34 2.34 0 0 0 .83 1 2.12 2.12 0 0 0 1.24.4h.38a2.12 2.12 0 0 0 1.24-.4 2.35 2.35 0 0 0 .83-1L33.51 11a2.12 2.12 0 0 0 .19-.79A1.7 1.7 0 0 0 33.21 9z"/></svg>
@@ -0,0 +1 @@
1
+ <svg fill="#FFFFFF" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>
@@ -0,0 +1 @@
1
+ <svg fill="#FFFFFF" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>
@@ -0,0 +1 @@
1
+ <svg fill="#FFFFFF" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>
@@ -0,0 +1 @@
1
+ <svg fill="#FFFFFF" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m1 21h22l-11-19-11 19m12-3h-2v-2h2v2m0-4h-2v-4h2v4"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 752 471" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><rect fill="#2557d6" x="1" width="750" height="471" rx="40"/><path d="m1 221.19h36.02l8.123-19.51h18.18l8.101 19.51h70.88v-14.915l6.327 14.98h36.796l6.327-15.202v15.14h176.15l-.082-32.03h3.408c2.386.083 3.083.302 3.083 4.226v27.8h91.11v-7.455c7.349 3.92 18.779 7.455 33.819 7.455h38.33l8.203-19.51h18.18l8.02 19.51h73.86v-18.532l11.186 18.532h59.19v-122.51h-58.58v14.468l-8.202-14.468h-60.11v14.468l-7.532-14.468h-81.19c-13.59 0-25.536 1.889-35.19 7.153v-7.153h-56.03v7.153c-6.14-5.426-14.508-7.153-23.812-7.153h-204.69l-13.734 31.641-14.1-31.641h-64.47v14.468l-7.083-14.468h-54.983l-25.534 58.25v64.26h.003m227.4-17.67h-21.614l-.08-68.794-30.573 68.793h-18.512l-30.652-68.854v68.854h-42.884l-8.101-19.592h-43.9l-8.183 19.592h-22.9l37.756-87.84h31.33l35.859 83.16v-83.16h34.412l27.593 59.59 25.347-59.59h35.1v87.84h.003zm-159.62-37.823l-14.43-35.02-14.35 35.02h28.78m245.64 37.821h-70.43v-87.84h70.43v18.291h-49.35v15.833h48.17v18h-48.17v17.542h49.35v18.17m99.26-64.18c0 14-9.386 21.24-14.856 23.412 4.613 1.748 8.553 4.838 10.43 7.397 2.976 4.369 3.49 8.271 3.49 16.12v17.255h-21.266l-.08-11.08c0-5.285.508-12.886-3.328-17.11-3.081-3.09-7.777-3.76-15.368-3.76h-22.633v31.95h-21.08v-87.84h48.5c10.775 0 18.714.283 25.53 4.207 6.67 3.924 10.67 9.652 10.67 19.45m-26.652 13.04c-2.898 1.752-6.324 1.81-10.43 1.81h-25.613v-19.51h25.962c3.674 0 7.508.164 9.998 1.584 2.735 1.28 4.427 4 4.427 7.765 0 3.84-1.61 6.929-4.344 8.351m60.47 51.14h-21.513v-87.84h21.513v87.84m249.74 0h-29.879l-39.964-65.927v65.927h-42.94l-8.204-19.592h-43.799l-7.96 19.592h-24.673c-10.248 0-23.22-2.257-30.572-9.715-7.41-7.458-11.265-17.56-11.265-33.533 0-13.03 2.304-24.936 11.366-34.35 6.816-7.01 17.49-10.242 32.02-10.242h20.412v18.821h-19.984c-7.694 0-12.04 1.14-16.224 5.203-3.594 3.699-6.06 10.69-6.06 19.897 0 9.41 1.878 16.196 5.797 20.628 3.245 3.476 9.144 4.53 14.694 4.53h9.469l29.716-69.08h31.592l35.696 83.08v-83.08h32.1l37.06 61.17v-61.17h21.596v87.83zm-128.16-37.82l-14.591-35.02-14.51 35.02h29.1m181.89 178.07c-5.121 7.458-15.1 11.239-28.611 11.239h-40.718v-18.84h40.553c4.02 0 6.837-.527 8.532-2.175a7.71 7.71 0 0 0 2.493 -5.73c0-2.56-1.024-4.592-2.575-5.81-1.53-1.341-3.757-1.95-7.429-1.95-19.797-.67-44.495.609-44.495-27.19 0-12.743 8.125-26.16 30.25-26.16h41.998v-17.48h-39.02c-11.776 0-20.33 2.808-26.388 7.174v-7.175h-57.716c-9.23 0-20.06 2.279-25.19 7.175v-7.175h-103.07v7.175c-8.203-5.892-22.04-7.175-28.431-7.175h-67.983v7.175c-6.49-6.258-20.92-7.175-29.716-7.175h-76.08l-17.41 18.763-16.307-18.763h-113.66v122.59h111.52l17.94-19.06 16.9 19.06 68.74.061v-28.838h6.757c9.12.14 19.878-.226 29.368-4.31v33.08h56.697v-31.952h2.735c3.49 0 3.834.143 3.834 3.616v28.333h172.23c10.935 0 22.365-2.787 28.695-7.845v7.845h54.632c11.369 0 22.471-1.587 30.918-5.651v-22.838m-341.5-47.15c0 24.406-18.286 29.445-36.716 29.445h-26.307v29.469h-40.98l-25.962-29.08-26.981 29.08h-83.52v-87.86h84.8l25.941 28.799 26.819-28.799h67.37c16.732 0 35.532 4.613 35.532 28.945m-167.62 40.43h-51.839v-17.481h46.29v-17.926h-46.29v-15.973h52.86l23.06 25.604-24.08 25.776m83.53 10.06l-32.37-35.788 32.37-34.651v70.44m47.873-39.07h-27.25v-22.374h27.492c7.612 0 12.896 3.09 12.896 10.773 0 7.598-5.04 11.601-13.14 11.601zm142.74-40.37h70.37v18.17h-49.37v15.973h48.17v17.925h-48.17v17.481l49.37.08v18.23h-70.37v-87.86m-27.05 47.03c4.693 1.724 8.53 4.816 10.329 7.375 2.977 4.29 3.408 8.293 3.493 16.04v17.417h-21.17v-10.992c0-5.286.511-13.11-3.408-17.198-3.08-3.147-7.777-3.9-15.468-3.9h-22.533v32.09h-21.19v-87.86h48.678c10.674 0 18.448.47 25.369 4.146 6.654 4 10.839 9.488 10.839 19.51-.003 14.02-9.395 21.18-14.945 23.373zm-11.917-11.11c-2.82 1.667-6.308 1.81-10.41 1.81h-25.614v-19.733h25.962c3.754 0 7.51.08 10.06 1.587 2.732 1.423 4.366 4.144 4.366 7.903 0 3.76-1.634 6.788-4.366 8.433m190.34 5.597c4.106 4.23 6.306 9.572 6.306 18.614 0 18.9-11.858 27.723-33.12 27.723h-41.06v-18.84h40.9c4 0 6.836-.527 8.613-2.175 1.45-1.359 2.49-3.333 2.49-5.73 0-2.56-1.125-4.592-2.573-5.81-1.612-1.34-3.836-1.95-7.508-1.95-19.717-.67-44.41.61-44.41-27.19 0-12.744 8.04-26.16 30.14-26.16h42.27v18.7h-38.677c-3.834 0-6.327.143-8.447 1.587-2.31 1.422-3.166 3.534-3.166 6.32 0 3.315 1.96 5.57 4.613 6.545 2.224.77 4.613.996 8.205.996l11.35.305c11.446.278 19.303 2.249 24.08 7.07m83.66-23.52h-38.427c-3.836 0-6.385.143-8.532 1.587-2.224 1.423-3.081 3.534-3.081 6.322 0 3.314 1.878 5.569 4.61 6.544 2.225.77 4.614.996 8.126.996l11.427.304c11.531.284 19.228 2.258 23.921 7.07.855.67 1.368 1.422 1.956 2.175v-25" fill="#fff"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 750 471" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><rect fill="#0079be" width="750" height="471" rx="40"/><path d="m584.93 237.95c0-99.42-82.981-168.13-173.89-168.1h-78.24c-92-.033-167.73 68.71-167.73 168.1 0 90.93 75.73 165.64 167.73 165.2h78.24c90.91.436 173.89-74.29 173.89-165.2" fill="#fff"/><path d="m333.28 83.93c-84.07.027-152.19 68.31-152.21 152.58.02 84.26 68.14 152.53 152.21 152.56 84.09-.027 152.23-68.3 152.24-152.56-.012-84.27-68.15-152.55-152.24-152.58" fill="#0079be"/><path d="m237.07 236.1c.08-41.18 25.746-76.3 61.94-90.25v180.48c-36.19-13.947-61.861-49.04-61.94-90.23m131 90.28v-180.53c36.21 13.92 61.914 49.06 61.98 90.26-.066 41.21-25.773 76.32-61.98 90.27" fill="#fff"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 780 501"><g fill="none" fill-rule="evenodd"><path fill="#4d4d4d" d="m54.992 0c-30.365 0-54.992 24.63-54.992 55v390.99c0 30.38 24.619 55 54.992 55h670.02c30.365 0 54.992-24.63 54.992-55v-390.99c0-30.38-24.619-55-54.992-55h-670.02"/><path fill="#fff" d="m327.15 161.89c8.837 0 16.248 1.784 25.27 6.09v22.751c-8.544-7.863-15.955-11.154-25.756-11.154-19.264 0-34.414 15.02-34.414 34.05 0 20.07 14.681 34.2 35.37 34.2 9.312 0 16.586-3.12 24.8-10.857v22.763c-9.341 4.14-16.911 5.776-25.756 5.776-31.28 0-55.58-22.596-55.58-51.737 0-28.826 24.951-51.878 56.07-51.878m-97.11.627c11.546 0 22.11 3.72 30.943 10.994l-10.748 13.248c-5.35-5.646-10.41-8.03-16.564-8.03-8.853 0-15.3 4.745-15.3 10.989 0 5.354 3.619 8.188 15.944 12.482 23.365 8.04 30.29 15.176 30.29 30.926 0 19.19-14.976 32.553-36.32 32.553-15.63 0-26.994-5.795-36.458-18.872l13.268-12.03c4.73 8.61 12.622 13.222 22.42 13.222 9.163 0 15.947-5.952 15.947-13.984 0-4.164-2.055-7.734-6.158-10.258-2.066-1.195-6.158-2.977-14.2-5.647-19.291-6.538-25.91-13.527-25.91-27.19 0-16.225 14.214-28.41 32.846-28.41m234.72 1.728h22.437l28.08 66.59 28.446-66.59h22.267l-45.49 101.69h-11.05l-44.687-101.69m-397.35.152h30.15c33.31 0 56.53 20.382 56.53 49.641 0 14.59-7.104 28.696-19.12 38.06-10.11 7.901-21.626 11.445-37.574 11.445h-29.992v-99.14m96.13 0h20.54v99.14h-20.54v-99.14m411.73 0h58.25v16.8h-37.725v22h36.34v16.791h-36.34v26.762h37.726v16.785h-58.25v-99.14zm71.858 0h30.455c23.69 0 37.26 10.71 37.26 29.27 0 15.18-8.514 25.14-23.986 28.1l33.15 41.766h-25.26l-28.429-39.828h-2.678v39.828h-20.515v-99.14m20.515 15.616v30.03h6c13.12 0 20.07-5.362 20.07-15.328 0-9.648-6.954-14.697-19.745-14.697h-6.326m-579.72 1.183v65.56h5.512c13.273 0 21.656-2.394 28.11-7.88 7.103-5.955 11.376-15.465 11.376-24.98 0-9.499-4.273-18.725-11.376-24.681-6.785-5.78-14.837-8.02-28.11-8.02h-5.512"/><path fill="#f47216" d="m415.13 161.21c30.941 0 56.02 23.58 56.02 52.709v.033c0 29.13-25.08 52.742-56.02 52.742s-56.02-23.613-56.02-52.742v-.033c0-29.13 25.08-52.71 56.02-52.71m364.85 127.15c-26.05 18.33-221.08 149.34-558.75 212.62h503.76c30.365 0 54.992-24.63 54.992-55v-157.62"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 750 471" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><rect fill="#000" width="750" height="471" rx="40"/><path d="m434.01 235.5c0 99.14-80.37 179.5-179.51 179.5s-179.5-80.36-179.5-179.5c0-99.13 80.36-179.5 179.5-179.5 99.14 0 179.51 80.37 179.51 179.5" fill="#d9222a"/><path d="m495.49 55.996c-46.38 0-88.64 17.596-120.5 46.47a182.43 182.43 0 0 0 -18.125 18.996h36.27a181.8 181.8 0 0 1 13.684 19.013h-63.63a178.716 178.716 0 0 0 -10.341 19.008h84.31a179.19 179.19 0 0 1 7.6 19.004h-99.51a177.294 177.294 0 0 0 -5.217 19.009h109.94a180.428 180.428 0 0 1 4.041 38.008c0 19.933-3.254 39.11-9.254 57.02h-99.51a177.651 177.651 0 0 0 7.595 19.01h84.32a179.97 179.97 0 0 1 -10.346 19.012h-63.62c4.154 6.629 8.73 12.979 13.684 18.996h36.26a179.297 179.297 0 0 1 -18.13 19.012c31.86 28.867 74.12 46.45 120.5 46.45 99.14 0 179.51-80.36 179.51-179.5 0-99.13-80.37-179.5-179.51-179.5" fill="#ee9f2d"/><path d="m651.08 335.56c0-3.2 2.592-5.8 5.796-5.8s5.796 2.6 5.796 5.8c0 3.2-2.592 5.8-5.796 5.8a5.798 5.798 0 0 1 -5.796 -5.8m5.796 4.409a4.41 4.41 0 0 0 4.408 -4.409 4.404 4.404 0 0 0 -4.408 -4.404 4.398 4.398 0 0 0 -4.404 4.404 4.404 4.404 0 0 0 4.404 4.409m-.783-1.859h-1.188v-5.095h2.15c.45 0 .908 0 1.304.254.413.279.646.77.646 1.279 0 .57-.337 1.104-.883 1.312l.937 2.25h-1.316l-.78-2.02h-.87v2.02m0-2.891h.658c.246 0 .504.02.725-.1.196-.125.296-.359.296-.584 0-.195-.121-.42-.288-.516-.208-.13-.537-.1-.758-.1h-.633v1.3m-443.5-80.06c-2.045-.237-2.945-.3-4.35-.3-11.04 0-16.637 3.788-16.637 11.267 0 4.612 2.73 7.546 6.987 7.546 7.938 0 13.659-7.559 14-18.513m14.171 32.996h-16.15l.371-7.675c-4.925 6.067-11.496 8.95-20.425 8.95-10.562 0-17.804-8.25-17.804-20.23 0-18.02 12.596-28.54 34.22-28.54 2.208 0 5.04.2 7.941.57.605-2.442.763-3.487.763-4.8 0-4.908-3.396-6.738-12.5-6.738-9.533-.108-17.396 2.271-20.625 3.334.204-1.23 2.7-16.658 2.7-16.658 9.712-2.846 16.12-3.917 23.325-3.917 16.733 0 25.596 7.512 25.58 21.712.032 3.805-.597 8.5-1.58 14.671-1.692 10.73-5.32 33.717-5.817 39.32m-62.16 0h-19.488l11.163-69.996-24.925 69.996h-13.28l-1.64-69.6-11.734 69.6h-18.242l15.238-91.05h28.02l1.7 50.967 17.09-50.967h31.17l-15.07 91.05m354.98-32.996c-2.037-.237-2.942-.3-4.342-.3-11.04 0-16.633 3.788-16.633 11.267 0 4.612 2.725 7.546 6.983 7.546 7.938 0 13.663-7.559 13.992-18.513zm14.183 32.996h-16.14l.366-7.675c-4.925 6.067-11.5 8.95-20.42 8.95-10.567 0-17.8-8.25-17.8-20.23 0-18.02 12.587-28.54 34.21-28.54 2.208 0 5.04.2 7.933.57.604-2.442.763-3.487.763-4.8 0-4.908-3.392-6.738-12.496-6.738-9.533-.108-17.388 2.271-20.63 3.334.205-1.23 2.709-16.658 2.709-16.658 9.713-2.846 16.11-3.917 23.313-3.917 16.741 0 25.604 7.512 25.587 21.712.033 3.805-.596 8.5-1.58 14.671-1.682 10.73-5.32 33.717-5.812 39.32m-220.39-1.125c-5.334 1.68-9.492 2.4-14 2.4-9.963 0-15.4-5.725-15.4-16.267-.142-3.27 1.433-11.879 2.67-19.737 1.125-6.917 8.45-50.53 8.45-50.53h19.371l-2.262 11.209h11.7l-2.642 17.796h-11.742c-2.25 14.08-5.454 31.625-5.491 33.95 0 3.817 2.037 5.483 6.67 5.483 2.221 0 3.942-.225 5.255-.7l-2.58 16.396m59.39-.6c-6.654 2.033-13.07 3.02-19.879 3-21.683-.02-32.987-11.346-32.987-33.03 0-25.313 14.379-43.946 33.9-43.946 15.97 0 26.17 10.433 26.17 26.796 0 5.429-.7 10.729-2.387 18.212h-38.575c-1.304 10.742 5.57 15.217 16.837 15.217 6.934 0 13.188-1.43 20.14-4.663l-3.22 18.417zm-10.887-43.9c.108-1.542 2.054-13.217-9.01-13.217-6.17 0-10.583 4.704-12.379 13.217h21.392m-123.42-5.02c0 9.367 4.541 15.825 14.841 20.675 7.892 3.709 9.113 4.809 9.113 8.171 0 4.617-3.48 6.7-11.192 6.7-5.812 0-11.22-.908-17.458-2.92 0 0-2.563 16.32-2.68 17.1 4.43.966 8.38 1.862 20.28 2.191 20.562 0 30.06-7.83 30.06-24.75 0-10.175-3.975-16.15-13.737-20.633-8.171-3.75-9.109-4.588-9.109-8.05 0-4 3.238-6.05 9.538-6.05 3.825 0 9.05.408 14 1.113l2.775-17.18c-5.05-.8-12.696-1.442-17.15-1.442-21.8 0-29.346 11.387-29.28 25.06m229.09-23.12c5.413 0 10.459 1.42 17.413 4.92l3.187-19.762c-2.854-1.12-12.904-7.7-21.416-7.7-13.04 0-24.07 6.47-31.821 17.15-11.309-3.746-15.959 3.825-21.659 11.367l-5.062 1.179c.383-2.483.73-4.95.613-7.446h-17.896c-2.446 22.917-6.78 46.13-10.171 69.08l-.884 4.975h19.496c3.254-21.14 5.04-34.68 6.121-43.842l7.342-4.083c1.096-4.08 4.529-5.458 11.416-5.292a82.966 82.966 0 0 0 -1.383 15.184c0 24.22 13.07 39.31 34.05 39.31 5.404 0 10.04-.712 17.221-2.658l3.43-20.759c-6.46 3.18-11.76 4.675-16.56 4.675-11.328 0-18.18-8.362-18.18-22.18 0-20.05 10.196-34.11 24.746-34.11" fill="#000"/><path d="m170.21 282.74h-19.491l11.17-69.988-24.925 69.988h-13.282l-1.642-69.59-11.733 69.59h-18.243l15.238-91.04h28.02l.788 56.36 18.904-56.36h30.27l-15.07 91.04" fill="#fff"/><path d="m632.52 197.1l-4.32 26.308c-5.33-7.01-11.05-12.09-18.612-12.09-9.834 0-18.784 7.454-24.642 18.425-8.158-1.692-16.596-4.563-16.596-4.563l-.004.067c.658-6.133.92-9.875.862-11.146h-17.9c-2.437 22.917-6.77 46.13-10.158 69.07l-.892 4.975h19.492c2.633-17.1 4.65-31.29 6.133-42.55 6.659-6.02 9.992-11.267 16.721-10.917-2.979 7.205-4.725 15.505-4.725 24.02 0 18.513 9.367 30.725 23.534 30.725 7.141 0 12.62-2.462 17.966-8.17l-.912 6.883h18.433l14.842-91.04h-19.222m-24.37 73.942c-6.633 0-9.983-4.909-9.983-14.596 0-14.554 6.27-24.875 15.11-24.875 6.696 0 10.321 5.104 10.321 14.508 0 14.68-6.37 24.963-15.45 24.963" fill="#000"/><path d="m218.19 249.76c-2.042-.237-2.946-.3-4.346-.3-11.05 0-16.634 3.788-16.634 11.267 0 4.604 2.73 7.546 6.98 7.546 7.945 0 13.666-7.558 14-18.513m14.179 32.984h-16.15l.367-7.663c-4.921 6.05-11.5 8.95-20.421 8.95-10.567 0-17.804-8.25-17.804-20.229 0-18.03 12.591-28.542 34.22-28.542 2.209 0 5.04.2 7.938.571.604-2.442.762-3.487.762-4.808 0-4.908-3.391-6.73-12.496-6.73-9.537-.108-17.395 2.272-20.629 3.322.204-1.226 2.7-16.638 2.7-16.638 9.709-2.858 16.12-3.93 23.321-3.93 16.738 0 25.604 7.518 25.588 21.705.029 3.82-.605 8.512-1.584 14.675-1.687 10.725-5.32 33.725-5.812 39.32m261.38-88.59l-3.192 19.767c-6.95-3.496-12-4.921-17.408-4.921-14.55 0-24.75 14.06-24.75 34.11 0 13.821 6.858 22.18 18.18 22.18 4.8 0 10.1-1.492 16.554-4.676l-3.42 20.75c-7.184 1.959-11.817 2.671-17.226 2.671-20.975 0-34.05-15.08-34.05-39.31 0-32.55 18.06-55.3 43.888-55.3 8.508 0 18.563 3.608 21.42 4.729m31.443 55.608c-2.042-.237-2.942-.3-4.346-.3-11.04 0-16.634 3.788-16.634 11.267 0 4.604 2.73 7.546 6.984 7.546 7.937 0 13.662-7.558 13.996-18.513zm14.179 32.984h-16.15l.37-7.663c-4.924 6.05-11.5 8.95-20.42 8.95-10.563 0-17.804-8.25-17.804-20.229 0-18.03 12.595-28.542 34.21-28.542 2.213 0 5.04.2 7.942.571.6-2.442.762-3.487.762-4.808 0-4.908-3.391-6.73-12.496-6.73-9.533-.108-17.395 2.272-20.629 3.322.204-1.226 2.704-16.638 2.704-16.638 9.709-2.858 16.12-3.93 23.317-3.93 16.742 0 25.604 7.518 25.583 21.705.034 3.82-.595 8.512-1.579 14.675-1.683 10.725-5.325 33.725-5.812 39.32m-220.39-1.122c-5.338 1.68-9.496 2.41-14 2.41-9.963 0-15.4-5.726-15.4-16.267-.138-3.28 1.437-11.88 2.675-19.738 1.12-6.925 8.446-50.53 8.446-50.53h19.366l-2.258 11.212h9.942l-2.646 17.788h-9.975c-2.25 14.09-5.463 31.62-5.496 33.95 0 3.829 2.042 5.483 6.671 5.483 2.22 0 3.937-.217 5.254-.692l-2.579 16.388m59.39-.591c-6.65 2.033-13.08 3.01-19.88 3-21.683-.022-32.987-11.347-32.987-33.03 0-25.321 14.38-43.95 33.9-43.95 15.97 0 26.17 10.429 26.17 26.8 0 5.433-.7 10.733-2.382 18.212h-38.575c-1.305 10.742 5.57 15.221 16.837 15.221 6.93 0 13.188-1.433 20.14-4.675l-3.22 18.425zm-10.892-43.913c.117-1.538 2.058-13.217-9.01-13.217-6.166 0-10.579 4.717-12.375 13.217h21.388m-123.42-5c0 9.366 4.542 15.816 14.842 20.675 7.891 3.708 9.112 4.812 9.112 8.17 0 4.617-3.483 6.7-11.187 6.7-5.817 0-11.225-.908-17.467-2.92 0 0-2.554 16.32-2.67 17.1 4.42.966 8.374 1.85 20.274 2.191 20.567 0 30.06-7.829 30.06-24.746 0-10.179-3.971-16.15-13.738-20.637-8.167-3.758-9.112-4.583-9.112-8.05 0-4 3.245-6.06 9.541-6.06 3.821 0 9.05.42 14 1.125l2.771-17.18c-5.04-.8-12.691-1.441-17.15-1.441-21.804 0-29.345 11.379-29.28 25.07m398.45 50.629h-18.437l.917-6.892c-5.346 5.717-10.825 8.18-17.967 8.18-14.167 0-23.53-12.213-23.53-30.726 0-24.629 14.522-45.39 31.709-45.39 7.558 0 13.28 3.088 18.604 10.1l4.325-26.308h19.221l-14.842 91.04zm-28.745-17.11c9.08 0 15.45-10.283 15.45-24.954 0-9.404-3.63-14.508-10.325-14.508-8.838 0-15.12 10.317-15.12 24.875 0 9.687 3.358 14.587 9.992 14.587m-56.843-56.929c-2.44 22.917-6.774 46.13-10.162 69.06l-.891 4.975h19.491c6.971-45.28 8.659-54.12 19.588-53.01 1.742-9.266 4.983-17.383 7.4-21.479-8.163-1.7-12.721 2.913-18.688 11.675.471-3.787 1.334-7.466 1.163-11.225h-17.9m-160.42 0c-2.446 22.917-6.78 46.13-10.167 69.06l-.887 4.975h19.5c6.962-45.28 8.646-54.12 19.57-53.01 1.75-9.266 4.992-17.383 7.4-21.479-8.154-1.7-12.716 2.913-18.678 11.675.47-3.787 1.325-7.466 1.162-11.225h-17.9m254.57 68.24c0-3.213 2.596-5.8 5.796-5.8a5.79 5.79 0 0 1 5.795 5.8 5.797 5.797 0 0 1 -5.795 5.796 5.8 5.8 0 0 1 -5.796 -5.796zm5.796 4.404a4.403 4.403 0 0 0 4.404 -4.404 4.404 4.404 0 0 0 -4.404 -4.408 4.41 4.41 0 0 0 -4.409 4.408 4.41 4.41 0 0 0 4.409 4.404m-.784-1.87h-1.187v-5.084h2.154c.446 0 .908.008 1.296.254.416.283.654.767.654 1.275 0 .575-.338 1.113-.888 1.317l.942 2.237h-1.32l-.78-2.01h-.87v2.01m-.001-2.879h.654c.246 0 .513.017.73-.1.195-.125.295-.362.295-.587a.677 .677 0 0 0 -.287 -.525c-.204-.117-.542-.084-.763-.084h-.629v1.296" fill="#fff"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 750 471" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><rect fill="#0e4595" width="750" height="471" rx="40"/><path d="m278.2 334.23l33.36-195.76h53.36l-33.385 195.76h-53.34m246.11-191.54c-10.572-3.966-27.14-8.222-47.823-8.222-52.725 0-89.87 26.55-90.18 64.6-.298 28.13 26.513 43.822 46.753 53.19 20.77 9.594 27.752 15.714 27.654 24.283-.132 13.12-16.587 19.12-31.923 19.12-21.357 0-32.703-2.966-50.23-10.276l-6.876-3.111-7.49 43.824c12.464 5.464 35.51 10.198 59.44 10.443 56.09 0 92.5-26.25 92.92-66.882.2-22.268-14.02-39.22-44.8-53.19-18.65-9.06-30.07-15.1-29.951-24.268 0-8.137 9.667-16.839 30.556-16.839 17.45-.27 30.09 3.535 39.937 7.5l4.781 2.26 7.234-42.43m137.31-4.222h-41.23c-12.774 0-22.332 3.487-27.942 16.234l-79.25 179.4h56.03s9.161-24.12 11.233-29.418c6.124 0 60.55.084 68.34.084 1.596 6.853 6.491 29.334 6.491 29.334h49.51l-43.19-195.64zm-65.42 126.41c4.413-11.279 21.26-54.723 21.26-54.723-.316.522 4.38-11.334 7.08-18.684l3.606 16.879s10.217 46.728 12.352 56.53h-44.29m-363.29-126.41l-52.24 133.5-5.567-27.13c-9.725-31.27-40.03-65.16-73.898-82.12l47.766 171.2 56.46-.065 84-195.39h-56.52" fill="#fff"/><path d="m131.92 138.47h-86.04l-.681 4.073c66.938 16.204 111.23 55.36 129.62 102.41l-18.71-89.96c-3.23-12.395-12.597-16.09-24.19-16.526" fill="#f2ae14"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm-2 15l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z" fill="#00ad36"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm-2 15l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z" fill="#00ad36"/></svg>
@@ -0,0 +1,53 @@
1
+ /**
2
+ * @external jQuery
3
+ */
4
+
5
+ /**
6
+ * @method
7
+ * @name categorizedAutocomplete
8
+ * @memberof external:jQuery
9
+ */
10
+ $.widget('workarea.categorizedAutocomplete', $.ui.autocomplete, {
11
+ _create: function () {
12
+ 'use strict';
13
+
14
+ this._super();
15
+
16
+ this.widget().menu(
17
+ 'option', 'items', '> :not(.ui-menu-heading)'
18
+ );
19
+ },
20
+
21
+ _renderItem: function ($ul, item) {
22
+ 'use strict';
23
+
24
+ var itemTemplate = JST['workarea/admin/templates/ui_menu_item'];
25
+
26
+ return $(itemTemplate({ label: item.label, image: item.image })).appendTo($ul);
27
+ },
28
+
29
+ _renderMenu: function ($ul, items) {
30
+ 'use strict';
31
+
32
+ var widget = this,
33
+ categories = _.uniq(_.map(items, 'type')),
34
+ itemsByCategory = _.groupBy(items, 'type'),
35
+ categoryHeaderTemplate = JST['workarea/admin/templates/ui_menu_heading'],
36
+
37
+ renderCategoryItem = function (item) {
38
+ widget._renderItemData($ul, item);
39
+ },
40
+
41
+ renderCategory = function (category) {
42
+ $ul.append(categoryHeaderTemplate({
43
+ categoryName: category
44
+ }));
45
+
46
+ _.forEach(
47
+ itemsByCategory[category], renderCategoryItem
48
+ );
49
+ };
50
+
51
+ _.forEach(categories, renderCategory);
52
+ }
53
+ });
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Add data-replace to an element. When that element is also data-remote, the
3
+ * element will be replaced by the server's response (with WORKAREA modules
4
+ * initialized).
5
+ */
6
+
7
+ $(document).on('ajax:success', function (event, response) {
8
+ var $target = $(event.target);
9
+
10
+ if ($target.is('[data-replace]')) {
11
+ var $replacement = $(response);
12
+ WORKAREA.initModules($replacement);
13
+ $target.replaceWith($replacement);
14
+ }
15
+ });
@@ -0,0 +1,235 @@
1
+ // Feature.js
2
+ <% require_asset 'featurejs_rails/feature' %>
3
+ window.feature.testAll();
4
+
5
+ <%
6
+ # Library Dependencies
7
+ %w(
8
+ webcomponentsjs-rails/MutationObserver
9
+ i18n
10
+ i18n/translations
11
+ strftime-rails/strftime
12
+ local_time
13
+ lodash
14
+ jquery3
15
+ jquery_ujs
16
+ jquery_ujs/replace
17
+ jquery-ui/core
18
+ jquery-ui/widget
19
+ jquery-ui/position
20
+ jquery-ui/widgets/mouse
21
+ jquery-ui/widgets/draggable
22
+ jquery-ui/widgets/droppable
23
+ jquery-ui/widgets/resizable
24
+ jquery-ui/widgets/sortable
25
+ jquery-ui/widgets/autocomplete
26
+ jquery-ui/widgets/button
27
+ jquery-ui/widgets/datepicker
28
+ jquery-ui/widgets/menu
29
+ jquery-ui/widgets/tabs
30
+ jquery-ui/widgets/accordion
31
+ tooltipster.bundle
32
+ waypoints/noframework.waypoints
33
+ waypoints/shortcuts/sticky
34
+ select2
35
+ wysihtml/
36
+ wysihtml/toolbar
37
+ wysihtml/all_commands
38
+ jquery-unique-clone
39
+ turbolinks
40
+ spectrum
41
+ Chart.bundle
42
+ chartkick
43
+ ).each do |asset|
44
+ require_asset asset
45
+ end
46
+
47
+ # Plugin Library Dependencies
48
+ append_javascripts('admin.dependencies')
49
+
50
+ # Test Helper
51
+ require_asset 'workarea/core/feature_test_helper' if Rails.env.test?
52
+
53
+ # JST Templates
54
+ %w(
55
+ workarea/core/templates/lorem_ipsum_view
56
+ workarea/core/templates/hidden_input
57
+ workarea/core/templates/reveal_password_button
58
+ workarea/admin/templates/ui_menu_heading
59
+ workarea/admin/templates/ui_menu_item
60
+ workarea/admin/templates/loading
61
+ workarea/admin/templates/message
62
+ workarea/admin/templates/message_dismiss_action
63
+ workarea/admin/templates/checkbox_with_label
64
+ workarea/admin/templates/tabs_menu
65
+ workarea/admin/templates/wysiwyg_toolbar
66
+ workarea/admin/templates/content_block_iframe
67
+ workarea/admin/templates/new_release_option
68
+ workarea/admin/templates/remote_select
69
+ workarea/admin/templates/help_helper
70
+ workarea/admin/templates/help_helper_text
71
+ workarea/admin/templates/takeover
72
+ workarea/admin/templates/release_select_form
73
+ workarea/admin/templates/bookmark_form
74
+ workarea/admin/templates/inline_datepicker
75
+ workarea/admin/templates/datetime_picker
76
+ workarea/admin/templates/remote_select_sparkline
77
+ workarea/admin/templates/remote_select_insight
78
+ workarea/admin/templates/bulk_action_items_count
79
+ workarea/admin/templates/direct_upload_processing
80
+ workarea/admin/templates/direct_upload_table_row
81
+ workarea/admin/templates/expandable_button
82
+ ).each do |asset|
83
+ require_asset asset
84
+ end
85
+
86
+ # Plugin JST Templates
87
+ append_javascripts('admin.templates')
88
+
89
+ # Library Extensions
90
+ %w(
91
+ jquery_ui/admin/categorized_autocomplete
92
+ ).each do |asset|
93
+ require_asset asset
94
+ end
95
+
96
+ # Workarea Module Controller
97
+ require_asset 'workarea/core/workarea'
98
+
99
+ # Configuration
100
+ %w(
101
+ workarea/core/config
102
+ workarea/admin/config
103
+ ).each do |asset|
104
+ require_asset asset
105
+ end
106
+
107
+ # Plugin Configuration
108
+ append_javascripts('admin.config')
109
+
110
+ # Routing
111
+ %w(
112
+ workarea/core/routes
113
+ workarea/admin/routes
114
+ ).each do |asset|
115
+ require_asset asset
116
+ end
117
+
118
+ # Modules
119
+ %w(
120
+ workarea/core/modules/transition_events
121
+ workarea/core/modules/environment
122
+ workarea/core/modules/cookie
123
+ workarea/core/modules/string
124
+ workarea/core/modules/url
125
+ workarea/core/modules/image
126
+ workarea/core/modules/deletion_forms
127
+ workarea/core/modules/form_submitting_controls
128
+ workarea/core/modules/jquery
129
+ workarea/core/modules/style_guide_empty_links
130
+ workarea/core/modules/style_guide_autocomplete_fields
131
+ workarea/core/modules/style_guide_accordions
132
+ workarea/core/modules/reveal_password
133
+ workarea/core/modules/local_time
134
+ workarea/admin/modules/categorized_autocomplete_fields
135
+ workarea/core/modules/date
136
+ workarea/admin/modules/messages
137
+ workarea/admin/modules/takeover
138
+ workarea/admin/modules/autocomplete_fields
139
+ workarea/admin/modules/new_navigation_taxons
140
+ workarea/admin/modules/cloneable_rows
141
+ workarea/admin/modules/datetimepicker_fields
142
+ workarea/admin/modules/datepicker_fields
143
+ workarea/admin/modules/tabs
144
+ workarea/admin/modules/wysiwygs
145
+ workarea/admin/modules/discount_options_menus
146
+ workarea/admin/modules/asset_pickers
147
+ workarea/admin/modules/product_images_sortables
148
+ workarea/admin/modules/menu_editor_links
149
+ workarea/admin/modules/menu_editor_menu_list_sortables
150
+ workarea/admin/modules/menu_editor_sort_by_menus
151
+ workarea/admin/modules/recommendations_sortables
152
+ workarea/admin/modules/publish_with_release_menus
153
+ workarea/admin/modules/releasable_model_search_forms
154
+ workarea/admin/modules/toggle_buttons
155
+ workarea/admin/modules/remote_selects
156
+ workarea/admin/modules/release_calendar_placeholders
157
+ workarea/admin/modules/calendars
158
+ workarea/admin/modules/bulk_action_items
159
+ workarea/admin/modules/bulk_action_deletion
160
+ workarea/admin/modules/property_toggles
161
+ workarea/admin/modules/help_helper
162
+ workarea/admin/modules/primary_nav
163
+ workarea/admin/modules/taxon_select
164
+ workarea/admin/modules/dom_remove
165
+ workarea/admin/modules/featured_products_sort
166
+ workarea/admin/modules/taxon_insert
167
+ workarea/admin/modules/add_content_block_buttons
168
+ workarea/admin/modules/content_editor
169
+ workarea/admin/modules/content_blocks
170
+ workarea/admin/modules/content_editor_forms
171
+ workarea/admin/modules/content_editor_form_cancel
172
+ workarea/admin/modules/content_block_list
173
+ workarea/admin/modules/content_preview
174
+ workarea/admin/modules/content_preset_form
175
+ workarea/admin/modules/bookmarks
176
+ workarea/admin/modules/sort_navigation_menus
177
+ workarea/admin/modules/asset_picker_fields
178
+ workarea/admin/modules/filter_dropdowns
179
+ workarea/admin/modules/toggle_filters
180
+ workarea/admin/modules/release_reminder
181
+ workarea/admin/modules/relevance_sort
182
+ workarea/admin/modules/tooltips
183
+ workarea/admin/modules/publish_create_release
184
+ workarea/admin/modules/product_rules_preview
185
+ workarea/admin/modules/sort_variants
186
+ workarea/admin/modules/product_copy_ids
187
+ workarea/admin/modules/disable_publish_now
188
+ workarea/admin/modules/unsaved_changes
189
+ workarea/admin/modules/add_to_calendar_buttons
190
+ workarea/admin/modules/range_fields
191
+ workarea/admin/modules/direct_uploads
192
+ workarea/admin/modules/pricing_overrides
193
+ workarea/admin/modules/expandables
194
+ ).each do |asset|
195
+ require_asset asset
196
+ end
197
+
198
+ # Google Analytics
199
+ require_asset 'workarea/admin/google_analytics'
200
+
201
+ # Development Utilities
202
+ if Rails.env.test? || Rails.env.development?
203
+ require_asset 'workarea/core/modules/duplicate_id'
204
+ end
205
+
206
+ # Plugin Modules
207
+ append_javascripts('admin.modules')
208
+ %>
209
+
210
+ $(document).on('turbolinks:load', function () {
211
+ WORKAREA.initModules($('body')); // Initialize all modules
212
+ });
213
+
214
+ $(document).on('turbolinks:click', function (event) {
215
+ var goingElsewhere = !_.includes(
216
+ event.originalEvent.data.url,
217
+ WORKAREA.routes.admin.rootPath()
218
+ );
219
+
220
+ if (goingElsewhere) {
221
+ event.preventDefault();
222
+ }
223
+ });
224
+
225
+ $(document).on('turbolinks:request-end', function(event) {
226
+ var redirectElsewhere = !_.includes(
227
+ event.originalEvent.data.xhr.responseURL,
228
+ WORKAREA.routes.admin.rootPath()
229
+ );
230
+
231
+ if (redirectElsewhere) {
232
+ event.preventDefault();
233
+ window.location = event.originalEvent.data.url;
234
+ }
235
+ });
@@ -0,0 +1,700 @@
1
+ /**
2
+ * @namespace WORKAREA
3
+ */
4
+
5
+ (function () {
6
+ 'use strict';
7
+
8
+ /**
9
+ * @namespace WORKAREA.config
10
+ * @property {object} datetimepickerFields
11
+ * @property {object} datePickerFields
12
+ * @property {object} wysiwygs
13
+ * @property {object} remoteSelects
14
+ * @property {object} productImagesSortable
15
+ * @property {object} recommendationsSortables
16
+ * @property {object} searchResultsSortables
17
+ * @property {object} dashboardCharts
18
+ * @property {object} messages
19
+ * @property {object} tooltipster
20
+ * @property {object} helpLookupButtons
21
+ * @property {object} contentBlocks
22
+ * @property {object} forms
23
+ * @property {object} directUploads
24
+ * @property {object} expandable
25
+ */
26
+
27
+ WORKAREA.config.datetimepickerFields = {
28
+ fieldSuffixes: {
29
+ picker: '_picker',
30
+ date: '_date',
31
+ hours: '_hours',
32
+ minutes: '_minutes',
33
+ ampm: '_ampm'
34
+ },
35
+ timezone: new Date().getTimezoneOffset() * -1
36
+ };
37
+
38
+ // TODO v4 remove
39
+ WORKAREA.config.datetimepicker = WORKAREA.config.datetimepickerFields;
40
+
41
+ WORKAREA.config.datepickerFields = {
42
+ uiOptions: {
43
+ dateFormat: 'yy-mm-dd',
44
+ prevText: '←',
45
+ nextText: '→'
46
+ }
47
+ };
48
+
49
+ WORKAREA.config.wysiwygs = {
50
+ uiOptions: {
51
+ toolbar: 'wysiwyg_toolbar',
52
+ style: false,
53
+ autoLink: false,
54
+ composerClassName: 'wysihtml-editor',
55
+ bodyClassName: 'wysihtml',
56
+ useLineBreaks: false,
57
+ stylesheets: [],
58
+ cleanUp: false
59
+ },
60
+
61
+ parserRules: {
62
+ 'attributes': {
63
+ 'style': 'any',
64
+ 'href': 'href',
65
+ 'alt': 'alt'
66
+ },
67
+ 'classes': {
68
+ 'wysiwyg-clear-both': 1,
69
+ 'wysiwyg-clear-left': 1,
70
+ 'wysiwyg-clear-right': 1,
71
+ 'wysiwyg-color-aqua': 1,
72
+ 'wysiwyg-color-black': 1,
73
+ 'wysiwyg-color-blue': 1,
74
+ 'wysiwyg-color-fuchsia': 1,
75
+ 'wysiwyg-color-gray': 1,
76
+ 'wysiwyg-color-green': 1,
77
+ 'wysiwyg-color-lime': 1,
78
+ 'wysiwyg-color-maroon': 1,
79
+ 'wysiwyg-color-navy': 1,
80
+ 'wysiwyg-color-olive': 1,
81
+ 'wysiwyg-color-purple': 1,
82
+ 'wysiwyg-color-red': 1,
83
+ 'wysiwyg-color-silver': 1,
84
+ 'wysiwyg-color-teal': 1,
85
+ 'wysiwyg-color-white': 1,
86
+ 'wysiwyg-color-yellow': 1,
87
+ 'wysiwyg-float-left': 1,
88
+ 'wysiwyg-float-right': 1,
89
+ 'wysiwyg-font-size-large': 1,
90
+ 'wysiwyg-font-size-larger': 1,
91
+ 'wysiwyg-font-size-medium': 1,
92
+ 'wysiwyg-font-size-small': 1,
93
+ 'wysiwyg-font-size-smaller': 1,
94
+ 'wysiwyg-font-size-x-large': 1,
95
+ 'wysiwyg-font-size-x-small': 1,
96
+ 'wysiwyg-font-size-xx-large': 1,
97
+ 'wysiwyg-font-size-xx-small': 1,
98
+ 'wysiwyg-text-align-center': 1,
99
+ 'wysiwyg-text-align-justify': 1,
100
+ 'wysiwyg-text-align-left': 1,
101
+ 'wysiwyg-text-align-right': 1
102
+ },
103
+ 'tags': {
104
+ 'tr': {
105
+ 'add_class': {
106
+ 'align': 'align_text'
107
+ }
108
+ },
109
+ 'strike': {
110
+ 'remove': 1
111
+ },
112
+ 'form': {
113
+ 'rename_tag': 'div'
114
+ },
115
+ 'rt': {
116
+ 'rename_tag': 'span'
117
+ },
118
+ 'code': {},
119
+ 'acronym': {
120
+ 'rename_tag': 'span'
121
+ },
122
+ 'br': {
123
+ 'add_class': {
124
+ 'clear': 'clear_br'
125
+ }
126
+ },
127
+ 'details': {
128
+ 'rename_tag': 'div'
129
+ },
130
+ 'h4': {
131
+ 'add_class': {
132
+ 'align': 'align_text'
133
+ }
134
+ },
135
+ 'em': {},
136
+ 'title': {
137
+ 'remove': 1
138
+ },
139
+ 'multicol': {
140
+ 'rename_tag': 'div'
141
+ },
142
+ 'figure': {
143
+ 'rename_tag': 'div'
144
+ },
145
+ 'xmp': {
146
+ 'rename_tag': 'span'
147
+ },
148
+ 'small': {
149
+ 'rename_tag': 'span',
150
+ 'set_class': 'wysiwyg-font-size-smaller'
151
+ },
152
+ 'area': {
153
+ 'remove': 1
154
+ },
155
+ 'time': {
156
+ 'rename_tag': 'span'
157
+ },
158
+ 'dir': {
159
+ 'rename_tag': 'ul'
160
+ },
161
+ 'bdi': {
162
+ 'rename_tag': 'span'
163
+ },
164
+ 'command': {
165
+ 'remove': 1
166
+ },
167
+ 'ul': {},
168
+ 'progress': {
169
+ 'rename_tag': 'span'
170
+ },
171
+ 'dfn': {
172
+ 'rename_tag': 'span'
173
+ },
174
+ 'iframe': {
175
+ 'remove': 1
176
+ },
177
+ 'figcaption': {
178
+ 'rename_tag': 'div'
179
+ },
180
+ 'a': {
181
+ 'check_attributes': {
182
+ 'href': 'href',
183
+ 'target': 'any'
184
+ }
185
+ },
186
+ 'img': {
187
+ 'check_attributes': {
188
+ 'width': 'numbers',
189
+ 'alt': 'alt',
190
+ 'src': 'src',
191
+ 'height': 'numbers'
192
+ },
193
+ 'add_class': {
194
+ 'align': 'align_img'
195
+ }
196
+ },
197
+ 'rb': {
198
+ 'rename_tag': 'span'
199
+ },
200
+ 'footer': {
201
+ 'rename_tag': 'div'
202
+ },
203
+ 'noframes': {
204
+ 'remove': 1
205
+ },
206
+ 'abbr': {
207
+ 'rename_tag': 'span'
208
+ },
209
+ 'u': {},
210
+ 'bgsound': {
211
+ 'remove': 1
212
+ },
213
+ 'sup': {
214
+ 'rename_tag': 'span'
215
+ },
216
+ 'address': {
217
+ 'rename_tag': 'div'
218
+ },
219
+ 'basefont': {
220
+ 'remove': 1
221
+ },
222
+ 'nav': {
223
+ 'rename_tag': 'div'
224
+ },
225
+ 'h1': {
226
+ 'add_class': {
227
+ 'align': 'align_text'
228
+ }
229
+ },
230
+ 'head': {
231
+ 'remove': 1
232
+ },
233
+ 'tbody': {
234
+ 'add_class': {
235
+ 'align': 'align_text'
236
+ }
237
+ },
238
+ 'dd': {
239
+ 'rename_tag': 'div'
240
+ },
241
+ 's': {
242
+ 'rename_tag': 'span'
243
+ },
244
+ 'li': {},
245
+ 'td': {
246
+ 'check_attributes': {
247
+ 'rowspan': 'numbers',
248
+ 'colspan': 'numbers'
249
+ },
250
+ 'add_class': {
251
+ 'align': 'align_text'
252
+ }
253
+ },
254
+ 'object': {
255
+ 'remove': 1
256
+ },
257
+ 'div': {
258
+ 'add_class': {
259
+ 'align': 'align_text'
260
+ }
261
+ },
262
+ 'option': {
263
+ 'rename_tag': 'span'
264
+ },
265
+ 'select': {
266
+ 'rename_tag': 'span'
267
+ },
268
+ 'i': {},
269
+ 'track': {
270
+ 'remove': 1
271
+ },
272
+ 'wbr': {
273
+ 'remove': 1
274
+ },
275
+ 'fieldset': {
276
+ 'rename_tag': 'div'
277
+ },
278
+ 'big': {
279
+ 'rename_tag': 'span',
280
+ 'set_class': 'wysiwyg-font-size-larger'
281
+ },
282
+ 'button': {
283
+ 'rename_tag': 'span'
284
+ },
285
+ 'noscript': {
286
+ 'remove': 1
287
+ },
288
+ 'svg': {
289
+ 'remove': 1
290
+ },
291
+ 'input': {
292
+ 'remove': 1
293
+ },
294
+ 'table': {},
295
+ 'keygen': {
296
+ 'remove': 1
297
+ },
298
+ 'h5': {
299
+ 'add_class': {
300
+ 'align': 'align_text'
301
+ }
302
+ },
303
+ 'meta': {
304
+ 'remove': 1
305
+ },
306
+ 'map': {
307
+ 'rename_tag': 'div'
308
+ },
309
+ 'isindex': {
310
+ 'remove': 1
311
+ },
312
+ 'mark': {
313
+ 'rename_tag': 'span'
314
+ },
315
+ 'caption': {
316
+ 'add_class': {
317
+ 'align': 'align_text'
318
+ }
319
+ },
320
+ 'tfoot': {
321
+ 'add_class': {
322
+ 'align': 'align_text'
323
+ }
324
+ },
325
+ 'base': {
326
+ 'remove': 1
327
+ },
328
+ 'video': {
329
+ 'remove': 1
330
+ },
331
+ 'strong': {},
332
+ 'canvas': {
333
+ 'remove': 1
334
+ },
335
+ 'output': {
336
+ 'rename_tag': 'span'
337
+ },
338
+ 'marquee': {
339
+ 'rename_tag': 'span'
340
+ },
341
+ 'b': {},
342
+ 'q': {
343
+ 'check_attributes': {
344
+ 'cite': 'url'
345
+ }
346
+ },
347
+ 'applet': {
348
+ 'remove': 1
349
+ },
350
+ 'span': {},
351
+ 'rp': {
352
+ 'rename_tag': 'span'
353
+ },
354
+ 'spacer': {
355
+ 'remove': 1
356
+ },
357
+ 'source': {
358
+ 'remove': 1
359
+ },
360
+ 'aside': {
361
+ 'rename_tag': 'div'
362
+ },
363
+ 'frame': {
364
+ 'remove': 1
365
+ },
366
+ 'section': {
367
+ 'rename_tag': 'div'
368
+ },
369
+ 'body': {
370
+ 'rename_tag': 'div'
371
+ },
372
+ 'ol': {},
373
+ 'nobr': {
374
+ 'rename_tag': 'span'
375
+ },
376
+ 'html': {
377
+ 'rename_tag': 'div'
378
+ },
379
+ 'summary': {
380
+ 'rename_tag': 'span'
381
+ },
382
+ 'var': {
383
+ 'rename_tag': 'span'
384
+ },
385
+ 'del': {
386
+ 'remove': 1
387
+ },
388
+ 'blockquote': {
389
+ 'check_attributes': {
390
+ 'cite': 'url'
391
+ }
392
+ },
393
+ 'style': {
394
+ 'remove': 1
395
+ },
396
+ 'device': {
397
+ 'remove': 1
398
+ },
399
+ 'meter': {
400
+ 'rename_tag': 'span'
401
+ },
402
+ 'h3': {
403
+ 'add_class': {
404
+ 'align': 'align_text'
405
+ }
406
+ },
407
+ 'textarea': {
408
+ 'rename_tag': 'span'
409
+ },
410
+ 'embed': {
411
+ 'remove': 1
412
+ },
413
+ 'hgroup': {
414
+ 'rename_tag': 'div'
415
+ },
416
+ 'font': {
417
+ 'rename_tag': 'span',
418
+ 'add_class': {
419
+ 'size': 'size_font'
420
+ }
421
+ },
422
+ 'tt': {
423
+ 'rename_tag': 'span'
424
+ },
425
+ 'noembed': {
426
+ 'remove': 1
427
+ },
428
+ 'thead': {
429
+ 'add_class': {
430
+ 'align': 'align_text'
431
+ }
432
+ },
433
+ 'blink': {
434
+ 'rename_tag': 'span'
435
+ },
436
+ 'plaintext': {
437
+ 'rename_tag': 'span'
438
+ },
439
+ 'xml': {
440
+ 'remove': 1
441
+ },
442
+ 'h6': {
443
+ 'add_class': {
444
+ 'align': 'align_text'
445
+ }
446
+ },
447
+ 'param': {
448
+ 'remove': 1
449
+ },
450
+ 'th': {
451
+ 'check_attributes': {
452
+ 'rowspan': 'numbers',
453
+ 'colspan': 'numbers'
454
+ },
455
+ 'add_class': {
456
+ 'align': 'align_text'
457
+ }
458
+ },
459
+ 'legend': {
460
+ 'rename_tag': 'span'
461
+ },
462
+ 'hr': {},
463
+ 'label': {
464
+ 'rename_tag': 'span'
465
+ },
466
+ 'dl': {
467
+ 'rename_tag': 'div'
468
+ },
469
+ 'kbd': {
470
+ 'rename_tag': 'span'
471
+ },
472
+ 'listing': {
473
+ 'rename_tag': 'div'
474
+ },
475
+ 'dt': {
476
+ 'rename_tag': 'span'
477
+ },
478
+ 'nextid': {
479
+ 'remove': 1
480
+ },
481
+ 'pre': {},
482
+ 'center': {
483
+ 'rename_tag': 'div',
484
+ 'set_class': 'wysiwyg-text-align-center'
485
+ },
486
+ 'audio': {
487
+ 'remove': 1
488
+ },
489
+ 'datalist': {
490
+ 'rename_tag': 'span'
491
+ },
492
+ 'samp': {
493
+ 'rename_tag': 'span'
494
+ },
495
+ 'col': {
496
+ 'remove': 1
497
+ },
498
+ 'article': {
499
+ 'rename_tag': 'div'
500
+ },
501
+ 'cite': {},
502
+ 'link': {
503
+ 'remove': 1
504
+ },
505
+ 'script': {
506
+ 'remove': 1
507
+ },
508
+ 'bdo': {
509
+ 'rename_tag': 'span'
510
+ },
511
+ 'menu': {
512
+ 'rename_tag': 'ul'
513
+ },
514
+ 'colgroup': {
515
+ 'remove': 1
516
+ },
517
+ 'ruby': {
518
+ 'rename_tag': 'span'
519
+ },
520
+ 'h2': {
521
+ 'add_class': {
522
+ 'align': 'align_text'
523
+ }
524
+ },
525
+ 'ins': {
526
+ 'rename_tag': 'span'
527
+ },
528
+ 'p': {
529
+ 'add_class': {
530
+ 'align': 'align_text'
531
+ }
532
+ },
533
+ 'sub': {
534
+ 'rename_tag': 'span'
535
+ },
536
+ 'comment': {
537
+ 'remove': 1
538
+ },
539
+ 'frameset': {
540
+ 'remove': 1
541
+ },
542
+ 'optgroup': {
543
+ 'rename_tag': 'span'
544
+ },
545
+ 'header': {
546
+ 'rename_tag': 'div'
547
+ }
548
+ }
549
+ }
550
+ };
551
+
552
+ WORKAREA.config.remoteSelects = {
553
+ ajax: {
554
+ dataType: 'json',
555
+ delay: 250,
556
+ processResults: function (data) {
557
+ return {
558
+ results: _.map(data.results, function (item) {
559
+ return {
560
+ id: item.value,
561
+ text: item.label,
562
+ sparkline_data: item.sparkline_data || [],
563
+ top: item.top,
564
+ trending: item.trending,
565
+ title: item.title
566
+ };
567
+ })
568
+ };
569
+ },
570
+ cache: true,
571
+ escapeMarkup: function (markup) {
572
+ return markup;
573
+ },
574
+ },
575
+
576
+ width: false
577
+ };
578
+
579
+ WORKAREA.config.productImagesSortable = {
580
+ opacity: '0.8',
581
+ cursor: 'move',
582
+ };
583
+
584
+ WORKAREA.config.recommendationsSortables = {
585
+ opacity: '0.8',
586
+ cursor: 'move',
587
+ handle: '[data-recommendations-sortable-handle]'
588
+ };
589
+
590
+ WORKAREA.config.dashboardCharts = {
591
+ colors: [
592
+ '103, 63, 180', // #673FB4 Purple
593
+ '0, 166, 239', // #00A6EF Blue
594
+ '46, 204, 113', // #2ECC71 Green
595
+ '249, 25, 160', // #F919A0 Magenta
596
+ '243, 165, 54' // #F3A536 Orange
597
+ ],
598
+ types: {
599
+ Line: {
600
+ datasetFill: false,
601
+ pointDotRadius: 2,
602
+ datasetStrokeWidth: 2,
603
+ scaleShowVerticalLines: false
604
+ },
605
+ Doughnut: {
606
+ tooltipEvents: [],
607
+ tooltipTemplate: '\<\%\=value\%\>',
608
+ tooltipFillColor: 'rgba(0, 0, 0, 0)',
609
+ tooltipFontFamily: '"Source Sans Pro Semibold", sans-serif',
610
+ tooltipYPadding: -10,
611
+ tooltipXPadding: 0,
612
+ tooltipCaretSize: 0,
613
+ tooltipCornerRadius: 0,
614
+ tooltipFontSize: 30,
615
+ onAnimationComplete: function () {
616
+ this.showTooltip(this.segments, true);
617
+ },
618
+ },
619
+ Bar: {
620
+ scaleShowVerticalLines: false
621
+ },
622
+ HorizontalBar: {
623
+ scaleShowVerticalLines: false
624
+ }
625
+ }
626
+ };
627
+
628
+ WORKAREA.config.messages = {
629
+ delay: 4000
630
+ };
631
+
632
+ WORKAREA.config.tooltipster = {
633
+ theme: 'tooltipster-workarea-admin',
634
+ updateAnimation: 'fade',
635
+ delay: 200,
636
+ animationDuration: 200, // matches `$global-transition-speed`
637
+ maxWidth: 480
638
+ };
639
+
640
+ WORKAREA.config.contentEditorForms = {
641
+ previewDebounceValue: 500
642
+ };
643
+
644
+ WORKAREA.config.helpLookupButtons = {
645
+ keywordElements: ['title', 'h1', 'h2', 'h3']
646
+ };
647
+
648
+ WORKAREA.config.contentBlocks = {
649
+ loadingTimeout: 10000
650
+ };
651
+
652
+ WORKAREA.config.storefrontBreakPoints = {
653
+ <% Workarea.config.storefront_break_points.each do |name, size| %>
654
+ '<%= name %>': <%= size %>,
655
+ <% end %>
656
+ };
657
+
658
+ WORKAREA.config.forms = {
659
+ errorLabelClasses: 'property__note property__note--error'
660
+ };
661
+
662
+ WORKAREA.config.bulkActionDeletion = {
663
+ threshold: <%= Workarea.config.bulk_action_deletion_confirmation_threshold %>
664
+ };
665
+
666
+ WORKAREA.config.directUploads = {
667
+ suppressWarning: false,
668
+ countThreshold: 500,
669
+ sizeThreshold: 500 // in MB
670
+ };
671
+
672
+ WORKAREA.config.expandable = {
673
+ threshold: 350
674
+ };
675
+
676
+
677
+ /**
678
+ * Chart.js
679
+ */
680
+
681
+ _.assign(Chart.defaults.global, {
682
+ scaleFontFamily: '"Source Sans Pro Light", sans-serif',
683
+ tooltipFontFamily: '"Source Sans Pro Semibold", sans-serif',
684
+ tooltipTitleFontFamily: '"Source Sans Pro Bold", sans-serif',
685
+ tooltipFontStyle: 'normal',
686
+ tooltipTitleFontStyle: 'normal',
687
+ tooltipYPadding: 8,
688
+ tooltipXPadding: 8,
689
+ tooltipCornerRadius: 5,
690
+ tooltipXOffset: 8,
691
+ responsive: true
692
+ });
693
+
694
+
695
+ /**
696
+ * Select2
697
+ */
698
+
699
+ $.fn.select2.defaults.set('theme', 'workarea');
700
+ })();