@ironsource/shared-ui 1.4.2-test.7 → 1.4.2
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/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Button.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/Checkbox.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DateRange.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/DollarInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FilterDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FiltersPanel.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/Heading.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/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Menu.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/README.md +1 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/RadioGroup.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Switch.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Text.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Toggle.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 +6 -1
- package/components/appTrigger/AppTrigger.vue.js +49 -39
- package/components/appTrigger/index.d.ts +12 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +6 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +20 -19
- package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +6 -1
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +19 -13
- package/components/autocompleteDropdown/GroupOption.vue.d.ts +1 -1
- package/components/autocompleteDropdown/GroupOption.vue.js +3 -4
- package/components/autocompleteDropdown/index.d.ts +12 -1
- package/components/banner/Banner.vue.d.ts +10 -1
- package/components/banner/Banner.vue.js +24 -13
- package/components/banner/index.d.ts +10 -1
- package/components/button/Button.vue.d.ts +6 -1
- package/components/button/Button.vue.js +17 -15
- 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 +20 -9
- package/components/checkbox/Checkbox.vue.d.ts +6 -1
- package/components/checkbox/Checkbox.vue.js +33 -28
- package/components/checkbox/index.d.ts +12 -1
- package/components/chip/Chip.vue.d.ts +6 -1
- package/components/chip/Chip.vue.js +16 -11
- package/components/chip/index.d.ts +12 -1
- package/components/datePicker/DatePicker.vue.d.ts +6 -1
- package/components/datePicker/DatePicker.vue.js +22 -17
- package/components/datePicker/DatePickerMonth.vue.d.ts +6 -1
- package/components/datePicker/DatePickerMonth.vue.js +9 -7
- package/components/datePicker/index.d.ts +12 -1
- package/components/dateRange/CalendarMonth.vue.d.ts +6 -1
- package/components/dateRange/CalendarMonth.vue.js +58 -41
- package/components/dateRange/DateRange.vue.d.ts +6 -1
- package/components/dateRange/DateRange.vue.js +72 -61
- package/components/dateRange/DateRangePicker.vue.d.ts +6 -1
- package/components/dateRange/index.d.ts +12 -1
- package/components/dialog/Dialog.vue.d.ts +6 -1
- package/components/dialog/Dialog.vue.js +49 -34
- package/components/dialog/index.d.ts +12 -1
- package/components/dropdown/Dropdown.vue.d.ts +6 -1
- package/components/dropdown/Dropdown.vue.js +112 -88
- 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 +409 -1
- package/components/emptyState/EmptyState.vue.d.ts +1 -1
- package/components/emptyState/EmptyState.vue.js +19 -21
- package/components/emptyState/index.d.ts +4 -4
- package/components/filterDropdown/AddFilterButton.vue.d.ts +3 -1
- package/components/filterDropdown/AddFilterButton.vue.js +11 -9
- package/components/filterDropdown/FilterDropdown.vue.d.ts +6 -1
- package/components/filterDropdown/FilterDropdown.vue.js +21 -20
- package/components/filterDropdown/index.d.ts +19 -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 +6 -1
- package/components/filtersPanel/FiltersPanel.vue.js +15 -12
- 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 -5
- package/components/icon/icons/index.d.ts +0 -3
- package/components/icon/icons/index.vue.js +0 -3
- package/components/icon/index.d.ts +1 -4
- 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 +6 -14
- package/components/includeExclude/IncludeExclude.vue.js +123 -187
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +22 -24
- 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/includeExcludeMocks.d.ts +0 -12
- package/components/includeExclude/index.d.ts +28 -32
- package/components/includeExclude/index.vue.js +0 -3
- package/components/input/DollarInput.vue.d.ts +2 -2
- package/components/input/DollarInput.vue.js +3 -4
- package/components/input/Input.vue.d.ts +11 -1
- package/components/input/Input.vue.js +87 -64
- package/components/input/PasswordInput.vue.d.ts +2 -2
- package/components/input/PasswordInput.vue.js +3 -4
- package/components/input/PercentageInput.vue.d.ts +2 -2
- package/components/input/PercentageInput.vue.js +3 -4
- package/components/input/index.d.ts +36 -2
- package/components/menu/Menu.vue.d.ts +6 -1
- package/components/menu/Menu.vue.js +10 -8
- package/components/menu/index.d.ts +12 -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 +6 -1
- package/components/popover/Popover.vue.js +11 -9
- package/components/popover/index.d.ts +12 -1
- package/components/radioButton/RadioButton.vue.d.ts +6 -1
- package/components/radioButton/RadioButton.vue.js +24 -17
- package/components/radioButton/RadioGroup.vue.d.ts +6 -1
- package/components/radioButton/RadioGroup.vue.js +12 -8
- package/components/radioButton/index.d.ts +24 -2
- package/components/radioButton/useRadio.d.ts +1 -1
- package/components/search/Search.vue.d.ts +6 -1
- package/components/search/Search.vue.js +27 -21
- package/components/search/index.d.ts +12 -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 +6 -1
- package/components/switch/Switch.vue.js +24 -16
- package/components/switch/index.d.ts +12 -1
- package/components/table/Table.types.d.ts +0 -1
- package/components/table/Table.vue.d.ts +6 -11
- package/components/table/Table.vue.js +80 -79
- package/components/table/TableHeaderSorter.vue.d.ts +1 -1
- package/components/table/TableHeaderSorter.vue.js +4 -4
- package/components/table/index.d.ts +12 -23
- package/components/table-cells/Editable.vue.d.ts +1 -1
- package/components/table-cells/Editable.vue.js +4 -4
- package/components/table-cells/index.d.ts +1 -1
- package/components/tabs/Tabs.vue.d.ts +6 -1
- package/components/tabs/Tabs.vue.js +29 -25
- package/components/tabs/index.d.ts +12 -1
- package/components/textArea/TextArea.vue.d.ts +6 -1
- package/components/textArea/TextArea.vue.js +32 -26
- package/components/textArea/index.d.ts +12 -1
- package/components/toggle/Toggle.vue.d.ts +11 -1
- package/components/toggle/Toggle.vue.js +48 -32
- package/components/toggle/index.d.ts +23 -1
- package/components/tooltip/TextWithTitleContent.vue.d.ts +16 -3
- package/components/tooltip/TextWithTitleContent.vue.js +17 -13
- package/components/tooltip/Tooltip.vue.d.ts +6 -1
- package/components/tooltip/Tooltip.vue.js +18 -15
- package/components/tooltip/index.d.ts +12 -1
- package/components/tooltip/storybookComponents/CustomTooltip.vue.d.ts +1 -1
- package/components/typography/Heading.vue.d.ts +6 -1
- package/components/typography/Heading.vue.js +10 -7
- package/components/typography/Text.vue.d.ts +6 -1
- package/components/typography/Text.vue.js +10 -6
- package/components/typography/index.d.ts +24 -2
- package/consts/regex.d.ts +1 -0
- package/consts/regex.vue.js +3 -0
- package/consts/style.d.ts +1 -0
- package/consts/style.vue.js +3 -0
- package/index.vue.js +3 -4
- package/package.json +4 -5
- package/testids/index.d.ts +146 -0
- package/testids/index.vue.js +170 -0
- package/utils/style.d.ts +1 -0
- package/utils/style.vue.js +5 -0
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/components/icon/icons/TableEdit.vue.d.ts +0 -2
- package/components/icon/icons/TableEdit.vue.js +0 -24
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +0 -43
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +0 -123
- package/components/table/Pagination.vue.d.ts +0 -43
|
@@ -5,21 +5,23 @@ import Text from '../typography/Text.vue.js';
|
|
|
5
5
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
6
6
|
|
|
7
7
|
import "../../AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
|
-
const _sfc_main = defineComponent({
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "AddFilterButton",
|
|
10
10
|
props: {
|
|
11
11
|
selected: { type: Boolean },
|
|
12
12
|
disabled: { type: Boolean },
|
|
13
|
-
prefix:
|
|
13
|
+
prefix: null,
|
|
14
|
+
testId: null
|
|
14
15
|
},
|
|
15
16
|
setup(__props) {
|
|
16
17
|
return (_ctx, _cache) => {
|
|
17
18
|
return openBlock(), createBlock(Chip, {
|
|
18
19
|
clearable: "",
|
|
19
|
-
class: normalizeClass(["add-filter", { disabled:
|
|
20
|
-
selected:
|
|
21
|
-
disabled:
|
|
22
|
-
prefix:
|
|
20
|
+
class: normalizeClass(["add-filter", { disabled: __props.disabled }]),
|
|
21
|
+
selected: __props.selected,
|
|
22
|
+
disabled: __props.disabled,
|
|
23
|
+
prefix: __props.prefix,
|
|
24
|
+
"test-id": __props.testId
|
|
23
25
|
}, createSlots({
|
|
24
26
|
default: withCtx(() => [
|
|
25
27
|
createVNode(Text, {
|
|
@@ -34,7 +36,7 @@ const _sfc_main = defineComponent({
|
|
|
34
36
|
]),
|
|
35
37
|
_: 2
|
|
36
38
|
}, [
|
|
37
|
-
!
|
|
39
|
+
!__props.prefix ? {
|
|
38
40
|
name: "icon-start",
|
|
39
41
|
fn: withCtx(() => [
|
|
40
42
|
createVNode(Icon, {
|
|
@@ -44,10 +46,10 @@ const _sfc_main = defineComponent({
|
|
|
44
46
|
]),
|
|
45
47
|
key: "0"
|
|
46
48
|
} : void 0
|
|
47
|
-
]), 1032, ["class", "selected", "disabled", "prefix"]);
|
|
49
|
+
]), 1032, ["class", "selected", "disabled", "prefix", "test-id"]);
|
|
48
50
|
};
|
|
49
51
|
}
|
|
50
52
|
});
|
|
51
|
-
var AddFilterButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
53
|
+
var AddFilterButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-44051188"]]);
|
|
52
54
|
|
|
53
55
|
export { AddFilterButton as default };
|
|
@@ -6,9 +6,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
6
6
|
onSearch: (item: unknown) => boolean;
|
|
7
7
|
options: unknown[];
|
|
8
8
|
addNewFilter: (filter: Filter) => void;
|
|
9
|
+
testId?: string;
|
|
9
10
|
}>, {
|
|
10
11
|
text: string;
|
|
11
12
|
disabled: boolean;
|
|
13
|
+
testId: string;
|
|
12
14
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
15
|
displayValue: (item: unknown) => string;
|
|
14
16
|
text?: string;
|
|
@@ -16,13 +18,16 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
16
18
|
onSearch: (item: unknown) => boolean;
|
|
17
19
|
options: unknown[];
|
|
18
20
|
addNewFilter: (filter: Filter) => void;
|
|
21
|
+
testId?: string;
|
|
19
22
|
}>, {
|
|
20
23
|
text: string;
|
|
21
24
|
disabled: boolean;
|
|
25
|
+
testId: string;
|
|
22
26
|
}>>>, {
|
|
23
27
|
text: string;
|
|
28
|
+
testId: string;
|
|
24
29
|
disabled: boolean;
|
|
25
|
-
}
|
|
30
|
+
}>;
|
|
26
31
|
export default _default;
|
|
27
32
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
33
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,44 +1,45 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, withCtx, createVNode, createTextVNode, toDisplayString } from 'vue';
|
|
2
2
|
import Dropdown from '../dropdown/Dropdown.vue.js';
|
|
3
3
|
import Option from '../dropdown/Option.vue.js';
|
|
4
|
-
import '
|
|
5
|
-
import '
|
|
6
|
-
|
|
7
|
-
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
8
|
-
|
|
4
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
5
|
+
/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import AddFilterButton from './AddFilterButton.vue.js';
|
|
6
|
+
/* empty css */
|
|
9
7
|
import "../../FilterDropdown.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
10
|
-
const _sfc_main = defineComponent({
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
9
|
__name: "FilterDropdown",
|
|
12
10
|
props: {
|
|
13
|
-
displayValue:
|
|
11
|
+
displayValue: null,
|
|
14
12
|
text: { default: "Add Filter" },
|
|
15
13
|
disabled: { type: Boolean, default: false },
|
|
16
|
-
onSearch:
|
|
17
|
-
options:
|
|
18
|
-
addNewFilter:
|
|
14
|
+
onSearch: null,
|
|
15
|
+
options: null,
|
|
16
|
+
addNewFilter: null,
|
|
17
|
+
testId: { default: "" }
|
|
19
18
|
},
|
|
20
19
|
setup(__props) {
|
|
21
20
|
return (_ctx, _cache) => {
|
|
22
21
|
return openBlock(), createBlock(unref(Dropdown), {
|
|
23
|
-
"display-value":
|
|
24
|
-
disabled:
|
|
25
|
-
"on-search":
|
|
22
|
+
"display-value": __props.displayValue,
|
|
23
|
+
disabled: __props.disabled,
|
|
24
|
+
"on-search": __props.onSearch,
|
|
26
25
|
distance: 0,
|
|
27
26
|
skidding: 0,
|
|
28
27
|
"is-on-top": "",
|
|
29
|
-
options:
|
|
30
|
-
"
|
|
28
|
+
options: __props.options,
|
|
29
|
+
"test-id": __props.testId,
|
|
30
|
+
"onUpdate:selected": __props.addNewFilter
|
|
31
31
|
}, {
|
|
32
32
|
input: withCtx(() => [
|
|
33
33
|
createVNode(AddFilterButton, {
|
|
34
34
|
class: "add-filter-button",
|
|
35
|
-
disabled:
|
|
35
|
+
disabled: __props.disabled,
|
|
36
|
+
"test-id": __props.testId
|
|
36
37
|
}, {
|
|
37
38
|
default: withCtx(() => [
|
|
38
|
-
createTextVNode(toDisplayString(
|
|
39
|
+
createTextVNode(toDisplayString(__props.text), 1)
|
|
39
40
|
]),
|
|
40
41
|
_: 1
|
|
41
|
-
}, 8, ["disabled"])
|
|
42
|
+
}, 8, ["disabled", "test-id"])
|
|
42
43
|
]),
|
|
43
44
|
default: withCtx(({ option }) => [
|
|
44
45
|
createVNode(unref(Option), { option }, {
|
|
@@ -49,10 +50,10 @@ const _sfc_main = defineComponent({
|
|
|
49
50
|
}, 1032, ["option"])
|
|
50
51
|
]),
|
|
51
52
|
_: 1
|
|
52
|
-
}, 8, ["display-value", "disabled", "on-search", "options", "onUpdate:selected"]);
|
|
53
|
+
}, 8, ["display-value", "disabled", "on-search", "options", "test-id", "onUpdate:selected"]);
|
|
53
54
|
};
|
|
54
55
|
}
|
|
55
56
|
});
|
|
56
|
-
var FilterDropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
57
|
+
var FilterDropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-59e42a26"]]);
|
|
57
58
|
|
|
58
59
|
export { FilterDropdown as default };
|
|
@@ -9,6 +9,9 @@ declare const FilterDropdownTypes: () => (import("vue").DefineComponent<{
|
|
|
9
9
|
prefix: {
|
|
10
10
|
type: import("vue").PropType<string>;
|
|
11
11
|
};
|
|
12
|
+
testId: {
|
|
13
|
+
type: import("vue").PropType<string>;
|
|
14
|
+
};
|
|
12
15
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
16
|
selected: {
|
|
14
17
|
type: import("vue").PropType<boolean>;
|
|
@@ -19,12 +22,20 @@ declare const FilterDropdownTypes: () => (import("vue").DefineComponent<{
|
|
|
19
22
|
prefix: {
|
|
20
23
|
type: import("vue").PropType<string>;
|
|
21
24
|
};
|
|
22
|
-
|
|
25
|
+
testId: {
|
|
26
|
+
type: import("vue").PropType<string>;
|
|
27
|
+
};
|
|
28
|
+
}>>, {}> | import("vue").DefineComponent<{
|
|
23
29
|
text: {
|
|
24
30
|
type: import("vue").PropType<string>;
|
|
25
31
|
} & {
|
|
26
32
|
default: string;
|
|
27
33
|
};
|
|
34
|
+
testId: {
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
36
|
+
} & {
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
28
39
|
disabled: {
|
|
29
40
|
type: import("vue").PropType<boolean>;
|
|
30
41
|
} & {
|
|
@@ -52,6 +63,11 @@ declare const FilterDropdownTypes: () => (import("vue").DefineComponent<{
|
|
|
52
63
|
} & {
|
|
53
64
|
default: string;
|
|
54
65
|
};
|
|
66
|
+
testId: {
|
|
67
|
+
type: import("vue").PropType<string>;
|
|
68
|
+
} & {
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
55
71
|
disabled: {
|
|
56
72
|
type: import("vue").PropType<boolean>;
|
|
57
73
|
} & {
|
|
@@ -75,7 +91,8 @@ declare const FilterDropdownTypes: () => (import("vue").DefineComponent<{
|
|
|
75
91
|
};
|
|
76
92
|
}>>, {
|
|
77
93
|
text: string;
|
|
94
|
+
testId: string;
|
|
78
95
|
disabled: boolean;
|
|
79
|
-
}
|
|
96
|
+
}>)[];
|
|
80
97
|
export { default as FilterDropdown } from './FilterDropdown.vue';
|
|
81
98
|
export { FilterDropdownTypes, AddFilterButton };
|
|
@@ -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;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode } from 'vue';
|
|
2
|
-
import '../dropdown/Dropdown.vue.js';
|
|
3
|
-
import '../dropdown/Option.vue.js';
|
|
4
|
-
import '../dropdown/Label.vue.js';
|
|
5
|
-
import SearchInput from '../dropdown/SearchInput.vue.js';
|
|
6
2
|
import Icon from '../icon/Icon.vue.js';
|
|
7
|
-
/* empty css
|
|
8
|
-
|
|
3
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
|
+
/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import 'floating-vue';
|
|
5
|
+
/* empty css *//* empty css *//* empty css */import '@vue/shared';
|
|
6
|
+
/* empty css *//* empty css */import '@vueuse/core';
|
|
7
|
+
/* empty css *//* empty css *//* empty css */import SearchInput from '../dropdown/SearchInput.vue.js';
|
|
8
|
+
/* empty css */
|
|
9
9
|
import "../../FilterSearchInput.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
10
10
|
const _hoisted_1 = {
|
|
11
11
|
class: "search-container",
|
|
@@ -13,7 +13,7 @@ const _hoisted_1 = {
|
|
|
13
13
|
};
|
|
14
14
|
const _hoisted_2 = { class: "search" };
|
|
15
15
|
const _hoisted_3 = ["placeholder", "disabled", "onInput"];
|
|
16
|
-
const _sfc_main = defineComponent({
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
17
|
__name: "FilterSearchInput",
|
|
18
18
|
setup(__props) {
|
|
19
19
|
const element = ref(null);
|
|
@@ -4,18 +4,23 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
4
4
|
isOpen?: boolean;
|
|
5
5
|
selected: Record<string, Filter> | Record<string, Filter>[];
|
|
6
6
|
isMultiSelect?: boolean;
|
|
7
|
+
testId?: string;
|
|
7
8
|
}>, {
|
|
8
9
|
isOpen: boolean;
|
|
10
|
+
testId: string;
|
|
9
11
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
12
|
filters: Filter[];
|
|
11
13
|
isOpen?: boolean;
|
|
12
14
|
selected: Record<string, Filter> | Record<string, Filter>[];
|
|
13
15
|
isMultiSelect?: boolean;
|
|
16
|
+
testId?: string;
|
|
14
17
|
}>, {
|
|
15
18
|
isOpen: boolean;
|
|
19
|
+
testId: string;
|
|
16
20
|
}>>>, {
|
|
21
|
+
testId: string;
|
|
17
22
|
isOpen: boolean;
|
|
18
|
-
}
|
|
23
|
+
}>;
|
|
19
24
|
export default _default;
|
|
20
25
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
26
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock, Fragment, renderList, normalizeClass, renderSlot, normalizeProps, guardReactiveProps, createCommentVNode } from 'vue';
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, Fragment, renderList, unref, normalizeClass, renderSlot, normalizeProps, guardReactiveProps, createCommentVNode } from 'vue';
|
|
2
2
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
3
|
|
|
4
4
|
import "../../FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
5
5
|
const _hoisted_1 = { class: "filter-panel" };
|
|
6
|
-
const
|
|
6
|
+
const _hoisted_2 = ["data-testid"];
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
8
|
__name: "FiltersPanel",
|
|
8
9
|
props: {
|
|
9
|
-
filters:
|
|
10
|
+
filters: null,
|
|
10
11
|
isOpen: { type: Boolean, default: false },
|
|
11
|
-
selected:
|
|
12
|
-
isMultiSelect: { type: Boolean }
|
|
12
|
+
selected: null,
|
|
13
|
+
isMultiSelect: { type: Boolean },
|
|
14
|
+
testId: { default: "" }
|
|
13
15
|
},
|
|
14
16
|
setup(__props) {
|
|
15
17
|
const props = __props;
|
|
@@ -30,27 +32,28 @@ const _sfc_main = defineComponent({
|
|
|
30
32
|
);
|
|
31
33
|
return (_ctx, _cache) => {
|
|
32
34
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
33
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(sortedFilters
|
|
35
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(sortedFilters), (filter) => {
|
|
34
36
|
return openBlock(), createElementBlock("div", {
|
|
35
37
|
key: filter.id,
|
|
36
38
|
class: normalizeClass(["filter-button", {
|
|
37
39
|
[`always-first`]: !!filter.alwaysFirst,
|
|
38
40
|
hidden: filter.hidden,
|
|
39
|
-
selected: props.isMultiSelect ?
|
|
41
|
+
selected: props.isMultiSelect ? __props.selected[filter.id].length > 0 : !!__props.selected[filter.id],
|
|
40
42
|
exposed: !filter.hidden
|
|
41
|
-
}])
|
|
43
|
+
}]),
|
|
44
|
+
"data-testid": `${props.testId}-filter-${filter.id}`
|
|
42
45
|
}, [
|
|
43
46
|
renderSlot(_ctx.$slots, filter.id, normalizeProps(guardReactiveProps(filter)), void 0, true)
|
|
44
|
-
],
|
|
47
|
+
], 10, _hoisted_2);
|
|
45
48
|
}), 128)),
|
|
46
|
-
!
|
|
49
|
+
!__props.isOpen ? renderSlot(_ctx.$slots, "add", {
|
|
47
50
|
key: 0,
|
|
48
|
-
hiddenFilters: hiddenFilters
|
|
51
|
+
hiddenFilters: unref(hiddenFilters)
|
|
49
52
|
}, void 0, true) : createCommentVNode("", true)
|
|
50
53
|
]);
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
});
|
|
54
|
-
var FiltersPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
57
|
+
var FiltersPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7bb724f2"]]);
|
|
55
58
|
|
|
56
59
|
export { FiltersPanel as default };
|
|
@@ -2,7 +2,7 @@ import { default as FiltersPanel } from './FiltersPanel.vue';
|
|
|
2
2
|
import { default as FilterSearchInput } from './FilterSearchInput.vue';
|
|
3
3
|
import { useHiddenFilter } from './useHiddenFilter';
|
|
4
4
|
import { Filter } from './Filter';
|
|
5
|
-
declare const FilterPanelTypes: () => (import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}
|
|
5
|
+
declare const FilterPanelTypes: () => (import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}> | (({ filters }: {
|
|
6
6
|
filters: Filter[];
|
|
7
7
|
}) => {
|
|
8
8
|
onClear: (filter: any) => void;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
17
17
|
}, {
|
|
18
18
|
appendToBody: boolean;
|
|
19
19
|
count: number;
|
|
20
|
-
}
|
|
20
|
+
}>;
|
|
21
21
|
export default _default;
|
|
22
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
23
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -22,7 +22,7 @@ const _hoisted_4 = {
|
|
|
22
22
|
key: 2,
|
|
23
23
|
class: "actions"
|
|
24
24
|
};
|
|
25
|
-
const _sfc_main = defineComponent({
|
|
25
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
26
26
|
__name: "FloatingToolbar",
|
|
27
27
|
props: {
|
|
28
28
|
modelValue: { type: Boolean },
|
|
@@ -36,12 +36,12 @@ const _sfc_main = defineComponent({
|
|
|
36
36
|
return (_ctx, _cache) => {
|
|
37
37
|
return openBlock(), createBlock(Teleport, {
|
|
38
38
|
to: "body",
|
|
39
|
-
disabled: !
|
|
39
|
+
disabled: !__props.appendToBody
|
|
40
40
|
}, [
|
|
41
41
|
createVNode(Transition, { name: "floating-toolbar" }, {
|
|
42
42
|
default: withCtx(() => [
|
|
43
43
|
unref(data) ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
44
|
-
|
|
44
|
+
__props.count ? (openBlock(), createElementBlock("div", _hoisted_2, toDisplayString(__props.count), 1)) : createCommentVNode("", true),
|
|
45
45
|
_ctx.$slots.label ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
46
46
|
renderSlot(_ctx.$slots, "label", {}, void 0, true)
|
|
47
47
|
])) : createCommentVNode("", true),
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
14
14
|
}>>>, {
|
|
15
15
|
name: keyof typeof icons | string;
|
|
16
16
|
fontSize: string | 'sm' | 'md' | 'lg';
|
|
17
|
-
}
|
|
17
|
+
}>;
|
|
18
18
|
export default _default;
|
|
19
19
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
20
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useCssVars, useSlots, computed, defineAsyncComponent, openBlock, createElementBlock, normalizeClass,
|
|
1
|
+
import { defineComponent, useCssVars, useSlots, computed, defineAsyncComponent, openBlock, createElementBlock, normalizeClass, unref, createBlock, normalizeProps, mergeProps, createCommentVNode, renderSlot } from 'vue';
|
|
2
2
|
import { icons } from './icons/index.vue.js';
|
|
3
3
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
4
|
|
|
@@ -184,7 +184,6 @@ function __variableDynamicImportRuntime0__(path) {
|
|
|
184
184
|
case './icons/Success.vue': return import('./icons/Success.vue.js');
|
|
185
185
|
case './icons/SuccessFull.vue': return import('./icons/SuccessFull.vue.js');
|
|
186
186
|
case './icons/Switch.vue': return import('./icons/Switch.vue.js');
|
|
187
|
-
case './icons/TableEdit.vue': return import('./icons/TableEdit.vue.js');
|
|
188
187
|
case './icons/TabletLandscape.vue': return import('./icons/TabletLandscape.vue.js');
|
|
189
188
|
case './icons/TabletMac.vue': return import('./icons/TabletMac.vue.js');
|
|
190
189
|
case './icons/TabletPortrait.vue': return import('./icons/TabletPortrait.vue.js');
|
|
@@ -232,7 +231,7 @@ function __variableDynamicImportRuntime0__(path) {
|
|
|
232
231
|
})
|
|
233
232
|
}
|
|
234
233
|
}
|
|
235
|
-
const _sfc_main = defineComponent({
|
|
234
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
236
235
|
__name: "Icon",
|
|
237
236
|
props: {
|
|
238
237
|
name: { default: null },
|
|
@@ -241,7 +240,7 @@ const _sfc_main = defineComponent({
|
|
|
241
240
|
setup(__props) {
|
|
242
241
|
const props = __props;
|
|
243
242
|
useCssVars((_ctx) => ({
|
|
244
|
-
"de11e2fa":
|
|
243
|
+
"de11e2fa": __props.fontSize
|
|
245
244
|
}));
|
|
246
245
|
const slots = useSlots();
|
|
247
246
|
const iconData = computed(() => {
|
|
@@ -270,7 +269,7 @@ const _sfc_main = defineComponent({
|
|
|
270
269
|
});
|
|
271
270
|
return (_ctx, _cache) => {
|
|
272
271
|
return openBlock(), createElementBlock("div", {
|
|
273
|
-
class: normalizeClass(["icon", cls
|
|
272
|
+
class: normalizeClass(["icon", unref(cls)])
|
|
274
273
|
}, [
|
|
275
274
|
!_ctx.$slots.default ? (openBlock(), createBlock(unref(IconComponent), normalizeProps(mergeProps({ key: 0 }, _ctx.$attrs)), null, 16)) : createCommentVNode("", true),
|
|
276
275
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
@@ -534,9 +534,6 @@ declare const IconTypes: () => ({
|
|
|
534
534
|
switch: {
|
|
535
535
|
fileName: string;
|
|
536
536
|
};
|
|
537
|
-
'table-edit': {
|
|
538
|
-
fileName: string;
|
|
539
|
-
};
|
|
540
537
|
'tablet-landscape': {
|
|
541
538
|
fileName: string;
|
|
542
539
|
};
|
|
@@ -682,7 +679,7 @@ declare const IconTypes: () => ({
|
|
|
682
679
|
}>>, {
|
|
683
680
|
name: string;
|
|
684
681
|
fontSize: string;
|
|
685
|
-
}
|
|
682
|
+
}>)[];
|
|
686
683
|
export type IconName = keyof typeof icons;
|
|
687
684
|
export { default as Icon } from './Icon.vue';
|
|
688
685
|
export * from './icons';
|
|
@@ -2,7 +2,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
2
2
|
code: string;
|
|
3
3
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
code: string;
|
|
5
|
-
}>>>, {}
|
|
5
|
+
}>>>, {}>;
|
|
6
6
|
export default _default;
|
|
7
7
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
8
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -2,7 +2,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
2
2
|
name: string;
|
|
3
3
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
name: string;
|
|
5
|
-
}>>>, {}
|
|
5
|
+
}>>>, {}>;
|
|
6
6
|
export default _default;
|
|
7
7
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
8
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -2,7 +2,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
2
2
|
icons: Record<string, unknown>;
|
|
3
3
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
icons: Record<string, unknown>;
|
|
5
|
-
}>>>, {}
|
|
5
|
+
}>>>, {}>;
|
|
6
6
|
export default _default;
|
|
7
7
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
8
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -19,8 +19,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
19
19
|
skiddingOffset?: number;
|
|
20
20
|
hasSubtitle?: boolean;
|
|
21
21
|
keyField: string;
|
|
22
|
-
|
|
23
|
-
draggableArgs?: object;
|
|
22
|
+
testId?: string;
|
|
24
23
|
}>, {
|
|
25
24
|
titleText: string;
|
|
26
25
|
loading: boolean;
|
|
@@ -37,12 +36,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
37
36
|
distanceOffset: number;
|
|
38
37
|
skiddingOffset: number;
|
|
39
38
|
hasSubtitle: boolean;
|
|
40
|
-
|
|
41
|
-
draggableArgs: any;
|
|
39
|
+
testId: string;
|
|
42
40
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
41
|
"update:modelValue": (value: unknown) => void;
|
|
44
|
-
} & {
|
|
45
|
-
changeDragDrop: (value: unknown) => void;
|
|
46
42
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
47
43
|
titleText?: string;
|
|
48
44
|
loading?: boolean;
|
|
@@ -63,8 +59,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
63
59
|
skiddingOffset?: number;
|
|
64
60
|
hasSubtitle?: boolean;
|
|
65
61
|
keyField: string;
|
|
66
|
-
|
|
67
|
-
draggableArgs?: object;
|
|
62
|
+
testId?: string;
|
|
68
63
|
}>, {
|
|
69
64
|
titleText: string;
|
|
70
65
|
loading: boolean;
|
|
@@ -81,12 +76,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
81
76
|
distanceOffset: number;
|
|
82
77
|
skiddingOffset: number;
|
|
83
78
|
hasSubtitle: boolean;
|
|
84
|
-
|
|
85
|
-
draggableArgs: any;
|
|
79
|
+
testId: string;
|
|
86
80
|
}>>> & {
|
|
87
81
|
"onUpdate:modelValue"?: (value: unknown) => any;
|
|
88
|
-
onChangeDragDrop?: (value: unknown) => any;
|
|
89
82
|
}, {
|
|
83
|
+
testId: string;
|
|
90
84
|
loading: boolean;
|
|
91
85
|
placement: Placement;
|
|
92
86
|
disabled: boolean;
|
|
@@ -102,9 +96,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
102
96
|
alwayesOpen: boolean;
|
|
103
97
|
distanceOffset: number;
|
|
104
98
|
skiddingOffset: number;
|
|
105
|
-
|
|
106
|
-
draggableArgs: object;
|
|
107
|
-
}, {}>;
|
|
99
|
+
}>;
|
|
108
100
|
export default _default;
|
|
109
101
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
110
102
|
type __VLS_TypePropsToRuntimeProps<T> = {
|