@gitlab/ui 32.39.0 → 32.43.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 +28 -0
- package/dist/components/base/form/form_input_group/form_input_group.js +6 -1
- package/dist/components/base/markdown/markdown.documentation.js +2 -6
- package/dist/components/base/search_box_by_click/search_box_by_click.js +1 -0
- package/dist/components/base/search_box_by_type/search_box_by_type.js +1 -1
- package/dist/components/base/token_selector/token_selector.documentation.js +2 -106
- package/dist/components/base/token_selector/token_selector.js +85 -1
- package/dist/components/base/tooltip/tooltip.documentation.js +2 -6
- package/dist/components/charts/area/area.js +1 -1
- package/dist/components/charts/column/column.js +1 -1
- package/dist/components/charts/discrete_scatter/discrete_scatter.js +1 -1
- package/dist/components/charts/line/line.js +1 -1
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/documentation/documented_stories.js +3 -0
- package/package.json +13 -13
- package/src/components/base/accordion/accordion.spec.js +0 -4
- package/src/components/base/accordion/accordion_item.spec.js +0 -4
- package/src/components/base/alert/alert.spec.js +0 -4
- package/src/components/base/avatar_labeled/avatar_labeled.spec.js +0 -2
- package/src/components/base/avatars_inline/avatars_inline.spec.js +0 -2
- package/src/components/base/badge/badge.spec.js +0 -2
- package/src/components/base/broadcast_message/broadcast_message.spec.js +0 -4
- package/src/components/base/button/button.spec.js +0 -5
- package/src/components/base/card/card.spec.js +0 -5
- package/src/components/base/carousel/carousel.spec.js +0 -4
- package/src/components/base/collapse/collapse.spec.js +0 -4
- package/src/components/base/datepicker/datepicker.spec.js +0 -4
- package/src/components/base/daterange_picker/daterange_picker.spec.js +0 -5
- package/src/components/base/drawer/drawer.spec.js +0 -4
- package/src/components/base/dropdown/dropdown.spec.js +0 -2
- package/src/components/base/dropdown/dropdown_item.spec.js +0 -2
- package/src/components/base/filtered_search/filtered_search.spec.js +0 -10
- package/src/components/base/filtered_search/filtered_search_suggestion.spec.js +0 -5
- package/src/components/base/filtered_search/filtered_search_suggestion_list.spec.js +0 -5
- package/src/components/base/filtered_search/filtered_search_term.spec.js +0 -5
- package/src/components/base/filtered_search/filtered_search_token.spec.js +0 -5
- package/src/components/base/form/form_checkbox_tree/form_checkbox_tree.spec.js +0 -5
- package/src/components/base/form/form_combobox/form_combobox.spec.js +0 -4
- package/src/components/base/form/form_input/form_input.spec.js +0 -5
- package/src/components/base/form/form_input_group/form_input_group.spec.js +18 -5
- package/src/components/base/form/form_input_group/form_input_group.vue +6 -1
- package/src/components/base/form/form_radio/form_radio.spec.js +0 -4
- package/src/components/base/form/form_radio_group/form_radio_group.spec.js +0 -4
- package/src/components/base/form/form_select/form_select.spec.js +0 -5
- package/src/components/base/form/form_textarea/form_textarea.spec.js +0 -5
- package/src/components/base/icon/icon.spec.js +0 -2
- package/src/components/base/infinite_scroll/infinite_scroll.spec.js +0 -1
- package/src/components/base/keyset_pagination/keyset_pagination.spec.js +0 -5
- package/src/components/base/label/label.spec.js +0 -4
- package/src/components/base/link/link.spec.js +0 -5
- package/src/components/base/loading_icon/loading_icon.spec.js +0 -4
- package/src/components/base/markdown/markdown.documentation.js +0 -3
- package/src/components/base/markdown/markdown.md +0 -2
- package/src/components/base/markdown/markdown.stories.js +25 -24
- package/src/components/base/modal/modal.spec.js +0 -1
- package/src/components/base/nav/nav.spec.js +0 -4
- package/src/components/base/nav/nav_item.spec.js +0 -4
- package/src/components/base/nav/nav_item_dropdown.spec.js +0 -4
- package/src/components/base/paginated_list/paginated_list.spec.js +0 -6
- package/src/components/base/pagination/pagination.spec.js +0 -1
- package/src/components/base/path/path.spec.js +0 -5
- package/src/components/base/popover/popover.spec.js +0 -5
- package/src/components/base/search_box_by_click/search_box_by_click.spec.js +0 -4
- package/src/components/base/search_box_by_click/search_box_by_click.vue +1 -0
- package/src/components/base/search_box_by_type/search_box_by_type.spec.js +0 -5
- package/src/components/base/search_box_by_type/search_box_by_type.vue +1 -1
- package/src/components/base/segmented_control/segmented_control.spec.js +0 -4
- package/src/components/base/skeleton_loader/skeleton_loader.spec.js +0 -5
- package/src/components/base/sorting/sorting.spec.js +0 -4
- package/src/components/base/sorting/sorting_item.spec.js +0 -4
- package/src/components/base/tabs/tabs/scrollable_tabs.spec.js +0 -5
- package/src/components/base/toggle/toggle.spec.js +0 -4
- package/src/components/base/token/token.spec.js +0 -4
- package/src/components/base/token_selector/token_container.spec.js +0 -2
- package/src/components/base/token_selector/token_selector.documentation.js +0 -137
- package/src/components/base/token_selector/token_selector.md +0 -6
- package/src/components/base/token_selector/token_selector.spec.js +0 -5
- package/src/components/base/token_selector/token_selector.stories.js +96 -113
- package/src/components/base/token_selector/token_selector.vue +89 -1
- package/src/components/base/token_selector/token_selector_dropdown.spec.js +0 -5
- package/src/components/base/tooltip/tooltip.documentation.js +0 -3
- package/src/components/base/tooltip/tooltip.md +3 -5
- package/src/components/base/tooltip/tooltip.spec.js +0 -5
- package/src/components/base/tooltip/tooltip.stories.js +49 -25
- package/src/components/base/tooltip/tooltip.vue +1 -0
- package/src/components/charts/area/area.spec.js +8 -24
- package/src/components/charts/area/area.vue +9 -12
- package/src/components/charts/bar/bar.spec.js +4 -11
- package/src/components/charts/chart/chart.spec.js +0 -4
- package/src/components/charts/column/column.vue +3 -2
- package/src/components/charts/column/column_chart.spec.js +35 -19
- package/src/components/charts/discrete_scatter/discrete_scatter.stories.js +1 -0
- package/src/components/charts/discrete_scatter/discrete_scatter.vue +5 -8
- package/src/components/charts/gauge/gauge.spec.js +2 -24
- package/src/components/charts/heatmap/heatmap.spec.js +6 -23
- package/src/components/charts/legend/legend.spec.js +8 -14
- package/src/components/charts/line/line.spec.js +19 -30
- package/src/components/charts/line/line.vue +3 -2
- package/src/components/charts/single_stat/single_stat.spec.js +0 -4
- package/src/components/charts/sparkline/sparkline.spec.js +9 -15
- package/src/components/charts/stacked_column/stacked_column.spec.js +2 -30
- package/src/components/shared_components/clear_icon_button/clear_icon_button.spec.js +0 -4
- package/src/components/shared_components/close_button/close_button.spec.js +0 -4
- package/src/components/utilities/friendly_wrap/friendly_wrap.spec.js +0 -4
- package/src/components/utilities/intersection_observer/intersection_observer.spec.js +1 -1
- package/src/components/utilities/sprintf/sprintf.spec.js +0 -4
- package/src/components/utilities/truncate/truncate.spec.js +10 -15
- package/src/directives/hover_load/hover_load.spec.js +0 -1
- package/src/directives/outside/outside.spec.js +0 -4
- package/src/directives/resize_observer/resize_observer.spec.js +0 -4
- package/src/directives/safe_html/safe_html.spec.js +0 -4
- package/src/directives/safe_link/safe_link.spec.js +0 -5
- package/src/scss/utilities.scss +26 -0
- package/src/scss/utility-mixins/sizing.scss +6 -0
- package/src/scss/utility-mixins/spacing.scss +4 -0
- package/src/scss/utility-mixins/z-index.scss +4 -0
- package/dist/components/base/markdown/examples/index.js +0 -13
- package/dist/components/base/markdown/examples/markdown.basic.example.js +0 -38
- package/dist/components/base/token_selector/examples/index.js +0 -19
- package/dist/components/base/token_selector/examples/token_selector.user_defined_tokens.example.js +0 -48
- package/dist/components/base/token_selector/examples/token_selector.users.example.js +0 -202
- package/dist/components/base/tooltip/examples/index.js +0 -31
- package/dist/components/base/tooltip/examples/tooltip.directive_bottom.example.js +0 -38
- package/dist/components/base/tooltip/examples/tooltip.directive_default.example.js +0 -38
- package/dist/components/base/tooltip/examples/tooltip.directive_left.example.js +0 -38
- package/dist/components/base/tooltip/examples/tooltip.directive_right.example.js +0 -38
- package/src/components/base/markdown/examples/index.js +0 -15
- package/src/components/base/markdown/examples/markdown.basic.example.vue +0 -15
- package/src/components/base/token_selector/examples/index.js +0 -22
- package/src/components/base/token_selector/examples/token_selector.user_defined_tokens.example.vue +0 -17
- package/src/components/base/token_selector/examples/token_selector.users.example.vue +0 -212
- package/src/components/base/tooltip/examples/index.js +0 -36
- package/src/components/base/tooltip/examples/tooltip.directive_bottom.example.vue +0 -7
- package/src/components/base/tooltip/examples/tooltip.directive_default.example.vue +0 -5
- package/src/components/base/tooltip/examples/tooltip.directive_left.example.vue +0 -7
- package/src/components/base/tooltip/examples/tooltip.directive_right.example.vue +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
# [32.43.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v32.42.0...v32.43.0) (2021-12-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **CSS:** Add `gl-md-max-w-70p` utility class ([502cd65](https://gitlab.com/gitlab-org/gitlab-ui/commit/502cd650d0b2124a3cdfb26ad7f9364f75292650))
|
|
7
|
+
|
|
8
|
+
# [32.42.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v32.41.0...v32.42.0) (2021-12-03)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* Add gl-z-index-200 util class ([c53d23b](https://gitlab.com/gitlab-org/gitlab-ui/commit/c53d23b6e060434ed9055aea2b4f6f9c9e697a45))
|
|
14
|
+
|
|
15
|
+
# [32.41.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v32.40.0...v32.41.0) (2021-11-23)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* **SearchBoxBy*:** add type search to improve on accessibility ([8d77905](https://gitlab.com/gitlab-org/gitlab-ui/commit/8d779051a8028aad12bbc39ccaa335d10637a225))
|
|
21
|
+
|
|
22
|
+
# [32.40.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v32.39.0...v32.40.0) (2021-11-22)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **GlFormInputGroup:** Add `inputClass` prop to `GlFormInputGroup` ([cdc7c70](https://gitlab.com/gitlab-org/gitlab-ui/commit/cdc7c70f81b462237deda76f2a3709119b52489f))
|
|
28
|
+
|
|
1
29
|
# [32.39.0](https://gitlab.com/gitlab-org/gitlab-ui/compare/v32.38.0...v32.39.0) (2021-11-19)
|
|
2
30
|
|
|
3
31
|
|
|
@@ -34,6 +34,11 @@ var script = {
|
|
|
34
34
|
type: String,
|
|
35
35
|
required: false,
|
|
36
36
|
default: undefined
|
|
37
|
+
},
|
|
38
|
+
inputClass: {
|
|
39
|
+
type: [String, Array, Object],
|
|
40
|
+
required: false,
|
|
41
|
+
default: ''
|
|
37
42
|
}
|
|
38
43
|
},
|
|
39
44
|
|
|
@@ -66,7 +71,7 @@ var script = {
|
|
|
66
71
|
const __vue_script__ = script;
|
|
67
72
|
|
|
68
73
|
/* template */
|
|
69
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-input-group',[(_vm.activeOption || _vm.$scopedSlots.prepend)?_c('b-input-group-prepend',[_vm._t("prepend"),_vm._v(" "),(_vm.activeOption)?_c('gl-dropdown',{attrs:{"text":_vm.activeOption}},_vm._l((_vm.predefinedOptions),function(option){return _c('gl-dropdown-item',{key:option.value,attrs:{"is-check-item":"","is-checked":_vm.activeOption === option.name},on:{"click":function($event){return _vm.updateValue(option)}}},[_vm._v("\n "+_vm._s(option.name)+"\n ")])}),1):_vm._e()],2):_vm._e(),_vm._v(" "),_vm._t("default",[_c('b-form-input',_vm._g(_vm._b({ref:"input",
|
|
74
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-input-group',[(_vm.activeOption || _vm.$scopedSlots.prepend)?_c('b-input-group-prepend',[_vm._t("prepend"),_vm._v(" "),(_vm.activeOption)?_c('gl-dropdown',{attrs:{"text":_vm.activeOption}},_vm._l((_vm.predefinedOptions),function(option){return _c('gl-dropdown-item',{key:option.value,attrs:{"is-check-item":"","is-checked":_vm.activeOption === option.name},on:{"click":function($event){return _vm.updateValue(option)}}},[_vm._v("\n "+_vm._s(option.name)+"\n ")])}),1):_vm._e()],2):_vm._e(),_vm._v(" "),_vm._t("default",[_c('b-form-input',_vm._g(_vm._b({ref:"input",class:['gl-form-input', _vm.inputClass],attrs:{"aria-label":_vm.label},on:{"click":_vm.handleClick},model:{value:(_vm.localValue),callback:function ($$v) {_vm.localValue=$$v;},expression:"localValue"}},'b-form-input',_vm.$attrs,false),_vm.$listeners))]),_vm._v(" "),(_vm.$scopedSlots.append)?_c('b-input-group-append',[_vm._t("append")],2):_vm._e()],2)],1)};
|
|
70
75
|
var __vue_staticRenderFns__ = [];
|
|
71
76
|
|
|
72
77
|
/* style */
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var markdown = "# GlMarkdown\n\nThe `GlMarkdown` component styles markdown-generated HTML following the Pajamas Documentation Markdown\n[styling specifications](https://www.figma.com/file/qEddyqCrI7kPSBjGmwkZzQ/Pajamas-UI-Kit---Beta?node-id=542%3A2).\n\n## Usage\n\nYou can use the `GlMarkdown` component in two ways.\n\n### Vue component\n\n```html\n<script>\nimport { GlMarkdown } from '@gitlab/ui';\n\nexport default {\n components: {\n GlMarkdown,\n }\n}\n</script>\n<template>\n <gl-markdown>\n <!-- All the content inside gl-markdown will inherit the documentation markdown styles -->\n </gl-markdown>\n</template>\n```\n\n### `gl-markdown` class selector\n\nFollow the [GitLab UI CSS guidelines](https://gitlab.com/gitlab-org/gitlab-ui/-/blob/main/doc/css.md)\nto include GitLab UI CSS in your application. Afterwards, you can apply the `gl-markdown` class\nselector to the root element that contains the markdown-generated HTML.\n\n```html\n<body class=\"gl-markdown\">\n <!-- All the content inside body.gl-markdown will inherit the documentation markdown styles -->\n</body>\n```\n\n### Compact markdown\n\nSet the `compact` property to true in `GlMarkdown` to apply the compact markdown styles.\n\n```html\n<gl-markdown compact></gl-compact>\n```\n\nYou can also append the `gl-compact-markdown` class selector after `gl-markdown` in markdown-generated\nHTML.\n\n```html\n<body class=\"gl-markdown gl-compact-markdown\">\n</body>\n```\n\n<!--\n## Browser compatibility\n\nIf the component requires any polyfill or fallback on certain browsers, describe those requirements\nhere.\n-->\n\n<!--\n## Edge cases\n\nIf the component has some known limitations, describe them here.\n-->\n\n<!--\n## Deprecation warning\n\nIf and when this component introduced API changes that would require deprecating old APIs, describe\nthe changes here, and provide a migration paths to the new API.\n-->\n";
|
|
1
|
+
var markdown = "The `GlMarkdown` component styles markdown-generated HTML following the Pajamas Documentation Markdown\n[styling specifications](https://www.figma.com/file/qEddyqCrI7kPSBjGmwkZzQ/Pajamas-UI-Kit---Beta?node-id=542%3A2).\n\n## Usage\n\nYou can use the `GlMarkdown` component in two ways.\n\n### Vue component\n\n```html\n<script>\nimport { GlMarkdown } from '@gitlab/ui';\n\nexport default {\n components: {\n GlMarkdown,\n }\n}\n</script>\n<template>\n <gl-markdown>\n <!-- All the content inside gl-markdown will inherit the documentation markdown styles -->\n </gl-markdown>\n</template>\n```\n\n### `gl-markdown` class selector\n\nFollow the [GitLab UI CSS guidelines](https://gitlab.com/gitlab-org/gitlab-ui/-/blob/main/doc/css.md)\nto include GitLab UI CSS in your application. Afterwards, you can apply the `gl-markdown` class\nselector to the root element that contains the markdown-generated HTML.\n\n```html\n<body class=\"gl-markdown\">\n <!-- All the content inside body.gl-markdown will inherit the documentation markdown styles -->\n</body>\n```\n\n### Compact markdown\n\nSet the `compact` property to true in `GlMarkdown` to apply the compact markdown styles.\n\n```html\n<gl-markdown compact></gl-compact>\n```\n\nYou can also append the `gl-compact-markdown` class selector after `gl-markdown` in markdown-generated\nHTML.\n\n```html\n<body class=\"gl-markdown gl-compact-markdown\">\n</body>\n```\n\n<!--\n## Browser compatibility\n\nIf the component requires any polyfill or fallback on certain browsers, describe those requirements\nhere.\n-->\n\n<!--\n## Edge cases\n\nIf the component has some known limitations, describe them here.\n-->\n\n<!--\n## Deprecation warning\n\nIf and when this component introduced API changes that would require deprecating old APIs, describe\nthe changes here, and provide a migration paths to the new API.\n-->\n";
|
|
4
2
|
|
|
5
3
|
var description = /*#__PURE__*/Object.freeze({
|
|
6
4
|
__proto__: null,
|
|
@@ -8,9 +6,7 @@ var description = /*#__PURE__*/Object.freeze({
|
|
|
8
6
|
});
|
|
9
7
|
|
|
10
8
|
var markdown_documentation = {
|
|
11
|
-
description
|
|
12
|
-
examples,
|
|
13
|
-
propsInfo: {}
|
|
9
|
+
description
|
|
14
10
|
};
|
|
15
11
|
|
|
16
12
|
export default markdown_documentation;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var token_selector = "# GlTokenSelector\n\n<!-- STORY -->\n\n## Usage\n\nChoose from a provided list of tokens or add a user defined token.\n\n```html\n<script>\nexport default {\n data() {\n return {\n selectedTokens: [\n {\n id: 1,\n name: 'Vue.js',\n },\n ],\n };\n },\n};\n</script>\n\n<template>\n <div>\n <gl-token-selector\n v-model=\"selectedTokens\"\n :dropdown-items=\"[\n {\n id: 1,\n name: 'Vue.js',\n },\n {\n id: 2,\n name: 'Ruby On Rails',\n },\n {\n id: 3,\n name: 'GraphQL',\n },\n {\n id: 4,\n name: 'Redis',\n },\n ]\"\n />\n {{ selectedTokens }}\n </div>\n</template>\n```\n";
|
|
1
|
+
var token_selector = "Choose from a provided list of tokens or add a user defined token.\n\n```html\n<script>\nexport default {\n data() {\n return {\n selectedTokens: [\n {\n id: 1,\n name: 'Vue.js',\n },\n ],\n };\n },\n};\n</script>\n\n<template>\n <div>\n <gl-token-selector\n v-model=\"selectedTokens\"\n :dropdown-items=\"[\n {\n id: 1,\n name: 'Vue.js',\n },\n {\n id: 2,\n name: 'Ruby On Rails',\n },\n {\n id: 3,\n name: 'GraphQL',\n },\n {\n id: 4,\n name: 'Redis',\n },\n ]\"\n />\n {{ selectedTokens }}\n </div>\n</template>\n```\n";
|
|
4
2
|
|
|
5
3
|
var description = /*#__PURE__*/Object.freeze({
|
|
6
4
|
__proto__: null,
|
|
@@ -8,109 +6,7 @@ var description = /*#__PURE__*/Object.freeze({
|
|
|
8
6
|
});
|
|
9
7
|
|
|
10
8
|
var token_selector_documentation = {
|
|
11
|
-
description
|
|
12
|
-
examples,
|
|
13
|
-
propsInfo: {
|
|
14
|
-
dropdownItems: {
|
|
15
|
-
additionalInfo: 'Items to display in dropdown'
|
|
16
|
-
},
|
|
17
|
-
selectedTokens: {
|
|
18
|
-
additionalInfo: 'Tokens that are selected. This prop will automatically be added when using `v-model`'
|
|
19
|
-
},
|
|
20
|
-
allowUserDefinedTokens: {
|
|
21
|
-
additionalInfo: 'Should users be allowed to add tokens that are not in `dropdown-items`'
|
|
22
|
-
},
|
|
23
|
-
loading: {
|
|
24
|
-
additionalInfo: 'Dropdown items are loading, can be used when requesting new dropdown items'
|
|
25
|
-
},
|
|
26
|
-
hideDropdownWithNoItems: {
|
|
27
|
-
additionalInfo: 'Hide the dropdown if `dropdown-items` is empty. Will show `no-results-content` slot if this is `false`'
|
|
28
|
-
},
|
|
29
|
-
containerClass: {
|
|
30
|
-
additionalInfo: 'CSS classes to add to the main token selector container (`.gl-token-selector`)'
|
|
31
|
-
},
|
|
32
|
-
menuClass: {
|
|
33
|
-
additionalInfo: 'CSS classes to add to dropdown menu `ul` element'
|
|
34
|
-
},
|
|
35
|
-
textInputAttrs: {
|
|
36
|
-
additionalInfo: 'HTML attributes to add to the text input. Helpful for adding `data-testid` and `data-qa-selector` attributes'
|
|
37
|
-
},
|
|
38
|
-
state: {
|
|
39
|
-
additionalInfo: 'Controls the validation state appearance of the component. `true` for valid, `false` for invalid, or `null` for no validation state'
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
slots: [{
|
|
43
|
-
name: 'no-results-content',
|
|
44
|
-
description: 'Content to display when `dropdown-items` is empty and `allow-user-defined-tokens` is `false`',
|
|
45
|
-
default: 'No matches found',
|
|
46
|
-
scopedProps: ''
|
|
47
|
-
}, {
|
|
48
|
-
name: 'user-defined-token-content',
|
|
49
|
-
description: 'Content to display when adding a user defined token',
|
|
50
|
-
default: 'Add "{{ inputText }}"',
|
|
51
|
-
scopedProps: 'inputText (String)'
|
|
52
|
-
}, {
|
|
53
|
-
name: 'token-content',
|
|
54
|
-
description: 'Content to pass to the token component slot. Can be used to add an avatar to the token',
|
|
55
|
-
default: '{{ token.name }}',
|
|
56
|
-
scopedProps: 'token (Object)'
|
|
57
|
-
}, {
|
|
58
|
-
name: 'dropdown-item-content',
|
|
59
|
-
description: 'Dropdown item content',
|
|
60
|
-
default: '{{ dropdownItem.name }}',
|
|
61
|
-
scopedProps: 'dropdownItem (Object)'
|
|
62
|
-
}, {
|
|
63
|
-
name: 'dropdown-footer',
|
|
64
|
-
description: 'Content to add to the bottom of the dropdown. Can be used in conjunction with `gl-intersection-observer` to load more items as the user scrolls'
|
|
65
|
-
}, {
|
|
66
|
-
name: 'loading-content',
|
|
67
|
-
description: 'Content to display when `loading` prop is `true`',
|
|
68
|
-
default: 'Searching...',
|
|
69
|
-
scopedProps: ''
|
|
70
|
-
}],
|
|
71
|
-
events: [{
|
|
72
|
-
event: 'text-input',
|
|
73
|
-
args: [{
|
|
74
|
-
arg: 'inputText',
|
|
75
|
-
description: '(String)'
|
|
76
|
-
}],
|
|
77
|
-
description: 'Fired when user types in the token selector'
|
|
78
|
-
}, {
|
|
79
|
-
event: 'input',
|
|
80
|
-
args: [{
|
|
81
|
-
arg: 'selectedTokens',
|
|
82
|
-
description: '(Array)'
|
|
83
|
-
}],
|
|
84
|
-
description: 'Fired when a token is added or removed'
|
|
85
|
-
}, {
|
|
86
|
-
event: 'focus',
|
|
87
|
-
args: [{
|
|
88
|
-
arg: 'event',
|
|
89
|
-
description: '(FocusEvent)'
|
|
90
|
-
}],
|
|
91
|
-
description: 'Fired when the token selector is focused'
|
|
92
|
-
}, {
|
|
93
|
-
event: 'blur',
|
|
94
|
-
args: [{
|
|
95
|
-
arg: 'event',
|
|
96
|
-
description: '(FocusEvent)'
|
|
97
|
-
}],
|
|
98
|
-
description: 'Fired when the token selector is blurred'
|
|
99
|
-
}, {
|
|
100
|
-
event: 'token-add',
|
|
101
|
-
args: [{
|
|
102
|
-
arg: 'token',
|
|
103
|
-
description: '(Object)'
|
|
104
|
-
}],
|
|
105
|
-
description: 'Fired when a token is added'
|
|
106
|
-
}, {
|
|
107
|
-
event: 'token-remove',
|
|
108
|
-
args: [{
|
|
109
|
-
arg: 'token',
|
|
110
|
-
description: '(Object)'
|
|
111
|
-
}],
|
|
112
|
-
description: 'Fired when a token is removed'
|
|
113
|
-
}]
|
|
9
|
+
description
|
|
114
10
|
};
|
|
115
11
|
|
|
116
12
|
export default token_selector_documentation;
|
|
@@ -16,6 +16,9 @@ var script = {
|
|
|
16
16
|
event: 'input'
|
|
17
17
|
},
|
|
18
18
|
props: {
|
|
19
|
+
/**
|
|
20
|
+
* Items to display in dropdown
|
|
21
|
+
*/
|
|
19
22
|
dropdownItems: {
|
|
20
23
|
type: Array,
|
|
21
24
|
// All items need to have an `id` key
|
|
@@ -23,57 +26,100 @@ var script = {
|
|
|
23
26
|
required: false,
|
|
24
27
|
default: () => []
|
|
25
28
|
},
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Should users be allowed to add tokens that are not in `dropdown-items`
|
|
32
|
+
*/
|
|
26
33
|
allowUserDefinedTokens: {
|
|
27
34
|
type: Boolean,
|
|
28
35
|
required: false,
|
|
29
36
|
default: false
|
|
30
37
|
},
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Dropdown items are loading, can be used when requesting new dropdown items
|
|
41
|
+
*/
|
|
31
42
|
loading: {
|
|
32
43
|
type: Boolean,
|
|
33
44
|
required: false,
|
|
34
45
|
default: false
|
|
35
46
|
},
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Hide the dropdown if `dropdown-items` is empty. Will show `no-results-content` slot if this is `false`
|
|
50
|
+
*/
|
|
36
51
|
hideDropdownWithNoItems: {
|
|
37
52
|
type: Boolean,
|
|
38
53
|
required: false,
|
|
39
54
|
default: false
|
|
40
55
|
},
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* CSS classes to add to the main token selector container (`.gl-token-selector`)
|
|
59
|
+
*/
|
|
41
60
|
containerClass: {
|
|
42
61
|
type: String,
|
|
43
62
|
required: false,
|
|
44
63
|
default: ''
|
|
45
64
|
},
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* CSS classes to add to dropdown menu `ul` element
|
|
68
|
+
*/
|
|
46
69
|
menuClass: {
|
|
47
70
|
type: [String, Array, Object],
|
|
48
71
|
required: false,
|
|
49
72
|
default: ''
|
|
50
73
|
},
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* The autocomplete attribute value for the underlying `input` element
|
|
77
|
+
*/
|
|
51
78
|
autocomplete: {
|
|
52
79
|
type: String,
|
|
53
80
|
required: false,
|
|
54
81
|
default: 'off'
|
|
55
82
|
},
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* The `aria-labelledby` attribute value for the underlying `input` element
|
|
86
|
+
*/
|
|
56
87
|
ariaLabelledby: {
|
|
57
88
|
type: String,
|
|
58
89
|
required: false,
|
|
59
90
|
default: null
|
|
60
91
|
},
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The `placeholder` attribute value for the underlying `input` element
|
|
95
|
+
*/
|
|
61
96
|
placeholder: {
|
|
62
97
|
type: String,
|
|
63
98
|
required: false,
|
|
64
99
|
default: null
|
|
65
100
|
},
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* HTML attributes to add to the text input. Helpful for adding `data-testid` and `data-qa-selector` attributes
|
|
104
|
+
*/
|
|
66
105
|
textInputAttrs: {
|
|
67
106
|
type: Object,
|
|
68
107
|
required: false,
|
|
69
108
|
default: null
|
|
70
109
|
},
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Controls the validation state appearance of the component. `true` for valid, `false` for invalid, or `null` for no validation state
|
|
113
|
+
*/
|
|
71
114
|
state: {
|
|
72
115
|
type: Boolean,
|
|
73
116
|
required: false,
|
|
74
117
|
default: null
|
|
75
118
|
},
|
|
76
|
-
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Tokens that are selected. This prop will automatically be added when using `v-model`
|
|
122
|
+
*/
|
|
77
123
|
selectedTokens: {
|
|
78
124
|
type: Array,
|
|
79
125
|
// All tokens need to have an `id` key
|
|
@@ -138,6 +184,11 @@ var script = {
|
|
|
138
184
|
watch: {
|
|
139
185
|
inputText(newValue, oldValue) {
|
|
140
186
|
if (newValue !== oldValue) {
|
|
187
|
+
/**
|
|
188
|
+
* Fired when user types in the token selector
|
|
189
|
+
*
|
|
190
|
+
* @property {string} inputText
|
|
191
|
+
*/
|
|
141
192
|
this.$emit('text-input', newValue);
|
|
142
193
|
this.resetFocusedDropdownItem();
|
|
143
194
|
|
|
@@ -163,6 +214,11 @@ var script = {
|
|
|
163
214
|
},
|
|
164
215
|
methods: {
|
|
165
216
|
handleFocus(event) {
|
|
217
|
+
/**
|
|
218
|
+
* Fired when the token selector is focused
|
|
219
|
+
*
|
|
220
|
+
* @property {FocusEvent} event
|
|
221
|
+
*/
|
|
166
222
|
this.$emit('focus', event);
|
|
167
223
|
this.openDropdown();
|
|
168
224
|
this.inputFocused = true;
|
|
@@ -174,6 +230,11 @@ var script = {
|
|
|
174
230
|
},
|
|
175
231
|
|
|
176
232
|
handleBlur(event) {
|
|
233
|
+
/**
|
|
234
|
+
* Fired when the token selector is blurred
|
|
235
|
+
*
|
|
236
|
+
* @property {FocusEvent} event
|
|
237
|
+
*/
|
|
177
238
|
this.$emit('blur', event);
|
|
178
239
|
this.inputFocused = false; // `event.relatedTarget` returns `null` on Safari because buttons are not focused on click (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus)
|
|
179
240
|
// Workaround is to:
|
|
@@ -243,14 +304,37 @@ var script = {
|
|
|
243
304
|
id: _uniqueId('user-defined-token'),
|
|
244
305
|
name: this.inputText
|
|
245
306
|
};
|
|
307
|
+
/**
|
|
308
|
+
* Fired when a token is added or removed
|
|
309
|
+
*
|
|
310
|
+
* @property {array} selectedTokens
|
|
311
|
+
*/
|
|
312
|
+
|
|
246
313
|
this.$emit('input', [...this.selectedTokens, token]);
|
|
247
314
|
this.inputText = '';
|
|
248
315
|
this.closeDropdown();
|
|
316
|
+
/**
|
|
317
|
+
* Fired when a token is added
|
|
318
|
+
*
|
|
319
|
+
* @property {object} token
|
|
320
|
+
*/
|
|
321
|
+
|
|
249
322
|
this.$emit('token-add', token);
|
|
250
323
|
},
|
|
251
324
|
|
|
252
325
|
removeToken(token) {
|
|
326
|
+
/**
|
|
327
|
+
* Fired when user types in the token selector
|
|
328
|
+
*
|
|
329
|
+
* @property {string} inputText
|
|
330
|
+
*/
|
|
253
331
|
this.$emit('input', this.selectedTokens.filter(selectedToken => selectedToken.id !== token.id));
|
|
332
|
+
/**
|
|
333
|
+
* Fired when a token is removed
|
|
334
|
+
*
|
|
335
|
+
* @property {object} token
|
|
336
|
+
*/
|
|
337
|
+
|
|
254
338
|
this.$emit('token-remove', token);
|
|
255
339
|
},
|
|
256
340
|
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
var description = "## Usage\n\nUsing the tooltip component is recommended if you have HTML content.\nIt is also currently required if the tooltip content needs to change while it's visible\n(see [this upstream issue]). In all other cases, please use the directive.\n\n[this upstream issue]: https://github.com/bootstrap-vue/bootstrap-vue/issues/2142\n\n## Using the component\n\n~~~html\n<gl-button ref=\"someButton\">\n ...\n</gl-button>\n\n<gl-tooltip :target=\"() => $refs.someButton\">\n some <em>tooltip<em/> text\n</gl-tooltip>\n~~~\n\n## Using the directive\n\nYou will need to import and register `GlTooltipDirective` before you can use it.\n\n~~~html\n<script>\nimport { GlTooltipDirective } from '@gitlab/ui';\n\nexport default {\n directives: {\n GlTooltip: GlTooltipDirective,\n },\n};\n</script>\n\n<element\n v-gl-tooltip.${modifier}\n title=\"some tooltip text\"\n>\n ...\n</element>\n~~~\n\n## Directive attributes\n\n`v-gl-tooltip` directive uses the same attributes as [`v-b-tooltip`].\n\n## Under the hood\n\nTooltip uses [`<b-tooltip>`] and [`v-b-tooltip`] internally.\n\n[`<b-tooltip>`]: https://bootstrap-vue.org/docs/components/tooltip\n\n[`v-b-tooltip`]: https://bootstrap-vue.org/docs/directives/tooltip\n";
|
|
1
|
+
var description = "Using the tooltip component is recommended if you have HTML content.\nIt is also currently required if the tooltip content needs to change while it's visible\n(see [this upstream issue][this upstream issue]). In all other cases, please use the directive.\n\n[this upstream issue]: https://github.com/bootstrap-vue/bootstrap-vue/issues/2142\n\n## Using the component\n\n~~~html\n<gl-button ref=\"someButton\">\n ...\n</gl-button>\n\n<gl-tooltip :target=\"() => $refs.someButton\">\n some <em>tooltip<em/> text\n</gl-tooltip>\n~~~\n\n## Using the directive\n\nYou will need to import and register `GlTooltipDirective` before you can use it.\n\n~~~html\n<script>\nimport { GlTooltipDirective } from '@gitlab/ui';\n\nexport default {\n directives: {\n GlTooltip: GlTooltipDirective,\n },\n};\n</script>\n\n<element\n v-gl-tooltip.${modifier}\n title=\"some tooltip text\"\n>\n ...\n</element>\n~~~\n\n## Directive attributes\n\n`v-gl-tooltip` directive uses the same attributes as [`v-b-tooltip`][`v-b-tooltip`].\n\n## Under the hood\n\nTooltip uses [`<b-tooltip>`][`<b-tooltip>`] and [`v-b-tooltip`][`v-b-tooltip`] internally.\n\n[`<b-tooltip>`]: https://bootstrap-vue.org/docs/components/tooltip\n\n[`v-b-tooltip`]: https://bootstrap-vue.org/docs/directives/tooltip\n";
|
|
4
2
|
|
|
5
3
|
var tooltip_documentation = {
|
|
6
4
|
followsDesignSystem: true,
|
|
7
|
-
description
|
|
8
|
-
examples,
|
|
9
|
-
bootstrapComponent: 'b-tooltip'
|
|
5
|
+
description
|
|
10
6
|
};
|
|
11
7
|
|
|
12
8
|
export default tooltip_documentation;
|
|
@@ -329,7 +329,7 @@ var script = {
|
|
|
329
329
|
const __vue_script__ = script;
|
|
330
330
|
|
|
331
331
|
/* template */
|
|
332
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('chart',_vm._g(_vm._b({attrs:{"options":_vm.options},on:{"created":_vm.onCreated}},'chart',_vm.$attrs,false),_vm.$listeners)),_vm._v(" "),(_vm.shouldShowAnnotationsTooltip)?_c('chart-tooltip',{ref:"annotationsTooltip",attrs:{"id":"annotationsTooltip","show":_vm.showAnnotationsTooltip,"chart":_vm.chart,"top":_vm.annotationsTooltipPosition.top,"left":_vm.annotationsTooltipPosition.left,"placement":"bottom"}
|
|
332
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('chart',_vm._g(_vm._b({attrs:{"options":_vm.options},on:{"created":_vm.onCreated}},'chart',_vm.$attrs,false),_vm.$listeners)),_vm._v(" "),(_vm.shouldShowAnnotationsTooltip)?_c('chart-tooltip',{ref:"annotationsTooltip",attrs:{"id":"annotationsTooltip","show":_vm.showAnnotationsTooltip,"chart":_vm.chart,"top":_vm.annotationsTooltipPosition.top,"left":_vm.annotationsTooltipPosition.left,"placement":"bottom"},scopedSlots:_vm._u([{key:"title",fn:function(){return [_c('div',[_vm._v(_vm._s(_vm.annotationsTooltipTitle))])]},proxy:true}],null,false,1889294429)},[_vm._v(" "),_c('div',[_vm._v(_vm._s(_vm.annotationsTooltipContent))])]):_vm._e(),_vm._v(" "),(_vm.chart)?_c('chart-tooltip',{ref:"dataTooltip",staticClass:"gl-pointer-events-none",attrs:{"id":"dataTooltip","show":_vm.showDataTooltip,"chart":_vm.chart,"top":_vm.dataTooltipPosition.top,"left":_vm.dataTooltipPosition.left},scopedSlots:_vm._u([{key:"title",fn:function(){return [(_vm.formatTooltipText)?_vm._t("tooltip-title"):[_vm._v("\n "+_vm._s(_vm.dataTooltipTitle)+"\n "),(_vm.options.xAxis.name)?[_vm._v("("+_vm._s(_vm.options.xAxis.name)+")")]:_vm._e()]]},proxy:true}],null,true)},[_vm._v(" "),(_vm.formatTooltipText)?_vm._t("tooltip-content"):_c('tooltip-default-format',{attrs:{"tooltip-content":_vm.dataTooltipContent}})],2):_vm._e(),_vm._v(" "),(_vm.compiledOptions)?_c('chart-legend',{style:(_vm.legendStyle),attrs:{"chart":_vm.chart,"series-info":_vm.seriesInfo,"text-style":_vm.compiledOptions.textStyle,"min-text":_vm.legendMinText,"max-text":_vm.legendMaxText,"average-text":_vm.legendAverageText,"current-text":_vm.legendCurrentText,"layout":_vm.legendLayout}}):_vm._e()],1)};
|
|
333
333
|
var __vue_staticRenderFns__ = [];
|
|
334
334
|
|
|
335
335
|
/* style */
|
|
@@ -219,7 +219,7 @@ var script = {
|
|
|
219
219
|
const __vue_script__ = script;
|
|
220
220
|
|
|
221
221
|
/* template */
|
|
222
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('chart',_vm._g(_vm._b({attrs:{"options":_vm.options},on:{"created":_vm.onCreated}},'chart',_vm.$attrs,false),_vm.$listeners)),_vm._v(" "),(_vm.chart)?_c('chart-tooltip',{attrs:{"show":_vm.showTooltip,"chart":_vm.chart,"top":_vm.tooltipPosition.top,"left":_vm.tooltipPosition.left}
|
|
222
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('chart',_vm._g(_vm._b({attrs:{"options":_vm.options},on:{"created":_vm.onCreated}},'chart',_vm.$attrs,false),_vm.$listeners)),_vm._v(" "),(_vm.chart)?_c('chart-tooltip',{attrs:{"show":_vm.showTooltip,"chart":_vm.chart,"top":_vm.tooltipPosition.top,"left":_vm.tooltipPosition.left},scopedSlots:_vm._u([{key:"title",fn:function(){return [_c('div',[_vm._v(_vm._s(_vm.tooltipTitle)+" ("+_vm._s(_vm.xAxisTitle)+")")])]},proxy:true}],null,false,643259221)},[_vm._v(" "),_c('tooltip-default-format',{attrs:{"tooltip-content":_vm.tooltipContent}})],1):_vm._e()],1)};
|
|
223
223
|
var __vue_staticRenderFns__ = [];
|
|
224
224
|
|
|
225
225
|
/* style */
|
|
@@ -166,7 +166,7 @@ var script = {
|
|
|
166
166
|
const __vue_script__ = script;
|
|
167
167
|
|
|
168
168
|
/* template */
|
|
169
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('chart',_vm._g(_vm._b({attrs:{"options":_vm.options},on:{"created":_vm.onCreated}},'chart',_vm.$attrs,false),_vm.$listeners)),_vm._v(" "),(_vm.chart)?_c('chart-tooltip',{attrs:{"show":_vm.showTooltip,"chart":_vm.chart,"top":_vm.tooltipPosition.top,"left":_vm.tooltipPosition.left}
|
|
169
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('chart',_vm._g(_vm._b({attrs:{"options":_vm.options},on:{"created":_vm.onCreated}},'chart',_vm.$attrs,false),_vm.$listeners)),_vm._v(" "),(_vm.chart)?_c('chart-tooltip',{attrs:{"show":_vm.showTooltip,"chart":_vm.chart,"top":_vm.tooltipPosition.top,"left":_vm.tooltipPosition.left},scopedSlots:_vm._u([{key:"title",fn:function(){return [_vm._t("tooltip-title",[_vm._v(_vm._s(_vm.tooltipTitle)+" ("+_vm._s(_vm.xAxisTitle)+")")])]},proxy:true}],null,true)},[_vm._v(" "),_vm._t("tooltip-content",[_c('tooltip-default-format',{attrs:{"tooltip-content":_vm.tooltipContent}})])],2):_vm._e()],1)};
|
|
170
170
|
var __vue_staticRenderFns__ = [];
|
|
171
171
|
|
|
172
172
|
/* style */
|
|
@@ -327,7 +327,7 @@ var script = {
|
|
|
327
327
|
const __vue_script__ = script;
|
|
328
328
|
|
|
329
329
|
/* template */
|
|
330
|
-
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('chart',_vm._g(_vm._b({attrs:{"options":_vm.options},on:{"created":_vm.onCreated}},'chart',_vm.$attrs,false),_vm.$listeners)),_vm._v(" "),(_vm.shouldShowAnnotationsTooltip)?_c('chart-tooltip',{ref:"annotationsTooltip",attrs:{"id":"annotationsTooltip","show":_vm.showAnnotationsTooltip,"chart":_vm.chart,"top":_vm.annotationsTooltipPosition.top,"left":_vm.annotationsTooltipPosition.left,"placement":"bottom"}
|
|
330
|
+
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"position-relative"},[_c('chart',_vm._g(_vm._b({attrs:{"options":_vm.options},on:{"created":_vm.onCreated}},'chart',_vm.$attrs,false),_vm.$listeners)),_vm._v(" "),(_vm.shouldShowAnnotationsTooltip)?_c('chart-tooltip',{ref:"annotationsTooltip",attrs:{"id":"annotationsTooltip","show":_vm.showAnnotationsTooltip,"chart":_vm.chart,"top":_vm.annotationsTooltipPosition.top,"left":_vm.annotationsTooltipPosition.left,"placement":"bottom"},scopedSlots:_vm._u([{key:"title",fn:function(){return [_c('div',[_vm._v(_vm._s(_vm.annotationsTooltipTitle))])]},proxy:true}],null,false,1889294429)},[_vm._v(" "),_c('div',[_vm._v(_vm._s(_vm.annotationsTooltipContent))])]):_vm._e(),_vm._v(" "),(_vm.chart)?_c('chart-tooltip',{ref:"dataTooltip",staticClass:"gl-pointer-events-none",attrs:{"id":"dataTooltip","show":_vm.showDataTooltip,"chart":_vm.chart,"top":_vm.dataTooltipPosition.top,"left":_vm.dataTooltipPosition.left}},[(_vm.formatTooltipText)?[_vm._t("tooltip-title",null,{"slot":"title"}),_vm._v(" "),_vm._t("tooltip-content")]:[_c('div',{attrs:{"slot":"title"},slot:"title"},[_vm._v("\n "+_vm._s(_vm.dataTooltipTitle)+"\n "),(_vm.options.xAxis.name)?[_vm._v("("+_vm._s(_vm.options.xAxis.name)+")")]:_vm._e()],2),_vm._v(" "),_c('tooltip-default-format',{attrs:{"tooltip-content":_vm.dataTooltipContent}})]],2):_vm._e(),_vm._v(" "),(_vm.compiledOptions)?_c('chart-legend',{style:(_vm.legendStyle),attrs:{"chart":_vm.chart,"series-info":_vm.seriesInfo,"text-style":_vm.compiledOptions.textStyle,"min-text":_vm.legendMinText,"max-text":_vm.legendMaxText,"average-text":_vm.legendAverageText,"current-text":_vm.legendCurrentText,"layout":_vm.legendLayout}}):_vm._e()],1)};
|
|
331
331
|
var __vue_staticRenderFns__ = [];
|
|
332
332
|
|
|
333
333
|
/* style */
|