@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,399 +0,0 @@
|
|
|
1
|
-
import debounce from 'lodash/debounce';
|
|
2
|
-
import isFunction from 'lodash/isFunction';
|
|
3
|
-
import range from 'lodash/range';
|
|
4
|
-
import { breakpoints, GlBreakpointInstance } from '../../../utils/breakpoints';
|
|
5
|
-
import { alignOptions, resizeDebounceTime } from '../../../utils/constants';
|
|
6
|
-
import GlIcon from '../icon/icon';
|
|
7
|
-
import GlLink from '../link/link';
|
|
8
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
9
|
-
|
|
10
|
-
//
|
|
11
|
-
const pageRange = (from, to) => range(from, to + 1, 1);
|
|
12
|
-
var script = {
|
|
13
|
-
name: 'Pagination',
|
|
14
|
-
components: {
|
|
15
|
-
GlLink,
|
|
16
|
-
GlIcon
|
|
17
|
-
},
|
|
18
|
-
model: {
|
|
19
|
-
prop: 'value',
|
|
20
|
-
event: 'input'
|
|
21
|
-
},
|
|
22
|
-
props: {
|
|
23
|
-
value: {
|
|
24
|
-
type: Number,
|
|
25
|
-
required: false,
|
|
26
|
-
default: 1,
|
|
27
|
-
validator: x => x > 0
|
|
28
|
-
},
|
|
29
|
-
/**
|
|
30
|
-
* Number of items per page
|
|
31
|
-
*/
|
|
32
|
-
perPage: {
|
|
33
|
-
type: Number,
|
|
34
|
-
required: false,
|
|
35
|
-
default: 20,
|
|
36
|
-
validator: x => x > 0
|
|
37
|
-
},
|
|
38
|
-
/**
|
|
39
|
-
* Total number of items
|
|
40
|
-
*/
|
|
41
|
-
totalItems: {
|
|
42
|
-
type: Number,
|
|
43
|
-
required: false,
|
|
44
|
-
default: 0
|
|
45
|
-
},
|
|
46
|
-
/**
|
|
47
|
-
* The object must contain the xs, sm, md and default keys
|
|
48
|
-
*/
|
|
49
|
-
limits: {
|
|
50
|
-
type: Object,
|
|
51
|
-
required: false,
|
|
52
|
-
default: () => ({
|
|
53
|
-
xs: 0,
|
|
54
|
-
sm: 3,
|
|
55
|
-
md: 9,
|
|
56
|
-
default: 9
|
|
57
|
-
}),
|
|
58
|
-
validator: value => {
|
|
59
|
-
const missingSizes = Object.keys(breakpoints).filter(size => !value[size]).length;
|
|
60
|
-
return missingSizes === 0 ? true : value.default;
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
/**
|
|
64
|
-
* A function that receives the page number and that returns a string representing the page URL
|
|
65
|
-
*/
|
|
66
|
-
linkGen: {
|
|
67
|
-
type: Function,
|
|
68
|
-
required: false,
|
|
69
|
-
default: null
|
|
70
|
-
},
|
|
71
|
-
/**
|
|
72
|
-
* When using the compact pagination, use this prop to pass the previous page number
|
|
73
|
-
*/
|
|
74
|
-
prevPage: {
|
|
75
|
-
type: Number,
|
|
76
|
-
required: false,
|
|
77
|
-
default: null
|
|
78
|
-
},
|
|
79
|
-
/**
|
|
80
|
-
* Text for the previous button (overridden by "previous" slot)
|
|
81
|
-
*/
|
|
82
|
-
prevText: {
|
|
83
|
-
type: String,
|
|
84
|
-
required: false,
|
|
85
|
-
default: 'Previous'
|
|
86
|
-
},
|
|
87
|
-
/**
|
|
88
|
-
* When using the compact pagination, use this prop to pass the next page number
|
|
89
|
-
*/
|
|
90
|
-
nextPage: {
|
|
91
|
-
type: Number,
|
|
92
|
-
required: false,
|
|
93
|
-
default: null
|
|
94
|
-
},
|
|
95
|
-
/**
|
|
96
|
-
* Text for the next button (overridden by "next" slot)
|
|
97
|
-
*/
|
|
98
|
-
nextText: {
|
|
99
|
-
type: String,
|
|
100
|
-
required: false,
|
|
101
|
-
default: 'Next'
|
|
102
|
-
},
|
|
103
|
-
/**
|
|
104
|
-
* Text for the ellipsis (overridden by "ellipsis-left" and "ellipsis-right" slots)
|
|
105
|
-
*/
|
|
106
|
-
ellipsisText: {
|
|
107
|
-
type: String,
|
|
108
|
-
required: false,
|
|
109
|
-
default: '…'
|
|
110
|
-
},
|
|
111
|
-
/**
|
|
112
|
-
* aria-label for the first page item
|
|
113
|
-
*/
|
|
114
|
-
labelFirstPage: {
|
|
115
|
-
type: String,
|
|
116
|
-
required: false,
|
|
117
|
-
default: 'Go to first page'
|
|
118
|
-
},
|
|
119
|
-
/**
|
|
120
|
-
* aria-label for the previous page item
|
|
121
|
-
*/
|
|
122
|
-
labelPrevPage: {
|
|
123
|
-
type: String,
|
|
124
|
-
required: false,
|
|
125
|
-
default: 'Go to previous page'
|
|
126
|
-
},
|
|
127
|
-
/**
|
|
128
|
-
* aria-label for the next page item
|
|
129
|
-
*/
|
|
130
|
-
labelNextPage: {
|
|
131
|
-
type: String,
|
|
132
|
-
required: false,
|
|
133
|
-
default: 'Go to next page'
|
|
134
|
-
},
|
|
135
|
-
/**
|
|
136
|
-
* aria-label for the last page item
|
|
137
|
-
*/
|
|
138
|
-
labelLastPage: {
|
|
139
|
-
type: String,
|
|
140
|
-
required: false,
|
|
141
|
-
default: 'Go to last page'
|
|
142
|
-
},
|
|
143
|
-
/**
|
|
144
|
-
* aria-label getter for numbered page items, defaults to "Go to page <page_number>"
|
|
145
|
-
*/
|
|
146
|
-
labelPage: {
|
|
147
|
-
type: Function,
|
|
148
|
-
required: false,
|
|
149
|
-
default: page => `Go to page ${page}`
|
|
150
|
-
},
|
|
151
|
-
/**
|
|
152
|
-
* Controls the component\'s horizontal alignment, value should be one of "left", "center", "right" or "fill"
|
|
153
|
-
*/
|
|
154
|
-
align: {
|
|
155
|
-
type: String,
|
|
156
|
-
required: false,
|
|
157
|
-
default: alignOptions.left,
|
|
158
|
-
validator: value => Object.keys(alignOptions).includes(value)
|
|
159
|
-
},
|
|
160
|
-
disabled: {
|
|
161
|
-
type: Boolean,
|
|
162
|
-
required: false,
|
|
163
|
-
default: false
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
data() {
|
|
167
|
-
return {
|
|
168
|
-
breakpoint: GlBreakpointInstance.getBreakpointSize(),
|
|
169
|
-
// If total pages count is below or equal to minTotalPagesToCollapse, collapsing is disabled
|
|
170
|
-
minTotalPagesToCollapse: 4
|
|
171
|
-
};
|
|
172
|
-
},
|
|
173
|
-
computed: {
|
|
174
|
-
isVisible() {
|
|
175
|
-
return this.totalPages > 1 || this.isCompactPagination;
|
|
176
|
-
},
|
|
177
|
-
isLinkBased() {
|
|
178
|
-
return isFunction(this.linkGen);
|
|
179
|
-
},
|
|
180
|
-
paginationLimit() {
|
|
181
|
-
return typeof this.limits[this.breakpoint] !== 'undefined' ? this.limits[this.breakpoint] : this.limits.default;
|
|
182
|
-
},
|
|
183
|
-
maxAdjacentPages() {
|
|
184
|
-
return Math.max(Math.ceil((this.paginationLimit - 1) / 2), 0);
|
|
185
|
-
},
|
|
186
|
-
totalPages() {
|
|
187
|
-
return Math.ceil(this.totalItems / this.perPage);
|
|
188
|
-
},
|
|
189
|
-
isFillAlign() {
|
|
190
|
-
return this.align === alignOptions.fill;
|
|
191
|
-
},
|
|
192
|
-
wrapperClasses() {
|
|
193
|
-
const classes = [];
|
|
194
|
-
if (this.align === alignOptions.center) {
|
|
195
|
-
classes.push('justify-content-center');
|
|
196
|
-
}
|
|
197
|
-
if (this.align === alignOptions.right) {
|
|
198
|
-
classes.push('justify-content-end');
|
|
199
|
-
}
|
|
200
|
-
if (this.isFillAlign) {
|
|
201
|
-
classes.push('text-center');
|
|
202
|
-
}
|
|
203
|
-
return classes;
|
|
204
|
-
},
|
|
205
|
-
shouldCollapseLeftSide() {
|
|
206
|
-
const diff = this.value - this.maxAdjacentPages;
|
|
207
|
-
|
|
208
|
-
// Magic 3: prevents collapsing a single page on the left side
|
|
209
|
-
return diff >= this.maxAdjacentPages && diff > 3 && this.totalPages > this.minTotalPagesToCollapse;
|
|
210
|
-
},
|
|
211
|
-
shouldCollapseRightSide() {
|
|
212
|
-
// Magic 2: prevents collapsing a single page on the right side
|
|
213
|
-
const diff = this.totalPages - 2 - this.value;
|
|
214
|
-
return diff > this.maxAdjacentPages && this.totalPages > this.minTotalPagesToCollapse;
|
|
215
|
-
},
|
|
216
|
-
visibleItems() {
|
|
217
|
-
let items = [];
|
|
218
|
-
if (!this.isCompactPagination) {
|
|
219
|
-
let firstPage = this.shouldCollapseLeftSide ? this.value - this.maxAdjacentPages : 1;
|
|
220
|
-
// If we're on last page, show at least one page to the left
|
|
221
|
-
firstPage = Math.min(firstPage, this.totalPages - 1);
|
|
222
|
-
let lastPage = this.shouldCollapseRightSide ? this.value + this.maxAdjacentPages : this.totalPages;
|
|
223
|
-
// If we're on first page, show at least one page to the right
|
|
224
|
-
lastPage = Math.max(lastPage, 2);
|
|
225
|
-
|
|
226
|
-
// Default numbered items
|
|
227
|
-
items = pageRange(firstPage, lastPage).map(page => this.getPageItem(page));
|
|
228
|
-
if (this.shouldCollapseLeftSide) {
|
|
229
|
-
items.splice(0, 0, this.getPageItem(1, this.labelFirstPage), this.getEllipsisItem('left'));
|
|
230
|
-
}
|
|
231
|
-
if (this.shouldCollapseRightSide) {
|
|
232
|
-
items.push(this.getEllipsisItem('right'), this.getPageItem(this.totalPages, this.labelLastPage));
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
return items;
|
|
236
|
-
},
|
|
237
|
-
isCompactPagination() {
|
|
238
|
-
return Boolean(!this.totalItems && (this.prevPage || this.nextPage));
|
|
239
|
-
},
|
|
240
|
-
prevPageIsDisabled() {
|
|
241
|
-
return this.pageIsDisabled(this.value - 1);
|
|
242
|
-
},
|
|
243
|
-
nextPageIsDisabled() {
|
|
244
|
-
return this.pageIsDisabled(this.value + 1);
|
|
245
|
-
},
|
|
246
|
-
prevPageAriaLabel() {
|
|
247
|
-
return this.prevPageIsDisabled ? false : this.labelPrevPage || this.labelPage(this.value - 1);
|
|
248
|
-
},
|
|
249
|
-
nextPageAriaLabel() {
|
|
250
|
-
return this.nextPageIsDisabled ? false : this.labelNextPage || this.labelPage(this.value + 1);
|
|
251
|
-
},
|
|
252
|
-
prevPageHref() {
|
|
253
|
-
if (this.prevPageIsDisabled) return false;
|
|
254
|
-
if (this.isLinkBased) return this.linkGen(this.value - 1);
|
|
255
|
-
return '#';
|
|
256
|
-
},
|
|
257
|
-
nextPageHref() {
|
|
258
|
-
if (this.nextPageIsDisabled) return false;
|
|
259
|
-
if (this.isLinkBased) return this.linkGen(this.value + 1);
|
|
260
|
-
return '#';
|
|
261
|
-
}
|
|
262
|
-
},
|
|
263
|
-
created() {
|
|
264
|
-
window.addEventListener('resize', debounce(this.setBreakpoint, resizeDebounceTime));
|
|
265
|
-
},
|
|
266
|
-
beforeDestroy() {
|
|
267
|
-
window.removeEventListener('resize', debounce(this.setBreakpoint, resizeDebounceTime));
|
|
268
|
-
},
|
|
269
|
-
methods: {
|
|
270
|
-
setBreakpoint() {
|
|
271
|
-
this.breakpoint = GlBreakpointInstance.getBreakpointSize();
|
|
272
|
-
},
|
|
273
|
-
pageIsDisabled(page) {
|
|
274
|
-
return this.disabled || page < 1 || this.isCompactPagination && page > this.value && !this.nextPage || !this.isCompactPagination && page > this.totalPages;
|
|
275
|
-
},
|
|
276
|
-
getPageItem(page) {
|
|
277
|
-
let label = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
278
|
-
const commonAttrs = {
|
|
279
|
-
'aria-label': label || this.labelPage(page),
|
|
280
|
-
href: '#',
|
|
281
|
-
class: []
|
|
282
|
-
};
|
|
283
|
-
const isActivePage = page === this.value;
|
|
284
|
-
const isDisabled = this.pageIsDisabled(page);
|
|
285
|
-
const attrs = {
|
|
286
|
-
...commonAttrs
|
|
287
|
-
};
|
|
288
|
-
const listeners = {};
|
|
289
|
-
if (isActivePage) {
|
|
290
|
-
attrs.class.push('active');
|
|
291
|
-
attrs['aria-current'] = 'page';
|
|
292
|
-
}
|
|
293
|
-
// Disable previous and/or next buttons if needed
|
|
294
|
-
if (this.isLinkBased) {
|
|
295
|
-
attrs.href = this.linkGen(page);
|
|
296
|
-
}
|
|
297
|
-
listeners.click = e => this.handleClick(e, page);
|
|
298
|
-
return {
|
|
299
|
-
content: page,
|
|
300
|
-
component: isDisabled ? 'span' : GlLink,
|
|
301
|
-
disabled: isDisabled,
|
|
302
|
-
key: `page_${page}`,
|
|
303
|
-
slot: 'page-number',
|
|
304
|
-
slotData: {
|
|
305
|
-
page,
|
|
306
|
-
active: isActivePage,
|
|
307
|
-
disabled: isDisabled
|
|
308
|
-
},
|
|
309
|
-
attrs,
|
|
310
|
-
listeners
|
|
311
|
-
};
|
|
312
|
-
},
|
|
313
|
-
getEllipsisItem(side) {
|
|
314
|
-
return {
|
|
315
|
-
content: this.ellipsisText,
|
|
316
|
-
key: `ellipsis_${side}`,
|
|
317
|
-
slot: `ellipsis-${side}`,
|
|
318
|
-
component: 'span',
|
|
319
|
-
disabled: true,
|
|
320
|
-
slotData: {},
|
|
321
|
-
listeners: {}
|
|
322
|
-
};
|
|
323
|
-
},
|
|
324
|
-
handleClick(event, value) {
|
|
325
|
-
if (!this.isLinkBased) {
|
|
326
|
-
event.preventDefault();
|
|
327
|
-
/**
|
|
328
|
-
* Emitted when the page changes
|
|
329
|
-
* @event input
|
|
330
|
-
* @arg {number} value The page that just got loaded
|
|
331
|
-
*/
|
|
332
|
-
this.$emit('input', value);
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
handlePrevious(event, value) {
|
|
336
|
-
this.handleClick(event, value);
|
|
337
|
-
/**
|
|
338
|
-
* Emitted when the "previous" button is clicked
|
|
339
|
-
* @event previous
|
|
340
|
-
*/
|
|
341
|
-
this.$emit('previous');
|
|
342
|
-
},
|
|
343
|
-
handleNext(event, value) {
|
|
344
|
-
this.handleClick(event, value);
|
|
345
|
-
/**
|
|
346
|
-
* Emitted when the "next" button is clicked
|
|
347
|
-
* @event next
|
|
348
|
-
*/
|
|
349
|
-
this.$emit('next');
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
};
|
|
353
|
-
|
|
354
|
-
/* script */
|
|
355
|
-
const __vue_script__ = script;
|
|
356
|
-
|
|
357
|
-
/* template */
|
|
358
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('nav',{staticClass:"gl-pagination text-nowrap",attrs:{"aria-label":"Pagination"}},[_c('ul',{staticClass:"pagination",class:_vm.wrapperClasses},[_c('li',{staticClass:"page-item",class:{
|
|
359
|
-
disabled: _vm.prevPageIsDisabled,
|
|
360
|
-
'flex-fill': _vm.isFillAlign,
|
|
361
|
-
},attrs:{"aria-hidden":_vm.prevPageIsDisabled}},[_c(_vm.prevPageIsDisabled ? 'span' : 'a',{tag:"component",staticClass:"gl-link page-link prev-page-item gl-display-flex",attrs:{"aria-label":_vm.prevPageAriaLabel,"href":_vm.prevPageHref},on:{"click":function($event){return _vm.handlePrevious($event, _vm.value - 1)}}},[_vm._t("previous",function(){return [_c('gl-icon',{attrs:{"name":"chevron-left"}}),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.prevText))])]},null,{ page: _vm.value - 1, disabled: _vm.prevPageIsDisabled })],2)],1),_vm._v(" "),_vm._l((_vm.visibleItems),function(item){return _c('li',{key:item.key,staticClass:"page-item",class:{
|
|
362
|
-
disabled: item.disabled,
|
|
363
|
-
'flex-fill': _vm.isFillAlign,
|
|
364
|
-
}},[_c(item.component,_vm._g(_vm._b({tag:"component",staticClass:"page-link",attrs:{"size":"md","aria-disabled":item.disabled}},'component',item.attrs,false),item.listeners),[_vm._t(item.slot,function(){return [_vm._v(_vm._s(item.content))]},null,item.slotData)],2)],1)}),_vm._v(" "),_c('li',{staticClass:"page-item",class:{
|
|
365
|
-
disabled: _vm.nextPageIsDisabled,
|
|
366
|
-
'flex-fill': _vm.isFillAlign,
|
|
367
|
-
},attrs:{"aria-hidden":_vm.nextPageIsDisabled}},[_c(_vm.nextPageIsDisabled ? 'span' : 'a',{tag:"component",staticClass:"gl-link page-link next-page-item gl-display-flex",attrs:{"aria-label":_vm.nextPageAriaLabel,"href":_vm.nextPageHref},on:{"click":function($event){return _vm.handleNext($event, _vm.value + 1)}}},[_vm._t("next",function(){return [_c('span',[_vm._v(_vm._s(_vm.nextText))]),_vm._v(" "),_c('gl-icon',{attrs:{"name":"chevron-right"}})]},null,{ page: _vm.value + 1, disabled: _vm.nextPageIsDisabled })],2)],1)],2)]):_vm._e()};
|
|
368
|
-
var __vue_staticRenderFns__ = [];
|
|
369
|
-
|
|
370
|
-
/* style */
|
|
371
|
-
const __vue_inject_styles__ = undefined;
|
|
372
|
-
/* scoped */
|
|
373
|
-
const __vue_scope_id__ = undefined;
|
|
374
|
-
/* module identifier */
|
|
375
|
-
const __vue_module_identifier__ = undefined;
|
|
376
|
-
/* functional template */
|
|
377
|
-
const __vue_is_functional_template__ = false;
|
|
378
|
-
/* style inject */
|
|
379
|
-
|
|
380
|
-
/* style inject SSR */
|
|
381
|
-
|
|
382
|
-
/* style inject shadow dom */
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
const __vue_component__ = __vue_normalize__(
|
|
387
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
388
|
-
__vue_inject_styles__,
|
|
389
|
-
__vue_script__,
|
|
390
|
-
__vue_scope_id__,
|
|
391
|
-
__vue_is_functional_template__,
|
|
392
|
-
__vue_module_identifier__,
|
|
393
|
-
false,
|
|
394
|
-
undefined,
|
|
395
|
-
undefined,
|
|
396
|
-
undefined
|
|
397
|
-
);
|
|
398
|
-
|
|
399
|
-
export default __vue_component__;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
const mockPathItems = [{
|
|
2
|
-
title: 'First',
|
|
3
|
-
metric: '1d'
|
|
4
|
-
}, {
|
|
5
|
-
title: 'Second',
|
|
6
|
-
metric: '2d'
|
|
7
|
-
}, {
|
|
8
|
-
title: 'Third',
|
|
9
|
-
metric: '3d'
|
|
10
|
-
}, {
|
|
11
|
-
title: 'Fourth',
|
|
12
|
-
metric: '4d'
|
|
13
|
-
}, {
|
|
14
|
-
title: 'Fifth',
|
|
15
|
-
metric: '5d'
|
|
16
|
-
}, {
|
|
17
|
-
title: 'Sixth',
|
|
18
|
-
metric: '6d'
|
|
19
|
-
}, {
|
|
20
|
-
title: 'Seventh',
|
|
21
|
-
metric: '7d'
|
|
22
|
-
}, {
|
|
23
|
-
title: 'Eighth',
|
|
24
|
-
metric: '8d',
|
|
25
|
-
disabled: true
|
|
26
|
-
}, {
|
|
27
|
-
title: 'Ninth',
|
|
28
|
-
metric: '9d'
|
|
29
|
-
}, {
|
|
30
|
-
title: 'Tenth',
|
|
31
|
-
metric: '10d'
|
|
32
|
-
}];
|
|
33
|
-
|
|
34
|
-
export { mockPathItems };
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
import iconSpriteInfo from '@gitlab/svgs/dist/icons.json';
|
|
2
|
-
import uniqueId from 'lodash/uniqueId';
|
|
3
|
-
import findLast from 'lodash/findLast';
|
|
4
|
-
import { GlResizeObserverDirective } from '../../../directives/resize_observer/resize_observer';
|
|
5
|
-
import { glThemes } from '../../../utils/constants';
|
|
6
|
-
import GlIcon from '../icon/icon';
|
|
7
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
8
|
-
|
|
9
|
-
//
|
|
10
|
-
const BOUNDARY_WIDTH = 40;
|
|
11
|
-
const PATH_ITEM_CLASS = 'gl-path-button';
|
|
12
|
-
const PATH_ACTIVE_ITEM_PREFIX = 'gl-path-active-item';
|
|
13
|
-
var script = {
|
|
14
|
-
name: 'GlPath',
|
|
15
|
-
components: {
|
|
16
|
-
GlIcon
|
|
17
|
-
},
|
|
18
|
-
directives: {
|
|
19
|
-
GlResizeObserverDirective
|
|
20
|
-
},
|
|
21
|
-
props: {
|
|
22
|
-
/**
|
|
23
|
-
* A list of path items in the form:
|
|
24
|
-
* ```
|
|
25
|
-
* {
|
|
26
|
-
* title: String, required
|
|
27
|
-
* metric: Any, optional
|
|
28
|
-
* icon: String, optional
|
|
29
|
-
* disabled: Boolean, optional
|
|
30
|
-
* }
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
items: {
|
|
34
|
-
type: Array,
|
|
35
|
-
required: false,
|
|
36
|
-
default: () => []
|
|
37
|
-
},
|
|
38
|
-
/**
|
|
39
|
-
* The color theme to be used.
|
|
40
|
-
*/
|
|
41
|
-
theme: {
|
|
42
|
-
type: String,
|
|
43
|
-
required: false,
|
|
44
|
-
default: 'indigo',
|
|
45
|
-
validator: theme => glThemes.includes(theme)
|
|
46
|
-
},
|
|
47
|
-
/**
|
|
48
|
-
* The items' background color.
|
|
49
|
-
*/
|
|
50
|
-
backgroundColor: {
|
|
51
|
-
type: String,
|
|
52
|
-
required: false,
|
|
53
|
-
default: 'rgba(0,0,0,0)'
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
data() {
|
|
57
|
-
return {
|
|
58
|
-
selectedIndex: 0,
|
|
59
|
-
width: 0,
|
|
60
|
-
scrollLeft: 0
|
|
61
|
-
};
|
|
62
|
-
},
|
|
63
|
-
computed: {
|
|
64
|
-
activeClass() {
|
|
65
|
-
return `${PATH_ACTIVE_ITEM_PREFIX}-${this.theme}`;
|
|
66
|
-
},
|
|
67
|
-
entireListVisible() {
|
|
68
|
-
return this.width >= this.getScrollWidth();
|
|
69
|
-
},
|
|
70
|
-
displayScrollLeft() {
|
|
71
|
-
return !this.entireListVisible && this.scrollLeft;
|
|
72
|
-
},
|
|
73
|
-
displayScrollRight() {
|
|
74
|
-
const scrollOffset = this.getScrollWidth() - this.width;
|
|
75
|
-
return !this.entireListVisible && scrollOffset !== this.scrollLeft;
|
|
76
|
-
},
|
|
77
|
-
rightHandBoundary() {
|
|
78
|
-
return this.width - BOUNDARY_WIDTH + this.scrollLeft;
|
|
79
|
-
},
|
|
80
|
-
leftHandBoundary() {
|
|
81
|
-
return this.scrollLeft + BOUNDARY_WIDTH;
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
watch: {
|
|
85
|
-
items: {
|
|
86
|
-
immediate: true,
|
|
87
|
-
handler(items) {
|
|
88
|
-
const selectedIndex = items.findIndex(item => item.selected);
|
|
89
|
-
this.selectedIndex = selectedIndex > 0 ? selectedIndex : 0;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
beforeCreate() {
|
|
94
|
-
this.pathUuid = uniqueId('path-');
|
|
95
|
-
},
|
|
96
|
-
methods: {
|
|
97
|
-
pathItemClass(index) {
|
|
98
|
-
return index === this.selectedIndex ? `${PATH_ITEM_CLASS} ${this.activeClass}` : PATH_ITEM_CLASS;
|
|
99
|
-
},
|
|
100
|
-
onItemClicked(selectedIndex) {
|
|
101
|
-
this.selectedIndex = selectedIndex;
|
|
102
|
-
/**
|
|
103
|
-
* Emitted when an item is selected.
|
|
104
|
-
*/
|
|
105
|
-
this.$emit('selected', this.items[this.selectedIndex]);
|
|
106
|
-
},
|
|
107
|
-
handleResize(_ref) {
|
|
108
|
-
let {
|
|
109
|
-
contentRect: {
|
|
110
|
-
width
|
|
111
|
-
}
|
|
112
|
-
} = _ref;
|
|
113
|
-
this.width = width;
|
|
114
|
-
},
|
|
115
|
-
scrollPathLeft() {
|
|
116
|
-
const previousItemToScollTo = findLast(this.$refs.pathListItems, listItem => {
|
|
117
|
-
return listItem.offsetLeft < this.leftHandBoundary;
|
|
118
|
-
});
|
|
119
|
-
const availableWidth = this.width - previousItemToScollTo.offsetWidth - BOUNDARY_WIDTH - BOUNDARY_WIDTH;
|
|
120
|
-
let scrollTo = previousItemToScollTo.offsetLeft - BOUNDARY_WIDTH - availableWidth;
|
|
121
|
-
if (scrollTo < 0) {
|
|
122
|
-
scrollTo = 0;
|
|
123
|
-
}
|
|
124
|
-
this.scrollPath(scrollTo);
|
|
125
|
-
},
|
|
126
|
-
scrollPathRight() {
|
|
127
|
-
const nextItemToScollTo = this.$refs.pathListItems.find(listItem => listItem.offsetLeft + listItem.offsetWidth > this.rightHandBoundary);
|
|
128
|
-
let scrollTo = nextItemToScollTo.offsetLeft - BOUNDARY_WIDTH;
|
|
129
|
-
if (scrollTo > this.getScrollWidth() - this.width) {
|
|
130
|
-
scrollTo = this.getScrollWidth() - this.width;
|
|
131
|
-
}
|
|
132
|
-
this.scrollPath(scrollTo);
|
|
133
|
-
},
|
|
134
|
-
scrollPath(scrollTo) {
|
|
135
|
-
this.$refs.pathNavList.scrollTo({
|
|
136
|
-
left: scrollTo,
|
|
137
|
-
behavior: 'smooth'
|
|
138
|
-
});
|
|
139
|
-
this.scrollLeft = scrollTo;
|
|
140
|
-
},
|
|
141
|
-
getScrollWidth() {
|
|
142
|
-
return this.$refs.pathNavList ? this.$refs.pathNavList.scrollWidth : 0;
|
|
143
|
-
},
|
|
144
|
-
shouldDisplayIcon(icon) {
|
|
145
|
-
return icon && iconSpriteInfo.icons.includes(icon);
|
|
146
|
-
},
|
|
147
|
-
pathId(index) {
|
|
148
|
-
return `${this.pathUuid}-item-${index}`;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
/* script */
|
|
154
|
-
const __vue_script__ = script;
|
|
155
|
-
|
|
156
|
-
/* template */
|
|
157
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"gl-resize-observer-directive",rawName:"v-gl-resize-observer-directive",value:(_vm.handleResize),expression:"handleResize"}],staticClass:"gl-path-nav",style:({ '--path-bg-color': _vm.backgroundColor }),attrs:{"data-testid":"gl-path-nav"}},[_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.displayScrollLeft),expression:"displayScrollLeft"}],staticClass:"gl-path-fade gl-path-fade-left"},[_c('button',{staticClass:"gl-clear-icon-button",attrs:{"aria-label":"Scroll left"},on:{"click":_vm.scrollPathLeft}},[_c('gl-icon',{attrs:{"size":32,"name":"chevron-left"}})],1)]),_vm._v(" "),_c('ul',{ref:"pathNavList",staticClass:"gl-path-nav-list"},_vm._l((_vm.items),function(item,index){return _c('li',{key:index,ref:"pathListItems",refInFor:true,staticClass:"gl-path-nav-list-item",attrs:{"id":_vm.pathId(index)}},[_c('button',{class:_vm.pathItemClass(index),attrs:{"category":item.disabled ? 'tertiary' : undefined,"disabled":item.disabled},on:{"click":function($event){return _vm.onItemClicked(index)}}},[(_vm.shouldDisplayIcon(item.icon))?_c('gl-icon',{staticClass:"gl-mr-2",attrs:{"name":item.icon,"data-testid":"gl-path-item-icon"}}):_vm._e(),_vm._v(_vm._s(item.title)),(item.metric)?_c('span',{staticClass:"gl-font-weight-normal gl-pl-2"},[_vm._v(_vm._s(item.metric))]):_vm._e()],1),_vm._v(" "),_vm._t("default",null,{"pathItem":item,"pathId":_vm.pathId(index)})],2)}),0),_vm._v(" "),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.displayScrollRight),expression:"displayScrollRight"}],staticClass:"gl-path-fade gl-path-fade-right"},[_c('button',{staticClass:"gl-clear-icon-button",attrs:{"aria-label":"Scroll right"},on:{"click":_vm.scrollPathRight}},[_c('gl-icon',{attrs:{"size":32,"name":"chevron-right"}})],1)])])};
|
|
158
|
-
var __vue_staticRenderFns__ = [];
|
|
159
|
-
|
|
160
|
-
/* style */
|
|
161
|
-
const __vue_inject_styles__ = undefined;
|
|
162
|
-
/* scoped */
|
|
163
|
-
const __vue_scope_id__ = undefined;
|
|
164
|
-
/* module identifier */
|
|
165
|
-
const __vue_module_identifier__ = undefined;
|
|
166
|
-
/* functional template */
|
|
167
|
-
const __vue_is_functional_template__ = false;
|
|
168
|
-
/* style inject */
|
|
169
|
-
|
|
170
|
-
/* style inject SSR */
|
|
171
|
-
|
|
172
|
-
/* style inject shadow dom */
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
const __vue_component__ = __vue_normalize__(
|
|
177
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
178
|
-
__vue_inject_styles__,
|
|
179
|
-
__vue_script__,
|
|
180
|
-
__vue_scope_id__,
|
|
181
|
-
__vue_is_functional_template__,
|
|
182
|
-
__vue_module_identifier__,
|
|
183
|
-
false,
|
|
184
|
-
undefined,
|
|
185
|
-
undefined,
|
|
186
|
-
undefined
|
|
187
|
-
);
|
|
188
|
-
|
|
189
|
-
export default __vue_component__;
|