Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/sidebar/components/labels/labels_select_widget/constants.js')
-rw-r--r--app/assets/javascripts/sidebar/components/labels/labels_select_widget/constants.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/javascripts/sidebar/components/labels/labels_select_widget/constants.js b/app/assets/javascripts/sidebar/components/labels/labels_select_widget/constants.js
new file mode 100644
index 00000000000..cd671b4d8f5
--- /dev/null
+++ b/app/assets/javascripts/sidebar/components/labels/labels_select_widget/constants.js
@@ -0,0 +1,13 @@
+export const SCOPED_LABEL_DELIMITER = '::';
+export const DEBOUNCE_DROPDOWN_DELAY = 200;
+
+export const DropdownVariant = {
+ Sidebar: 'sidebar',
+ Standalone: 'standalone',
+ Embedded: 'embedded',
+};
+
+export const LabelType = {
+ group: 'group',
+ project: 'project',
+};