@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
|
@@ -1,42 +1,38 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onMounted, onBeforeMount, onUnmounted, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot,
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, onBeforeMount, onUnmounted, watch, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, renderSlot, toDisplayString, setBlockTracking, withDirectives, Fragment, renderList, createVNode, withCtx, createTextVNode, createCommentVNode, vShow, normalizeStyle } from 'vue';
|
|
2
2
|
import { onClickOutside } from '@vueuse/core';
|
|
3
3
|
import { useToggle } from '../../composables/useToggle.vue.js';
|
|
4
4
|
import CalendarMonth from './CalendarMonth.vue.js';
|
|
5
5
|
import dateServices from './DateServices.vue.js';
|
|
6
6
|
import { typeToName, messagePerType, presetsList, formatError, mandatoryValuesError, navigatePrev, navigateNext } from './consts.vue.js';
|
|
7
7
|
import Button from '../button/Button.vue.js';
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
10
|
-
import '../typography/
|
|
11
|
-
|
|
12
|
-
import { min, addDays, format } from 'date-fns';
|
|
13
|
-
/* empty css */
|
|
14
|
-
|
|
8
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
9
|
+
import { DateRangeTestIdModifiers } from '../../testids/index.vue.js';
|
|
10
|
+
/* empty css */import Text from '../typography/Text.vue.js';
|
|
11
|
+
/* empty css *//* empty css *//* empty css */import 'floating-vue';
|
|
12
|
+
/* empty css *//* empty css */import { min, addDays, format } from 'date-fns';
|
|
13
|
+
/* empty css */
|
|
15
14
|
import "../../DateRange.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
16
|
-
const _hoisted_1 = ["id"];
|
|
17
|
-
const _hoisted_2 = ["
|
|
18
|
-
const _hoisted_3 =
|
|
15
|
+
const _hoisted_1 = ["id", "data-testid"];
|
|
16
|
+
const _hoisted_2 = ["data-testid"];
|
|
17
|
+
const _hoisted_3 = ["id", "data-testid"];
|
|
18
|
+
const _hoisted_4 = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "type-picker"
|
|
21
21
|
};
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
key: 0,
|
|
25
|
-
class: "date-picker-menu"
|
|
26
|
-
};
|
|
27
|
-
const _hoisted_6 = ["id"];
|
|
22
|
+
const _hoisted_5 = ["onClick"];
|
|
23
|
+
const _hoisted_6 = ["data-testid"];
|
|
28
24
|
const _hoisted_7 = ["id"];
|
|
29
|
-
const _hoisted_8 = ["
|
|
30
|
-
const _hoisted_9 =
|
|
31
|
-
const _hoisted_10 = { class: "
|
|
32
|
-
const _hoisted_11 =
|
|
33
|
-
const _hoisted_12 = { class: "
|
|
34
|
-
const _hoisted_13 = { class: "
|
|
35
|
-
const
|
|
36
|
-
const _sfc_main = defineComponent({
|
|
25
|
+
const _hoisted_8 = ["id"];
|
|
26
|
+
const _hoisted_9 = ["onClick"];
|
|
27
|
+
const _hoisted_10 = { class: "dropdown-rightTriangle" };
|
|
28
|
+
const _hoisted_11 = ["data-testid"];
|
|
29
|
+
const _hoisted_12 = { class: "date-picker-calendar left-box" };
|
|
30
|
+
const _hoisted_13 = { class: "buttons-cover" };
|
|
31
|
+
const _hoisted_14 = { class: "range" };
|
|
32
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
37
33
|
__name: "DateRange",
|
|
38
34
|
props: {
|
|
39
|
-
range:
|
|
35
|
+
range: null,
|
|
40
36
|
types: { default: () => ["date"] },
|
|
41
37
|
includeToday: { type: Boolean, default: true },
|
|
42
38
|
allowedDays: { default: null },
|
|
@@ -49,7 +45,8 @@ const _sfc_main = defineComponent({
|
|
|
49
45
|
initialType: { default: null },
|
|
50
46
|
openOnTop: { type: Boolean, default: false },
|
|
51
47
|
showPresets: { type: Boolean, default: true },
|
|
52
|
-
maxDate: { default: null }
|
|
48
|
+
maxDate: { default: null },
|
|
49
|
+
testId: { default: "" }
|
|
53
50
|
},
|
|
54
51
|
emits: [
|
|
55
52
|
"rangeTypeChanged",
|
|
@@ -64,6 +61,7 @@ const _sfc_main = defineComponent({
|
|
|
64
61
|
const datePicker = ref(null);
|
|
65
62
|
const selectionStart = ref({ started: false, date: null });
|
|
66
63
|
const initialized = ref(false);
|
|
64
|
+
const numberOfMonths = 2;
|
|
67
65
|
const textDates = ref({ from: null, to: null });
|
|
68
66
|
const currentMonths = ref({});
|
|
69
67
|
const displayedMonthsKeys = ref([]);
|
|
@@ -503,13 +501,15 @@ const _sfc_main = defineComponent({
|
|
|
503
501
|
});
|
|
504
502
|
return (_ctx, _cache) => {
|
|
505
503
|
return openBlock(), createElementBlock("div", {
|
|
506
|
-
id: datePickerId
|
|
504
|
+
id: unref(datePickerId),
|
|
507
505
|
ref_key: "datePicker",
|
|
508
506
|
ref: datePicker,
|
|
509
|
-
class: normalizeClass(["relative-wrap", { "date-range-disabled":
|
|
507
|
+
class: normalizeClass(["relative-wrap", { "date-range-disabled": __props.disabled }]),
|
|
508
|
+
"data-testid": `${__props.testId}-${unref(DateRangeTestIdModifiers).WRAPPER}`
|
|
510
509
|
}, [
|
|
511
510
|
createElementVNode("div", {
|
|
512
511
|
class: "date-range-field",
|
|
512
|
+
"data-testid": `${__props.testId}-${unref(DateRangeTestIdModifiers).TRIGGER}`,
|
|
513
513
|
onClick: _cache[1] || (_cache[1] = ($event) => toggle())
|
|
514
514
|
}, [
|
|
515
515
|
renderSlot(_ctx.$slots, "field", {
|
|
@@ -519,19 +519,20 @@ const _sfc_main = defineComponent({
|
|
|
519
519
|
createElementVNode("span", null, toDisplayString(currentDate.value), 1),
|
|
520
520
|
_cache[0] || (setBlockTracking(-1), _cache[0] = createElementVNode("div", { class: "small-triangle" }), setBlockTracking(1), _cache[0])
|
|
521
521
|
], true)
|
|
522
|
-
]),
|
|
522
|
+
], 8, _hoisted_2),
|
|
523
523
|
withDirectives(createElementVNode("div", {
|
|
524
|
-
id: "datepickerPopup" +
|
|
524
|
+
id: "datepickerPopup" + __props.uniqueId,
|
|
525
525
|
ref_key: "popup",
|
|
526
526
|
ref: popup,
|
|
527
527
|
class: normalizeClass(["pop-up", [
|
|
528
528
|
placement.value,
|
|
529
|
-
|
|
530
|
-
!
|
|
531
|
-
]])
|
|
529
|
+
__props.openOnTop ? "open-on-top" : "",
|
|
530
|
+
!__props.showPresets ? "hide-presets" : ""
|
|
531
|
+
]]),
|
|
532
|
+
"data-testid": `${__props.testId}-${unref(DateRangeTestIdModifiers).CONTAINER}`
|
|
532
533
|
}, [
|
|
533
|
-
|
|
534
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
534
|
+
__props.types.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
535
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.types, (type) => {
|
|
535
536
|
return openBlock(), createElementBlock("span", {
|
|
536
537
|
key: type,
|
|
537
538
|
class: normalizeClass(["range-type", { "selected-range-type": rangeType.value === type }]),
|
|
@@ -543,19 +544,23 @@ const _sfc_main = defineComponent({
|
|
|
543
544
|
]),
|
|
544
545
|
_: 2
|
|
545
546
|
}, 1024)
|
|
546
|
-
], 10,
|
|
547
|
+
], 10, _hoisted_5);
|
|
547
548
|
}), 128))
|
|
548
549
|
])) : createCommentVNode("", true),
|
|
549
550
|
createElementVNode("div", {
|
|
550
|
-
class: normalizeClass(["flex", { "pop-up-content":
|
|
551
|
+
class: normalizeClass(["flex", { "pop-up-content": __props.types.length > 1 }])
|
|
551
552
|
}, [
|
|
552
|
-
|
|
553
|
+
__props.showPresets ? (openBlock(), createElementBlock("div", {
|
|
554
|
+
key: 0,
|
|
555
|
+
class: "date-picker-menu",
|
|
556
|
+
"data-testid": `${__props.testId}-${unref(DateRangeTestIdModifiers).MENU}`
|
|
557
|
+
}, [
|
|
553
558
|
createElementVNode("div", {
|
|
554
|
-
id: "presets" +
|
|
559
|
+
id: "presets" + __props.uniqueId,
|
|
555
560
|
class: "preset-dropdown"
|
|
556
561
|
}, [
|
|
557
562
|
createElementVNode("ul", {
|
|
558
|
-
id: "customDropDownList" +
|
|
563
|
+
id: "customDropDownList" + __props.uniqueId
|
|
559
564
|
}, [
|
|
560
565
|
(openBlock(true), createElementBlock(Fragment, null, renderList(presets.value, (uic) => {
|
|
561
566
|
return openBlock(), createElementBlock("li", {
|
|
@@ -574,25 +579,28 @@ const _sfc_main = defineComponent({
|
|
|
574
579
|
]),
|
|
575
580
|
_: 2
|
|
576
581
|
}, 1024)
|
|
577
|
-
], 10,
|
|
578
|
-
withDirectives(createElementVNode("div",
|
|
582
|
+
], 10, _hoisted_9),
|
|
583
|
+
withDirectives(createElementVNode("div", _hoisted_10, null, 512), [
|
|
579
584
|
[vShow, uic.id === "custom"]
|
|
580
585
|
])
|
|
581
586
|
], 2);
|
|
582
587
|
}), 128))
|
|
583
|
-
], 8,
|
|
584
|
-
], 8,
|
|
585
|
-
createElementVNode("div",
|
|
586
|
-
|
|
588
|
+
], 8, _hoisted_8)
|
|
589
|
+
], 8, _hoisted_7),
|
|
590
|
+
createElementVNode("div", {
|
|
591
|
+
class: "type-message",
|
|
592
|
+
"data-testid": `${__props.testId}-${unref(DateRangeTestIdModifiers).MESSAGE}`
|
|
593
|
+
}, toDisplayString(unref(messagePerType)[rangeType.value]), 9, _hoisted_11)
|
|
594
|
+
], 8, _hoisted_6)) : createCommentVNode("", true),
|
|
587
595
|
createElementVNode("div", {
|
|
588
596
|
class: "calendar-wrap",
|
|
589
|
-
style: normalizeStyle({ height: isCompact
|
|
597
|
+
style: normalizeStyle({ height: unref(isCompact) ? "336px" : "372px" })
|
|
590
598
|
}, [
|
|
591
|
-
createElementVNode("div",
|
|
599
|
+
createElementVNode("div", _hoisted_12, [
|
|
592
600
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayedMonthsKeys.value, (currMonth, index) => {
|
|
593
601
|
return openBlock(), createElementBlock("div", { key: currMonth }, [
|
|
594
602
|
createVNode(CalendarMonth, {
|
|
595
|
-
id:
|
|
603
|
+
id: __props.uniqueId,
|
|
596
604
|
navigation: getNavigation(
|
|
597
605
|
index === 0,
|
|
598
606
|
index === displayedMonthsKeys.value.length - 1
|
|
@@ -603,15 +611,16 @@ const _sfc_main = defineComponent({
|
|
|
603
611
|
month: currentMonths.value[currMonth].parsedMonth.month,
|
|
604
612
|
range: selectedRange.value,
|
|
605
613
|
type: rangeType.value,
|
|
606
|
-
"allowed-days":
|
|
607
|
-
"max-allowed-date": getMaxAllowedDate
|
|
614
|
+
"allowed-days": __props.allowedDays,
|
|
615
|
+
"max-allowed-date": unref(getMaxAllowedDate),
|
|
616
|
+
"test-id": `${__props.testId}-${index}`,
|
|
608
617
|
onSelectionChanged: selectionChanged,
|
|
609
618
|
onNavigation: navigationCallback
|
|
610
|
-
}, null, 8, ["id", "navigation", "year", "days", "weeks", "month", "range", "type", "allowed-days", "max-allowed-date"])
|
|
619
|
+
}, null, 8, ["id", "navigation", "year", "days", "weeks", "month", "range", "type", "allowed-days", "max-allowed-date", "test-id"])
|
|
611
620
|
]);
|
|
612
621
|
}), 128)),
|
|
613
|
-
createElementVNode("div",
|
|
614
|
-
createElementVNode("div",
|
|
622
|
+
createElementVNode("div", _hoisted_13, [
|
|
623
|
+
createElementVNode("div", _hoisted_14, [
|
|
615
624
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
616
625
|
]),
|
|
617
626
|
withDirectives(createElementVNode("div", { class: "error" }, toDisplayString(error.value), 513), [
|
|
@@ -619,40 +628,42 @@ const _sfc_main = defineComponent({
|
|
|
619
628
|
]),
|
|
620
629
|
_cache[2] || (setBlockTracking(-1), _cache[2] = createElementVNode("div", { class: "buttons" }, [
|
|
621
630
|
createVNode(unref(Button), {
|
|
622
|
-
id: "button-ok" +
|
|
631
|
+
id: "button-ok" + __props.uniqueId,
|
|
623
632
|
size: "sm",
|
|
624
633
|
class: "primary button small",
|
|
634
|
+
"data-testid": `${__props.testId}-${unref(DateRangeTestIdModifiers).ACTION_APPLY}`,
|
|
625
635
|
onClick: ($event) => apply()
|
|
626
636
|
}, {
|
|
627
637
|
default: withCtx(() => [
|
|
628
638
|
createTextVNode(" Apply ")
|
|
629
639
|
]),
|
|
630
640
|
_: 1
|
|
631
|
-
}, 8, ["id", "onClick"]),
|
|
641
|
+
}, 8, ["id", "data-testid", "onClick"]),
|
|
632
642
|
createVNode(unref(Button), {
|
|
633
|
-
id: "button-cancel" +
|
|
643
|
+
id: "button-cancel" + __props.uniqueId,
|
|
634
644
|
size: "sm",
|
|
635
645
|
theme: "third",
|
|
636
646
|
class: "button small border third transparent",
|
|
647
|
+
"data-testid": `${__props.testId}-${unref(DateRangeTestIdModifiers).ACTION_CANCEL}`,
|
|
637
648
|
onClick: ($event) => toggle()
|
|
638
649
|
}, {
|
|
639
650
|
default: withCtx(() => [
|
|
640
651
|
createTextVNode(" Cancel ")
|
|
641
652
|
]),
|
|
642
653
|
_: 1
|
|
643
|
-
}, 8, ["id", "onClick"])
|
|
654
|
+
}, 8, ["id", "data-testid", "onClick"])
|
|
644
655
|
]), setBlockTracking(1), _cache[2])
|
|
645
656
|
])
|
|
646
657
|
])
|
|
647
658
|
], 4)
|
|
648
659
|
], 2)
|
|
649
|
-
], 10,
|
|
660
|
+
], 10, _hoisted_3), [
|
|
650
661
|
[vShow, unref(isOpen)]
|
|
651
662
|
])
|
|
652
663
|
], 10, _hoisted_1);
|
|
653
664
|
};
|
|
654
665
|
}
|
|
655
666
|
});
|
|
656
|
-
var DateRange = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
667
|
+
var DateRange = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b7430f6a"]]);
|
|
657
668
|
|
|
658
669
|
export { DateRange as default };
|
|
@@ -16,6 +16,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
initialType: null | 'date' | 'week' | 'month';
|
|
18
18
|
openOnTop: boolean;
|
|
19
|
+
testId?: string;
|
|
19
20
|
}>, {
|
|
20
21
|
isTitleStyle: boolean;
|
|
21
22
|
types: () => string[];
|
|
@@ -29,6 +30,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
29
30
|
disabled: boolean;
|
|
30
31
|
initialType: any;
|
|
31
32
|
openOnTop: boolean;
|
|
33
|
+
testId: string;
|
|
32
34
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("opened" | "dismissed" | "update:range")[], "opened" | "dismissed" | "update:range", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
33
35
|
range: {
|
|
34
36
|
from: Date;
|
|
@@ -46,6 +48,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
46
48
|
disabled?: boolean;
|
|
47
49
|
initialType: null | 'date' | 'week' | 'month';
|
|
48
50
|
openOnTop: boolean;
|
|
51
|
+
testId?: string;
|
|
49
52
|
}>, {
|
|
50
53
|
isTitleStyle: boolean;
|
|
51
54
|
types: () => string[];
|
|
@@ -59,11 +62,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
59
62
|
disabled: boolean;
|
|
60
63
|
initialType: any;
|
|
61
64
|
openOnTop: boolean;
|
|
65
|
+
testId: string;
|
|
62
66
|
}>>> & {
|
|
63
67
|
onOpened?: (...args: any[]) => any;
|
|
64
68
|
onDismissed?: (...args: any[]) => any;
|
|
65
69
|
"onUpdate:range"?: (...args: any[]) => any;
|
|
66
70
|
}, {
|
|
71
|
+
testId: string;
|
|
67
72
|
disabled: boolean;
|
|
68
73
|
allowedDays: number;
|
|
69
74
|
uniqueId: string | number;
|
|
@@ -76,7 +81,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
76
81
|
initialType: null | 'date' | 'week' | 'month';
|
|
77
82
|
openOnTop: boolean;
|
|
78
83
|
isTitleStyle: boolean;
|
|
79
|
-
}
|
|
84
|
+
}>;
|
|
80
85
|
export default _default;
|
|
81
86
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
82
87
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
declare const DateRangeTypes: () => import("vue").DefineComponent<{
|
|
2
|
+
testId: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
} & {
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
2
7
|
disabled: {
|
|
3
8
|
type: import("vue").PropType<boolean>;
|
|
4
9
|
} & {
|
|
@@ -75,6 +80,11 @@ declare const DateRangeTypes: () => import("vue").DefineComponent<{
|
|
|
75
80
|
default: any;
|
|
76
81
|
};
|
|
77
82
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("opened" | "rangeTypeChanged" | "currentDateChanged" | "rangeChanged" | "dateRangePresetNameChanged" | "dismissed")[], "opened" | "rangeTypeChanged" | "currentDateChanged" | "rangeChanged" | "dateRangePresetNameChanged" | "dismissed", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
|
+
testId: {
|
|
84
|
+
type: import("vue").PropType<string>;
|
|
85
|
+
} & {
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
78
88
|
disabled: {
|
|
79
89
|
type: import("vue").PropType<boolean>;
|
|
80
90
|
} & {
|
|
@@ -158,6 +168,7 @@ declare const DateRangeTypes: () => import("vue").DefineComponent<{
|
|
|
158
168
|
onDateRangePresetNameChanged?: (...args: any[]) => any;
|
|
159
169
|
onDismissed?: (...args: any[]) => any;
|
|
160
170
|
}, {
|
|
171
|
+
testId: string;
|
|
161
172
|
disabled: boolean;
|
|
162
173
|
allowedDays: number;
|
|
163
174
|
uniqueId: string | number;
|
|
@@ -171,6 +182,6 @@ declare const DateRangeTypes: () => import("vue").DefineComponent<{
|
|
|
171
182
|
openOnTop: boolean;
|
|
172
183
|
showPresets: boolean;
|
|
173
184
|
maxDate: Date;
|
|
174
|
-
}
|
|
185
|
+
}>[];
|
|
175
186
|
export { default as DateRange } from './DateRange.vue';
|
|
176
187
|
export { DateRangeTypes };
|
|
@@ -14,6 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
14
14
|
title?: string;
|
|
15
15
|
showCloseButton?: boolean;
|
|
16
16
|
themeClass?: string;
|
|
17
|
+
testId?: string;
|
|
17
18
|
}>, {
|
|
18
19
|
content: any;
|
|
19
20
|
width: string;
|
|
@@ -28,6 +29,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
28
29
|
escapeToClose: boolean;
|
|
29
30
|
beforeClose: any;
|
|
30
31
|
themeClass: string;
|
|
32
|
+
testId: string;
|
|
31
33
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
34
|
"update:modelValue": (value: boolean) => void;
|
|
33
35
|
} & {
|
|
@@ -49,6 +51,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
49
51
|
title?: string;
|
|
50
52
|
showCloseButton?: boolean;
|
|
51
53
|
themeClass?: string;
|
|
54
|
+
testId?: string;
|
|
52
55
|
}>, {
|
|
53
56
|
content: any;
|
|
54
57
|
width: string;
|
|
@@ -63,12 +66,14 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
63
66
|
escapeToClose: boolean;
|
|
64
67
|
beforeClose: any;
|
|
65
68
|
themeClass: string;
|
|
69
|
+
testId: string;
|
|
66
70
|
}>>> & {
|
|
67
71
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
68
72
|
onClose?: (reason: Reason) => any;
|
|
69
73
|
onOpen?: () => any;
|
|
70
74
|
}, {
|
|
71
75
|
title: string;
|
|
76
|
+
testId: string;
|
|
72
77
|
content: string;
|
|
73
78
|
width: string | number;
|
|
74
79
|
appendToBody: boolean;
|
|
@@ -81,7 +86,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
81
86
|
escapeToClose: boolean;
|
|
82
87
|
beforeClose: (show: () => void) => void;
|
|
83
88
|
themeClass: string;
|
|
84
|
-
}
|
|
89
|
+
}>;
|
|
85
90
|
export default _default;
|
|
86
91
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
87
92
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -6,20 +6,22 @@ import { NOOP } from '@vue/shared';
|
|
|
6
6
|
import { Reason } from './Reason.vue.js';
|
|
7
7
|
import IconButton from '../button/IconButton.vue.js';
|
|
8
8
|
import Icon from '../icon/Icon.vue.js';
|
|
9
|
+
import { DialogTestIdModifiers } from '../../testids/index.vue.js';
|
|
9
10
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
10
11
|
|
|
11
12
|
import "../../Dialog.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
12
|
-
const _hoisted_1 =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const
|
|
17
|
-
const
|
|
13
|
+
const _hoisted_1 = ["data-testid"];
|
|
14
|
+
const _hoisted_2 = ["data-testid"];
|
|
15
|
+
const _hoisted_3 = ["data-testid"];
|
|
16
|
+
const _hoisted_4 = ["data-testid"];
|
|
17
|
+
const _hoisted_5 = { class: "placeholder" };
|
|
18
|
+
const _hoisted_6 = {
|
|
18
19
|
key: 1,
|
|
19
20
|
class: "footer"
|
|
20
21
|
};
|
|
21
|
-
const
|
|
22
|
-
const
|
|
22
|
+
const _hoisted_7 = ["data-testid"];
|
|
23
|
+
const _hoisted_8 = ["data-testid"];
|
|
24
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
23
25
|
__name: "Dialog",
|
|
24
26
|
props: {
|
|
25
27
|
appendToBody: { type: Boolean, default: true },
|
|
@@ -35,13 +37,14 @@ const _sfc_main = defineComponent({
|
|
|
35
37
|
beforeClose: { type: Function, default: null },
|
|
36
38
|
title: { default: "" },
|
|
37
39
|
showCloseButton: { type: Boolean, default: true },
|
|
38
|
-
themeClass: { default: "" }
|
|
40
|
+
themeClass: { default: "" },
|
|
41
|
+
testId: { default: "" }
|
|
39
42
|
},
|
|
40
43
|
emits: ["update:modelValue", "open", "close"],
|
|
41
44
|
setup(__props, { emit }) {
|
|
42
45
|
const props = __props;
|
|
43
46
|
useCssVars((_ctx) => ({
|
|
44
|
-
"
|
|
47
|
+
"7d57480a": __props.width
|
|
45
48
|
}));
|
|
46
49
|
const visible = ref(false);
|
|
47
50
|
let openTimer = void 0;
|
|
@@ -106,38 +109,41 @@ const _sfc_main = defineComponent({
|
|
|
106
109
|
return (_ctx, _cache) => {
|
|
107
110
|
return openBlock(), createBlock(Teleport, {
|
|
108
111
|
to: "body",
|
|
109
|
-
disabled: !
|
|
112
|
+
disabled: !__props.appendToBody
|
|
110
113
|
}, [
|
|
111
114
|
createVNode(Transition, null, {
|
|
112
115
|
default: withCtx(() => [
|
|
113
116
|
visible.value ? (openBlock(), createBlock(unref(UseFocusTrap), {
|
|
114
117
|
key: 0,
|
|
115
|
-
class: normalizeClass(["container",
|
|
118
|
+
class: normalizeClass(["container", __props.themeClass])
|
|
116
119
|
}, {
|
|
117
120
|
default: withCtx(() => [
|
|
118
121
|
createElementVNode("div", {
|
|
119
122
|
class: "modal",
|
|
120
|
-
style: normalizeStyle(inlineStyle
|
|
121
|
-
|
|
123
|
+
style: normalizeStyle(unref(inlineStyle)),
|
|
124
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).WRAPPER}`,
|
|
125
|
+
onKeydown: _cache[1] || (_cache[1] = withKeys(($event) => __props.escapeToClose ? handleClose(unref(Reason).Escape) : unref(NOOP)(), ["esc"]))
|
|
122
126
|
}, [
|
|
123
127
|
createElementVNode("header", {
|
|
124
|
-
class: normalizeClass(["header", { "header--bordered":
|
|
128
|
+
class: normalizeClass(["header", { "header--bordered": __props.headerBorder }]),
|
|
129
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).HEADER}`
|
|
125
130
|
}, [
|
|
126
|
-
|
|
131
|
+
__props.headerBorder ? renderSlot(_ctx.$slots, "header", { key: 0 }, () => [
|
|
127
132
|
createVNode(Text, { strong: "" }, {
|
|
128
133
|
default: withCtx(() => [
|
|
129
|
-
createTextVNode(toDisplayString(
|
|
134
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
130
135
|
]),
|
|
131
136
|
_: 1
|
|
132
137
|
})
|
|
133
138
|
], true) : createCommentVNode("", true),
|
|
134
|
-
|
|
139
|
+
__props.showCloseButton ? (openBlock(), createBlock(IconButton, {
|
|
135
140
|
key: 1,
|
|
136
141
|
class: "button close-button",
|
|
137
142
|
size: "md",
|
|
138
143
|
theme: "secondary",
|
|
139
144
|
variant: "colorized",
|
|
140
145
|
"icon-name": "close",
|
|
146
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).ACTION_CLOSE}`,
|
|
141
147
|
onClick: _cache[0] || (_cache[0] = ($event) => handleClose(unref(Reason).CloseButton))
|
|
142
148
|
}, {
|
|
143
149
|
default: withCtx(() => [
|
|
@@ -147,36 +153,45 @@ const _sfc_main = defineComponent({
|
|
|
147
153
|
})
|
|
148
154
|
]),
|
|
149
155
|
_: 1
|
|
150
|
-
})) : createCommentVNode("", true)
|
|
151
|
-
],
|
|
152
|
-
!
|
|
156
|
+
}, 8, ["data-testid"])) : createCommentVNode("", true)
|
|
157
|
+
], 10, _hoisted_2),
|
|
158
|
+
!__props.headerBorder ? (openBlock(), createElementBlock("div", {
|
|
159
|
+
key: 0,
|
|
160
|
+
class: "header--secondary",
|
|
161
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).HEADER_SECONDARY}`
|
|
162
|
+
}, [
|
|
153
163
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
154
164
|
createVNode(Text, { strong: "" }, {
|
|
155
165
|
default: withCtx(() => [
|
|
156
|
-
createTextVNode(toDisplayString(
|
|
166
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
157
167
|
]),
|
|
158
168
|
_: 1
|
|
159
169
|
})
|
|
160
170
|
], true)
|
|
161
|
-
])) : createCommentVNode("", true),
|
|
171
|
+
], 8, _hoisted_3)) : createCommentVNode("", true),
|
|
162
172
|
createElementVNode("div", {
|
|
163
|
-
class: normalizeClass(["content", { "content--bordered":
|
|
173
|
+
class: normalizeClass(["content", { "content--bordered": __props.headerBorder }]),
|
|
174
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).CONTENT}`
|
|
164
175
|
}, [
|
|
165
176
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
166
|
-
createElementVNode("div",
|
|
177
|
+
createElementVNode("div", _hoisted_5, toDisplayString(__props.content), 1)
|
|
167
178
|
], true)
|
|
168
|
-
],
|
|
169
|
-
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("footer",
|
|
170
|
-
createElementVNode("div",
|
|
179
|
+
], 10, _hoisted_4),
|
|
180
|
+
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("footer", _hoisted_6, [
|
|
181
|
+
createElementVNode("div", {
|
|
182
|
+
class: "action-buttons",
|
|
183
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).ACTION_BUTTONS_WRAPPER}`
|
|
184
|
+
}, [
|
|
171
185
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
172
|
-
])
|
|
186
|
+
], 8, _hoisted_7)
|
|
173
187
|
])) : createCommentVNode("", true)
|
|
174
|
-
],
|
|
175
|
-
|
|
188
|
+
], 44, _hoisted_1),
|
|
189
|
+
__props.showBackdrop ? (openBlock(), createElementBlock("div", {
|
|
176
190
|
key: 0,
|
|
177
191
|
class: "backdrop",
|
|
178
|
-
|
|
179
|
-
|
|
192
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).BACKDROP}`,
|
|
193
|
+
onClick: _cache[2] || (_cache[2] = ($event) => __props.closeOnClickOutside ? handleClose(unref(Reason).Backdrop) : unref(NOOP)())
|
|
194
|
+
}, null, 8, _hoisted_8)) : createCommentVNode("", true)
|
|
180
195
|
]),
|
|
181
196
|
_: 3
|
|
182
197
|
}, 8, ["class"])) : createCommentVNode("", true)
|
|
@@ -187,6 +202,6 @@ const _sfc_main = defineComponent({
|
|
|
187
202
|
};
|
|
188
203
|
}
|
|
189
204
|
});
|
|
190
|
-
var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
205
|
+
var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-55aea585"]]);
|
|
191
206
|
|
|
192
207
|
export { Dialog as default };
|
|
@@ -4,6 +4,11 @@ declare const DialogTypes: () => import("vue").DefineComponent<{
|
|
|
4
4
|
} & {
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
+
testId: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
} & {
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
7
12
|
modelValue: {
|
|
8
13
|
type: import("vue").PropType<boolean>;
|
|
9
14
|
required: true;
|
|
@@ -80,6 +85,11 @@ declare const DialogTypes: () => import("vue").DefineComponent<{
|
|
|
80
85
|
} & {
|
|
81
86
|
default: string;
|
|
82
87
|
};
|
|
88
|
+
testId: {
|
|
89
|
+
type: import("vue").PropType<string>;
|
|
90
|
+
} & {
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
83
93
|
modelValue: {
|
|
84
94
|
type: import("vue").PropType<boolean>;
|
|
85
95
|
required: true;
|
|
@@ -150,6 +160,7 @@ declare const DialogTypes: () => import("vue").DefineComponent<{
|
|
|
150
160
|
onOpen?: () => any;
|
|
151
161
|
}, {
|
|
152
162
|
title: string;
|
|
163
|
+
testId: string;
|
|
153
164
|
content: string;
|
|
154
165
|
width: string | number;
|
|
155
166
|
appendToBody: boolean;
|
|
@@ -162,7 +173,7 @@ declare const DialogTypes: () => import("vue").DefineComponent<{
|
|
|
162
173
|
escapeToClose: boolean;
|
|
163
174
|
beforeClose: (show: () => void) => void;
|
|
164
175
|
themeClass: string;
|
|
165
|
-
}
|
|
176
|
+
}>[];
|
|
166
177
|
export { default as Dialog } from './Dialog.vue';
|
|
167
178
|
export { DialogTypes };
|
|
168
179
|
export * from './Reason';
|
|
@@ -36,6 +36,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
36
36
|
disableKeyboardEvents?: boolean;
|
|
37
37
|
multiOptionsPlaceholderPrefix?: string;
|
|
38
38
|
multiOptionsPlaceholderSuffix?: string;
|
|
39
|
+
testId?: string;
|
|
39
40
|
}>, {
|
|
40
41
|
multi: boolean;
|
|
41
42
|
searchPlaceholder: string;
|
|
@@ -69,6 +70,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
69
70
|
disableKeyboardEvents: boolean;
|
|
70
71
|
multiOptionsPlaceholderPrefix: string;
|
|
71
72
|
multiOptionsPlaceholderSuffix: string;
|
|
73
|
+
testId: string;
|
|
72
74
|
}>, {
|
|
73
75
|
selectItem: (option: any, index?: number) => void;
|
|
74
76
|
scrollTo: (index: number) => void;
|
|
@@ -119,6 +121,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
119
121
|
disableKeyboardEvents?: boolean;
|
|
120
122
|
multiOptionsPlaceholderPrefix?: string;
|
|
121
123
|
multiOptionsPlaceholderSuffix?: string;
|
|
124
|
+
testId?: string;
|
|
122
125
|
}>, {
|
|
123
126
|
multi: boolean;
|
|
124
127
|
searchPlaceholder: string;
|
|
@@ -152,6 +155,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
152
155
|
disableKeyboardEvents: boolean;
|
|
153
156
|
multiOptionsPlaceholderPrefix: string;
|
|
154
157
|
multiOptionsPlaceholderSuffix: string;
|
|
158
|
+
testId: string;
|
|
155
159
|
}>>> & {
|
|
156
160
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
157
161
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
@@ -162,6 +166,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
162
166
|
size: 'sm' | 'lg';
|
|
163
167
|
title: string;
|
|
164
168
|
error: string;
|
|
169
|
+
testId: string;
|
|
165
170
|
theme: string;
|
|
166
171
|
placement: Placement;
|
|
167
172
|
disabled: boolean;
|
|
@@ -190,7 +195,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
190
195
|
disableKeyboardEvents: boolean;
|
|
191
196
|
multiOptionsPlaceholderPrefix: string;
|
|
192
197
|
multiOptionsPlaceholderSuffix: string;
|
|
193
|
-
}
|
|
198
|
+
}>;
|
|
194
199
|
export default _default;
|
|
195
200
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
196
201
|
type __VLS_TypePropsToRuntimeProps<T> = {
|