@ironsource/shared-ui 1.4.2-test.13 → 1.4.2-test.14
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/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/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/README.md +0 -1
- package/Table.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 +25 -22
- package/components/appTrigger/index.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +1 -1
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +16 -14
- 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 +4 -3
- package/components/autocompleteDropdown/index.d.ts +1 -1
- package/components/banner/Banner.vue.d.ts +1 -1
- package/components/banner/Banner.vue.js +4 -4
- 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 +12 -11
- 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 +9 -8
- package/components/button/index.d.ts +3 -3
- package/components/checkbox/Checkbox.vue.d.ts +1 -1
- package/components/checkbox/Checkbox.vue.js +16 -15
- 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 -19
- package/components/dateRange/DateRange.vue.d.ts +1 -1
- package/components/dateRange/DateRange.vue.js +28 -26
- 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 +16 -16
- package/components/dialog/index.d.ts +1 -1
- package/components/dropdown/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/Dropdown.vue.js +60 -57
- package/components/dropdown/Label.vue.d.ts +1 -1
- package/components/dropdown/Label.vue.js +4 -3
- package/components/dropdown/Option.vue.d.ts +1 -1
- package/components/dropdown/Option.vue.js +17 -16
- package/components/dropdown/SearchInput.vue.d.ts +1 -1
- package/components/dropdown/SearchInput.vue.js +6 -6
- package/components/dropdown/index.d.ts +1 -398
- package/components/emptyState/EmptyState.vue.d.ts +1 -1
- package/components/emptyState/EmptyState.vue.js +21 -19
- 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 +17 -15
- 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 +53 -51
- package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +26 -25
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +22 -19
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +42 -40
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.js +22 -21
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +23 -19
- package/components/includeExclude/index.d.ts +5 -5
- package/components/input/DollarInput.vue.d.ts +1 -1
- package/components/input/DollarInput.vue.js +3 -2
- package/components/input/Input.vue.d.ts +1 -1
- package/components/input/Input.vue.js +33 -30
- package/components/input/PasswordInput.vue.d.ts +1 -1
- package/components/input/PasswordInput.vue.js +3 -2
- package/components/input/PercentageInput.vue.d.ts +1 -1
- package/components/input/PercentageInput.vue.js +3 -2
- 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 +4 -3
- 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 +4 -1
- package/components/table/Table.vue.js +38 -34
- package/components/table/TableHeaderSorter.vue.d.ts +1 -1
- package/components/table/TableHeaderSorter.vue.js +4 -4
- package/components/table/index.d.ts +4 -1
- 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 +1 -1
- package/components/tabs/Tabs.vue.js +16 -15
- package/components/tabs/index.d.ts +1 -1
- package/components/textArea/TextArea.vue.d.ts +1 -1
- package/components/textArea/TextArea.vue.js +13 -12
- package/components/textArea/index.d.ts +1 -1
- package/components/toggle/Toggle.vue.d.ts +1 -1
- package/components/toggle/Toggle.vue.js +17 -16
- package/components/toggle/index.d.ts +1 -1
- package/components/tooltip/TextWithTitleContent.vue.d.ts +1 -1
- package/components/tooltip/TextWithTitleContent.vue.js +8 -7
- package/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/Tooltip.vue.js +11 -10
- 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 +5 -3
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onMounted, onBeforeMount, onUnmounted, watch, openBlock, createElementBlock,
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, onBeforeMount, onUnmounted, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, unref, 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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
import '../button/IconButton.vue.js';
|
|
9
|
+
import '../button/ScrollButton.vue.js';
|
|
10
|
+
import '../typography/Heading.vue.js';
|
|
11
|
+
import Text from '../typography/Text.vue.js';
|
|
12
|
+
import { min, addDays, format } from 'date-fns';
|
|
13
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
14
|
+
|
|
13
15
|
import "../../DateRange.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
14
16
|
const _hoisted_1 = ["id"];
|
|
15
17
|
const _hoisted_2 = ["id"];
|
|
@@ -30,10 +32,11 @@ const _hoisted_10 = { class: "type-message" };
|
|
|
30
32
|
const _hoisted_11 = { class: "date-picker-calendar left-box" };
|
|
31
33
|
const _hoisted_12 = { class: "buttons-cover" };
|
|
32
34
|
const _hoisted_13 = { class: "range" };
|
|
33
|
-
const
|
|
35
|
+
const numberOfMonths = 2;
|
|
36
|
+
const _sfc_main = defineComponent({
|
|
34
37
|
__name: "DateRange",
|
|
35
38
|
props: {
|
|
36
|
-
range:
|
|
39
|
+
range: {},
|
|
37
40
|
types: { default: () => ["date"] },
|
|
38
41
|
includeToday: { type: Boolean, default: true },
|
|
39
42
|
allowedDays: { default: null },
|
|
@@ -61,7 +64,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
61
64
|
const datePicker = ref(null);
|
|
62
65
|
const selectionStart = ref({ started: false, date: null });
|
|
63
66
|
const initialized = ref(false);
|
|
64
|
-
const numberOfMonths = 2;
|
|
65
67
|
const textDates = ref({ from: null, to: null });
|
|
66
68
|
const currentMonths = ref({});
|
|
67
69
|
const displayedMonthsKeys = ref([]);
|
|
@@ -501,10 +503,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
501
503
|
});
|
|
502
504
|
return (_ctx, _cache) => {
|
|
503
505
|
return openBlock(), createElementBlock("div", {
|
|
504
|
-
id:
|
|
506
|
+
id: datePickerId.value,
|
|
505
507
|
ref_key: "datePicker",
|
|
506
508
|
ref: datePicker,
|
|
507
|
-
class: normalizeClass(["relative-wrap", { "date-range-disabled":
|
|
509
|
+
class: normalizeClass(["relative-wrap", { "date-range-disabled": _ctx.disabled }])
|
|
508
510
|
}, [
|
|
509
511
|
createElementVNode("div", {
|
|
510
512
|
class: "date-range-field",
|
|
@@ -519,17 +521,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
519
521
|
], true)
|
|
520
522
|
]),
|
|
521
523
|
withDirectives(createElementVNode("div", {
|
|
522
|
-
id: "datepickerPopup" +
|
|
524
|
+
id: "datepickerPopup" + _ctx.uniqueId,
|
|
523
525
|
ref_key: "popup",
|
|
524
526
|
ref: popup,
|
|
525
527
|
class: normalizeClass(["pop-up", [
|
|
526
528
|
placement.value,
|
|
527
|
-
|
|
528
|
-
!
|
|
529
|
+
_ctx.openOnTop ? "open-on-top" : "",
|
|
530
|
+
!_ctx.showPresets ? "hide-presets" : ""
|
|
529
531
|
]])
|
|
530
532
|
}, [
|
|
531
|
-
|
|
532
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
533
|
+
_ctx.types.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
534
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.types, (type) => {
|
|
533
535
|
return openBlock(), createElementBlock("span", {
|
|
534
536
|
key: type,
|
|
535
537
|
class: normalizeClass(["range-type", { "selected-range-type": rangeType.value === type }]),
|
|
@@ -545,15 +547,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
545
547
|
}), 128))
|
|
546
548
|
])) : createCommentVNode("", true),
|
|
547
549
|
createElementVNode("div", {
|
|
548
|
-
class: normalizeClass(["flex", { "pop-up-content":
|
|
550
|
+
class: normalizeClass(["flex", { "pop-up-content": _ctx.types.length > 1 }])
|
|
549
551
|
}, [
|
|
550
|
-
|
|
552
|
+
_ctx.showPresets ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
551
553
|
createElementVNode("div", {
|
|
552
|
-
id: "presets" +
|
|
554
|
+
id: "presets" + _ctx.uniqueId,
|
|
553
555
|
class: "preset-dropdown"
|
|
554
556
|
}, [
|
|
555
557
|
createElementVNode("ul", {
|
|
556
|
-
id: "customDropDownList" +
|
|
558
|
+
id: "customDropDownList" + _ctx.uniqueId
|
|
557
559
|
}, [
|
|
558
560
|
(openBlock(true), createElementBlock(Fragment, null, renderList(presets.value, (uic) => {
|
|
559
561
|
return openBlock(), createElementBlock("li", {
|
|
@@ -584,13 +586,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
584
586
|
])) : createCommentVNode("", true),
|
|
585
587
|
createElementVNode("div", {
|
|
586
588
|
class: "calendar-wrap",
|
|
587
|
-
style: normalizeStyle({ height:
|
|
589
|
+
style: normalizeStyle({ height: isCompact.value ? "336px" : "372px" })
|
|
588
590
|
}, [
|
|
589
591
|
createElementVNode("div", _hoisted_11, [
|
|
590
592
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayedMonthsKeys.value, (currMonth, index) => {
|
|
591
593
|
return openBlock(), createElementBlock("div", { key: currMonth }, [
|
|
592
594
|
createVNode(CalendarMonth, {
|
|
593
|
-
id:
|
|
595
|
+
id: _ctx.uniqueId,
|
|
594
596
|
navigation: getNavigation(
|
|
595
597
|
index === 0,
|
|
596
598
|
index === displayedMonthsKeys.value.length - 1
|
|
@@ -601,8 +603,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
601
603
|
month: currentMonths.value[currMonth].parsedMonth.month,
|
|
602
604
|
range: selectedRange.value,
|
|
603
605
|
type: rangeType.value,
|
|
604
|
-
"allowed-days":
|
|
605
|
-
"max-allowed-date":
|
|
606
|
+
"allowed-days": _ctx.allowedDays,
|
|
607
|
+
"max-allowed-date": getMaxAllowedDate.value,
|
|
606
608
|
onSelectionChanged: selectionChanged,
|
|
607
609
|
onNavigation: navigationCallback
|
|
608
610
|
}, null, 8, ["id", "navigation", "year", "days", "weeks", "month", "range", "type", "allowed-days", "max-allowed-date"])
|
|
@@ -617,7 +619,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
617
619
|
]),
|
|
618
620
|
_cache[2] || (setBlockTracking(-1), _cache[2] = createElementVNode("div", { class: "buttons" }, [
|
|
619
621
|
createVNode(unref(Button), {
|
|
620
|
-
id: "button-ok" +
|
|
622
|
+
id: "button-ok" + _ctx.uniqueId,
|
|
621
623
|
size: "sm",
|
|
622
624
|
class: "primary button small",
|
|
623
625
|
onClick: ($event) => apply()
|
|
@@ -628,7 +630,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
628
630
|
_: 1
|
|
629
631
|
}, 8, ["id", "onClick"]),
|
|
630
632
|
createVNode(unref(Button), {
|
|
631
|
-
id: "button-cancel" +
|
|
633
|
+
id: "button-cancel" + _ctx.uniqueId,
|
|
632
634
|
size: "sm",
|
|
633
635
|
theme: "third",
|
|
634
636
|
class: "button small border third transparent",
|
|
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
76
76
|
initialType: null | 'date' | 'week' | 'month';
|
|
77
77
|
openOnTop: boolean;
|
|
78
78
|
isTitleStyle: boolean;
|
|
79
|
-
}>;
|
|
79
|
+
}, {}>;
|
|
80
80
|
export default _default;
|
|
81
81
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
82
82
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
81
81
|
escapeToClose: boolean;
|
|
82
82
|
beforeClose: (show: () => void) => void;
|
|
83
83
|
themeClass: string;
|
|
84
|
-
}>;
|
|
84
|
+
}, {}>;
|
|
85
85
|
export default _default;
|
|
86
86
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
87
87
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -19,7 +19,7 @@ const _hoisted_3 = {
|
|
|
19
19
|
class: "footer"
|
|
20
20
|
};
|
|
21
21
|
const _hoisted_4 = { class: "action-buttons" };
|
|
22
|
-
const _sfc_main =
|
|
22
|
+
const _sfc_main = defineComponent({
|
|
23
23
|
__name: "Dialog",
|
|
24
24
|
props: {
|
|
25
25
|
appendToBody: { type: Boolean, default: true },
|
|
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
41
|
setup(__props, { emit }) {
|
|
42
42
|
const props = __props;
|
|
43
43
|
useCssVars((_ctx) => ({
|
|
44
|
-
"5551d163":
|
|
44
|
+
"5551d163": _ctx.width
|
|
45
45
|
}));
|
|
46
46
|
const visible = ref(false);
|
|
47
47
|
let openTimer = void 0;
|
|
@@ -106,32 +106,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
return (_ctx, _cache) => {
|
|
107
107
|
return openBlock(), createBlock(Teleport, {
|
|
108
108
|
to: "body",
|
|
109
|
-
disabled: !
|
|
109
|
+
disabled: !_ctx.appendToBody
|
|
110
110
|
}, [
|
|
111
111
|
createVNode(Transition, null, {
|
|
112
112
|
default: withCtx(() => [
|
|
113
113
|
visible.value ? (openBlock(), createBlock(unref(UseFocusTrap), {
|
|
114
114
|
key: 0,
|
|
115
|
-
class: normalizeClass(["container",
|
|
115
|
+
class: normalizeClass(["container", _ctx.themeClass])
|
|
116
116
|
}, {
|
|
117
117
|
default: withCtx(() => [
|
|
118
118
|
createElementVNode("div", {
|
|
119
119
|
class: "modal",
|
|
120
|
-
style: normalizeStyle(
|
|
121
|
-
onKeydown: _cache[1] || (_cache[1] = withKeys(($event) =>
|
|
120
|
+
style: normalizeStyle(inlineStyle.value),
|
|
121
|
+
onKeydown: _cache[1] || (_cache[1] = withKeys(($event) => _ctx.escapeToClose ? handleClose(unref(Reason).Escape) : unref(NOOP)(), ["esc"]))
|
|
122
122
|
}, [
|
|
123
123
|
createElementVNode("header", {
|
|
124
|
-
class: normalizeClass(["header", { "header--bordered":
|
|
124
|
+
class: normalizeClass(["header", { "header--bordered": _ctx.headerBorder }])
|
|
125
125
|
}, [
|
|
126
|
-
|
|
126
|
+
_ctx.headerBorder ? renderSlot(_ctx.$slots, "header", { key: 0 }, () => [
|
|
127
127
|
createVNode(Text, { strong: "" }, {
|
|
128
128
|
default: withCtx(() => [
|
|
129
|
-
createTextVNode(toDisplayString(
|
|
129
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
130
130
|
]),
|
|
131
131
|
_: 1
|
|
132
132
|
})
|
|
133
133
|
], true) : createCommentVNode("", true),
|
|
134
|
-
|
|
134
|
+
_ctx.showCloseButton ? (openBlock(), createBlock(IconButton, {
|
|
135
135
|
key: 1,
|
|
136
136
|
class: "button close-button",
|
|
137
137
|
size: "md",
|
|
@@ -149,21 +149,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
149
|
_: 1
|
|
150
150
|
})) : createCommentVNode("", true)
|
|
151
151
|
], 2),
|
|
152
|
-
!
|
|
152
|
+
!_ctx.headerBorder ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
153
153
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
154
154
|
createVNode(Text, { strong: "" }, {
|
|
155
155
|
default: withCtx(() => [
|
|
156
|
-
createTextVNode(toDisplayString(
|
|
156
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
157
157
|
]),
|
|
158
158
|
_: 1
|
|
159
159
|
})
|
|
160
160
|
], true)
|
|
161
161
|
])) : createCommentVNode("", true),
|
|
162
162
|
createElementVNode("div", {
|
|
163
|
-
class: normalizeClass(["content", { "content--bordered":
|
|
163
|
+
class: normalizeClass(["content", { "content--bordered": _ctx.headerBorder }])
|
|
164
164
|
}, [
|
|
165
165
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
166
|
-
createElementVNode("div", _hoisted_2, toDisplayString(
|
|
166
|
+
createElementVNode("div", _hoisted_2, toDisplayString(_ctx.content), 1)
|
|
167
167
|
], true)
|
|
168
168
|
], 2),
|
|
169
169
|
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("footer", _hoisted_3, [
|
|
@@ -172,10 +172,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
172
172
|
])
|
|
173
173
|
])) : createCommentVNode("", true)
|
|
174
174
|
], 36),
|
|
175
|
-
|
|
175
|
+
_ctx.showBackdrop ? (openBlock(), createElementBlock("div", {
|
|
176
176
|
key: 0,
|
|
177
177
|
class: "backdrop",
|
|
178
|
-
onClick: _cache[2] || (_cache[2] = ($event) =>
|
|
178
|
+
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.closeOnClickOutside ? handleClose(unref(Reason).Backdrop) : unref(NOOP)())
|
|
179
179
|
})) : createCommentVNode("", true)
|
|
180
180
|
]),
|
|
181
181
|
_: 3
|
|
@@ -162,7 +162,7 @@ declare const DialogTypes: () => import("vue").DefineComponent<{
|
|
|
162
162
|
escapeToClose: boolean;
|
|
163
163
|
beforeClose: (show: () => void) => void;
|
|
164
164
|
themeClass: string;
|
|
165
|
-
}>[];
|
|
165
|
+
}, {}>[];
|
|
166
166
|
export { default as Dialog } from './Dialog.vue';
|
|
167
167
|
export { DialogTypes };
|
|
168
168
|
export * from './Reason';
|
|
@@ -190,7 +190,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
190
190
|
disableKeyboardEvents: boolean;
|
|
191
191
|
multiOptionsPlaceholderPrefix: string;
|
|
192
192
|
multiOptionsPlaceholderSuffix: string;
|
|
193
|
-
}>;
|
|
193
|
+
}, {}>;
|
|
194
194
|
export default _default;
|
|
195
195
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
196
196
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, useSlots, nextTick, toRaw, provide, onMounted, openBlock, createElementBlock, normalizeClass, renderSlot, createVNode, unref, withCtx, Transition, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, createBlock, mergeProps, withModifiers, Fragment, renderList, pushScopeId, popScopeId } 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 Option from './Option.vue.js';
|
|
3
6
|
import Icon from '../icon/Icon.vue.js';
|
|
4
|
-
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
5
|
-
import Text from '../typography/Text.vue.js';
|
|
6
|
-
/* empty css *//* empty css *//* empty css */import { Dropdown as Dropdown$1 } from 'floating-vue';
|
|
7
|
-
/* empty css *//* empty css */import Option from './Option.vue.js';
|
|
8
7
|
import Search from '../search/Search.vue.js';
|
|
8
|
+
import '../typography/Heading.vue.js';
|
|
9
|
+
import Text from '../typography/Text.vue.js';
|
|
9
10
|
import { useToggle } from '../../composables/useToggle.vue.js';
|
|
10
11
|
import { isObjectInArray } from '../../utils/array.vue.js';
|
|
11
12
|
import { objectsEqual } from '../../utils/object.vue.js';
|
|
12
13
|
import { useClamp, useVirtualList, onClickOutside } from '@vueuse/core';
|
|
14
|
+
import { Dropdown as Dropdown$1 } from 'floating-vue';
|
|
13
15
|
import { Mode, Type, DropdownContext } from './DropdownContext.vue.js';
|
|
14
|
-
/* empty css *//* empty css */
|
|
16
|
+
/* empty css *//* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
17
|
+
|
|
15
18
|
import "../../Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css";import "../../Dropdown.vue_vue_type_style_index_1_lang.css";
|
|
16
19
|
const _withScopeId = (n) => (pushScopeId("data-v-49790baa"), n = n(), popScopeId(), n);
|
|
17
20
|
const _hoisted_1 = ["tabindex"];
|
|
@@ -67,7 +70,10 @@ const _hoisted_12 = {
|
|
|
67
70
|
key: 0,
|
|
68
71
|
class: "actions"
|
|
69
72
|
};
|
|
70
|
-
const
|
|
73
|
+
const MULTILINE_LIST_HEIGHT = 48;
|
|
74
|
+
const LIST_HEIGHT = 34;
|
|
75
|
+
const IS_ON_TOP_PADDING = 8;
|
|
76
|
+
const _sfc_main = defineComponent({
|
|
71
77
|
__name: "Dropdown",
|
|
72
78
|
props: {
|
|
73
79
|
modelValue: { default: null },
|
|
@@ -95,8 +101,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
101
|
clearable: { type: Boolean, default: false },
|
|
96
102
|
error: { default: "" },
|
|
97
103
|
size: { default: "lg" },
|
|
98
|
-
displayValue:
|
|
99
|
-
options:
|
|
104
|
+
displayValue: {},
|
|
105
|
+
options: {},
|
|
100
106
|
onSearch: { type: Function, default: () => true },
|
|
101
107
|
theme: { default: "is-dropdown" },
|
|
102
108
|
container: { default: "body" },
|
|
@@ -108,7 +114,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
108
114
|
multiOptionsPlaceholderSuffix: { default: "" }
|
|
109
115
|
},
|
|
110
116
|
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply"],
|
|
111
|
-
setup(__props, { expose, emit }) {
|
|
117
|
+
setup(__props, { expose: __expose, emit }) {
|
|
112
118
|
const props = __props;
|
|
113
119
|
const isSelected = (arr, element) => {
|
|
114
120
|
if (props.multi) {
|
|
@@ -116,8 +122,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
122
|
}
|
|
117
123
|
return toRaw(arr) === element;
|
|
118
124
|
};
|
|
119
|
-
const MULTILINE_LIST_HEIGHT = 48;
|
|
120
|
-
const LIST_HEIGHT = 34;
|
|
121
125
|
const selectedOptionRef = ref(props.selected);
|
|
122
126
|
const selectedOption = computed({
|
|
123
127
|
get() {
|
|
@@ -142,7 +146,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
142
146
|
const buttonRef = ref(null);
|
|
143
147
|
const apply = ref(null);
|
|
144
148
|
const cancel = ref(null);
|
|
145
|
-
const IS_ON_TOP_PADDING = 8;
|
|
146
149
|
const location = computed(() => {
|
|
147
150
|
return buttonRef.value?.getBoundingClientRect().height + IS_ON_TOP_PADDING + props.distance;
|
|
148
151
|
});
|
|
@@ -506,7 +509,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
506
509
|
}
|
|
507
510
|
}
|
|
508
511
|
};
|
|
509
|
-
|
|
512
|
+
__expose({
|
|
510
513
|
selectItem: onSelect,
|
|
511
514
|
scrollTo
|
|
512
515
|
});
|
|
@@ -514,26 +517,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
514
517
|
return openBlock(), createElementBlock("div", {
|
|
515
518
|
ref_key: "el",
|
|
516
519
|
ref: el,
|
|
517
|
-
class: normalizeClass(["dropdown", { "dropdown--disabled":
|
|
518
|
-
tabindex:
|
|
520
|
+
class: normalizeClass(["dropdown", { "dropdown--disabled": _ctx.disabled }]),
|
|
521
|
+
tabindex: _ctx.disabled ? -1 : 0,
|
|
519
522
|
onKeydown
|
|
520
523
|
}, [
|
|
521
524
|
renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
522
525
|
createVNode(unref(Dropdown$1), {
|
|
523
|
-
theme:
|
|
526
|
+
theme: _ctx.theme,
|
|
524
527
|
"popper-class": [
|
|
525
|
-
|
|
526
|
-
|
|
528
|
+
_ctx.popperClass,
|
|
529
|
+
_ctx.autoSize ? "v-popper--theme-is-dropdown--auto-size" : null
|
|
527
530
|
],
|
|
528
|
-
placement:
|
|
529
|
-
skidding:
|
|
530
|
-
distance:
|
|
531
|
-
flip:
|
|
531
|
+
placement: _ctx.placement,
|
|
532
|
+
skidding: _ctx.isOnTop ? 0 : _ctx.skidding,
|
|
533
|
+
distance: _ctx.isOnTop ? -location.value : _ctx.distance,
|
|
534
|
+
flip: _ctx.flip,
|
|
532
535
|
triggers: [],
|
|
533
536
|
shown: !!unref(open),
|
|
534
537
|
"auto-hide": false,
|
|
535
|
-
container:
|
|
536
|
-
"auto-size":
|
|
538
|
+
container: _ctx.container,
|
|
539
|
+
"auto-size": _ctx.autoSize
|
|
537
540
|
}, {
|
|
538
541
|
popper: withCtx(() => [
|
|
539
542
|
createVNode(Transition, null, {
|
|
@@ -542,20 +545,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
542
545
|
ref_key: "listRef",
|
|
543
546
|
ref: listRef
|
|
544
547
|
}, [
|
|
545
|
-
|
|
546
|
-
|
|
548
|
+
_ctx.inlineSearch || _ctx.title ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
549
|
+
_ctx.title ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
547
550
|
createVNode(unref(Text), { strong: "" }, {
|
|
548
551
|
default: withCtx(() => [
|
|
549
|
-
createTextVNode(toDisplayString(
|
|
552
|
+
createTextVNode(toDisplayString(_ctx.title), 1)
|
|
550
553
|
]),
|
|
551
554
|
_: 1
|
|
552
555
|
})
|
|
553
556
|
])) : createCommentVNode("", true),
|
|
554
|
-
|
|
557
|
+
_ctx.inlineSearch ? (openBlock(), createBlock(unref(Search), {
|
|
555
558
|
key: 1,
|
|
556
559
|
modelValue: query.value,
|
|
557
560
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => query.value = $event),
|
|
558
|
-
placeholder:
|
|
561
|
+
placeholder: _ctx.searchPlaceholder,
|
|
559
562
|
class: "dropdown-title__search",
|
|
560
563
|
variant: "transparent",
|
|
561
564
|
size: "md",
|
|
@@ -569,24 +572,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
569
572
|
}, [
|
|
570
573
|
renderSlot(_ctx.$slots, "input-list", { open: unref(open) }, void 0, true),
|
|
571
574
|
createElementVNode("div", mergeProps(unref(containerProps), {
|
|
572
|
-
class: ["list-container", { "list-container--multi":
|
|
575
|
+
class: ["list-container", { "list-container--multi": _ctx.multi }]
|
|
573
576
|
}), [
|
|
574
577
|
createElementVNode("ul", mergeProps(unref(wrapperProps), {
|
|
575
578
|
role: "listbox",
|
|
576
|
-
class: ["list", { "list--multi":
|
|
579
|
+
class: ["list", { "list--multi": _ctx.multi }]
|
|
577
580
|
}), [
|
|
578
|
-
!
|
|
581
|
+
!filteredOptions.value.length && !_ctx.loading ? (openBlock(), createElementBlock("li", _hoisted_7, [
|
|
579
582
|
createVNode(unref(Text), {
|
|
580
583
|
size: "sm",
|
|
581
584
|
class: "no-result"
|
|
582
585
|
}, {
|
|
583
586
|
default: withCtx(() => [
|
|
584
|
-
createTextVNode(toDisplayString(
|
|
587
|
+
createTextVNode(toDisplayString(_ctx.noResultsText), 1)
|
|
585
588
|
]),
|
|
586
589
|
_: 1
|
|
587
590
|
})
|
|
588
591
|
])) : createCommentVNode("", true),
|
|
589
|
-
|
|
592
|
+
_ctx.loading ? (openBlock(), createElementBlock("li", _hoisted_8, [
|
|
590
593
|
createVNode(unref(Icon), {
|
|
591
594
|
"font-size": "md",
|
|
592
595
|
class: "loader-icon"
|
|
@@ -603,12 +606,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
603
606
|
_: 1
|
|
604
607
|
})
|
|
605
608
|
])) : createCommentVNode("", true),
|
|
606
|
-
|
|
609
|
+
_ctx.showSelectAll ? (openBlock(), createElementBlock("li", _hoisted_10, [
|
|
607
610
|
createVNode(Option, {
|
|
608
|
-
"aria-selected":
|
|
609
|
-
"aria-disabled": !!
|
|
610
|
-
"selected-prop":
|
|
611
|
-
"is-indeterminate":
|
|
611
|
+
"aria-selected": allSelected.value,
|
|
612
|
+
"aria-disabled": !!_ctx.disabled,
|
|
613
|
+
"selected-prop": allSelected.value,
|
|
614
|
+
"is-indeterminate": isIndeterminate.value,
|
|
612
615
|
"select-all-option": "",
|
|
613
616
|
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => onSelectAll(), ["stop"]))
|
|
614
617
|
}, {
|
|
@@ -618,23 +621,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
618
621
|
_: 1
|
|
619
622
|
}, 8, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
|
|
620
623
|
])) : createCommentVNode("", true),
|
|
621
|
-
unref(virtualOptions).length && !
|
|
624
|
+
unref(virtualOptions).length && !_ctx.loading ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(unref(virtualOptions), ({ data, index }) => {
|
|
622
625
|
return openBlock(), createElementBlock("li", {
|
|
623
626
|
key: index,
|
|
624
|
-
"aria-selected": isSelected(toRaw(
|
|
625
|
-
"aria-disabled": !!
|
|
627
|
+
"aria-selected": isSelected(toRaw(selectedOption.value), data),
|
|
628
|
+
"aria-disabled": !!_ctx.disabled,
|
|
626
629
|
onClick: withModifiers(() => onSelect(data, index), ["stop"])
|
|
627
630
|
}, [
|
|
628
631
|
renderSlot(_ctx.$slots, "default", {
|
|
629
632
|
option: data,
|
|
630
|
-
selected: isSelected(toRaw(
|
|
633
|
+
selected: isSelected(toRaw(selectedOption.value), data),
|
|
631
634
|
active: toRaw(unref(activeIndex)) === index
|
|
632
635
|
}, void 0, true)
|
|
633
636
|
], 8, _hoisted_11);
|
|
634
637
|
}), 128)) : createCommentVNode("", true)
|
|
635
638
|
], 16)
|
|
636
639
|
], 16),
|
|
637
|
-
|
|
640
|
+
_ctx.multi ? (openBlock(), createElementBlock("div", _hoisted_12, [
|
|
638
641
|
createVNode(unref(Button), {
|
|
639
642
|
ref_key: "cancel",
|
|
640
643
|
ref: cancel,
|
|
@@ -672,8 +675,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
672
675
|
createElementVNode("div", {
|
|
673
676
|
class: normalizeClass(["button__container", {
|
|
674
677
|
"button__container--open": !!unref(open),
|
|
675
|
-
[`button__container--${
|
|
676
|
-
"button__container--disabled":
|
|
678
|
+
[`button__container--${_ctx.size}`]: true,
|
|
679
|
+
"button__container--disabled": _ctx.disabled
|
|
677
680
|
}])
|
|
678
681
|
}, [
|
|
679
682
|
_ctx.$slots.input ? (openBlock(), createElementBlock("div", {
|
|
@@ -685,23 +688,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
685
688
|
}, [
|
|
686
689
|
renderSlot(_ctx.$slots, "input", {
|
|
687
690
|
open: unref(open),
|
|
688
|
-
value:
|
|
689
|
-
disabled:
|
|
691
|
+
value: displayedValue.value,
|
|
692
|
+
disabled: _ctx.disabled
|
|
690
693
|
}, void 0, true)
|
|
691
694
|
], 544)) : createCommentVNode("", true),
|
|
692
695
|
!_ctx.$slots.input ? (openBlock(), createElementBlock("button", {
|
|
693
696
|
key: 1,
|
|
694
697
|
ref_key: "buttonRef",
|
|
695
698
|
ref: buttonRef,
|
|
696
|
-
disabled:
|
|
699
|
+
disabled: _ctx.disabled,
|
|
697
700
|
"aria-haspopup": true,
|
|
698
701
|
"aria-expanded": !!unref(open),
|
|
699
702
|
"aria-labelledby": labelRef.value?.id,
|
|
700
|
-
"aria-disabled":
|
|
703
|
+
"aria-disabled": _ctx.disabled,
|
|
701
704
|
class: normalizeClass([{
|
|
702
705
|
"button--open": !!unref(open),
|
|
703
|
-
[`button--${
|
|
704
|
-
"button--disabled":
|
|
706
|
+
[`button--${_ctx.size}`]: true,
|
|
707
|
+
"button--disabled": _ctx.disabled
|
|
705
708
|
}, "button"]),
|
|
706
709
|
onKeydown: onButtonKeydown,
|
|
707
710
|
onClick: _cache[1] || (_cache[1] = ($event) => toggleMenu())
|
|
@@ -714,7 +717,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
714
717
|
"is-truncated": ""
|
|
715
718
|
}, {
|
|
716
719
|
default: withCtx(() => [
|
|
717
|
-
createTextVNode(toDisplayString(
|
|
720
|
+
createTextVNode(toDisplayString(displayedValue.value), 1)
|
|
718
721
|
]),
|
|
719
722
|
_: 1
|
|
720
723
|
}),
|
|
@@ -729,23 +732,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
729
732
|
]),
|
|
730
733
|
_: 3
|
|
731
734
|
}, 8, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
|
|
732
|
-
!
|
|
735
|
+
!_ctx.error && _ctx.helperText ? (openBlock(), createBlock(unref(Text), {
|
|
733
736
|
key: 0,
|
|
734
737
|
size: "caption",
|
|
735
738
|
class: "helper-text"
|
|
736
739
|
}, {
|
|
737
740
|
default: withCtx(() => [
|
|
738
|
-
createTextVNode(toDisplayString(
|
|
741
|
+
createTextVNode(toDisplayString(_ctx.helperText), 1)
|
|
739
742
|
]),
|
|
740
743
|
_: 1
|
|
741
744
|
})) : createCommentVNode("", true),
|
|
742
|
-
|
|
745
|
+
_ctx.error ? (openBlock(), createBlock(unref(Text), {
|
|
743
746
|
key: 1,
|
|
744
747
|
size: "caption",
|
|
745
748
|
class: "helper-text helper-text--error"
|
|
746
749
|
}, {
|
|
747
750
|
default: withCtx(() => [
|
|
748
|
-
createTextVNode(toDisplayString(
|
|
751
|
+
createTextVNode(toDisplayString(_ctx.error), 1)
|
|
749
752
|
]),
|
|
750
753
|
_: 1
|
|
751
754
|
})) : createCommentVNode("", true)
|
|
@@ -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,12 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, unref, normalizeClass, createVNode, withCtx, renderSlot, createBlock, createTextVNode, createCommentVNode } from 'vue';
|
|
2
|
-
|
|
2
|
+
import '../typography/Heading.vue.js';
|
|
3
3
|
import Text from '../typography/Text.vue.js';
|
|
4
4
|
import { useDropdownContext } from './DropdownContext.vue.js';
|
|
5
5
|
import { useId } from '../../composables/useId.vue.js';
|
|
6
|
-
/* empty css */
|
|
6
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
7
|
+
|
|
7
8
|
import "../../Label.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
|
-
const _sfc_main =
|
|
9
|
+
const _sfc_main = defineComponent({
|
|
9
10
|
__name: "Label",
|
|
10
11
|
setup(__props) {
|
|
11
12
|
const id = `is-system-label-${useId().value}`;
|
|
@@ -35,7 +35,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
35
35
|
subtitle: string;
|
|
36
36
|
selectAllOption: boolean;
|
|
37
37
|
active: boolean;
|
|
38
|
-
}>;
|
|
38
|
+
}, {}>;
|
|
39
39
|
export default _default;
|
|
40
40
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
41
|
type __VLS_TypePropsToRuntimeProps<T> = {
|