@gitlab/ui 72.11.1 → 72.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/css/tokens.dark.css +1 -1
- package/dist/tokens/js/tokens.dark.js +1 -1
- package/dist/tokens/js/tokens.js +1 -1
- package/dist/tokens/scss/_tokens.dark.scss +1 -1
- package/dist/tokens/scss/_tokens.scss +1 -1
- package/package.json +1 -1
- package/src/internal/color_contrast/color_contrast.md +8 -0
- package/src/internal/color_contrast/color_contrast.spec.js +34 -0
- package/src/internal/color_contrast/color_contrast.stories.js +41 -0
- package/src/internal/color_contrast/color_contrast.vue +52 -0
- package/src/tokens/color.dark.tokens.stories.js +36 -22
- package/src/tokens/color.data_viz.dark.tokens.stories.js +13 -30
- package/src/tokens/color.data_viz.tokens.stories.js +13 -30
- package/src/tokens/color.theme.dark.tokens.stories.js +15 -30
- package/src/tokens/color.theme.tokens.stories.js +15 -30
- package/src/tokens/color.tokens.stories.js +36 -22
- package/src/tokens/color.transparency.tokens.stories.js +9 -12
- package/src/tokens/common_story_options.js +22 -80
- package/src/utils/constants.js +25 -0
- package/src/utils/utils.js +21 -1
- package/dist/charts.js +0 -14
- package/dist/components/base/accordion/accordion.js +0 -73
- package/dist/components/base/accordion/accordion_item.js +0 -133
- package/dist/components/base/alert/alert.js +0 -222
- package/dist/components/base/avatar/avatar.js +0 -160
- package/dist/components/base/avatar_labeled/avatar_labeled.js +0 -107
- package/dist/components/base/avatar_link/avatar_link.js +0 -47
- package/dist/components/base/avatars_inline/avatars_inline.js +0 -119
- package/dist/components/base/badge/badge.js +0 -105
- package/dist/components/base/banner/banner.js +0 -139
- package/dist/components/base/breadcrumb/breadcrumb.js +0 -122
- package/dist/components/base/breadcrumb/breadcrumb_item.js +0 -73
- package/dist/components/base/broadcast_message/broadcast_message.js +0 -112
- package/dist/components/base/broadcast_message/constants.js +0 -5
- package/dist/components/base/button/button.js +0 -151
- package/dist/components/base/button_group/button_group.js +0 -47
- package/dist/components/base/card/card.js +0 -71
- package/dist/components/base/carousel/carousel.js +0 -48
- package/dist/components/base/carousel/carousel_slide.js +0 -47
- package/dist/components/base/collapse/collapse.js +0 -59
- package/dist/components/base/datepicker/datepicker.js +0 -386
- package/dist/components/base/daterange_picker/daterange_picker.js +0 -288
- package/dist/components/base/drawer/drawer.js +0 -127
- package/dist/components/base/dropdown/dropdown.js +0 -261
- package/dist/components/base/dropdown/dropdown_divider.js +0 -48
- package/dist/components/base/dropdown/dropdown_form.js +0 -48
- package/dist/components/base/dropdown/dropdown_item.js +0 -131
- package/dist/components/base/dropdown/dropdown_section_header.js +0 -48
- package/dist/components/base/dropdown/dropdown_text.js +0 -48
- package/dist/components/base/filtered_search/common_story_options.js +0 -14
- package/dist/components/base/filtered_search/filtered_search.js +0 -388
- package/dist/components/base/filtered_search/filtered_search_suggestion.js +0 -89
- package/dist/components/base/filtered_search/filtered_search_suggestion_list.js +0 -138
- package/dist/components/base/filtered_search/filtered_search_term.js +0 -203
- package/dist/components/base/filtered_search/filtered_search_token.js +0 -384
- package/dist/components/base/filtered_search/filtered_search_token_segment.js +0 -420
- package/dist/components/base/filtered_search/filtered_search_utils.js +0 -242
- package/dist/components/base/form/form.js +0 -49
- package/dist/components/base/form/form_checkbox/form_checkbox.js +0 -78
- package/dist/components/base/form/form_checkbox/form_checkbox_group.js +0 -60
- package/dist/components/base/form/form_checkbox_tree/checkbox_tree_node.js +0 -79
- package/dist/components/base/form/form_checkbox_tree/form_checkbox_tree.js +0 -138
- package/dist/components/base/form/form_checkbox_tree/models/constants.js +0 -12
- package/dist/components/base/form/form_checkbox_tree/models/node.js +0 -51
- package/dist/components/base/form/form_checkbox_tree/models/tree.js +0 -199
- package/dist/components/base/form/form_combobox/constants.js +0 -55
- package/dist/components/base/form/form_combobox/form_combobox.js +0 -230
- package/dist/components/base/form/form_date/form_date.js +0 -143
- package/dist/components/base/form/form_fields/form_field_validator.js +0 -93
- package/dist/components/base/form/form_fields/form_fields.js +0 -214
- package/dist/components/base/form/form_fields/mappers.js +0 -13
- package/dist/components/base/form/form_fields/validators.js +0 -48
- package/dist/components/base/form/form_group/form_group.js +0 -97
- package/dist/components/base/form/form_input/form_input.js +0 -121
- package/dist/components/base/form/form_input_group/form_input_group.js +0 -108
- package/dist/components/base/form/form_input_group/form_input_group_mixin.js +0 -41
- package/dist/components/base/form/form_radio/form_radio.js +0 -65
- package/dist/components/base/form/form_radio_group/form_radio_group.js +0 -78
- package/dist/components/base/form/form_select/constants.js +0 -12
- package/dist/components/base/form/form_select/form_select.js +0 -82
- package/dist/components/base/form/form_text/form_text.js +0 -38
- package/dist/components/base/form/form_textarea/form_textarea.js +0 -112
- package/dist/components/base/form/input_group_text/input_group_text.js +0 -48
- package/dist/components/base/icon/icon.js +0 -111
- package/dist/components/base/infinite_scroll/infinite_scroll.js +0 -197
- package/dist/components/base/keyset_pagination/keyset_pagination.js +0 -151
- package/dist/components/base/label/label.js +0 -163
- package/dist/components/base/link/link.js +0 -50
- package/dist/components/base/loading_icon/loading_icon.js +0 -111
- package/dist/components/base/markdown/markdown.js +0 -52
- package/dist/components/base/modal/modal.js +0 -204
- package/dist/components/base/nav/nav.js +0 -48
- package/dist/components/base/nav/nav_item.js +0 -48
- package/dist/components/base/nav/nav_item_dropdown.js +0 -62
- package/dist/components/base/navbar/navbar.js +0 -48
- package/dist/components/base/new_dropdowns/base_dropdown/base_dropdown.js +0 -453
- package/dist/components/base/new_dropdowns/base_dropdown/constants.js +0 -4
- package/dist/components/base/new_dropdowns/constants.js +0 -21
- package/dist/components/base/new_dropdowns/disclosure/constants.js +0 -8
- package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown.js +0 -370
- package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown_group.js +0 -110
- package/dist/components/base/new_dropdowns/disclosure/disclosure_dropdown_item.js +0 -143
- package/dist/components/base/new_dropdowns/disclosure/mock_data.js +0 -147
- package/dist/components/base/new_dropdowns/disclosure/utils.js +0 -39
- package/dist/components/base/new_dropdowns/listbox/listbox.js +0 -767
- package/dist/components/base/new_dropdowns/listbox/listbox_group.js +0 -58
- package/dist/components/base/new_dropdowns/listbox/listbox_item.js +0 -91
- package/dist/components/base/new_dropdowns/listbox/listbox_search_input.js +0 -93
- package/dist/components/base/new_dropdowns/listbox/mock_data.js +0 -118
- package/dist/components/base/new_dropdowns/listbox/utils.js +0 -34
- package/dist/components/base/paginated_list/paginated_list.js +0 -180
- package/dist/components/base/pagination/pagination.js +0 -399
- package/dist/components/base/path/data.js +0 -34
- package/dist/components/base/path/path.js +0 -189
- package/dist/components/base/popover/popover.js +0 -110
- package/dist/components/base/progress_bar/progress_bar.js +0 -48
- package/dist/components/base/search_box_by_click/search_box_by_click.js +0 -235
- package/dist/components/base/search_box_by_type/search_box_by_type.js +0 -167
- package/dist/components/base/segmented_control/segmented_control.js +0 -109
- package/dist/components/base/skeleton_loader/skeleton_loader.js +0 -224
- package/dist/components/base/sorting/sorting.js +0 -171
- package/dist/components/base/sorting/sorting_item.js +0 -109
- package/dist/components/base/table/constants.js +0 -5
- package/dist/components/base/table/table.js +0 -89
- package/dist/components/base/table_lite/table_lite.js +0 -72
- package/dist/components/base/tabs/constants.js +0 -3
- package/dist/components/base/tabs/tab/tab.js +0 -83
- package/dist/components/base/tabs/tabs/scrollable_tabs.js +0 -143
- package/dist/components/base/tabs/tabs/tabs.js +0 -224
- package/dist/components/base/toast/toast.js +0 -82
- package/dist/components/base/toggle/toggle.js +0 -180
- package/dist/components/base/token/token.js +0 -85
- package/dist/components/base/token_selector/helpers.js +0 -5
- package/dist/components/base/token_selector/token_container.js +0 -165
- package/dist/components/base/token_selector/token_selector.js +0 -403
- package/dist/components/base/token_selector/token_selector_dropdown.js +0 -199
- package/dist/components/base/tooltip/tooltip.js +0 -55
- package/dist/components/charts/area/area.js +0 -311
- package/dist/components/charts/bar/bar.js +0 -253
- package/dist/components/charts/chart/chart.js +0 -215
- package/dist/components/charts/column/column.js +0 -226
- package/dist/components/charts/discrete_scatter/discrete_scatter.js +0 -203
- package/dist/components/charts/gauge/gauge.js +0 -208
- package/dist/components/charts/heatmap/heatmap.js +0 -295
- package/dist/components/charts/heatmap/index.js +0 -2
- package/dist/components/charts/legend/legend.js +0 -228
- package/dist/components/charts/line/line.js +0 -308
- package/dist/components/charts/series_label/series_label.js +0 -100
- package/dist/components/charts/single_stat/single_stat.js +0 -152
- package/dist/components/charts/sparkline/sparkline.js +0 -261
- package/dist/components/charts/stacked_column/stacked_column.js +0 -335
- package/dist/components/charts/tooltip/tooltip.js +0 -251
- package/dist/components/experimental/duo/chat/components/duo_chat_conversation/duo_chat_conversation.js +0 -83
- package/dist/components/experimental/duo/chat/components/duo_chat_loader/duo_chat_loader.js +0 -100
- package/dist/components/experimental/duo/chat/components/duo_chat_message/copy_code_element.js +0 -35
- package/dist/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.js +0 -115
- package/dist/components/experimental/duo/chat/components/duo_chat_message_sources/duo_chat_message_sources.js +0 -104
- package/dist/components/experimental/duo/chat/components/duo_chat_predefined_prompts/duo_chat_predefined_prompts.js +0 -64
- package/dist/components/experimental/duo/chat/constants.js +0 -23
- package/dist/components/experimental/duo/chat/duo_chat.js +0 -359
- package/dist/components/experimental/duo/chat/mock_data.js +0 -83
- package/dist/components/experimental/duo/user_feedback/user_feedback.js +0 -94
- package/dist/components/experimental/duo/user_feedback/user_feedback_modal.js +0 -124
- package/dist/components/experimental/experiment_badge/constants.js +0 -4
- package/dist/components/experimental/experiment_badge/experiment_badge.js +0 -107
- package/dist/components/mixins/button_mixin.js +0 -11
- package/dist/components/mixins/safe_link_mixin.js +0 -30
- package/dist/components/mixins/tooltip_mixin.js +0 -21
- package/dist/components/regions/dashboard_skeleton/dashboard_skeleton.js +0 -53
- package/dist/components/regions/empty_state/empty_state.js +0 -154
- package/dist/components/shared_components/charts/tooltip_default_format.js +0 -53
- package/dist/components/shared_components/clear_icon_button/clear_icon_button.js +0 -64
- package/dist/components/shared_components/close_button/close_button.js +0 -54
- package/dist/components/utilities/animated_number/animated_number.js +0 -131
- package/dist/components/utilities/friendly_wrap/friendly_wrap.js +0 -75
- package/dist/components/utilities/intersection_observer/intersection_observer.js +0 -88
- package/dist/components/utilities/intersperse/intersperse.js +0 -86
- package/dist/components/utilities/sprintf/sprintf.js +0 -172
- package/dist/components/utilities/truncate/constants.js +0 -7
- package/dist/components/utilities/truncate/truncate.js +0 -111
- package/dist/components/utilities/truncate_text/constants.js +0 -7
- package/dist/components/utilities/truncate_text/truncate_text.js +0 -146
- package/dist/config.js +0 -86
- package/dist/directives/collapse_toggle.js +0 -1
- package/dist/directives/hover_load/hover_load.js +0 -45
- package/dist/directives/modal.js +0 -1
- package/dist/directives/outside/get_event_like_time_stamp.js +0 -33
- package/dist/directives/outside/outside.js +0 -106
- package/dist/directives/resize_observer/resize_observer.js +0 -51
- package/dist/directives/safe_html/constants.js +0 -6
- package/dist/directives/safe_html/safe_html.js +0 -39
- package/dist/directives/safe_link/mock_data.js +0 -10
- package/dist/directives/safe_link/safe_link.js +0 -65
- package/dist/directives/tooltip.js +0 -1
- package/dist/index.css +0 -7
- package/dist/index.css.map +0 -1
- package/dist/index.js +0 -105
- package/dist/tokens/common_story_options.js +0 -109
- package/dist/utils/breakpoints.js +0 -20
- package/dist/utils/charts/config.js +0 -556
- package/dist/utils/charts/constants.js +0 -63
- package/dist/utils/charts/mock_data.js +0 -211
- package/dist/utils/charts/story_config.js +0 -42
- package/dist/utils/charts/theme.js +0 -192
- package/dist/utils/charts/utils.js +0 -54
- package/dist/utils/constants.js +0 -270
- package/dist/utils/data_utils.js +0 -21
- package/dist/utils/datetime_utility.js +0 -61
- package/dist/utils/i18n.js +0 -15
- package/dist/utils/is_slot_empty.js +0 -38
- package/dist/utils/number_utils.js +0 -124
- package/dist/utils/stories_constants.js +0 -29
- package/dist/utils/stories_utils.js +0 -13
- package/dist/utils/story_decorators/container.js +0 -16
- package/dist/utils/string_utils.js +0 -69
- package/dist/utils/svgs/svg_paths.js +0 -7
- package/dist/utils/test_utils.js +0 -33
- package/dist/utils/use_fake_date.js +0 -29
- package/dist/utils/use_mock_intersection_observer.js +0 -108
- package/dist/utils/utils.js +0 -177
- package/dist/utils.js +0 -5
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import isNumber from 'lodash/isNumber';
|
|
2
|
-
import { avatarSizeOptions, avatarShapeOptions } from '../../../utils/constants';
|
|
3
|
-
import { getAvatarChar } from '../../../utils/string_utils';
|
|
4
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
5
|
-
|
|
6
|
-
//
|
|
7
|
-
const IDENTICON_BG_COUNT = 7;
|
|
8
|
-
var script = {
|
|
9
|
-
name: 'GlAvatar',
|
|
10
|
-
props: {
|
|
11
|
-
entityId: {
|
|
12
|
-
type: Number,
|
|
13
|
-
required: false,
|
|
14
|
-
default: 0
|
|
15
|
-
},
|
|
16
|
-
entityName: {
|
|
17
|
-
type: String,
|
|
18
|
-
required: false,
|
|
19
|
-
default: ''
|
|
20
|
-
},
|
|
21
|
-
src: {
|
|
22
|
-
type: String,
|
|
23
|
-
required: false,
|
|
24
|
-
default: ''
|
|
25
|
-
},
|
|
26
|
-
/**
|
|
27
|
-
* Show fallback identicon when image fails to load
|
|
28
|
-
*/
|
|
29
|
-
fallbackOnError: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
required: false,
|
|
32
|
-
default: false
|
|
33
|
-
},
|
|
34
|
-
alt: {
|
|
35
|
-
type: String,
|
|
36
|
-
required: false,
|
|
37
|
-
default: 'avatar'
|
|
38
|
-
},
|
|
39
|
-
size: {
|
|
40
|
-
type: [Number, Object],
|
|
41
|
-
required: false,
|
|
42
|
-
default: avatarSizeOptions[1],
|
|
43
|
-
validator: value => {
|
|
44
|
-
const sizes = isNumber(value) ? [value] : Object.values(value);
|
|
45
|
-
const areValidSizes = sizes.every(size => {
|
|
46
|
-
const isValidSize = avatarSizeOptions.includes(size);
|
|
47
|
-
if (!isValidSize) {
|
|
48
|
-
/* eslint-disable-next-line no-console */
|
|
49
|
-
console.error(`Avatar size should be one of [${avatarSizeOptions}], received: ${size}`);
|
|
50
|
-
}
|
|
51
|
-
return isValidSize;
|
|
52
|
-
});
|
|
53
|
-
return areValidSizes;
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
shape: {
|
|
57
|
-
type: String,
|
|
58
|
-
required: false,
|
|
59
|
-
default: avatarShapeOptions.circle
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
data() {
|
|
63
|
-
return {
|
|
64
|
-
imageLoadError: false
|
|
65
|
-
};
|
|
66
|
-
},
|
|
67
|
-
computed: {
|
|
68
|
-
sizeClasses() {
|
|
69
|
-
if (isNumber(this.size)) {
|
|
70
|
-
return `gl-avatar-s${this.size}`;
|
|
71
|
-
}
|
|
72
|
-
const {
|
|
73
|
-
default: defaultSize,
|
|
74
|
-
...nonDefaultSizes
|
|
75
|
-
} = this.size;
|
|
76
|
-
return [`gl-avatar-s${defaultSize || avatarSizeOptions[1]}`, ...Object.entries(nonDefaultSizes).map(_ref => {
|
|
77
|
-
let [breakpoint, size] = _ref;
|
|
78
|
-
return `gl-${breakpoint}-avatar-s${size}`;
|
|
79
|
-
})];
|
|
80
|
-
},
|
|
81
|
-
isCircle() {
|
|
82
|
-
return this.shape === avatarShapeOptions.circle;
|
|
83
|
-
},
|
|
84
|
-
identiconBackgroundClass() {
|
|
85
|
-
/*
|
|
86
|
-
* Gets a number between 1-7 depending on the 'entityId'.
|
|
87
|
-
* Gets the remainder after dividing the 'entityId' by the number of available backgrounds.
|
|
88
|
-
*/
|
|
89
|
-
const type = this.entityId % IDENTICON_BG_COUNT + 1;
|
|
90
|
-
return `gl-avatar-identicon-bg${type}`;
|
|
91
|
-
},
|
|
92
|
-
identiconText() {
|
|
93
|
-
return getAvatarChar(this.entityName);
|
|
94
|
-
},
|
|
95
|
-
showImage() {
|
|
96
|
-
// Don't show when image is not present
|
|
97
|
-
if (!this.src) {
|
|
98
|
-
return false;
|
|
99
|
-
}
|
|
100
|
-
// Don't show when fallbackOnError is true and there was failure to load image
|
|
101
|
-
if (this.src && this.fallbackOnError && this.imageLoadError) {
|
|
102
|
-
return false;
|
|
103
|
-
}
|
|
104
|
-
return true;
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
watch: {
|
|
108
|
-
src(newSrc, oldSrc) {
|
|
109
|
-
if (newSrc !== oldSrc) this.imageLoadError = false;
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
methods: {
|
|
113
|
-
handleLoadError(event) {
|
|
114
|
-
this.imageLoadError = true;
|
|
115
|
-
this.$emit('load-error', event);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
/* script */
|
|
121
|
-
const __vue_script__ = script;
|
|
122
|
-
|
|
123
|
-
/* template */
|
|
124
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showImage)?_c('img',_vm._g({class:['gl-avatar', { 'gl-avatar-circle': _vm.isCircle }, _vm.sizeClasses],attrs:{"src":_vm.src,"alt":_vm.alt},on:{"error":_vm.handleLoadError}},_vm.$listeners)):_c('div',_vm._g({class:[
|
|
125
|
-
'gl-avatar gl-avatar-identicon',
|
|
126
|
-
{ 'gl-avatar-circle': _vm.isCircle },
|
|
127
|
-
_vm.sizeClasses,
|
|
128
|
-
_vm.identiconBackgroundClass ]},_vm.$listeners),[_vm._v("\n "+_vm._s(_vm.identiconText)+"\n")])};
|
|
129
|
-
var __vue_staticRenderFns__ = [];
|
|
130
|
-
|
|
131
|
-
/* style */
|
|
132
|
-
const __vue_inject_styles__ = undefined;
|
|
133
|
-
/* scoped */
|
|
134
|
-
const __vue_scope_id__ = undefined;
|
|
135
|
-
/* module identifier */
|
|
136
|
-
const __vue_module_identifier__ = undefined;
|
|
137
|
-
/* functional template */
|
|
138
|
-
const __vue_is_functional_template__ = false;
|
|
139
|
-
/* style inject */
|
|
140
|
-
|
|
141
|
-
/* style inject SSR */
|
|
142
|
-
|
|
143
|
-
/* style inject shadow dom */
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
const __vue_component__ = __vue_normalize__(
|
|
148
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
149
|
-
__vue_inject_styles__,
|
|
150
|
-
__vue_script__,
|
|
151
|
-
__vue_scope_id__,
|
|
152
|
-
__vue_is_functional_template__,
|
|
153
|
-
__vue_module_identifier__,
|
|
154
|
-
false,
|
|
155
|
-
undefined,
|
|
156
|
-
undefined,
|
|
157
|
-
undefined
|
|
158
|
-
);
|
|
159
|
-
|
|
160
|
-
export default __vue_component__;
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import GlAvatar from '../avatar/avatar';
|
|
2
|
-
import GlLink from '../link/link';
|
|
3
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
4
|
-
|
|
5
|
-
var script = {
|
|
6
|
-
name: 'GlAvatarLabeled',
|
|
7
|
-
components: {
|
|
8
|
-
GlAvatar,
|
|
9
|
-
GlLink
|
|
10
|
-
},
|
|
11
|
-
props: {
|
|
12
|
-
label: {
|
|
13
|
-
type: String,
|
|
14
|
-
required: true
|
|
15
|
-
},
|
|
16
|
-
subLabel: {
|
|
17
|
-
type: String,
|
|
18
|
-
required: false,
|
|
19
|
-
default: ''
|
|
20
|
-
},
|
|
21
|
-
labelLink: {
|
|
22
|
-
type: String,
|
|
23
|
-
required: false,
|
|
24
|
-
default: ''
|
|
25
|
-
},
|
|
26
|
-
subLabelLink: {
|
|
27
|
-
type: String,
|
|
28
|
-
required: false,
|
|
29
|
-
default: ''
|
|
30
|
-
},
|
|
31
|
-
inlineLabels: {
|
|
32
|
-
type: Boolean,
|
|
33
|
-
required: false,
|
|
34
|
-
default: false
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
computed: {
|
|
38
|
-
hasLabelLink() {
|
|
39
|
-
return Boolean(this.labelLink);
|
|
40
|
-
},
|
|
41
|
-
hasSubLabelLink() {
|
|
42
|
-
return Boolean(this.subLabelLink);
|
|
43
|
-
},
|
|
44
|
-
avatarListeners() {
|
|
45
|
-
if (this.hasLabelLink) {
|
|
46
|
-
return {
|
|
47
|
-
...this.$listeners,
|
|
48
|
-
click: this.onAvatarClick
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
return this.$listeners;
|
|
52
|
-
},
|
|
53
|
-
avatarCssClasses() {
|
|
54
|
-
return {
|
|
55
|
-
'gl-cursor-pointer': this.hasLabelLink
|
|
56
|
-
};
|
|
57
|
-
},
|
|
58
|
-
avatarRowLayoutClass() {
|
|
59
|
-
return {
|
|
60
|
-
'inline-labels': this.inlineLabels
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
methods: {
|
|
65
|
-
onAvatarClick() {
|
|
66
|
-
this.$refs.labelLink.$el.click();
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
/* script */
|
|
72
|
-
const __vue_script__ = script;
|
|
73
|
-
|
|
74
|
-
/* template */
|
|
75
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-avatar-labeled"},[_c('gl-avatar',_vm._g(_vm._b({class:_vm.avatarCssClasses,attrs:{"alt":""}},'gl-avatar',_vm.$attrs,false),_vm.avatarListeners)),_vm._v(" "),_c('div',{staticClass:"gl-avatar-labeled-labels gl-text-left!",class:_vm.avatarRowLayoutClass},[_c('div',{staticClass:"gl-display-flex gl-flex-wrap gl-align-items-center gl-text-left! gl-mx-n1 gl-my-n1"},[(_vm.hasLabelLink)?_c('gl-link',{ref:"labelLink",staticClass:"gl-avatar-link",attrs:{"href":_vm.labelLink}},[_c('span',{staticClass:"gl-avatar-labeled-label"},[_vm._v(_vm._s(_vm.label))])]):_c('span',{staticClass:"gl-avatar-labeled-label"},[_vm._v(_vm._s(_vm.label))]),_vm._v(" "),_vm._t("meta")],2),_vm._v(" "),(_vm.hasSubLabelLink)?_c('gl-link',{staticClass:"gl-avatar-link",attrs:{"href":_vm.subLabelLink}},[_c('span',{staticClass:"gl-avatar-labeled-sublabel"},[_vm._v(_vm._s(_vm.subLabel))])]):_c('span',{staticClass:"gl-avatar-labeled-sublabel"},[_vm._v(_vm._s(_vm.subLabel))]),_vm._v(" "),_vm._t("default")],2)],1)};
|
|
76
|
-
var __vue_staticRenderFns__ = [];
|
|
77
|
-
|
|
78
|
-
/* style */
|
|
79
|
-
const __vue_inject_styles__ = undefined;
|
|
80
|
-
/* scoped */
|
|
81
|
-
const __vue_scope_id__ = undefined;
|
|
82
|
-
/* module identifier */
|
|
83
|
-
const __vue_module_identifier__ = undefined;
|
|
84
|
-
/* functional template */
|
|
85
|
-
const __vue_is_functional_template__ = false;
|
|
86
|
-
/* style inject */
|
|
87
|
-
|
|
88
|
-
/* style inject SSR */
|
|
89
|
-
|
|
90
|
-
/* style inject shadow dom */
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
const __vue_component__ = __vue_normalize__(
|
|
95
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
96
|
-
__vue_inject_styles__,
|
|
97
|
-
__vue_script__,
|
|
98
|
-
__vue_scope_id__,
|
|
99
|
-
__vue_is_functional_template__,
|
|
100
|
-
__vue_module_identifier__,
|
|
101
|
-
false,
|
|
102
|
-
undefined,
|
|
103
|
-
undefined,
|
|
104
|
-
undefined
|
|
105
|
-
);
|
|
106
|
-
|
|
107
|
-
export default __vue_component__;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import GlLink from '../link/link';
|
|
2
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
3
|
-
|
|
4
|
-
var script = {
|
|
5
|
-
name: 'AvatarLink',
|
|
6
|
-
components: {
|
|
7
|
-
GlLink
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
/* script */
|
|
12
|
-
const __vue_script__ = script;
|
|
13
|
-
|
|
14
|
-
/* template */
|
|
15
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-link',_vm._g(_vm._b({staticClass:"gl-avatar-link"},'gl-link',_vm.$attrs,false),_vm.$listeners),[_vm._t("default")],2)};
|
|
16
|
-
var __vue_staticRenderFns__ = [];
|
|
17
|
-
|
|
18
|
-
/* style */
|
|
19
|
-
const __vue_inject_styles__ = undefined;
|
|
20
|
-
/* scoped */
|
|
21
|
-
const __vue_scope_id__ = undefined;
|
|
22
|
-
/* module identifier */
|
|
23
|
-
const __vue_module_identifier__ = undefined;
|
|
24
|
-
/* functional template */
|
|
25
|
-
const __vue_is_functional_template__ = false;
|
|
26
|
-
/* style inject */
|
|
27
|
-
|
|
28
|
-
/* style inject SSR */
|
|
29
|
-
|
|
30
|
-
/* style inject shadow dom */
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
const __vue_component__ = __vue_normalize__(
|
|
35
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
36
|
-
__vue_inject_styles__,
|
|
37
|
-
__vue_script__,
|
|
38
|
-
__vue_scope_id__,
|
|
39
|
-
__vue_is_functional_template__,
|
|
40
|
-
__vue_module_identifier__,
|
|
41
|
-
false,
|
|
42
|
-
undefined,
|
|
43
|
-
undefined,
|
|
44
|
-
undefined
|
|
45
|
-
);
|
|
46
|
-
|
|
47
|
-
export default __vue_component__;
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import truncate from 'lodash/truncate';
|
|
2
|
-
import get from 'lodash/get';
|
|
3
|
-
import { avatarsInlineSizeOptions } from '../../../utils/constants';
|
|
4
|
-
import GlAvatar from '../avatar/avatar';
|
|
5
|
-
import GlTooltip from '../tooltip/tooltip';
|
|
6
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
7
|
-
|
|
8
|
-
var script = {
|
|
9
|
-
name: 'AvatarsInline',
|
|
10
|
-
components: {
|
|
11
|
-
GlAvatar,
|
|
12
|
-
GlTooltip
|
|
13
|
-
},
|
|
14
|
-
props: {
|
|
15
|
-
avatars: {
|
|
16
|
-
type: Array,
|
|
17
|
-
required: true
|
|
18
|
-
},
|
|
19
|
-
maxVisible: {
|
|
20
|
-
type: Number,
|
|
21
|
-
required: true
|
|
22
|
-
},
|
|
23
|
-
avatarSize: {
|
|
24
|
-
type: Number,
|
|
25
|
-
required: true,
|
|
26
|
-
validator: value => avatarsInlineSizeOptions.includes(value)
|
|
27
|
-
},
|
|
28
|
-
collapsed: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
required: false,
|
|
31
|
-
default: false
|
|
32
|
-
},
|
|
33
|
-
badgeSrOnlyText: {
|
|
34
|
-
type: String,
|
|
35
|
-
required: true
|
|
36
|
-
},
|
|
37
|
-
badgeTooltipProp: {
|
|
38
|
-
type: String,
|
|
39
|
-
required: false,
|
|
40
|
-
default: ''
|
|
41
|
-
},
|
|
42
|
-
badgeTooltipMaxChars: {
|
|
43
|
-
type: Number,
|
|
44
|
-
required: false,
|
|
45
|
-
default: null
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
computed: {
|
|
49
|
-
hiddenAvatars() {
|
|
50
|
-
return this.avatars.slice(this.maxVisible);
|
|
51
|
-
},
|
|
52
|
-
collapsable() {
|
|
53
|
-
return this.hiddenAvatars.length > 0;
|
|
54
|
-
},
|
|
55
|
-
visibleAvatars() {
|
|
56
|
-
return this.collapsed ? this.avatars.slice(0, this.maxVisible) : this.avatars;
|
|
57
|
-
},
|
|
58
|
-
badgeSize() {
|
|
59
|
-
return {
|
|
60
|
-
16: 'sm',
|
|
61
|
-
24: 'md',
|
|
62
|
-
32: 'lg'
|
|
63
|
-
}[this.avatarSize] || 'lg';
|
|
64
|
-
},
|
|
65
|
-
badgeLabel() {
|
|
66
|
-
return `+${this.hiddenAvatars.length}`;
|
|
67
|
-
},
|
|
68
|
-
badgeTooltipTitle() {
|
|
69
|
-
if (!this.badgeTooltipProp) {
|
|
70
|
-
return '';
|
|
71
|
-
}
|
|
72
|
-
const tooltipTitle = this.hiddenAvatars.map(avatar => get(avatar, this.badgeTooltipProp, '').trim()).join(', ');
|
|
73
|
-
|
|
74
|
-
// truncate will append '...'
|
|
75
|
-
// we need to take these extra 3 characters into account in badgeTooltipMaxChars
|
|
76
|
-
return this.badgeTooltipMaxChars ? truncate(tooltipTitle, {
|
|
77
|
-
length: this.badgeTooltipMaxChars
|
|
78
|
-
}) : tooltipTitle;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
/* script */
|
|
84
|
-
const __vue_script__ = script;
|
|
85
|
-
|
|
86
|
-
/* template */
|
|
87
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"gl-avatars-inline",class:("gl-avatars-inline-" + _vm.badgeSize)},[_vm._l((_vm.visibleAvatars),function(avatar,index){return _c('div',{key:index,staticClass:"gl-avatars-inline-child"},[_vm._t("avatar",function(){return [_c('gl-avatar',_vm._b({attrs:{"size":_vm.avatarSize}},'gl-avatar',avatar,false))]},{"avatar":avatar})],2)}),_vm._v(" "),(_vm.collapsed && _vm.collapsable)?_c('div',{staticClass:"gl-avatars-inline-child"},[(_vm.badgeTooltipProp)?_c('gl-tooltip',{attrs:{"target":function () { return _vm.$refs.badge; }}},[_vm._v("\n "+_vm._s(_vm.badgeTooltipTitle)+"\n ")]):_vm._e(),_vm._v(" "),_c('span',{ref:"badge",class:['gl-avatars-inline-badge', _vm.badgeSize],attrs:{"data-testid":"collapsed-avatars-badge","aria-hidden":"true"}},[_vm._v("\n "+_vm._s(_vm.badgeLabel)+"\n ")]),_vm._v(" "),_c('span',{staticClass:"sr-only",attrs:{"data-testid":"badge-sr-only-text"}},[_vm._v(_vm._s(_vm.badgeSrOnlyText))])],1):_vm._e()],2)};
|
|
88
|
-
var __vue_staticRenderFns__ = [];
|
|
89
|
-
|
|
90
|
-
/* style */
|
|
91
|
-
const __vue_inject_styles__ = undefined;
|
|
92
|
-
/* scoped */
|
|
93
|
-
const __vue_scope_id__ = undefined;
|
|
94
|
-
/* module identifier */
|
|
95
|
-
const __vue_module_identifier__ = undefined;
|
|
96
|
-
/* functional template */
|
|
97
|
-
const __vue_is_functional_template__ = false;
|
|
98
|
-
/* style inject */
|
|
99
|
-
|
|
100
|
-
/* style inject SSR */
|
|
101
|
-
|
|
102
|
-
/* style inject shadow dom */
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
const __vue_component__ = __vue_normalize__(
|
|
107
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
108
|
-
__vue_inject_styles__,
|
|
109
|
-
__vue_script__,
|
|
110
|
-
__vue_scope_id__,
|
|
111
|
-
__vue_is_functional_template__,
|
|
112
|
-
__vue_module_identifier__,
|
|
113
|
-
false,
|
|
114
|
-
undefined,
|
|
115
|
-
undefined,
|
|
116
|
-
undefined
|
|
117
|
-
);
|
|
118
|
-
|
|
119
|
-
export default __vue_component__;
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { BBadge } from 'bootstrap-vue/esm/index.js';
|
|
2
|
-
import { badgeSizeOptions, badgeVariantOptions, badgeIconSizeOptions } from '../../../utils/constants';
|
|
3
|
-
import GlIcon from '../icon/icon';
|
|
4
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
5
|
-
|
|
6
|
-
//
|
|
7
|
-
var script = {
|
|
8
|
-
name: 'GlBadge',
|
|
9
|
-
components: {
|
|
10
|
-
BBadge,
|
|
11
|
-
GlIcon
|
|
12
|
-
},
|
|
13
|
-
inheritAttrs: false,
|
|
14
|
-
props: {
|
|
15
|
-
/**
|
|
16
|
-
* The size of the badge.
|
|
17
|
-
*/
|
|
18
|
-
size: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: badgeSizeOptions.md,
|
|
21
|
-
validator(value) {
|
|
22
|
-
return badgeSizeOptions[value] !== undefined;
|
|
23
|
-
},
|
|
24
|
-
required: false
|
|
25
|
-
},
|
|
26
|
-
/**
|
|
27
|
-
* The variant of the badge.
|
|
28
|
-
*/
|
|
29
|
-
variant: {
|
|
30
|
-
type: String,
|
|
31
|
-
default: badgeVariantOptions.muted,
|
|
32
|
-
validator(value) {
|
|
33
|
-
return badgeVariantOptions[value] !== undefined;
|
|
34
|
-
},
|
|
35
|
-
required: false
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* The icon to show next to the text
|
|
39
|
-
*/
|
|
40
|
-
icon: {
|
|
41
|
-
type: String,
|
|
42
|
-
required: false,
|
|
43
|
-
default: null
|
|
44
|
-
},
|
|
45
|
-
/**
|
|
46
|
-
* The size of the icon 16 or 12
|
|
47
|
-
*/
|
|
48
|
-
iconSize: {
|
|
49
|
-
type: String,
|
|
50
|
-
default: 'md',
|
|
51
|
-
validator: value => Object.keys(badgeIconSizeOptions).includes(value),
|
|
52
|
-
required: false
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
computed: {
|
|
56
|
-
hasIconOnly() {
|
|
57
|
-
// eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
|
|
58
|
-
return Boolean(this.icon && Object.keys(this.$slots).length === 0);
|
|
59
|
-
},
|
|
60
|
-
role() {
|
|
61
|
-
return this.hasIconOnly ? 'img' : undefined;
|
|
62
|
-
},
|
|
63
|
-
iconSizeComputed() {
|
|
64
|
-
return badgeIconSizeOptions[this.iconSize];
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
/* script */
|
|
70
|
-
const __vue_script__ = script;
|
|
71
|
-
|
|
72
|
-
/* template */
|
|
73
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-badge',_vm._b({class:['gl-badge', _vm.size],attrs:{"variant":_vm.variant,"role":_vm.role,"pill":""}},'b-badge',_vm.$attrs,false),[(_vm.icon)?_c('gl-icon',{staticClass:"gl-badge-icon",class:{ 'gl-mr-2': !_vm.hasIconOnly },attrs:{"size":_vm.iconSizeComputed,"name":_vm.icon}}):_vm._e(),_vm._v(" "),_vm._t("default")],2)};
|
|
74
|
-
var __vue_staticRenderFns__ = [];
|
|
75
|
-
|
|
76
|
-
/* style */
|
|
77
|
-
const __vue_inject_styles__ = undefined;
|
|
78
|
-
/* scoped */
|
|
79
|
-
const __vue_scope_id__ = undefined;
|
|
80
|
-
/* module identifier */
|
|
81
|
-
const __vue_module_identifier__ = undefined;
|
|
82
|
-
/* functional template */
|
|
83
|
-
const __vue_is_functional_template__ = false;
|
|
84
|
-
/* style inject */
|
|
85
|
-
|
|
86
|
-
/* style inject SSR */
|
|
87
|
-
|
|
88
|
-
/* style inject shadow dom */
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
const __vue_component__ = __vue_normalize__(
|
|
93
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
94
|
-
__vue_inject_styles__,
|
|
95
|
-
__vue_script__,
|
|
96
|
-
__vue_scope_id__,
|
|
97
|
-
__vue_is_functional_template__,
|
|
98
|
-
__vue_module_identifier__,
|
|
99
|
-
false,
|
|
100
|
-
undefined,
|
|
101
|
-
undefined,
|
|
102
|
-
undefined
|
|
103
|
-
);
|
|
104
|
-
|
|
105
|
-
export default __vue_component__;
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { bannerVariants } from '../../../utils/constants';
|
|
2
|
-
import CloseButton from '../../shared_components/close_button/close_button';
|
|
3
|
-
import GlButton from '../button/button';
|
|
4
|
-
import GlCard from '../card/card';
|
|
5
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
6
|
-
|
|
7
|
-
var script = {
|
|
8
|
-
name: 'GlBanner',
|
|
9
|
-
components: {
|
|
10
|
-
CloseButton,
|
|
11
|
-
GlButton,
|
|
12
|
-
GlCard
|
|
13
|
-
},
|
|
14
|
-
props: {
|
|
15
|
-
/**
|
|
16
|
-
* Used to set the title of the banner.
|
|
17
|
-
*/
|
|
18
|
-
title: {
|
|
19
|
-
type: String,
|
|
20
|
-
required: true
|
|
21
|
-
},
|
|
22
|
-
/**
|
|
23
|
-
* HTML attributes to add to the submit button.
|
|
24
|
-
*/
|
|
25
|
-
buttonAttributes: {
|
|
26
|
-
type: Object,
|
|
27
|
-
required: false,
|
|
28
|
-
default: () => ({})
|
|
29
|
-
},
|
|
30
|
-
/**
|
|
31
|
-
* Text for the submit button.
|
|
32
|
-
*/
|
|
33
|
-
buttonText: {
|
|
34
|
-
type: String,
|
|
35
|
-
required: true
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* Link for the submit button.
|
|
39
|
-
*/
|
|
40
|
-
buttonLink: {
|
|
41
|
-
type: String,
|
|
42
|
-
required: false,
|
|
43
|
-
default: null
|
|
44
|
-
},
|
|
45
|
-
/**
|
|
46
|
-
* The illustration's URL.
|
|
47
|
-
*/
|
|
48
|
-
svgPath: {
|
|
49
|
-
type: String,
|
|
50
|
-
required: false,
|
|
51
|
-
default: null
|
|
52
|
-
},
|
|
53
|
-
/**
|
|
54
|
-
* The variant of the banner.
|
|
55
|
-
*/
|
|
56
|
-
variant: {
|
|
57
|
-
type: String,
|
|
58
|
-
required: false,
|
|
59
|
-
default: bannerVariants[0],
|
|
60
|
-
validator(value) {
|
|
61
|
-
return bannerVariants.includes(value);
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
/**
|
|
65
|
-
* Dismiss button's aria-label.
|
|
66
|
-
*/
|
|
67
|
-
dismissLabel: {
|
|
68
|
-
type: String,
|
|
69
|
-
required: false,
|
|
70
|
-
default: 'Dismiss'
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
computed: {
|
|
74
|
-
isIntroducing() {
|
|
75
|
-
return this.variant === bannerVariants[1];
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
methods: {
|
|
79
|
-
handleClose() {
|
|
80
|
-
/**
|
|
81
|
-
* Emitted when the close button is clicked.
|
|
82
|
-
*
|
|
83
|
-
* @event close
|
|
84
|
-
* @type {object}
|
|
85
|
-
*/
|
|
86
|
-
this.$emit('close');
|
|
87
|
-
},
|
|
88
|
-
primaryButtonClicked() {
|
|
89
|
-
/**
|
|
90
|
-
* Emitted when the primary action button is clicked.
|
|
91
|
-
*
|
|
92
|
-
* @event primary
|
|
93
|
-
* @type {object}
|
|
94
|
-
*/
|
|
95
|
-
this.$emit('primary');
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
/* script */
|
|
101
|
-
const __vue_script__ = script;
|
|
102
|
-
|
|
103
|
-
/* template */
|
|
104
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-card',{staticClass:"gl-pl-6 gl-pr-8 gl-py-6",class:{
|
|
105
|
-
'gl-banner-introduction': _vm.isIntroducing,
|
|
106
|
-
'gl-bg-gray-10!': !_vm.isIntroducing,
|
|
107
|
-
},attrs:{"body-class":"gl-display-flex gl-p-0!"}},[(_vm.svgPath)?_c('div',{staticClass:"gl-banner-illustration"},[_c('img',{attrs:{"src":_vm.svgPath,"alt":""}})]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"gl-banner-content"},[_c('h2',{staticClass:"gl-banner-title"},[_vm._v(_vm._s(_vm.title))]),_vm._v(" "),_vm._t("default"),_vm._v(" "),_c('gl-button',_vm._b({attrs:{"variant":"confirm","category":"primary","data-testid":"gl-banner-primary-button","href":_vm.buttonLink},on:{"click":_vm.primaryButtonClicked}},'gl-button',_vm.buttonAttributes,false),[_vm._v(_vm._s(_vm.buttonText))]),_vm._v(" "),_vm._t("actions")],2),_vm._v(" "),_c('close-button',{staticClass:"gl-banner-close",attrs:{"label":_vm.dismissLabel},on:{"click":_vm.handleClose}})],1)};
|
|
108
|
-
var __vue_staticRenderFns__ = [];
|
|
109
|
-
|
|
110
|
-
/* style */
|
|
111
|
-
const __vue_inject_styles__ = undefined;
|
|
112
|
-
/* scoped */
|
|
113
|
-
const __vue_scope_id__ = undefined;
|
|
114
|
-
/* module identifier */
|
|
115
|
-
const __vue_module_identifier__ = undefined;
|
|
116
|
-
/* functional template */
|
|
117
|
-
const __vue_is_functional_template__ = false;
|
|
118
|
-
/* style inject */
|
|
119
|
-
|
|
120
|
-
/* style inject SSR */
|
|
121
|
-
|
|
122
|
-
/* style inject shadow dom */
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
const __vue_component__ = __vue_normalize__(
|
|
127
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
128
|
-
__vue_inject_styles__,
|
|
129
|
-
__vue_script__,
|
|
130
|
-
__vue_scope_id__,
|
|
131
|
-
__vue_is_functional_template__,
|
|
132
|
-
__vue_module_identifier__,
|
|
133
|
-
false,
|
|
134
|
-
undefined,
|
|
135
|
-
undefined,
|
|
136
|
-
undefined
|
|
137
|
-
);
|
|
138
|
-
|
|
139
|
-
export default __vue_component__;
|