@gitlab/ui 72.11.0 → 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 +14 -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/directives/safe_html/safe_html.js +5 -0
- package/src/directives/safe_html/safe_html.spec.js +17 -0
- 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 -35
- 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,222 +0,0 @@
|
|
|
1
|
-
import { alertVariantOptions, alertVariantIconMap, buttonCategoryOptions } from '../../../utils/constants';
|
|
2
|
-
import CloseButton from '../../shared_components/close_button/close_button';
|
|
3
|
-
import GlButton from '../button/button';
|
|
4
|
-
import GlIcon from '../icon/icon';
|
|
5
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
6
|
-
|
|
7
|
-
//
|
|
8
|
-
var script = {
|
|
9
|
-
name: 'GlAlert',
|
|
10
|
-
components: {
|
|
11
|
-
GlIcon,
|
|
12
|
-
CloseButton,
|
|
13
|
-
GlButton
|
|
14
|
-
},
|
|
15
|
-
props: {
|
|
16
|
-
title: {
|
|
17
|
-
type: String,
|
|
18
|
-
required: false,
|
|
19
|
-
default: ''
|
|
20
|
-
},
|
|
21
|
-
/**
|
|
22
|
-
* Controls the dismiss button's visibility.
|
|
23
|
-
*/
|
|
24
|
-
dismissible: {
|
|
25
|
-
type: Boolean,
|
|
26
|
-
required: false,
|
|
27
|
-
default: true
|
|
28
|
-
},
|
|
29
|
-
/**
|
|
30
|
-
* Shows icon based on variant.
|
|
31
|
-
*/
|
|
32
|
-
showIcon: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
required: false,
|
|
35
|
-
default: true
|
|
36
|
-
},
|
|
37
|
-
/**
|
|
38
|
-
* Dismiss button's aria-label.
|
|
39
|
-
*/
|
|
40
|
-
dismissLabel: {
|
|
41
|
-
type: String,
|
|
42
|
-
required: false,
|
|
43
|
-
default: 'Dismiss'
|
|
44
|
-
},
|
|
45
|
-
variant: {
|
|
46
|
-
type: String,
|
|
47
|
-
required: false,
|
|
48
|
-
default: alertVariantOptions.info,
|
|
49
|
-
validator: value => Object.keys(alertVariantOptions).includes(value)
|
|
50
|
-
},
|
|
51
|
-
/**
|
|
52
|
-
* If provided, renders the primary button as a link.
|
|
53
|
-
*/
|
|
54
|
-
primaryButtonLink: {
|
|
55
|
-
type: String,
|
|
56
|
-
required: false,
|
|
57
|
-
default: ''
|
|
58
|
-
},
|
|
59
|
-
/**
|
|
60
|
-
* If provided, renders a primary action button.
|
|
61
|
-
*/
|
|
62
|
-
primaryButtonText: {
|
|
63
|
-
type: String,
|
|
64
|
-
required: false,
|
|
65
|
-
default: ''
|
|
66
|
-
},
|
|
67
|
-
/**
|
|
68
|
-
* If provided, renders the secondary button as a link.
|
|
69
|
-
*/
|
|
70
|
-
secondaryButtonLink: {
|
|
71
|
-
type: String,
|
|
72
|
-
required: false,
|
|
73
|
-
default: ''
|
|
74
|
-
},
|
|
75
|
-
/**
|
|
76
|
-
* If provided, renders a secondary action button.
|
|
77
|
-
*/
|
|
78
|
-
secondaryButtonText: {
|
|
79
|
-
type: String,
|
|
80
|
-
required: false,
|
|
81
|
-
default: ''
|
|
82
|
-
},
|
|
83
|
-
sticky: {
|
|
84
|
-
type: Boolean,
|
|
85
|
-
required: false,
|
|
86
|
-
default: false
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
computed: {
|
|
90
|
-
ariaLive() {
|
|
91
|
-
if ([alertVariantOptions.danger, alertVariantOptions.warning].includes(this.variant)) {
|
|
92
|
-
return 'assertive';
|
|
93
|
-
}
|
|
94
|
-
return 'polite';
|
|
95
|
-
},
|
|
96
|
-
role() {
|
|
97
|
-
if ([alertVariantOptions.danger, alertVariantOptions.warning, alertVariantOptions.success].includes(this.variant)) {
|
|
98
|
-
return 'alert';
|
|
99
|
-
}
|
|
100
|
-
return 'status';
|
|
101
|
-
},
|
|
102
|
-
iconName() {
|
|
103
|
-
return alertVariantIconMap[this.variant];
|
|
104
|
-
},
|
|
105
|
-
shouldRenderActions() {
|
|
106
|
-
// eslint-disable-next-line @gitlab/vue-prefer-dollar-scopedslots
|
|
107
|
-
return Boolean(this.$slots.actions || this.actionButtons.length);
|
|
108
|
-
},
|
|
109
|
-
actionButtons() {
|
|
110
|
-
return [{
|
|
111
|
-
text: this.primaryButtonText,
|
|
112
|
-
attrs: {
|
|
113
|
-
href: this.primaryButtonLink,
|
|
114
|
-
variant: 'confirm',
|
|
115
|
-
category: buttonCategoryOptions.primary
|
|
116
|
-
},
|
|
117
|
-
listeners: {
|
|
118
|
-
click: this.primaryButtonClicked
|
|
119
|
-
}
|
|
120
|
-
}, {
|
|
121
|
-
text: this.secondaryButtonText,
|
|
122
|
-
attrs: {
|
|
123
|
-
href: this.secondaryButtonLink,
|
|
124
|
-
variant: 'default',
|
|
125
|
-
category: buttonCategoryOptions.secondary
|
|
126
|
-
},
|
|
127
|
-
listeners: {
|
|
128
|
-
click: this.secondaryButtonClicked
|
|
129
|
-
}
|
|
130
|
-
}].reduce((acc, actionButton) => {
|
|
131
|
-
if (!actionButton.text) return acc;
|
|
132
|
-
const attrs = {
|
|
133
|
-
...actionButton.attrs
|
|
134
|
-
};
|
|
135
|
-
if (!attrs.href) {
|
|
136
|
-
delete attrs.href;
|
|
137
|
-
}
|
|
138
|
-
acc.push({
|
|
139
|
-
...actionButton,
|
|
140
|
-
attrs
|
|
141
|
-
});
|
|
142
|
-
return acc;
|
|
143
|
-
}, []);
|
|
144
|
-
},
|
|
145
|
-
variantClass() {
|
|
146
|
-
return `gl-alert-${this.variant}`;
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
methods: {
|
|
150
|
-
primaryButtonClicked(event) {
|
|
151
|
-
/**
|
|
152
|
-
* Emitted when the primary action button is clicked.
|
|
153
|
-
*
|
|
154
|
-
* @event primaryAction
|
|
155
|
-
* @type {object}
|
|
156
|
-
*/
|
|
157
|
-
this.$emit('primaryAction', event);
|
|
158
|
-
},
|
|
159
|
-
secondaryButtonClicked(event) {
|
|
160
|
-
/**
|
|
161
|
-
* Emitted when the secondary action button is clicked.
|
|
162
|
-
*
|
|
163
|
-
* @event secondaryAction
|
|
164
|
-
* @type {object}
|
|
165
|
-
*/
|
|
166
|
-
this.$emit('secondaryAction', event);
|
|
167
|
-
},
|
|
168
|
-
onDismiss() {
|
|
169
|
-
/**
|
|
170
|
-
* Emitted when the dismiss button is clicked.
|
|
171
|
-
*
|
|
172
|
-
* @event dismiss
|
|
173
|
-
* @type {object}
|
|
174
|
-
*/
|
|
175
|
-
this.$emit('dismiss');
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
|
|
180
|
-
/* script */
|
|
181
|
-
const __vue_script__ = script;
|
|
182
|
-
|
|
183
|
-
/* template */
|
|
184
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[
|
|
185
|
-
'gl-alert',
|
|
186
|
-
{ 'gl-alert-sticky': _vm.sticky },
|
|
187
|
-
{ 'gl-alert-not-dismissible': !_vm.dismissible },
|
|
188
|
-
{ 'gl-alert-no-icon': !_vm.showIcon },
|
|
189
|
-
{ 'gl-alert-has-title': !!_vm.title },
|
|
190
|
-
_vm.variantClass ]},[(_vm.showIcon)?_c('div',{staticClass:"gl-alert-icon-container"},[_c('gl-icon',{staticClass:"gl-alert-icon",attrs:{"name":_vm.iconName}})],1):_vm._e(),_vm._v(" "),_c('div',{staticClass:"gl-alert-content",attrs:{"role":_vm.role,"aria-live":_vm.ariaLive}},[(_vm.title)?_c('h2',{staticClass:"gl-alert-title"},[_vm._v(_vm._s(_vm.title))]):_vm._e(),_vm._v(" "),_c('div',{staticClass:"gl-alert-body"},[_vm._t("default")],2),_vm._v(" "),(_vm.shouldRenderActions)?_c('div',{staticClass:"gl-alert-actions"},[_vm._t("actions",function(){return _vm._l((_vm.actionButtons),function(actionButton,index){return _c('gl-button',_vm._g(_vm._b({key:index,staticClass:"gl-alert-action"},'gl-button',actionButton.attrs,false),actionButton.listeners),[_vm._v("\n "+_vm._s(actionButton.text)+"\n ")])})})],2):_vm._e()]),_vm._v(" "),(_vm.dismissible)?_c('close-button',{ref:"dismiss",staticClass:"gl-dismiss-btn",attrs:{"label":_vm.dismissLabel},on:{"click":_vm.onDismiss}}):_vm._e()],1)};
|
|
191
|
-
var __vue_staticRenderFns__ = [];
|
|
192
|
-
|
|
193
|
-
/* style */
|
|
194
|
-
const __vue_inject_styles__ = undefined;
|
|
195
|
-
/* scoped */
|
|
196
|
-
const __vue_scope_id__ = undefined;
|
|
197
|
-
/* module identifier */
|
|
198
|
-
const __vue_module_identifier__ = undefined;
|
|
199
|
-
/* functional template */
|
|
200
|
-
const __vue_is_functional_template__ = false;
|
|
201
|
-
/* style inject */
|
|
202
|
-
|
|
203
|
-
/* style inject SSR */
|
|
204
|
-
|
|
205
|
-
/* style inject shadow dom */
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
const __vue_component__ = __vue_normalize__(
|
|
210
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
211
|
-
__vue_inject_styles__,
|
|
212
|
-
__vue_script__,
|
|
213
|
-
__vue_scope_id__,
|
|
214
|
-
__vue_is_functional_template__,
|
|
215
|
-
__vue_module_identifier__,
|
|
216
|
-
false,
|
|
217
|
-
undefined,
|
|
218
|
-
undefined,
|
|
219
|
-
undefined
|
|
220
|
-
);
|
|
221
|
-
|
|
222
|
-
export default __vue_component__;
|
|
@@ -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__;
|