@ironsource/shared-ui 1.4.2-test.6 → 1.4.2-test.9
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/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/components/appIcon/AppIcon.vue.d.ts +1 -1
- package/components/appIcon/AppIcon.vue.js +3 -3
- package/components/appIcon/index.d.ts +1 -1
- package/components/appTrigger/AppTrigger.vue.d.ts +1 -1
- package/components/appTrigger/AppTrigger.vue.js +22 -25
- package/components/appTrigger/index.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +14 -16
- package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +7 -7
- package/components/autocompleteDropdown/GroupOption.vue.d.ts +1 -1
- package/components/autocompleteDropdown/GroupOption.vue.js +3 -4
- package/components/autocompleteDropdown/index.d.ts +1 -1
- package/components/banner/Banner.vue.d.ts +1 -1
- package/components/banner/Banner.vue.js +7 -7
- package/components/banner/index.d.ts +1 -1
- package/components/button/Button.vue.d.ts +1 -1
- package/components/button/Button.vue.js +12 -12
- package/components/button/ButtonBase.vue.d.ts +1 -1
- package/components/button/ButtonBase.vue.js +11 -12
- package/components/button/IconButton.vue.d.ts +1 -1
- package/components/button/IconButton.vue.js +5 -5
- package/components/button/ScrollButton.vue.d.ts +1 -1
- package/components/button/ScrollButton.vue.js +8 -9
- package/components/button/index.d.ts +3 -3
- package/components/checkbox/Checkbox.vue.d.ts +1 -1
- package/components/checkbox/Checkbox.vue.js +15 -16
- package/components/checkbox/index.d.ts +1 -1
- package/components/chip/Chip.vue.d.ts +1 -1
- package/components/chip/Chip.vue.js +5 -5
- package/components/chip/index.d.ts +1 -1
- package/components/datePicker/DatePicker.vue.d.ts +1 -1
- package/components/datePicker/DatePicker.vue.js +11 -11
- package/components/datePicker/DatePickerMonth.vue.d.ts +1 -1
- package/components/datePicker/DatePickerMonth.vue.js +4 -4
- package/components/datePicker/index.d.ts +1 -1
- package/components/dateRange/CalendarMonth.vue.d.ts +1 -1
- package/components/dateRange/CalendarMonth.vue.js +20 -21
- package/components/dateRange/DateRange.vue.d.ts +1 -1
- package/components/dateRange/DateRange.vue.js +26 -28
- package/components/dateRange/DateRangePicker.vue.d.ts +1 -1
- package/components/dateRange/index.d.ts +1 -1
- package/components/dialog/Dialog.vue.d.ts +1 -1
- package/components/dialog/Dialog.vue.js +17 -17
- package/components/dialog/index.d.ts +1 -1
- package/components/dropdown/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/Dropdown.vue.js +57 -60
- package/components/dropdown/Label.vue.d.ts +1 -1
- package/components/dropdown/Label.vue.js +3 -4
- package/components/dropdown/Option.vue.d.ts +1 -1
- package/components/dropdown/Option.vue.js +16 -17
- package/components/dropdown/SearchInput.vue.d.ts +1 -1
- package/components/dropdown/SearchInput.vue.js +6 -6
- package/components/dropdown/index.d.ts +398 -1
- package/components/emptyState/EmptyState.vue.d.ts +1 -1
- package/components/emptyState/EmptyState.vue.js +19 -21
- package/components/emptyState/index.d.ts +1 -1
- package/components/filterDropdown/AddFilterButton.vue.d.ts +1 -1
- package/components/filterDropdown/AddFilterButton.vue.js +7 -7
- package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
- package/components/filterDropdown/FilterDropdown.vue.js +15 -17
- package/components/filterDropdown/index.d.ts +2 -2
- package/components/filtersPanel/FilterSearchInput.vue.d.ts +1 -1
- package/components/filtersPanel/FilterSearchInput.vue.js +7 -7
- package/components/filtersPanel/FiltersPanel.vue.d.ts +1 -1
- package/components/filtersPanel/FiltersPanel.vue.js +8 -8
- package/components/filtersPanel/index.d.ts +1 -1
- package/components/floatingToolbar/FloatingToolbar.vue.d.ts +1 -1
- package/components/floatingToolbar/FloatingToolbar.vue.js +3 -3
- package/components/floatingToolbar/index.d.ts +1 -1
- package/components/icon/Icon.vue.d.ts +1 -1
- package/components/icon/Icon.vue.js +4 -4
- package/components/icon/index.d.ts +1 -1
- package/components/icon/storyComponents/Code.vue.d.ts +1 -1
- package/components/icon/storyComponents/IconWrapper.vue.d.ts +1 -1
- package/components/icon/storyComponents/Page.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExclude.vue.js +57 -70
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +25 -26
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +19 -22
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +40 -42
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.js +21 -22
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +17 -18
- package/components/includeExclude/index.d.ts +5 -5
- package/components/input/DollarInput.vue.d.ts +1 -1
- package/components/input/DollarInput.vue.js +2 -3
- package/components/input/Input.vue.d.ts +1 -1
- package/components/input/Input.vue.js +30 -33
- package/components/input/PasswordInput.vue.d.ts +1 -1
- package/components/input/PasswordInput.vue.js +2 -3
- package/components/input/PercentageInput.vue.d.ts +1 -1
- package/components/input/PercentageInput.vue.js +2 -3
- package/components/input/index.d.ts +2 -2
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/Menu.vue.js +4 -4
- package/components/menu/index.d.ts +1 -1
- package/components/menuItem/MenuItem.vue.d.ts +1 -1
- package/components/menuItem/MenuItem.vue.js +3 -4
- package/components/menuItem/index.d.ts +1 -1
- package/components/popover/Popover.vue.d.ts +1 -1
- package/components/popover/Popover.vue.js +7 -7
- package/components/popover/index.d.ts +1 -1
- package/components/radioButton/RadioButton.vue.d.ts +1 -1
- package/components/radioButton/RadioButton.vue.js +9 -9
- package/components/radioButton/RadioGroup.vue.d.ts +1 -1
- package/components/radioButton/RadioGroup.vue.js +3 -3
- package/components/radioButton/index.d.ts +2 -2
- package/components/radioButton/useRadio.d.ts +1 -1
- package/components/search/Search.vue.d.ts +1 -1
- package/components/search/Search.vue.js +15 -15
- package/components/search/index.d.ts +1 -1
- package/components/skeleton/Skeleton.vue.d.ts +1 -1
- package/components/skeleton/Skeleton.vue.js +2 -2
- package/components/skeleton/index.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.js +26 -26
- package/components/switch/Switch.vue.d.ts +1 -1
- package/components/switch/Switch.vue.js +9 -9
- package/components/switch/index.d.ts +1 -1
- package/components/table/Pagination.vue.d.ts +1 -1
- package/components/table/Table.vue.d.ts +1 -1
- package/components/table/Table.vue.js +32 -35
- package/components/table/TableHeaderSorter.vue.d.ts +1 -1
- package/components/table/TableHeaderSorter.vue.js +4 -4
- package/components/table/index.d.ts +1 -1
- package/components/table-cells/Editable.vue.d.ts +1 -1
- package/components/table-cells/Editable.vue.js +5 -5
- package/components/table-cells/index.d.ts +1 -1
- package/components/tabs/Tabs.vue.d.ts +1 -1
- package/components/tabs/Tabs.vue.js +15 -16
- package/components/tabs/index.d.ts +1 -1
- package/components/textArea/TextArea.vue.d.ts +1 -1
- package/components/textArea/TextArea.vue.js +12 -13
- package/components/textArea/index.d.ts +1 -1
- package/components/toggle/Toggle.vue.d.ts +1 -1
- package/components/toggle/Toggle.vue.js +14 -15
- package/components/toggle/index.d.ts +1 -1
- package/components/tooltip/TextWithTitleContent.vue.d.ts +1 -1
- package/components/tooltip/TextWithTitleContent.vue.js +7 -8
- package/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/Tooltip.vue.js +10 -11
- package/components/tooltip/index.d.ts +1 -1
- package/components/tooltip/storybookComponents/CustomTooltip.vue.d.ts +1 -1
- package/components/typography/Heading.vue.d.ts +1 -1
- package/components/typography/Heading.vue.js +4 -4
- package/components/typography/Text.vue.d.ts +1 -1
- package/components/typography/Text.vue.js +3 -3
- package/components/typography/index.d.ts +2 -2
- package/index.vue.js +3 -3
- package/package.json +1 -1
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onUnmounted, computed, toRaw, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock,
|
|
2
|
-
import '
|
|
1
|
+
import { defineComponent, ref, onMounted, onUnmounted, computed, toRaw, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createBlock, createCommentVNode, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString, withModifiers } from 'vue';
|
|
2
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
3
|
import Text from '../typography/Text.vue.js';
|
|
4
4
|
import { useDropdownContext, Mode } from './DropdownContext.vue.js';
|
|
5
5
|
import { useId } from '../../composables/useId.vue.js';
|
|
6
6
|
import Checkbox from '../checkbox/Checkbox.vue.js';
|
|
7
7
|
import Icon from '../icon/Icon.vue.js';
|
|
8
8
|
import { NOOP } from '@vue/shared';
|
|
9
|
-
/* empty css */
|
|
10
|
-
|
|
9
|
+
/* empty css */
|
|
11
10
|
import "../../Option.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
12
11
|
const _hoisted_1 = {
|
|
13
12
|
key: 1,
|
|
@@ -19,7 +18,7 @@ const _hoisted_2 = {
|
|
|
19
18
|
};
|
|
20
19
|
const _hoisted_3 = { class: "text-container" };
|
|
21
20
|
const _hoisted_4 = { key: 0 };
|
|
22
|
-
const _sfc_main = defineComponent({
|
|
21
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
23
22
|
__name: "Option",
|
|
24
23
|
props: {
|
|
25
24
|
option: { default: null },
|
|
@@ -66,27 +65,27 @@ const _sfc_main = defineComponent({
|
|
|
66
65
|
ref_key: "el",
|
|
67
66
|
ref: el,
|
|
68
67
|
class: normalizeClass(["item-container", {
|
|
69
|
-
"item-container--disabled":
|
|
70
|
-
"item-container--active": active
|
|
71
|
-
"item-container--selected": selected
|
|
72
|
-
"item-container--multi": isMulti
|
|
68
|
+
"item-container--disabled": __props.disabled,
|
|
69
|
+
"item-container--active": unref(active),
|
|
70
|
+
"item-container--selected": unref(selected),
|
|
71
|
+
"item-container--multi": unref(isMulti)
|
|
73
72
|
}])
|
|
74
73
|
}, [
|
|
75
74
|
createElementVNode("div", {
|
|
76
75
|
class: normalizeClass(["item", {
|
|
77
|
-
"item--multi": isMulti
|
|
76
|
+
"item--multi": unref(isMulti),
|
|
78
77
|
"item--with-icon": _ctx.$slots["icon-start"] || _ctx.$slots.image
|
|
79
78
|
}])
|
|
80
79
|
}, [
|
|
81
|
-
isMulti
|
|
80
|
+
unref(isMulti) ? (openBlock(), createBlock(unref(Checkbox), {
|
|
82
81
|
key: 0,
|
|
83
82
|
id: unref(id).toString(),
|
|
84
83
|
tabindex: "-1",
|
|
85
84
|
class: "checkbox",
|
|
86
85
|
size: "sm",
|
|
87
|
-
"is-checked": selected
|
|
88
|
-
"is-indeterminate":
|
|
89
|
-
onClick: _cache[0] || (_cache[0] = ($event) =>
|
|
86
|
+
"is-checked": unref(selected),
|
|
87
|
+
"is-indeterminate": __props.isIndeterminate && !__props.option,
|
|
88
|
+
onClick: _cache[0] || (_cache[0] = ($event) => __props.disabled ? unref(NOOP)() : onClick($event))
|
|
90
89
|
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : createCommentVNode("", true),
|
|
91
90
|
_ctx.$slots.image ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
92
91
|
renderSlot(_ctx.$slots, "image", {}, void 0, true)
|
|
@@ -101,19 +100,19 @@ const _sfc_main = defineComponent({
|
|
|
101
100
|
]),
|
|
102
101
|
_: 3
|
|
103
102
|
}),
|
|
104
|
-
|
|
103
|
+
__props.subtitle ? (openBlock(), createBlock(unref(Text), {
|
|
105
104
|
key: 0,
|
|
106
105
|
class: "subtitle",
|
|
107
106
|
size: "xs"
|
|
108
107
|
}, {
|
|
109
108
|
default: withCtx(() => [
|
|
110
|
-
createTextVNode(toDisplayString(
|
|
109
|
+
createTextVNode(toDisplayString(__props.subtitle), 1)
|
|
111
110
|
]),
|
|
112
111
|
_: 1
|
|
113
112
|
})) : createCommentVNode("", true)
|
|
114
113
|
])
|
|
115
114
|
], 2),
|
|
116
|
-
unref(api).clearable && selected
|
|
115
|
+
unref(api).clearable && unref(selected) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
117
116
|
createElementVNode("button", {
|
|
118
117
|
class: "clear-button",
|
|
119
118
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => unref(api).clearSelection(), ["prevent", "stop"]))
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -10,7 +10,7 @@ const _hoisted_1 = {
|
|
|
10
10
|
class: "prefix"
|
|
11
11
|
};
|
|
12
12
|
const _hoisted_2 = ["disabled", "placeholder"];
|
|
13
|
-
const _sfc_main = defineComponent({
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
__name: "SearchInput",
|
|
15
15
|
setup(__props) {
|
|
16
16
|
const api = useDropdownContext("searchInput");
|
|
@@ -63,7 +63,7 @@ const _sfc_main = defineComponent({
|
|
|
63
63
|
inputRef: inputEl.value,
|
|
64
64
|
disabled: unref(api).disabled,
|
|
65
65
|
change: onChange,
|
|
66
|
-
placeholder: placeholder
|
|
66
|
+
placeholder: unref(placeholder)
|
|
67
67
|
}, () => [
|
|
68
68
|
createElementVNode("div", {
|
|
69
69
|
class: normalizeClass(["container", {
|
|
@@ -73,7 +73,7 @@ const _sfc_main = defineComponent({
|
|
|
73
73
|
focused: isFocused.value
|
|
74
74
|
}])
|
|
75
75
|
}, [
|
|
76
|
-
showPrefix
|
|
76
|
+
unref(showPrefix) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
77
77
|
renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
|
|
78
78
|
])) : createCommentVNode("", true),
|
|
79
79
|
createElementVNode("input", {
|
|
@@ -81,7 +81,7 @@ const _sfc_main = defineComponent({
|
|
|
81
81
|
ref: inputEl,
|
|
82
82
|
disabled: unref(api).disabled,
|
|
83
83
|
class: normalizeClass(["input", { "input--disabled": unref(api).disabled }]),
|
|
84
|
-
placeholder: placeholder
|
|
84
|
+
placeholder: unref(placeholder),
|
|
85
85
|
onFocusin: _cache[0] || (_cache[0] = ($event) => isFocused.value = true),
|
|
86
86
|
onFocusout: _cache[1] || (_cache[1] = ($event) => isFocused.value = false),
|
|
87
87
|
onInput: onChange
|
|
@@ -90,7 +90,7 @@ const _sfc_main = defineComponent({
|
|
|
90
90
|
variant: "colorized",
|
|
91
91
|
size: "sm",
|
|
92
92
|
theme: "secondary",
|
|
93
|
-
class: normalizeClass(["search-right-icon", { "search-right-icon-clear": showClear
|
|
93
|
+
class: normalizeClass(["search-right-icon", { "search-right-icon-clear": unref(showClear) }]),
|
|
94
94
|
disabled: unref(api).disabled
|
|
95
95
|
}, {
|
|
96
96
|
default: withCtx(() => [
|
|
@@ -103,7 +103,7 @@ const _sfc_main = defineComponent({
|
|
|
103
103
|
unref(api).open.value ? (openBlock(), createBlock(unref(Icon), {
|
|
104
104
|
key: 1,
|
|
105
105
|
"font-size": "sm",
|
|
106
|
-
name: rightIcon
|
|
106
|
+
name: unref(rightIcon),
|
|
107
107
|
onClick: onClearClick
|
|
108
108
|
}, null, 8, ["name"])) : createCommentVNode("", true)
|
|
109
109
|
]),
|
|
@@ -2,5 +2,402 @@ import Dropdown from './Dropdown.vue';
|
|
|
2
2
|
import Option from './Option.vue';
|
|
3
3
|
import Label from './Label.vue';
|
|
4
4
|
import SearchInput from './SearchInput.vue';
|
|
5
|
-
declare const DropdownTypes: () => import("vue").DefineComponent<{
|
|
5
|
+
declare const DropdownTypes: () => (import("vue").DefineComponent<{
|
|
6
|
+
size: {
|
|
7
|
+
type: import("vue").PropType<"sm" | "lg">;
|
|
8
|
+
} & {
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
title: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
} & {
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
error: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
} & {
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
theme: {
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
} & {
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
loading: {
|
|
27
|
+
type: import("vue").PropType<boolean>;
|
|
28
|
+
};
|
|
29
|
+
placement: {
|
|
30
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
31
|
+
} & {
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
disabled: {
|
|
35
|
+
type: import("vue").PropType<boolean>;
|
|
36
|
+
} & {
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
selected: {
|
|
40
|
+
type: import("vue").PropType<unknown>;
|
|
41
|
+
} & {
|
|
42
|
+
default: any;
|
|
43
|
+
};
|
|
44
|
+
options: {
|
|
45
|
+
type: import("vue").PropType<unknown[]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: import("vue").PropType<unknown>;
|
|
50
|
+
} & {
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
placeholder: {
|
|
54
|
+
type: import("vue").PropType<string>;
|
|
55
|
+
} & {
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
multi: {
|
|
59
|
+
type: import("vue").PropType<boolean>;
|
|
60
|
+
} & {
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
searchPlaceholder: {
|
|
64
|
+
type: import("vue").PropType<string>;
|
|
65
|
+
} & {
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
popperClass: {
|
|
69
|
+
type: import("vue").PropType<string>;
|
|
70
|
+
} & {
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
mandatory: {
|
|
74
|
+
type: import("vue").PropType<boolean>;
|
|
75
|
+
} & {
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
showButtonOnOpen: {
|
|
79
|
+
type: import("vue").PropType<boolean>;
|
|
80
|
+
} & {
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
inlineSearch: {
|
|
84
|
+
type: import("vue").PropType<boolean>;
|
|
85
|
+
} & {
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
isOnTop: {
|
|
89
|
+
type: import("vue").PropType<boolean>;
|
|
90
|
+
} & {
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
distance: {
|
|
94
|
+
type: import("vue").PropType<number>;
|
|
95
|
+
} & {
|
|
96
|
+
default: number;
|
|
97
|
+
};
|
|
98
|
+
skidding: {
|
|
99
|
+
type: import("vue").PropType<number>;
|
|
100
|
+
} & {
|
|
101
|
+
default: number;
|
|
102
|
+
};
|
|
103
|
+
noResultsText: {
|
|
104
|
+
type: import("vue").PropType<string>;
|
|
105
|
+
} & {
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
autoFocus: {
|
|
109
|
+
type: import("vue").PropType<boolean>;
|
|
110
|
+
} & {
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
defaultOpen: {
|
|
114
|
+
type: import("vue").PropType<boolean>;
|
|
115
|
+
} & {
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
clearable: {
|
|
119
|
+
type: import("vue").PropType<boolean>;
|
|
120
|
+
} & {
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
onSearch: {
|
|
124
|
+
type: import("vue").PropType<(option: any, term: string) => boolean>;
|
|
125
|
+
} & {
|
|
126
|
+
default: () => true;
|
|
127
|
+
};
|
|
128
|
+
helperText: {
|
|
129
|
+
type: import("vue").PropType<string>;
|
|
130
|
+
} & {
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
container: {
|
|
134
|
+
type: import("vue").PropType<string>;
|
|
135
|
+
} & {
|
|
136
|
+
default: string;
|
|
137
|
+
};
|
|
138
|
+
flip: {
|
|
139
|
+
type: import("vue").PropType<boolean>;
|
|
140
|
+
} & {
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
143
|
+
keepOpen: {
|
|
144
|
+
type: import("vue").PropType<boolean>;
|
|
145
|
+
} & {
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
autoSize: {
|
|
149
|
+
type: import("vue").PropType<boolean>;
|
|
150
|
+
} & {
|
|
151
|
+
default: boolean;
|
|
152
|
+
};
|
|
153
|
+
disableKeyboardEvents: {
|
|
154
|
+
type: import("vue").PropType<boolean>;
|
|
155
|
+
} & {
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
multiOptionsPlaceholderPrefix: {
|
|
159
|
+
type: import("vue").PropType<string>;
|
|
160
|
+
} & {
|
|
161
|
+
default: string;
|
|
162
|
+
};
|
|
163
|
+
multiOptionsPlaceholderSuffix: {
|
|
164
|
+
type: import("vue").PropType<string>;
|
|
165
|
+
} & {
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
showSelectAll: {
|
|
169
|
+
type: import("vue").PropType<boolean>;
|
|
170
|
+
};
|
|
171
|
+
isOpen: {
|
|
172
|
+
type: import("vue").PropType<boolean>;
|
|
173
|
+
};
|
|
174
|
+
displayValue: {
|
|
175
|
+
type: import("vue").PropType<(option: unknown) => string>;
|
|
176
|
+
required: true;
|
|
177
|
+
};
|
|
178
|
+
}, {
|
|
179
|
+
selectItem: (option: any, index?: number) => void;
|
|
180
|
+
scrollTo: (index: number) => void;
|
|
181
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
182
|
+
"update:selected": (value: unknown) => void;
|
|
183
|
+
} & {
|
|
184
|
+
"update:isOpen": (value: unknown) => void;
|
|
185
|
+
} & {
|
|
186
|
+
closed: () => void;
|
|
187
|
+
} & {
|
|
188
|
+
opened: () => void;
|
|
189
|
+
} & {
|
|
190
|
+
apply: (value: unknown) => void;
|
|
191
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
192
|
+
size: {
|
|
193
|
+
type: import("vue").PropType<"sm" | "lg">;
|
|
194
|
+
} & {
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
|
+
title: {
|
|
198
|
+
type: import("vue").PropType<string>;
|
|
199
|
+
} & {
|
|
200
|
+
default: string;
|
|
201
|
+
};
|
|
202
|
+
error: {
|
|
203
|
+
type: import("vue").PropType<string>;
|
|
204
|
+
} & {
|
|
205
|
+
default: string;
|
|
206
|
+
};
|
|
207
|
+
theme: {
|
|
208
|
+
type: import("vue").PropType<string>;
|
|
209
|
+
} & {
|
|
210
|
+
default: string;
|
|
211
|
+
};
|
|
212
|
+
loading: {
|
|
213
|
+
type: import("vue").PropType<boolean>;
|
|
214
|
+
};
|
|
215
|
+
placement: {
|
|
216
|
+
type: import("vue").PropType<import("floating-vue").Placement>;
|
|
217
|
+
} & {
|
|
218
|
+
default: string;
|
|
219
|
+
};
|
|
220
|
+
disabled: {
|
|
221
|
+
type: import("vue").PropType<boolean>;
|
|
222
|
+
} & {
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
225
|
+
selected: {
|
|
226
|
+
type: import("vue").PropType<unknown>;
|
|
227
|
+
} & {
|
|
228
|
+
default: any;
|
|
229
|
+
};
|
|
230
|
+
options: {
|
|
231
|
+
type: import("vue").PropType<unknown[]>;
|
|
232
|
+
required: true;
|
|
233
|
+
};
|
|
234
|
+
modelValue: {
|
|
235
|
+
type: import("vue").PropType<unknown>;
|
|
236
|
+
} & {
|
|
237
|
+
default: any;
|
|
238
|
+
};
|
|
239
|
+
placeholder: {
|
|
240
|
+
type: import("vue").PropType<string>;
|
|
241
|
+
} & {
|
|
242
|
+
default: string;
|
|
243
|
+
};
|
|
244
|
+
multi: {
|
|
245
|
+
type: import("vue").PropType<boolean>;
|
|
246
|
+
} & {
|
|
247
|
+
default: boolean;
|
|
248
|
+
};
|
|
249
|
+
searchPlaceholder: {
|
|
250
|
+
type: import("vue").PropType<string>;
|
|
251
|
+
} & {
|
|
252
|
+
default: string;
|
|
253
|
+
};
|
|
254
|
+
popperClass: {
|
|
255
|
+
type: import("vue").PropType<string>;
|
|
256
|
+
} & {
|
|
257
|
+
default: string;
|
|
258
|
+
};
|
|
259
|
+
mandatory: {
|
|
260
|
+
type: import("vue").PropType<boolean>;
|
|
261
|
+
} & {
|
|
262
|
+
default: boolean;
|
|
263
|
+
};
|
|
264
|
+
showButtonOnOpen: {
|
|
265
|
+
type: import("vue").PropType<boolean>;
|
|
266
|
+
} & {
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
inlineSearch: {
|
|
270
|
+
type: import("vue").PropType<boolean>;
|
|
271
|
+
} & {
|
|
272
|
+
default: boolean;
|
|
273
|
+
};
|
|
274
|
+
isOnTop: {
|
|
275
|
+
type: import("vue").PropType<boolean>;
|
|
276
|
+
} & {
|
|
277
|
+
default: boolean;
|
|
278
|
+
};
|
|
279
|
+
distance: {
|
|
280
|
+
type: import("vue").PropType<number>;
|
|
281
|
+
} & {
|
|
282
|
+
default: number;
|
|
283
|
+
};
|
|
284
|
+
skidding: {
|
|
285
|
+
type: import("vue").PropType<number>;
|
|
286
|
+
} & {
|
|
287
|
+
default: number;
|
|
288
|
+
};
|
|
289
|
+
noResultsText: {
|
|
290
|
+
type: import("vue").PropType<string>;
|
|
291
|
+
} & {
|
|
292
|
+
default: string;
|
|
293
|
+
};
|
|
294
|
+
autoFocus: {
|
|
295
|
+
type: import("vue").PropType<boolean>;
|
|
296
|
+
} & {
|
|
297
|
+
default: boolean;
|
|
298
|
+
};
|
|
299
|
+
defaultOpen: {
|
|
300
|
+
type: import("vue").PropType<boolean>;
|
|
301
|
+
} & {
|
|
302
|
+
default: boolean;
|
|
303
|
+
};
|
|
304
|
+
clearable: {
|
|
305
|
+
type: import("vue").PropType<boolean>;
|
|
306
|
+
} & {
|
|
307
|
+
default: boolean;
|
|
308
|
+
};
|
|
309
|
+
onSearch: {
|
|
310
|
+
type: import("vue").PropType<(option: any, term: string) => boolean>;
|
|
311
|
+
} & {
|
|
312
|
+
default: () => true;
|
|
313
|
+
};
|
|
314
|
+
helperText: {
|
|
315
|
+
type: import("vue").PropType<string>;
|
|
316
|
+
} & {
|
|
317
|
+
default: string;
|
|
318
|
+
};
|
|
319
|
+
container: {
|
|
320
|
+
type: import("vue").PropType<string>;
|
|
321
|
+
} & {
|
|
322
|
+
default: string;
|
|
323
|
+
};
|
|
324
|
+
flip: {
|
|
325
|
+
type: import("vue").PropType<boolean>;
|
|
326
|
+
} & {
|
|
327
|
+
default: boolean;
|
|
328
|
+
};
|
|
329
|
+
keepOpen: {
|
|
330
|
+
type: import("vue").PropType<boolean>;
|
|
331
|
+
} & {
|
|
332
|
+
default: boolean;
|
|
333
|
+
};
|
|
334
|
+
autoSize: {
|
|
335
|
+
type: import("vue").PropType<boolean>;
|
|
336
|
+
} & {
|
|
337
|
+
default: boolean;
|
|
338
|
+
};
|
|
339
|
+
disableKeyboardEvents: {
|
|
340
|
+
type: import("vue").PropType<boolean>;
|
|
341
|
+
} & {
|
|
342
|
+
default: boolean;
|
|
343
|
+
};
|
|
344
|
+
multiOptionsPlaceholderPrefix: {
|
|
345
|
+
type: import("vue").PropType<string>;
|
|
346
|
+
} & {
|
|
347
|
+
default: string;
|
|
348
|
+
};
|
|
349
|
+
multiOptionsPlaceholderSuffix: {
|
|
350
|
+
type: import("vue").PropType<string>;
|
|
351
|
+
} & {
|
|
352
|
+
default: string;
|
|
353
|
+
};
|
|
354
|
+
showSelectAll: {
|
|
355
|
+
type: import("vue").PropType<boolean>;
|
|
356
|
+
};
|
|
357
|
+
isOpen: {
|
|
358
|
+
type: import("vue").PropType<boolean>;
|
|
359
|
+
};
|
|
360
|
+
displayValue: {
|
|
361
|
+
type: import("vue").PropType<(option: unknown) => string>;
|
|
362
|
+
required: true;
|
|
363
|
+
};
|
|
364
|
+
}>> & {
|
|
365
|
+
"onUpdate:selected"?: (value: unknown) => any;
|
|
366
|
+
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
367
|
+
onClosed?: () => any;
|
|
368
|
+
onOpened?: () => any;
|
|
369
|
+
onApply?: (value: unknown) => any;
|
|
370
|
+
}, {
|
|
371
|
+
size: "sm" | "lg";
|
|
372
|
+
title: string;
|
|
373
|
+
error: string;
|
|
374
|
+
theme: string;
|
|
375
|
+
placement: import("floating-vue").Placement;
|
|
376
|
+
disabled: boolean;
|
|
377
|
+
selected: any;
|
|
378
|
+
modelValue: any;
|
|
379
|
+
placeholder: string;
|
|
380
|
+
multi: boolean;
|
|
381
|
+
searchPlaceholder: string;
|
|
382
|
+
popperClass: string;
|
|
383
|
+
mandatory: boolean;
|
|
384
|
+
showButtonOnOpen: boolean;
|
|
385
|
+
inlineSearch: boolean;
|
|
386
|
+
isOnTop: boolean;
|
|
387
|
+
distance: number;
|
|
388
|
+
skidding: number;
|
|
389
|
+
noResultsText: string;
|
|
390
|
+
autoFocus: boolean;
|
|
391
|
+
defaultOpen: boolean;
|
|
392
|
+
clearable: boolean;
|
|
393
|
+
onSearch: (option: any, term: string) => boolean;
|
|
394
|
+
helperText: string;
|
|
395
|
+
container: string;
|
|
396
|
+
flip: boolean;
|
|
397
|
+
keepOpen: boolean;
|
|
398
|
+
autoSize: boolean;
|
|
399
|
+
disableKeyboardEvents: boolean;
|
|
400
|
+
multiOptionsPlaceholderPrefix: string;
|
|
401
|
+
multiOptionsPlaceholderSuffix: string;
|
|
402
|
+
}> | import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>)[];
|
|
6
403
|
export { Dropdown, Option, Label, SearchInput, DropdownTypes };
|
|
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
63
63
|
isBordered: boolean;
|
|
64
64
|
iconWidth: number;
|
|
65
65
|
iconHeight: number;
|
|
66
|
-
}
|
|
66
|
+
}>;
|
|
67
67
|
export default _default;
|
|
68
68
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
69
69
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, normalizeProps, mergeProps,
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, normalizeProps, mergeProps, unref, createCommentVNode, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
2
2
|
import Button from '../button/Button.vue.js';
|
|
3
|
-
import '../button/IconButton.vue.js';
|
|
4
|
-
import '../button/ScrollButton.vue.js';
|
|
5
|
-
import EmptyStateIcon from './EmptyStateIcon.vue.js';
|
|
6
3
|
import Icon from '../icon/Icon.vue.js';
|
|
7
|
-
import '
|
|
4
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
8
5
|
import Text from '../typography/Text.vue.js';
|
|
9
|
-
/* empty css
|
|
10
|
-
|
|
6
|
+
/* empty css *//* empty css *//* empty css */import 'floating-vue';
|
|
7
|
+
/* empty css *//* empty css */import EmptyStateIcon from './EmptyStateIcon.vue.js';
|
|
8
|
+
/* empty css */
|
|
11
9
|
import "../../EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
12
10
|
const _hoisted_1 = { class: "empty-state-title-container" };
|
|
13
|
-
const _sfc_main = defineComponent({
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
12
|
__name: "EmptyState",
|
|
15
13
|
props: {
|
|
16
14
|
title: { default: void 0 },
|
|
@@ -36,57 +34,57 @@ const _sfc_main = defineComponent({
|
|
|
36
34
|
});
|
|
37
35
|
return (_ctx, _cache) => {
|
|
38
36
|
return openBlock(), createElementBlock("div", {
|
|
39
|
-
class: normalizeClass(["empty-state-container", { horizontal:
|
|
37
|
+
class: normalizeClass(["empty-state-container", { horizontal: __props.isHorizontal, bordered: __props.isBordered }])
|
|
40
38
|
}, [
|
|
41
39
|
createElementVNode("div", {
|
|
42
|
-
class: normalizeClass(`empty-state-icon-container empty-state-icon-container--${
|
|
40
|
+
class: normalizeClass(`empty-state-icon-container empty-state-icon-container--${__props.size}`)
|
|
43
41
|
}, [
|
|
44
|
-
|
|
45
|
-
!
|
|
46
|
-
|
|
42
|
+
__props.hasIcon ? renderSlot(_ctx.$slots, "icon", { key: 0 }, () => [
|
|
43
|
+
!__props.iconName ? (openBlock(), createBlock(EmptyStateIcon, normalizeProps(mergeProps({ key: 0 }, unref(iconProps))), null, 16)) : createCommentVNode("", true),
|
|
44
|
+
__props.iconName ? (openBlock(), createBlock(unref(Icon), {
|
|
47
45
|
key: 1,
|
|
48
|
-
name:
|
|
49
|
-
"font-size":
|
|
46
|
+
name: __props.iconName,
|
|
47
|
+
"font-size": __props.fontSize,
|
|
50
48
|
class: "empty-state-icon"
|
|
51
49
|
}, null, 8, ["name", "font-size"])) : createCommentVNode("", true)
|
|
52
50
|
], true) : createCommentVNode("", true)
|
|
53
51
|
], 2),
|
|
54
52
|
createElementVNode("div", _hoisted_1, [
|
|
55
53
|
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
56
|
-
|
|
54
|
+
__props.title ? (openBlock(), createBlock(unref(Text), {
|
|
57
55
|
key: 0,
|
|
58
56
|
size: "lg",
|
|
59
57
|
strong: "",
|
|
60
58
|
class: "empty-state-title"
|
|
61
59
|
}, {
|
|
62
60
|
default: withCtx(() => [
|
|
63
|
-
createTextVNode(toDisplayString(
|
|
61
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
64
62
|
]),
|
|
65
63
|
_: 1
|
|
66
64
|
})) : createCommentVNode("", true)
|
|
67
65
|
], true),
|
|
68
66
|
renderSlot(_ctx.$slots, "subtitle", {}, () => [
|
|
69
|
-
|
|
67
|
+
__props.subtitle ? (openBlock(), createBlock(unref(Text), {
|
|
70
68
|
key: 0,
|
|
71
69
|
size: "sm",
|
|
72
70
|
class: "empty-state-subtitle"
|
|
73
71
|
}, {
|
|
74
72
|
default: withCtx(() => [
|
|
75
|
-
createTextVNode(toDisplayString(
|
|
73
|
+
createTextVNode(toDisplayString(__props.subtitle), 1)
|
|
76
74
|
]),
|
|
77
75
|
_: 1
|
|
78
76
|
})) : createCommentVNode("", true)
|
|
79
77
|
], true)
|
|
80
78
|
]),
|
|
81
79
|
renderSlot(_ctx.$slots, "button", {}, () => [
|
|
82
|
-
|
|
80
|
+
__props.buttonText ? (openBlock(), createBlock(unref(Button), {
|
|
83
81
|
key: 0,
|
|
84
82
|
theme: "secondary",
|
|
85
83
|
class: "empty-state-button",
|
|
86
84
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click"))
|
|
87
85
|
}, {
|
|
88
86
|
default: withCtx(() => [
|
|
89
|
-
createTextVNode(toDisplayString(
|
|
87
|
+
createTextVNode(toDisplayString(__props.buttonText), 1)
|
|
90
88
|
]),
|
|
91
89
|
_: 1
|
|
92
90
|
})) : createCommentVNode("", true)
|
|
@@ -130,6 +130,6 @@ declare const EmptyStateTypes: () => import("vue").DefineComponent<{
|
|
|
130
130
|
isBordered: boolean;
|
|
131
131
|
iconWidth: number;
|
|
132
132
|
iconHeight: number;
|
|
133
|
-
}
|
|
133
|
+
}>[];
|
|
134
134
|
export { default as EmptyState } from './EmptyState.vue';
|
|
135
135
|
export { EmptyStateTypes };
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
6
6
|
selected?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
prefix?: string;
|
|
9
|
-
}>>>, {}
|
|
9
|
+
}>>>, {}>;
|
|
10
10
|
export default _default;
|
|
11
11
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
12
|
type __VLS_TypePropsToRuntimeProps<T> = {
|