mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 08:38:42 +08:00
39f3dbd945
* renames `select-box-kit` into `select-kit` * introduces `single-select` and `multi-select` as base components * introduces {{search-advanced-category-chooser}} as a better component for selecting category in advanced search * improves events handling in select-kit * recreates color selection inputs using {{multi-select}} and a custom {{selected-color}} component * replaces category-selector by a component using select-kit and based on multi-select * improves positioning of wrapper * removes the need for offscreen, and instead use `select-kit-header` as a base focus point for all select-kit based components * introduces a formal plugin api for select-kit based components * introduces a formal pattern for loading and updating select-kit based components: ``` computeValue() computeContent() mutateValue() ```
101 lines
3.9 KiB
JavaScript
101 lines
3.9 KiB
JavaScript
//= require_tree ./ember-addons/utils
|
|
//= require ./ember-addons/decorator-alias
|
|
//= require ./ember-addons/macro-alias
|
|
//= require ./ember-addons/ember-computed-decorators
|
|
//= require ./ember-addons/fmt
|
|
//= require_tree ./discourse-common
|
|
//= require_tree ./select-kit
|
|
//= require ./discourse
|
|
//= require ./deprecated
|
|
|
|
// Stuff we need to load first
|
|
//= require ./discourse/lib/utilities
|
|
//= require ./discourse/lib/page-visible
|
|
//= require ./discourse/lib/ajax
|
|
//= require ./discourse/lib/text
|
|
//= require ./discourse/lib/hash
|
|
//= require ./discourse/lib/load-script
|
|
//= require ./discourse/lib/notification-levels
|
|
//= require ./discourse/lib/app-events
|
|
//= require ./discourse/lib/offset-calculator
|
|
//= require ./discourse/lib/lock-on
|
|
//= require ./discourse/lib/url
|
|
//= require ./discourse/lib/debounce
|
|
//= require ./discourse/lib/quote
|
|
//= require ./discourse/lib/key-value-store
|
|
//= require ./discourse/lib/computed
|
|
//= require ./discourse/lib/formatter
|
|
//= require ./discourse/lib/eyeline
|
|
//= require ./discourse/lib/show-modal
|
|
//= require ./discourse/mixins/scrolling
|
|
//= require ./discourse/lib/ajax-error
|
|
//= require ./discourse/models/model
|
|
//= require ./discourse/models/rest
|
|
//= require ./discourse/models/result-set
|
|
//= require ./discourse/models/store
|
|
//= require ./discourse/models/action-summary
|
|
//= require ./discourse/models/topic
|
|
//= require ./discourse/models/draft
|
|
//= require ./discourse/models/composer
|
|
//= require ./discourse/models/badge-grouping
|
|
//= require ./discourse/models/badge
|
|
//= require ./discourse/models/permission-type
|
|
//= require ./discourse/models/user-action-group
|
|
//= require ./discourse/models/category
|
|
//= require ./discourse/models/input-validation
|
|
//= require ./discourse/lib/search
|
|
//= require ./discourse/lib/user-search
|
|
//= require ./discourse/lib/export-csv
|
|
//= require ./discourse/lib/autocomplete
|
|
//= require ./discourse/lib/after-transition
|
|
//= require ./discourse/lib/debounce
|
|
//= require ./discourse/lib/safari-hacks
|
|
//= require_tree ./discourse/adapters
|
|
//= require ./discourse/models/post-action-type
|
|
//= require ./discourse/models/post
|
|
//= require ./discourse/lib/posts-with-placeholders
|
|
//= require ./discourse/models/post-stream
|
|
//= require ./discourse/models/topic-details
|
|
//= require ./discourse/models/topic
|
|
//= require ./discourse/models/user-action
|
|
//= require ./discourse/models/draft
|
|
//= require ./discourse/models/composer
|
|
//= require_tree ./discourse/mixins
|
|
//= require ./discourse/models/invite
|
|
//= require ./discourse/models/user-badge
|
|
//= require ./discourse/controllers/discovery-sortable
|
|
//= require ./discourse/controllers/navigation/default
|
|
//= require ./discourse/components/edit-category-panel
|
|
//= require ./discourse/components/dropdown-button
|
|
//= require ./discourse/lib/link-mentions
|
|
//= require ./discourse/components/site-header
|
|
//= require ./discourse/components/d-editor
|
|
//= require ./discourse/lib/screen-track
|
|
//= require ./discourse/routes/discourse
|
|
//= require ./discourse/routes/build-topic-route
|
|
//= require ./discourse/routes/restricted-user
|
|
//= require ./discourse/routes/user-topic-list
|
|
//= require ./discourse/routes/user-activity-stream
|
|
//= require ./discourse/routes/topic-from-params
|
|
//= require ./discourse/components/text-field
|
|
//= require ./discourse/components/conditional-loading-spinner
|
|
//= require ./discourse/helpers/user-avatar
|
|
//= require ./discourse/helpers/cold-age-class
|
|
//= require ./discourse/helpers/loading-spinner
|
|
//= require ./discourse/helpers/category-link
|
|
//= require ./discourse/lib/export-result
|
|
//= require_tree ./discourse/lib
|
|
//= require ./discourse/mapping-router
|
|
|
|
//= require_tree ./discourse/controllers
|
|
//= require_tree ./discourse/models
|
|
//= require_tree ./discourse/components
|
|
//= require_tree ./discourse/raw-views
|
|
//= require_tree ./discourse/helpers
|
|
//= require_tree ./discourse/templates
|
|
//= require_tree ./discourse/routes
|
|
//= require_tree ./discourse/pre-initializers
|
|
//= require_tree ./discourse/initializers
|
|
//= require_tree ./discourse/services
|
|
//= require_tree ./discourse/widgets
|