@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,75 +0,0 @@
|
|
|
1
|
-
import { intersperse } from '../../../utils/data_utils';
|
|
2
|
-
import { splitAfterSymbols } from '../../../utils/string_utils';
|
|
3
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
4
|
-
|
|
5
|
-
var script = {
|
|
6
|
-
name: 'GlFriendlyWrap',
|
|
7
|
-
functional: true,
|
|
8
|
-
props: {
|
|
9
|
-
/**
|
|
10
|
-
* Text to be wrapped.
|
|
11
|
-
*/
|
|
12
|
-
text: {
|
|
13
|
-
type: String,
|
|
14
|
-
required: true
|
|
15
|
-
},
|
|
16
|
-
/**
|
|
17
|
-
* A list of strings representing the break-words.
|
|
18
|
-
*/
|
|
19
|
-
symbols: {
|
|
20
|
-
type: Array,
|
|
21
|
-
required: false,
|
|
22
|
-
default: () => ['/']
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
render(createElement, _ref) {
|
|
26
|
-
let {
|
|
27
|
-
props
|
|
28
|
-
} = _ref;
|
|
29
|
-
const {
|
|
30
|
-
symbols,
|
|
31
|
-
text
|
|
32
|
-
} = props;
|
|
33
|
-
const textParts = splitAfterSymbols(symbols, text !== null && text !== void 0 ? text : '');
|
|
34
|
-
const content = intersperse(() => createElement('wbr'), textParts);
|
|
35
|
-
return createElement('span', {
|
|
36
|
-
class: 'text-break'
|
|
37
|
-
}, content);
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
/* script */
|
|
42
|
-
const __vue_script__ = script;
|
|
43
|
-
|
|
44
|
-
/* template */
|
|
45
|
-
|
|
46
|
-
/* style */
|
|
47
|
-
const __vue_inject_styles__ = undefined;
|
|
48
|
-
/* scoped */
|
|
49
|
-
const __vue_scope_id__ = undefined;
|
|
50
|
-
/* module identifier */
|
|
51
|
-
const __vue_module_identifier__ = undefined;
|
|
52
|
-
/* functional template */
|
|
53
|
-
const __vue_is_functional_template__ = undefined;
|
|
54
|
-
/* style inject */
|
|
55
|
-
|
|
56
|
-
/* style inject SSR */
|
|
57
|
-
|
|
58
|
-
/* style inject shadow dom */
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
const __vue_component__ = __vue_normalize__(
|
|
63
|
-
{},
|
|
64
|
-
__vue_inject_styles__,
|
|
65
|
-
__vue_script__,
|
|
66
|
-
__vue_scope_id__,
|
|
67
|
-
__vue_is_functional_template__,
|
|
68
|
-
__vue_module_identifier__,
|
|
69
|
-
false,
|
|
70
|
-
undefined,
|
|
71
|
-
undefined,
|
|
72
|
-
undefined
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
export default __vue_component__;
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import memoize from 'lodash/memoize';
|
|
2
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
3
|
-
|
|
4
|
-
const getObserver = memoize(options => new IntersectionObserver(entries => {
|
|
5
|
-
entries.forEach(entry => {
|
|
6
|
-
entry.target.$_gl_intersectionHandler(entry);
|
|
7
|
-
});
|
|
8
|
-
}, options || {}));
|
|
9
|
-
var script = {
|
|
10
|
-
name: 'GlIntersectionObserver',
|
|
11
|
-
props: {
|
|
12
|
-
/**
|
|
13
|
-
* Extra options to pass directly to the intersection observer API.
|
|
14
|
-
*/
|
|
15
|
-
options: {
|
|
16
|
-
type: Object,
|
|
17
|
-
required: false,
|
|
18
|
-
default: null
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
mounted() {
|
|
22
|
-
const observer = getObserver(this.options);
|
|
23
|
-
this.$el.$_gl_intersectionHandler = entry => {
|
|
24
|
-
/**
|
|
25
|
-
* Emitted when the element's visibility changes
|
|
26
|
-
*/
|
|
27
|
-
this.$emit('update', entry);
|
|
28
|
-
if (entry.isIntersecting) {
|
|
29
|
-
/**
|
|
30
|
-
* Emitted when the element appears on the page
|
|
31
|
-
*/
|
|
32
|
-
this.$emit('appear');
|
|
33
|
-
} else {
|
|
34
|
-
/**
|
|
35
|
-
* Emitted when the element disappears from the page
|
|
36
|
-
*/
|
|
37
|
-
this.$emit('disappear');
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
this.$el.$_gl_intersectionObserver = observer;
|
|
41
|
-
observer.observe(this.$el);
|
|
42
|
-
},
|
|
43
|
-
destroyed() {
|
|
44
|
-
this.$el.$_gl_intersectionObserver.unobserve(this.$el);
|
|
45
|
-
delete this.$el.$_gl_intersectionHandler;
|
|
46
|
-
delete this.$el.$_gl_intersectionObserver;
|
|
47
|
-
},
|
|
48
|
-
// Expose getObserver method for tests
|
|
49
|
-
getObserver
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
/* script */
|
|
53
|
-
const __vue_script__ = script;
|
|
54
|
-
|
|
55
|
-
/* template */
|
|
56
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._t("default")],2)};
|
|
57
|
-
var __vue_staticRenderFns__ = [];
|
|
58
|
-
|
|
59
|
-
/* style */
|
|
60
|
-
const __vue_inject_styles__ = undefined;
|
|
61
|
-
/* scoped */
|
|
62
|
-
const __vue_scope_id__ = undefined;
|
|
63
|
-
/* module identifier */
|
|
64
|
-
const __vue_module_identifier__ = undefined;
|
|
65
|
-
/* functional template */
|
|
66
|
-
const __vue_is_functional_template__ = false;
|
|
67
|
-
/* style inject */
|
|
68
|
-
|
|
69
|
-
/* style inject SSR */
|
|
70
|
-
|
|
71
|
-
/* style inject shadow dom */
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
const __vue_component__ = __vue_normalize__(
|
|
76
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
77
|
-
__vue_inject_styles__,
|
|
78
|
-
__vue_script__,
|
|
79
|
-
__vue_scope_id__,
|
|
80
|
-
__vue_is_functional_template__,
|
|
81
|
-
__vue_module_identifier__,
|
|
82
|
-
false,
|
|
83
|
-
undefined,
|
|
84
|
-
undefined,
|
|
85
|
-
undefined
|
|
86
|
-
);
|
|
87
|
-
|
|
88
|
-
export default __vue_component__;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import compose from 'lodash/fp/compose';
|
|
2
|
-
import fill from 'lodash/fp/fill';
|
|
3
|
-
import filter from 'lodash/fp/filter';
|
|
4
|
-
import { insert, intersperse } from '../../../utils/data_utils';
|
|
5
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
6
|
-
|
|
7
|
-
//
|
|
8
|
-
const containsWhitespaceOnly = vNode => vNode.text.trim() === '';
|
|
9
|
-
const isTag = vNode => typeof vNode.tag === 'string';
|
|
10
|
-
const filterWhitespaceNodes = filter(vNode => isTag(vNode) || !containsWhitespaceOnly(vNode));
|
|
11
|
-
const insertAfterSecondLastItem = insert(-1);
|
|
12
|
-
const replaceSecondLastItem = fill(-2, -1);
|
|
13
|
-
|
|
14
|
-
// handles the addition of the lastSeparator in these two cases:
|
|
15
|
-
// item1, item2, item3 => item1, item2, and item3
|
|
16
|
-
// item1, item2 => item1 and item2
|
|
17
|
-
const addLastSeparator = lastSeparator => items => {
|
|
18
|
-
if (!lastSeparator) {
|
|
19
|
-
return items;
|
|
20
|
-
}
|
|
21
|
-
return items.length > 3 ? insertAfterSecondLastItem(lastSeparator, items) : replaceSecondLastItem(lastSeparator, items);
|
|
22
|
-
};
|
|
23
|
-
var script = {
|
|
24
|
-
name: 'GlIntersperse',
|
|
25
|
-
functional: true,
|
|
26
|
-
props: {
|
|
27
|
-
separator: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: ', ',
|
|
30
|
-
required: false
|
|
31
|
-
},
|
|
32
|
-
lastSeparator: {
|
|
33
|
-
type: String,
|
|
34
|
-
default: '',
|
|
35
|
-
required: false
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
render(createElement, context) {
|
|
39
|
-
const {
|
|
40
|
-
props: {
|
|
41
|
-
separator,
|
|
42
|
-
lastSeparator
|
|
43
|
-
},
|
|
44
|
-
slots,
|
|
45
|
-
data
|
|
46
|
-
} = context;
|
|
47
|
-
const filterAndSeparate = compose(addLastSeparator(lastSeparator), intersperse(separator), filterWhitespaceNodes);
|
|
48
|
-
return createElement('span', data, filterAndSeparate(slots().default));
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
/* script */
|
|
53
|
-
const __vue_script__ = script;
|
|
54
|
-
|
|
55
|
-
/* template */
|
|
56
|
-
|
|
57
|
-
/* style */
|
|
58
|
-
const __vue_inject_styles__ = undefined;
|
|
59
|
-
/* scoped */
|
|
60
|
-
const __vue_scope_id__ = undefined;
|
|
61
|
-
/* module identifier */
|
|
62
|
-
const __vue_module_identifier__ = undefined;
|
|
63
|
-
/* functional template */
|
|
64
|
-
const __vue_is_functional_template__ = undefined;
|
|
65
|
-
/* style inject */
|
|
66
|
-
|
|
67
|
-
/* style inject SSR */
|
|
68
|
-
|
|
69
|
-
/* style inject shadow dom */
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
const __vue_component__ = __vue_normalize__(
|
|
74
|
-
{},
|
|
75
|
-
__vue_inject_styles__,
|
|
76
|
-
__vue_script__,
|
|
77
|
-
__vue_scope_id__,
|
|
78
|
-
__vue_is_functional_template__,
|
|
79
|
-
__vue_module_identifier__,
|
|
80
|
-
false,
|
|
81
|
-
undefined,
|
|
82
|
-
undefined,
|
|
83
|
-
undefined
|
|
84
|
-
);
|
|
85
|
-
|
|
86
|
-
export default __vue_component__;
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import has from 'lodash/has';
|
|
2
|
-
import isString from 'lodash/isString';
|
|
3
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
4
|
-
|
|
5
|
-
//
|
|
6
|
-
const PREFIX = '%{';
|
|
7
|
-
const SUFFIX = '}';
|
|
8
|
-
const START_SUFFIX = 'Start';
|
|
9
|
-
const END_SUFFIX = 'End';
|
|
10
|
-
const PLACE_HOLDER_REGEX = new RegExp(`(${PREFIX}[a-z]+[\\w-]*[a-z0-9]+${SUFFIX})`, 'gi');
|
|
11
|
-
function groupPlaceholdersByStartTag() {
|
|
12
|
-
let placeholders = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
13
|
-
return Object.entries(placeholders).reduce((acc, _ref) => {
|
|
14
|
-
let [slotName, [startTag, endTag]] = _ref;
|
|
15
|
-
acc[startTag] = {
|
|
16
|
-
slotName,
|
|
17
|
-
endTag
|
|
18
|
-
};
|
|
19
|
-
return acc;
|
|
20
|
-
}, {});
|
|
21
|
-
}
|
|
22
|
-
function getPlaceholderDefinition(chunk, placeholdersByStartTag) {
|
|
23
|
-
const tagName = chunk.slice(PREFIX.length, -SUFFIX.length);
|
|
24
|
-
if (has(placeholdersByStartTag, tagName)) {
|
|
25
|
-
// Use provided custom placeholder definition
|
|
26
|
-
return {
|
|
27
|
-
...placeholdersByStartTag[tagName],
|
|
28
|
-
tagName
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
if (tagName.endsWith(START_SUFFIX)) {
|
|
32
|
-
// Tag conforms to default start/end tag naming convention
|
|
33
|
-
const slotName = tagName.slice(0, -START_SUFFIX.length);
|
|
34
|
-
return {
|
|
35
|
-
slotName,
|
|
36
|
-
endTag: `${slotName}${END_SUFFIX}`,
|
|
37
|
-
tagName
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
slotName: tagName,
|
|
42
|
-
endTag: undefined,
|
|
43
|
-
tagName
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
var script = {
|
|
47
|
-
name: 'GlSprintf',
|
|
48
|
-
functional: true,
|
|
49
|
-
props: {
|
|
50
|
-
/**
|
|
51
|
-
* A translated string with named placeholders, e.g., "Written by %{author}".
|
|
52
|
-
*/
|
|
53
|
-
message: {
|
|
54
|
-
type: String,
|
|
55
|
-
required: true
|
|
56
|
-
},
|
|
57
|
-
/**
|
|
58
|
-
* An object mapping slot names to custom start/end placeholders. Use this
|
|
59
|
-
* to avoid changing an existing message, and in turn invalidating existing
|
|
60
|
-
* translations, in the case it uses non-default placeholders.
|
|
61
|
-
*/
|
|
62
|
-
placeholders: {
|
|
63
|
-
type: Object,
|
|
64
|
-
required: false,
|
|
65
|
-
default: undefined,
|
|
66
|
-
validator: value => Object.values(value).every(
|
|
67
|
-
// eslint-disable-next-line unicorn/no-array-callback-reference
|
|
68
|
-
tagPair => Array.isArray(tagPair) && tagPair.length === 2 && tagPair.every(isString))
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
/**
|
|
72
|
-
* Available slots are determined by the placeholders in the provided
|
|
73
|
-
* message prop. For example, a message of "Written by %{author}" has
|
|
74
|
-
* a slot called "author", and its content is used to replace "%{author}"
|
|
75
|
-
* in the rendered output. When two placeholders indicate a start and an
|
|
76
|
-
* end region in the message, e.g., "%{linkStart}foo%{linkEnd}", the common
|
|
77
|
-
* base name can be used as a scoped slot, where the content between the
|
|
78
|
-
* placeholders is passed via the `content` scoped slot prop.
|
|
79
|
-
* @slot * (arbitrary)
|
|
80
|
-
* @binding {string} content The content to place between start and end placeholders.
|
|
81
|
-
*/
|
|
82
|
-
render(createElement, context) {
|
|
83
|
-
// While a functional style is generally preferred, an imperative style is
|
|
84
|
-
// used here, as it lends itself better to the message parsing algorithm.
|
|
85
|
-
// This approach is also more performant, as it minimizes (relatively) object
|
|
86
|
-
// creation/garbage collection, which is important given how frequently this
|
|
87
|
-
// code may run on a given page.
|
|
88
|
-
|
|
89
|
-
let i = 0;
|
|
90
|
-
const vnodes = [];
|
|
91
|
-
const slots = context.scopedSlots;
|
|
92
|
-
const chunks = context.props.message.split(PLACE_HOLDER_REGEX);
|
|
93
|
-
const placeholdersByStartTag = groupPlaceholdersByStartTag(context.props.placeholders);
|
|
94
|
-
while (i < chunks.length) {
|
|
95
|
-
const chunk = chunks[i];
|
|
96
|
-
// Skip past this chunk now we have it
|
|
97
|
-
i += 1;
|
|
98
|
-
if (!PLACE_HOLDER_REGEX.test(chunk)) {
|
|
99
|
-
// Not a placeholder, so pass through as-is
|
|
100
|
-
vnodes.push(chunk);
|
|
101
|
-
continue;
|
|
102
|
-
}
|
|
103
|
-
const {
|
|
104
|
-
slotName,
|
|
105
|
-
endTag,
|
|
106
|
-
tagName
|
|
107
|
-
} = getPlaceholderDefinition(chunk, placeholdersByStartTag);
|
|
108
|
-
if (endTag) {
|
|
109
|
-
// Peek ahead to find end placeholder, if any
|
|
110
|
-
const indexOfEnd = chunks.indexOf(`${PREFIX}${endTag}${SUFFIX}`, i);
|
|
111
|
-
if (indexOfEnd > -1) {
|
|
112
|
-
// We have a valid start/end placeholder pair! Extract the content
|
|
113
|
-
// between them and skip past the end placeholder
|
|
114
|
-
const content = chunks.slice(i, indexOfEnd);
|
|
115
|
-
i = indexOfEnd + 1;
|
|
116
|
-
if (!has(slots, slotName)) {
|
|
117
|
-
// Slot hasn't been provided; return placeholders and content as-is
|
|
118
|
-
vnodes.push(chunk, ...content, chunks[indexOfEnd]);
|
|
119
|
-
continue;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// Provide content to provided scoped slot
|
|
123
|
-
vnodes.push(slots[slotName]({
|
|
124
|
-
content: content.join('')
|
|
125
|
-
}));
|
|
126
|
-
continue;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
// By process of elimination, chunk must be a plain placeholder
|
|
131
|
-
vnodes.push(has(slots, tagName) ? slots[tagName]() : chunk);
|
|
132
|
-
continue;
|
|
133
|
-
}
|
|
134
|
-
return vnodes;
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
/* script */
|
|
139
|
-
const __vue_script__ = script;
|
|
140
|
-
|
|
141
|
-
/* template */
|
|
142
|
-
|
|
143
|
-
/* style */
|
|
144
|
-
const __vue_inject_styles__ = undefined;
|
|
145
|
-
/* scoped */
|
|
146
|
-
const __vue_scope_id__ = undefined;
|
|
147
|
-
/* module identifier */
|
|
148
|
-
const __vue_module_identifier__ = undefined;
|
|
149
|
-
/* functional template */
|
|
150
|
-
const __vue_is_functional_template__ = undefined;
|
|
151
|
-
/* style inject */
|
|
152
|
-
|
|
153
|
-
/* style inject SSR */
|
|
154
|
-
|
|
155
|
-
/* style inject shadow dom */
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
const __vue_component__ = __vue_normalize__(
|
|
160
|
-
{},
|
|
161
|
-
__vue_inject_styles__,
|
|
162
|
-
__vue_script__,
|
|
163
|
-
__vue_scope_id__,
|
|
164
|
-
__vue_is_functional_template__,
|
|
165
|
-
__vue_module_identifier__,
|
|
166
|
-
false,
|
|
167
|
-
undefined,
|
|
168
|
-
undefined,
|
|
169
|
-
undefined
|
|
170
|
-
);
|
|
171
|
-
|
|
172
|
-
export default __vue_component__;
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { GlTooltipDirective } from '../../../directives/tooltip';
|
|
2
|
-
import { GlResizeObserverDirective } from '../../../directives/resize_observer/resize_observer';
|
|
3
|
-
import { POSITION } from './constants';
|
|
4
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
5
|
-
|
|
6
|
-
//
|
|
7
|
-
var script = {
|
|
8
|
-
name: 'GlTruncate',
|
|
9
|
-
POSITION,
|
|
10
|
-
directives: {
|
|
11
|
-
GlTooltip: GlTooltipDirective,
|
|
12
|
-
GlResizeObserver: GlResizeObserverDirective
|
|
13
|
-
},
|
|
14
|
-
props: {
|
|
15
|
-
/**
|
|
16
|
-
* Text to be ellipsized
|
|
17
|
-
*/
|
|
18
|
-
text: {
|
|
19
|
-
type: String,
|
|
20
|
-
required: true
|
|
21
|
-
},
|
|
22
|
-
/**
|
|
23
|
-
* Ellipsis position
|
|
24
|
-
*/
|
|
25
|
-
position: {
|
|
26
|
-
type: String,
|
|
27
|
-
required: false,
|
|
28
|
-
default: POSITION.END,
|
|
29
|
-
validator: value => Object.values(POSITION).includes(value)
|
|
30
|
-
},
|
|
31
|
-
/**
|
|
32
|
-
* Display the full text in a tooltip only if it is being truncated
|
|
33
|
-
*/
|
|
34
|
-
withTooltip: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
required: false,
|
|
37
|
-
default: false
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
data() {
|
|
41
|
-
return {
|
|
42
|
-
isTruncated: false
|
|
43
|
-
};
|
|
44
|
-
},
|
|
45
|
-
computed: {
|
|
46
|
-
middleIndex() {
|
|
47
|
-
return Math.floor(this.text.length / 2);
|
|
48
|
-
},
|
|
49
|
-
first() {
|
|
50
|
-
return this.text.slice(0, this.middleIndex);
|
|
51
|
-
},
|
|
52
|
-
last() {
|
|
53
|
-
return this.text.slice(this.middleIndex);
|
|
54
|
-
},
|
|
55
|
-
isTooltipDisabled() {
|
|
56
|
-
return !this.withTooltip || !this.isTruncated;
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
watch: {
|
|
60
|
-
withTooltip(withTooltip) {
|
|
61
|
-
if (withTooltip) {
|
|
62
|
-
this.checkTruncationState();
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
methods: {
|
|
67
|
-
checkTruncationState() {
|
|
68
|
-
if (this.withTooltip) {
|
|
69
|
-
this.isTruncated = this.$refs.text.scrollWidth > this.$refs.text.offsetWidth;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
/* script */
|
|
76
|
-
const __vue_script__ = script;
|
|
77
|
-
|
|
78
|
-
/* template */
|
|
79
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.position === _vm.$options.POSITION.START)?_c('span',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip",value:({ disabled: _vm.isTooltipDisabled }),expression:"{ disabled: isTooltipDisabled }"},{name:"gl-resize-observer",rawName:"v-gl-resize-observer:[withTooltip]",value:(_vm.checkTruncationState),expression:"checkTruncationState",arg:_vm.withTooltip}],staticClass:"gl-truncate",attrs:{"title":_vm.text}},[_c('span',{ref:"text",staticClass:"gl-truncate-start gl-text-overflow-ellipsis!"},[_vm._v(""+_vm._s(_vm.text)+"")])]):(_vm.position === _vm.$options.POSITION.MIDDLE)?_c('span',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip",value:({ disabled: _vm.isTooltipDisabled }),expression:"{ disabled: isTooltipDisabled }"},{name:"gl-resize-observer",rawName:"v-gl-resize-observer:[withTooltip]",value:(_vm.checkTruncationState),expression:"checkTruncationState",arg:_vm.withTooltip}],staticClass:"gl-truncate",attrs:{"title":_vm.text}},[_c('span',{ref:"text",staticClass:"gl-truncate-end"},[_vm._v(_vm._s(_vm.first))]),_c('span',{staticClass:"gl-truncate-start"},[_vm._v(""+_vm._s(_vm.last)+"")])]):_c('span',{directives:[{name:"gl-tooltip",rawName:"v-gl-tooltip",value:({ disabled: _vm.isTooltipDisabled }),expression:"{ disabled: isTooltipDisabled }"},{name:"gl-resize-observer",rawName:"v-gl-resize-observer:[withTooltip]",value:(_vm.checkTruncationState),expression:"checkTruncationState",arg:_vm.withTooltip}],staticClass:"gl-truncate",attrs:{"data-testid":"truncate-end-container","title":_vm.text}},[_c('span',{ref:"text",staticClass:"gl-truncate-end"},[_vm._v(_vm._s(_vm.text))])])};
|
|
80
|
-
var __vue_staticRenderFns__ = [];
|
|
81
|
-
|
|
82
|
-
/* style */
|
|
83
|
-
const __vue_inject_styles__ = undefined;
|
|
84
|
-
/* scoped */
|
|
85
|
-
const __vue_scope_id__ = undefined;
|
|
86
|
-
/* module identifier */
|
|
87
|
-
const __vue_module_identifier__ = undefined;
|
|
88
|
-
/* functional template */
|
|
89
|
-
const __vue_is_functional_template__ = false;
|
|
90
|
-
/* style inject */
|
|
91
|
-
|
|
92
|
-
/* style inject SSR */
|
|
93
|
-
|
|
94
|
-
/* style inject shadow dom */
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
const __vue_component__ = __vue_normalize__(
|
|
99
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
100
|
-
__vue_inject_styles__,
|
|
101
|
-
__vue_script__,
|
|
102
|
-
__vue_scope_id__,
|
|
103
|
-
__vue_is_functional_template__,
|
|
104
|
-
__vue_module_identifier__,
|
|
105
|
-
false,
|
|
106
|
-
undefined,
|
|
107
|
-
undefined,
|
|
108
|
-
undefined
|
|
109
|
-
);
|
|
110
|
-
|
|
111
|
-
export default __vue_component__;
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { GlResizeObserverDirective } from '../../../directives/resize_observer/resize_observer';
|
|
2
|
-
import GlButton from '../../base/button/button';
|
|
3
|
-
import { STATES } from './constants';
|
|
4
|
-
import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
|
|
5
|
-
|
|
6
|
-
var script = {
|
|
7
|
-
name: 'GlTruncateText',
|
|
8
|
-
components: {
|
|
9
|
-
GlButton
|
|
10
|
-
},
|
|
11
|
-
directives: {
|
|
12
|
-
GlResizeObserver: GlResizeObserverDirective
|
|
13
|
-
},
|
|
14
|
-
props: {
|
|
15
|
-
/**
|
|
16
|
-
* The text for the 'Show more' button
|
|
17
|
-
*/
|
|
18
|
-
showMoreText: {
|
|
19
|
-
type: String,
|
|
20
|
-
required: false,
|
|
21
|
-
default: 'Show more'
|
|
22
|
-
},
|
|
23
|
-
/**
|
|
24
|
-
* The text for the 'Show less' button
|
|
25
|
-
*/
|
|
26
|
-
showLessText: {
|
|
27
|
-
type: String,
|
|
28
|
-
required: false,
|
|
29
|
-
default: 'Show less'
|
|
30
|
-
},
|
|
31
|
-
/**
|
|
32
|
-
* The number of lines that are initially visible on larger screens
|
|
33
|
-
*/
|
|
34
|
-
lines: {
|
|
35
|
-
type: Number,
|
|
36
|
-
required: false,
|
|
37
|
-
default: 3
|
|
38
|
-
},
|
|
39
|
-
/**
|
|
40
|
-
* The number of lines that are initially visible on smaller screens
|
|
41
|
-
*/
|
|
42
|
-
mobileLines: {
|
|
43
|
-
type: Number,
|
|
44
|
-
required: false,
|
|
45
|
-
default: 10
|
|
46
|
-
},
|
|
47
|
-
/**
|
|
48
|
-
* Props that are passed to the toggle button
|
|
49
|
-
*/
|
|
50
|
-
toggleButtonProps: {
|
|
51
|
-
type: Object,
|
|
52
|
-
required: false,
|
|
53
|
-
default() {
|
|
54
|
-
return {};
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
data() {
|
|
59
|
-
return {
|
|
60
|
-
state: STATES.INITIAL
|
|
61
|
-
};
|
|
62
|
-
},
|
|
63
|
-
computed: {
|
|
64
|
-
showTruncationToggle() {
|
|
65
|
-
return this.isTruncated || this.isExtended;
|
|
66
|
-
},
|
|
67
|
-
truncationToggleText() {
|
|
68
|
-
return this.isTruncated ? this.showMoreText : this.showLessText;
|
|
69
|
-
},
|
|
70
|
-
cssVariables() {
|
|
71
|
-
return {
|
|
72
|
-
'--lines': this.lines,
|
|
73
|
-
'--mobile-lines': this.mobileLines
|
|
74
|
-
};
|
|
75
|
-
},
|
|
76
|
-
truncationClasses() {
|
|
77
|
-
return this.isExtended ? null : 'gl-truncate-text gl-overflow-hidden';
|
|
78
|
-
},
|
|
79
|
-
ariaExpanded() {
|
|
80
|
-
return (!this.isTruncated).toString();
|
|
81
|
-
},
|
|
82
|
-
isTruncated() {
|
|
83
|
-
return this.state === STATES.TRUNCATED;
|
|
84
|
-
},
|
|
85
|
-
isExtended() {
|
|
86
|
-
return this.state === STATES.EXTENDED;
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
methods: {
|
|
90
|
-
onResize(_ref) {
|
|
91
|
-
let {
|
|
92
|
-
target
|
|
93
|
-
} = _ref;
|
|
94
|
-
if (target.scrollHeight > target.offsetHeight) {
|
|
95
|
-
this.state = STATES.TRUNCATED;
|
|
96
|
-
} else if (this.isTruncated) {
|
|
97
|
-
this.state = STATES.INITIAL;
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
toggleTruncation() {
|
|
101
|
-
if (this.isTruncated) {
|
|
102
|
-
this.state = STATES.EXTENDED;
|
|
103
|
-
} else if (this.isExtended) {
|
|
104
|
-
this.state = STATES.TRUNCATED;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
/* script */
|
|
111
|
-
const __vue_script__ = script;
|
|
112
|
-
|
|
113
|
-
/* template */
|
|
114
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_c('article',{directives:[{name:"gl-resize-observer",rawName:"v-gl-resize-observer",value:(_vm.onResize),expression:"onResize"}],class:_vm.truncationClasses,style:(_vm.cssVariables),attrs:{"aria-expanded":_vm.ariaExpanded}},[_vm._t("default")],2),_vm._v(" "),(_vm.showTruncationToggle)?_c('gl-button',_vm._b({attrs:{"variant":"link"},on:{"click":_vm.toggleTruncation}},'gl-button',_vm.toggleButtonProps,false),[_vm._v(_vm._s(_vm.truncationToggleText))]):_vm._e()],1)};
|
|
115
|
-
var __vue_staticRenderFns__ = [];
|
|
116
|
-
|
|
117
|
-
/* style */
|
|
118
|
-
const __vue_inject_styles__ = undefined;
|
|
119
|
-
/* scoped */
|
|
120
|
-
const __vue_scope_id__ = undefined;
|
|
121
|
-
/* module identifier */
|
|
122
|
-
const __vue_module_identifier__ = undefined;
|
|
123
|
-
/* functional template */
|
|
124
|
-
const __vue_is_functional_template__ = false;
|
|
125
|
-
/* style inject */
|
|
126
|
-
|
|
127
|
-
/* style inject SSR */
|
|
128
|
-
|
|
129
|
-
/* style inject shadow dom */
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
const __vue_component__ = __vue_normalize__(
|
|
134
|
-
{ render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
|
|
135
|
-
__vue_inject_styles__,
|
|
136
|
-
__vue_script__,
|
|
137
|
-
__vue_scope_id__,
|
|
138
|
-
__vue_is_functional_template__,
|
|
139
|
-
__vue_module_identifier__,
|
|
140
|
-
false,
|
|
141
|
-
undefined,
|
|
142
|
-
undefined,
|
|
143
|
-
undefined
|
|
144
|
-
);
|
|
145
|
-
|
|
146
|
-
export default __vue_component__;
|