@ironsource/shared-ui 1.4.2-test.14 → 1.4.2-test.15

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.
Files changed (160) hide show
  1. package/DollarInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  2. package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  3. package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  4. package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  5. package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
  6. package/components/appIcon/AppIcon.vue.d.ts +1 -1
  7. package/components/appIcon/AppIcon.vue.js +3 -3
  8. package/components/appIcon/index.d.ts +1 -1
  9. package/components/appTrigger/AppTrigger.vue.d.ts +1 -1
  10. package/components/appTrigger/AppTrigger.vue.js +22 -25
  11. package/components/appTrigger/index.d.ts +1 -1
  12. package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +1 -1
  13. package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +14 -16
  14. package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +1 -1
  15. package/components/autocompleteDropdown/AutocompleteInput.vue.js +7 -7
  16. package/components/autocompleteDropdown/GroupOption.vue.d.ts +1 -1
  17. package/components/autocompleteDropdown/GroupOption.vue.js +3 -4
  18. package/components/autocompleteDropdown/index.d.ts +1 -1
  19. package/components/banner/Banner.vue.d.ts +1 -1
  20. package/components/banner/Banner.vue.js +4 -4
  21. package/components/banner/index.d.ts +1 -1
  22. package/components/button/Button.vue.d.ts +1 -1
  23. package/components/button/Button.vue.js +12 -12
  24. package/components/button/ButtonBase.vue.d.ts +1 -1
  25. package/components/button/ButtonBase.vue.js +11 -12
  26. package/components/button/IconButton.vue.d.ts +1 -1
  27. package/components/button/IconButton.vue.js +5 -5
  28. package/components/button/ScrollButton.vue.d.ts +1 -1
  29. package/components/button/ScrollButton.vue.js +8 -9
  30. package/components/button/index.d.ts +3 -3
  31. package/components/checkbox/Checkbox.vue.d.ts +1 -1
  32. package/components/checkbox/Checkbox.vue.js +15 -16
  33. package/components/checkbox/index.d.ts +1 -1
  34. package/components/chip/Chip.vue.d.ts +1 -1
  35. package/components/chip/Chip.vue.js +5 -5
  36. package/components/chip/index.d.ts +1 -1
  37. package/components/datePicker/DatePicker.vue.d.ts +1 -1
  38. package/components/datePicker/DatePicker.vue.js +11 -11
  39. package/components/datePicker/DatePickerMonth.vue.d.ts +1 -1
  40. package/components/datePicker/DatePickerMonth.vue.js +4 -4
  41. package/components/datePicker/index.d.ts +1 -1
  42. package/components/dateRange/CalendarMonth.vue.d.ts +1 -1
  43. package/components/dateRange/CalendarMonth.vue.js +19 -20
  44. package/components/dateRange/DateRange.vue.d.ts +1 -1
  45. package/components/dateRange/DateRange.vue.js +26 -28
  46. package/components/dateRange/DateRangePicker.vue.d.ts +1 -1
  47. package/components/dateRange/index.d.ts +1 -1
  48. package/components/dialog/Dialog.vue.d.ts +1 -1
  49. package/components/dialog/Dialog.vue.js +16 -16
  50. package/components/dialog/index.d.ts +1 -1
  51. package/components/dropdown/Dropdown.vue.d.ts +1 -1
  52. package/components/dropdown/Dropdown.vue.js +57 -60
  53. package/components/dropdown/Label.vue.d.ts +1 -1
  54. package/components/dropdown/Label.vue.js +3 -4
  55. package/components/dropdown/Option.vue.d.ts +1 -1
  56. package/components/dropdown/Option.vue.js +16 -17
  57. package/components/dropdown/SearchInput.vue.d.ts +1 -1
  58. package/components/dropdown/SearchInput.vue.js +6 -6
  59. package/components/dropdown/index.d.ts +398 -1
  60. package/components/emptyState/EmptyState.vue.d.ts +1 -1
  61. package/components/emptyState/EmptyState.vue.js +19 -21
  62. package/components/emptyState/index.d.ts +1 -1
  63. package/components/filterDropdown/AddFilterButton.vue.d.ts +1 -1
  64. package/components/filterDropdown/AddFilterButton.vue.js +7 -7
  65. package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
  66. package/components/filterDropdown/FilterDropdown.vue.js +15 -17
  67. package/components/filterDropdown/index.d.ts +2 -2
  68. package/components/filtersPanel/FilterSearchInput.vue.d.ts +1 -1
  69. package/components/filtersPanel/FilterSearchInput.vue.js +7 -7
  70. package/components/filtersPanel/FiltersPanel.vue.d.ts +1 -1
  71. package/components/filtersPanel/FiltersPanel.vue.js +8 -8
  72. package/components/filtersPanel/index.d.ts +1 -1
  73. package/components/floatingToolbar/FloatingToolbar.vue.d.ts +1 -1
  74. package/components/floatingToolbar/FloatingToolbar.vue.js +3 -3
  75. package/components/floatingToolbar/index.d.ts +1 -1
  76. package/components/icon/Icon.vue.d.ts +1 -1
  77. package/components/icon/Icon.vue.js +4 -4
  78. package/components/icon/index.d.ts +1 -1
  79. package/components/icon/storyComponents/Code.vue.d.ts +1 -1
  80. package/components/icon/storyComponents/IconWrapper.vue.d.ts +1 -1
  81. package/components/icon/storyComponents/Page.vue.d.ts +1 -1
  82. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  83. package/components/includeExclude/IncludeExclude.vue.js +50 -52
  84. package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +1 -1
  85. package/components/includeExclude/IncludeExcludeAppHeader.vue.js +25 -26
  86. package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +1 -1
  87. package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +19 -22
  88. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
  89. package/components/includeExclude/IncludeExcludeChipFilter.vue.js +40 -42
  90. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
  91. package/components/includeExclude/IncludeExcludeOption.vue.js +21 -22
  92. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
  93. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +17 -18
  94. package/components/includeExclude/index.d.ts +5 -5
  95. package/components/input/DollarInput.vue.d.ts +2 -2
  96. package/components/input/DollarInput.vue.js +3 -4
  97. package/components/input/Input.vue.d.ts +1 -1
  98. package/components/input/Input.vue.js +30 -33
  99. package/components/input/PasswordInput.vue.d.ts +2 -2
  100. package/components/input/PasswordInput.vue.js +3 -4
  101. package/components/input/PercentageInput.vue.d.ts +2 -2
  102. package/components/input/PercentageInput.vue.js +3 -4
  103. package/components/input/index.d.ts +2 -2
  104. package/components/menu/Menu.vue.d.ts +1 -1
  105. package/components/menu/Menu.vue.js +4 -4
  106. package/components/menu/index.d.ts +1 -1
  107. package/components/menuItem/MenuItem.vue.d.ts +1 -1
  108. package/components/menuItem/MenuItem.vue.js +3 -4
  109. package/components/menuItem/index.d.ts +1 -1
  110. package/components/popover/Popover.vue.d.ts +1 -1
  111. package/components/popover/Popover.vue.js +7 -7
  112. package/components/popover/index.d.ts +1 -1
  113. package/components/radioButton/RadioButton.vue.d.ts +1 -1
  114. package/components/radioButton/RadioButton.vue.js +9 -9
  115. package/components/radioButton/RadioGroup.vue.d.ts +1 -1
  116. package/components/radioButton/RadioGroup.vue.js +3 -3
  117. package/components/radioButton/index.d.ts +2 -2
  118. package/components/radioButton/useRadio.d.ts +1 -1
  119. package/components/search/Search.vue.d.ts +1 -1
  120. package/components/search/Search.vue.js +15 -15
  121. package/components/search/index.d.ts +1 -1
  122. package/components/skeleton/Skeleton.vue.d.ts +1 -1
  123. package/components/skeleton/Skeleton.vue.js +2 -2
  124. package/components/skeleton/index.d.ts +1 -1
  125. package/components/snackbar/Snackbar.vue.d.ts +1 -1
  126. package/components/snackbar/Snackbar.vue.js +26 -26
  127. package/components/switch/Switch.vue.d.ts +1 -1
  128. package/components/switch/Switch.vue.js +9 -9
  129. package/components/switch/index.d.ts +1 -1
  130. package/components/table/Pagination.vue.d.ts +1 -1
  131. package/components/table/Table.vue.d.ts +1 -1
  132. package/components/table/Table.vue.js +37 -42
  133. package/components/table/TableHeaderSorter.vue.d.ts +1 -1
  134. package/components/table/TableHeaderSorter.vue.js +4 -4
  135. package/components/table/index.d.ts +1 -1
  136. package/components/table-cells/Editable.vue.d.ts +1 -1
  137. package/components/table-cells/Editable.vue.js +4 -4
  138. package/components/table-cells/index.d.ts +1 -1
  139. package/components/tabs/Tabs.vue.d.ts +1 -1
  140. package/components/tabs/Tabs.vue.js +15 -16
  141. package/components/tabs/index.d.ts +1 -1
  142. package/components/textArea/TextArea.vue.d.ts +1 -1
  143. package/components/textArea/TextArea.vue.js +12 -13
  144. package/components/textArea/index.d.ts +1 -1
  145. package/components/toggle/Toggle.vue.d.ts +1 -1
  146. package/components/toggle/Toggle.vue.js +16 -17
  147. package/components/toggle/index.d.ts +1 -1
  148. package/components/tooltip/TextWithTitleContent.vue.d.ts +1 -1
  149. package/components/tooltip/TextWithTitleContent.vue.js +7 -8
  150. package/components/tooltip/Tooltip.vue.d.ts +1 -1
  151. package/components/tooltip/Tooltip.vue.js +10 -11
  152. package/components/tooltip/index.d.ts +1 -1
  153. package/components/tooltip/storybookComponents/CustomTooltip.vue.d.ts +1 -1
  154. package/components/typography/Heading.vue.d.ts +1 -1
  155. package/components/typography/Heading.vue.js +4 -4
  156. package/components/typography/Text.vue.d.ts +1 -1
  157. package/components/typography/Text.vue.js +3 -3
  158. package/components/typography/index.d.ts +2 -2
  159. package/index.vue.js +3 -3
  160. package/package.json +3 -3
@@ -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> = {
@@ -171,6 +171,6 @@ declare const DateRangeTypes: () => import("vue").DefineComponent<{
171
171
  openOnTop: boolean;
172
172
  showPresets: boolean;
173
173
  maxDate: Date;
174
- }, {}>[];
174
+ }>[];
175
175
  export { default as DateRange } from './DateRange.vue';
176
176
  export { DateRangeTypes };
@@ -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 = defineComponent({
22
+ const _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  __name: "Dialog",
24
24
  props: {
25
25
  appendToBody: { type: Boolean, default: true },
@@ -41,7 +41,7 @@ const _sfc_main = defineComponent({
41
41
  setup(__props, { emit }) {
42
42
  const props = __props;
43
43
  useCssVars((_ctx) => ({
44
- "5551d163": _ctx.width
44
+ "5551d163": __props.width
45
45
  }));
46
46
  const visible = ref(false);
47
47
  let openTimer = void 0;
@@ -106,32 +106,32 @@ const _sfc_main = defineComponent({
106
106
  return (_ctx, _cache) => {
107
107
  return openBlock(), createBlock(Teleport, {
108
108
  to: "body",
109
- disabled: !_ctx.appendToBody
109
+ disabled: !__props.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", _ctx.themeClass])
115
+ class: normalizeClass(["container", __props.themeClass])
116
116
  }, {
117
117
  default: withCtx(() => [
118
118
  createElementVNode("div", {
119
119
  class: "modal",
120
- style: normalizeStyle(inlineStyle.value),
121
- onKeydown: _cache[1] || (_cache[1] = withKeys(($event) => _ctx.escapeToClose ? handleClose(unref(Reason).Escape) : unref(NOOP)(), ["esc"]))
120
+ style: normalizeStyle(unref(inlineStyle)),
121
+ onKeydown: _cache[1] || (_cache[1] = withKeys(($event) => __props.escapeToClose ? handleClose(unref(Reason).Escape) : unref(NOOP)(), ["esc"]))
122
122
  }, [
123
123
  createElementVNode("header", {
124
- class: normalizeClass(["header", { "header--bordered": _ctx.headerBorder }])
124
+ class: normalizeClass(["header", { "header--bordered": __props.headerBorder }])
125
125
  }, [
126
- _ctx.headerBorder ? renderSlot(_ctx.$slots, "header", { key: 0 }, () => [
126
+ __props.headerBorder ? renderSlot(_ctx.$slots, "header", { key: 0 }, () => [
127
127
  createVNode(Text, { strong: "" }, {
128
128
  default: withCtx(() => [
129
- createTextVNode(toDisplayString(_ctx.title), 1)
129
+ createTextVNode(toDisplayString(__props.title), 1)
130
130
  ]),
131
131
  _: 1
132
132
  })
133
133
  ], true) : createCommentVNode("", true),
134
- _ctx.showCloseButton ? (openBlock(), createBlock(IconButton, {
134
+ __props.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 = defineComponent({
149
149
  _: 1
150
150
  })) : createCommentVNode("", true)
151
151
  ], 2),
152
- !_ctx.headerBorder ? (openBlock(), createElementBlock("div", _hoisted_1, [
152
+ !__props.headerBorder ? (openBlock(), createElementBlock("div", _hoisted_1, [
153
153
  renderSlot(_ctx.$slots, "header", {}, () => [
154
154
  createVNode(Text, { strong: "" }, {
155
155
  default: withCtx(() => [
156
- createTextVNode(toDisplayString(_ctx.title), 1)
156
+ createTextVNode(toDisplayString(__props.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": _ctx.headerBorder }])
163
+ class: normalizeClass(["content", { "content--bordered": __props.headerBorder }])
164
164
  }, [
165
165
  renderSlot(_ctx.$slots, "default", {}, () => [
166
- createElementVNode("div", _hoisted_2, toDisplayString(_ctx.content), 1)
166
+ createElementVNode("div", _hoisted_2, toDisplayString(__props.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 = defineComponent({
172
172
  ])
173
173
  ])) : createCommentVNode("", true)
174
174
  ], 36),
175
- _ctx.showBackdrop ? (openBlock(), createElementBlock("div", {
175
+ __props.showBackdrop ? (openBlock(), createElementBlock("div", {
176
176
  key: 0,
177
177
  class: "backdrop",
178
- onClick: _cache[2] || (_cache[2] = ($event) => _ctx.closeOnClickOutside ? handleClose(unref(Reason).Backdrop) : unref(NOOP)())
178
+ onClick: _cache[2] || (_cache[2] = ($event) => __props.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,20 +1,17 @@
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';
6
3
  import Icon from '../icon/Icon.vue.js';
7
- import Search from '../search/Search.vue.js';
8
- import '../typography/Heading.vue.js';
4
+ /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
9
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
+ import Search from '../search/Search.vue.js';
10
9
  import { useToggle } from '../../composables/useToggle.vue.js';
11
10
  import { isObjectInArray } from '../../utils/array.vue.js';
12
11
  import { objectsEqual } from '../../utils/object.vue.js';
13
12
  import { useClamp, useVirtualList, onClickOutside } from '@vueuse/core';
14
- import { Dropdown as Dropdown$1 } from 'floating-vue';
15
13
  import { Mode, Type, DropdownContext } from './DropdownContext.vue.js';
16
- /* empty css *//* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
17
-
14
+ /* empty css *//* empty css */
18
15
  import "../../Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css";import "../../Dropdown.vue_vue_type_style_index_1_lang.css";
19
16
  const _withScopeId = (n) => (pushScopeId("data-v-49790baa"), n = n(), popScopeId(), n);
20
17
  const _hoisted_1 = ["tabindex"];
@@ -70,10 +67,7 @@ const _hoisted_12 = {
70
67
  key: 0,
71
68
  class: "actions"
72
69
  };
73
- const MULTILINE_LIST_HEIGHT = 48;
74
- const LIST_HEIGHT = 34;
75
- const IS_ON_TOP_PADDING = 8;
76
- const _sfc_main = defineComponent({
70
+ const _sfc_main = /* @__PURE__ */ defineComponent({
77
71
  __name: "Dropdown",
78
72
  props: {
79
73
  modelValue: { default: null },
@@ -101,8 +95,8 @@ const _sfc_main = defineComponent({
101
95
  clearable: { type: Boolean, default: false },
102
96
  error: { default: "" },
103
97
  size: { default: "lg" },
104
- displayValue: {},
105
- options: {},
98
+ displayValue: null,
99
+ options: null,
106
100
  onSearch: { type: Function, default: () => true },
107
101
  theme: { default: "is-dropdown" },
108
102
  container: { default: "body" },
@@ -114,7 +108,7 @@ const _sfc_main = defineComponent({
114
108
  multiOptionsPlaceholderSuffix: { default: "" }
115
109
  },
116
110
  emits: ["update:selected", "update:isOpen", "closed", "opened", "apply"],
117
- setup(__props, { expose: __expose, emit }) {
111
+ setup(__props, { expose, emit }) {
118
112
  const props = __props;
119
113
  const isSelected = (arr, element) => {
120
114
  if (props.multi) {
@@ -122,6 +116,8 @@ const _sfc_main = defineComponent({
122
116
  }
123
117
  return toRaw(arr) === element;
124
118
  };
119
+ const MULTILINE_LIST_HEIGHT = 48;
120
+ const LIST_HEIGHT = 34;
125
121
  const selectedOptionRef = ref(props.selected);
126
122
  const selectedOption = computed({
127
123
  get() {
@@ -146,6 +142,7 @@ const _sfc_main = defineComponent({
146
142
  const buttonRef = ref(null);
147
143
  const apply = ref(null);
148
144
  const cancel = ref(null);
145
+ const IS_ON_TOP_PADDING = 8;
149
146
  const location = computed(() => {
150
147
  return buttonRef.value?.getBoundingClientRect().height + IS_ON_TOP_PADDING + props.distance;
151
148
  });
@@ -509,7 +506,7 @@ const _sfc_main = defineComponent({
509
506
  }
510
507
  }
511
508
  };
512
- __expose({
509
+ expose({
513
510
  selectItem: onSelect,
514
511
  scrollTo
515
512
  });
@@ -517,26 +514,26 @@ const _sfc_main = defineComponent({
517
514
  return openBlock(), createElementBlock("div", {
518
515
  ref_key: "el",
519
516
  ref: el,
520
- class: normalizeClass(["dropdown", { "dropdown--disabled": _ctx.disabled }]),
521
- tabindex: _ctx.disabled ? -1 : 0,
517
+ class: normalizeClass(["dropdown", { "dropdown--disabled": __props.disabled }]),
518
+ tabindex: __props.disabled ? -1 : 0,
522
519
  onKeydown
523
520
  }, [
524
521
  renderSlot(_ctx.$slots, "label", {}, void 0, true),
525
522
  createVNode(unref(Dropdown$1), {
526
- theme: _ctx.theme,
523
+ theme: __props.theme,
527
524
  "popper-class": [
528
- _ctx.popperClass,
529
- _ctx.autoSize ? "v-popper--theme-is-dropdown--auto-size" : null
525
+ __props.popperClass,
526
+ __props.autoSize ? "v-popper--theme-is-dropdown--auto-size" : null
530
527
  ],
531
- placement: _ctx.placement,
532
- skidding: _ctx.isOnTop ? 0 : _ctx.skidding,
533
- distance: _ctx.isOnTop ? -location.value : _ctx.distance,
534
- flip: _ctx.flip,
528
+ placement: __props.placement,
529
+ skidding: __props.isOnTop ? 0 : __props.skidding,
530
+ distance: __props.isOnTop ? -unref(location) : __props.distance,
531
+ flip: __props.flip,
535
532
  triggers: [],
536
533
  shown: !!unref(open),
537
534
  "auto-hide": false,
538
- container: _ctx.container,
539
- "auto-size": _ctx.autoSize
535
+ container: __props.container,
536
+ "auto-size": __props.autoSize
540
537
  }, {
541
538
  popper: withCtx(() => [
542
539
  createVNode(Transition, null, {
@@ -545,20 +542,20 @@ const _sfc_main = defineComponent({
545
542
  ref_key: "listRef",
546
543
  ref: listRef
547
544
  }, [
548
- _ctx.inlineSearch || _ctx.title ? (openBlock(), createElementBlock("div", _hoisted_5, [
549
- _ctx.title ? (openBlock(), createElementBlock("div", _hoisted_6, [
545
+ __props.inlineSearch || __props.title ? (openBlock(), createElementBlock("div", _hoisted_5, [
546
+ __props.title ? (openBlock(), createElementBlock("div", _hoisted_6, [
550
547
  createVNode(unref(Text), { strong: "" }, {
551
548
  default: withCtx(() => [
552
- createTextVNode(toDisplayString(_ctx.title), 1)
549
+ createTextVNode(toDisplayString(__props.title), 1)
553
550
  ]),
554
551
  _: 1
555
552
  })
556
553
  ])) : createCommentVNode("", true),
557
- _ctx.inlineSearch ? (openBlock(), createBlock(unref(Search), {
554
+ __props.inlineSearch ? (openBlock(), createBlock(unref(Search), {
558
555
  key: 1,
559
556
  modelValue: query.value,
560
557
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => query.value = $event),
561
- placeholder: _ctx.searchPlaceholder,
558
+ placeholder: __props.searchPlaceholder,
562
559
  class: "dropdown-title__search",
563
560
  variant: "transparent",
564
561
  size: "md",
@@ -572,24 +569,24 @@ const _sfc_main = defineComponent({
572
569
  }, [
573
570
  renderSlot(_ctx.$slots, "input-list", { open: unref(open) }, void 0, true),
574
571
  createElementVNode("div", mergeProps(unref(containerProps), {
575
- class: ["list-container", { "list-container--multi": _ctx.multi }]
572
+ class: ["list-container", { "list-container--multi": __props.multi }]
576
573
  }), [
577
574
  createElementVNode("ul", mergeProps(unref(wrapperProps), {
578
575
  role: "listbox",
579
- class: ["list", { "list--multi": _ctx.multi }]
576
+ class: ["list", { "list--multi": __props.multi }]
580
577
  }), [
581
- !filteredOptions.value.length && !_ctx.loading ? (openBlock(), createElementBlock("li", _hoisted_7, [
578
+ !unref(filteredOptions).length && !__props.loading ? (openBlock(), createElementBlock("li", _hoisted_7, [
582
579
  createVNode(unref(Text), {
583
580
  size: "sm",
584
581
  class: "no-result"
585
582
  }, {
586
583
  default: withCtx(() => [
587
- createTextVNode(toDisplayString(_ctx.noResultsText), 1)
584
+ createTextVNode(toDisplayString(__props.noResultsText), 1)
588
585
  ]),
589
586
  _: 1
590
587
  })
591
588
  ])) : createCommentVNode("", true),
592
- _ctx.loading ? (openBlock(), createElementBlock("li", _hoisted_8, [
589
+ __props.loading ? (openBlock(), createElementBlock("li", _hoisted_8, [
593
590
  createVNode(unref(Icon), {
594
591
  "font-size": "md",
595
592
  class: "loader-icon"
@@ -606,12 +603,12 @@ const _sfc_main = defineComponent({
606
603
  _: 1
607
604
  })
608
605
  ])) : createCommentVNode("", true),
609
- _ctx.showSelectAll ? (openBlock(), createElementBlock("li", _hoisted_10, [
606
+ __props.showSelectAll ? (openBlock(), createElementBlock("li", _hoisted_10, [
610
607
  createVNode(Option, {
611
- "aria-selected": allSelected.value,
612
- "aria-disabled": !!_ctx.disabled,
613
- "selected-prop": allSelected.value,
614
- "is-indeterminate": isIndeterminate.value,
608
+ "aria-selected": unref(allSelected),
609
+ "aria-disabled": !!__props.disabled,
610
+ "selected-prop": unref(allSelected),
611
+ "is-indeterminate": unref(isIndeterminate),
615
612
  "select-all-option": "",
616
613
  onClick: _cache[3] || (_cache[3] = withModifiers(($event) => onSelectAll(), ["stop"]))
617
614
  }, {
@@ -621,23 +618,23 @@ const _sfc_main = defineComponent({
621
618
  _: 1
622
619
  }, 8, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
623
620
  ])) : createCommentVNode("", true),
624
- unref(virtualOptions).length && !_ctx.loading ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(unref(virtualOptions), ({ data, index }) => {
621
+ unref(virtualOptions).length && !__props.loading ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(unref(virtualOptions), ({ data, index }) => {
625
622
  return openBlock(), createElementBlock("li", {
626
623
  key: index,
627
- "aria-selected": isSelected(toRaw(selectedOption.value), data),
628
- "aria-disabled": !!_ctx.disabled,
624
+ "aria-selected": isSelected(toRaw(unref(selectedOption)), data),
625
+ "aria-disabled": !!__props.disabled,
629
626
  onClick: withModifiers(() => onSelect(data, index), ["stop"])
630
627
  }, [
631
628
  renderSlot(_ctx.$slots, "default", {
632
629
  option: data,
633
- selected: isSelected(toRaw(selectedOption.value), data),
630
+ selected: isSelected(toRaw(unref(selectedOption)), data),
634
631
  active: toRaw(unref(activeIndex)) === index
635
632
  }, void 0, true)
636
633
  ], 8, _hoisted_11);
637
634
  }), 128)) : createCommentVNode("", true)
638
635
  ], 16)
639
636
  ], 16),
640
- _ctx.multi ? (openBlock(), createElementBlock("div", _hoisted_12, [
637
+ __props.multi ? (openBlock(), createElementBlock("div", _hoisted_12, [
641
638
  createVNode(unref(Button), {
642
639
  ref_key: "cancel",
643
640
  ref: cancel,
@@ -675,8 +672,8 @@ const _sfc_main = defineComponent({
675
672
  createElementVNode("div", {
676
673
  class: normalizeClass(["button__container", {
677
674
  "button__container--open": !!unref(open),
678
- [`button__container--${_ctx.size}`]: true,
679
- "button__container--disabled": _ctx.disabled
675
+ [`button__container--${__props.size}`]: true,
676
+ "button__container--disabled": __props.disabled
680
677
  }])
681
678
  }, [
682
679
  _ctx.$slots.input ? (openBlock(), createElementBlock("div", {
@@ -688,23 +685,23 @@ const _sfc_main = defineComponent({
688
685
  }, [
689
686
  renderSlot(_ctx.$slots, "input", {
690
687
  open: unref(open),
691
- value: displayedValue.value,
692
- disabled: _ctx.disabled
688
+ value: unref(displayedValue),
689
+ disabled: __props.disabled
693
690
  }, void 0, true)
694
691
  ], 544)) : createCommentVNode("", true),
695
692
  !_ctx.$slots.input ? (openBlock(), createElementBlock("button", {
696
693
  key: 1,
697
694
  ref_key: "buttonRef",
698
695
  ref: buttonRef,
699
- disabled: _ctx.disabled,
696
+ disabled: __props.disabled,
700
697
  "aria-haspopup": true,
701
698
  "aria-expanded": !!unref(open),
702
699
  "aria-labelledby": labelRef.value?.id,
703
- "aria-disabled": _ctx.disabled,
700
+ "aria-disabled": __props.disabled,
704
701
  class: normalizeClass([{
705
702
  "button--open": !!unref(open),
706
- [`button--${_ctx.size}`]: true,
707
- "button--disabled": _ctx.disabled
703
+ [`button--${__props.size}`]: true,
704
+ "button--disabled": __props.disabled
708
705
  }, "button"]),
709
706
  onKeydown: onButtonKeydown,
710
707
  onClick: _cache[1] || (_cache[1] = ($event) => toggleMenu())
@@ -717,7 +714,7 @@ const _sfc_main = defineComponent({
717
714
  "is-truncated": ""
718
715
  }, {
719
716
  default: withCtx(() => [
720
- createTextVNode(toDisplayString(displayedValue.value), 1)
717
+ createTextVNode(toDisplayString(unref(displayedValue)), 1)
721
718
  ]),
722
719
  _: 1
723
720
  }),
@@ -732,23 +729,23 @@ const _sfc_main = defineComponent({
732
729
  ]),
733
730
  _: 3
734
731
  }, 8, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
735
- !_ctx.error && _ctx.helperText ? (openBlock(), createBlock(unref(Text), {
732
+ !__props.error && __props.helperText ? (openBlock(), createBlock(unref(Text), {
736
733
  key: 0,
737
734
  size: "caption",
738
735
  class: "helper-text"
739
736
  }, {
740
737
  default: withCtx(() => [
741
- createTextVNode(toDisplayString(_ctx.helperText), 1)
738
+ createTextVNode(toDisplayString(__props.helperText), 1)
742
739
  ]),
743
740
  _: 1
744
741
  })) : createCommentVNode("", true),
745
- _ctx.error ? (openBlock(), createBlock(unref(Text), {
742
+ __props.error ? (openBlock(), createBlock(unref(Text), {
746
743
  key: 1,
747
744
  size: "caption",
748
745
  class: "helper-text helper-text--error"
749
746
  }, {
750
747
  default: withCtx(() => [
751
- createTextVNode(toDisplayString(_ctx.error), 1)
748
+ createTextVNode(toDisplayString(__props.error), 1)
752
749
  ]),
753
750
  _: 1
754
751
  })) : 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,12 +1,11 @@
1
1
  import { defineComponent, openBlock, createElementBlock, unref, normalizeClass, createVNode, withCtx, renderSlot, createBlock, createTextVNode, createCommentVNode } from 'vue';
2
- import '../typography/Heading.vue.js';
2
+ /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
3
3
  import Text from '../typography/Text.vue.js';
4
4
  import { useDropdownContext } from './DropdownContext.vue.js';
5
5
  import { useId } from '../../composables/useId.vue.js';
6
- /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
7
-
6
+ /* empty css */
8
7
  import "../../Label.vue_vue_type_style_index_0_scoped_true_lang.css";
9
- const _sfc_main = defineComponent({
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
10
9
  __name: "Label",
11
10
  setup(__props) {
12
11
  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> = {
@@ -1,13 +1,12 @@
1
- import { defineComponent, ref, onMounted, onUnmounted, computed, toRaw, openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, unref, createCommentVNode, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString, withModifiers } from 'vue';
2
- import '../typography/Heading.vue.js';
1
+ import { defineComponent, ref, onMounted, onUnmounted, computed, toRaw, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createBlock, createCommentVNode, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString, withModifiers } from 'vue';
2
+ /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
3
3
  import Text from '../typography/Text.vue.js';
4
4
  import { useDropdownContext, Mode } from './DropdownContext.vue.js';
5
5
  import { useId } from '../../composables/useId.vue.js';
6
6
  import Checkbox from '../checkbox/Checkbox.vue.js';
7
7
  import Icon from '../icon/Icon.vue.js';
8
8
  import { NOOP } from '@vue/shared';
9
- /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
10
-
9
+ /* empty css */
11
10
  import "../../Option.vue_vue_type_style_index_0_scoped_true_lang.css";
12
11
  const _hoisted_1 = {
13
12
  key: 1,
@@ -19,7 +18,7 @@ const _hoisted_2 = {
19
18
  };
20
19
  const _hoisted_3 = { class: "text-container" };
21
20
  const _hoisted_4 = { key: 0 };
22
- const _sfc_main = defineComponent({
21
+ const _sfc_main = /* @__PURE__ */ defineComponent({
23
22
  __name: "Option",
24
23
  props: {
25
24
  option: { default: null },
@@ -66,27 +65,27 @@ const _sfc_main = defineComponent({
66
65
  ref_key: "el",
67
66
  ref: el,
68
67
  class: normalizeClass(["item-container", {
69
- "item-container--disabled": _ctx.disabled,
70
- "item-container--active": active.value,
71
- "item-container--selected": selected.value,
72
- "item-container--multi": isMulti.value
68
+ "item-container--disabled": __props.disabled,
69
+ "item-container--active": unref(active),
70
+ "item-container--selected": unref(selected),
71
+ "item-container--multi": unref(isMulti)
73
72
  }])
74
73
  }, [
75
74
  createElementVNode("div", {
76
75
  class: normalizeClass(["item", {
77
- "item--multi": isMulti.value,
76
+ "item--multi": unref(isMulti),
78
77
  "item--with-icon": _ctx.$slots["icon-start"] || _ctx.$slots.image
79
78
  }])
80
79
  }, [
81
- isMulti.value ? (openBlock(), createBlock(unref(Checkbox), {
80
+ unref(isMulti) ? (openBlock(), createBlock(unref(Checkbox), {
82
81
  key: 0,
83
82
  id: unref(id).toString(),
84
83
  tabindex: "-1",
85
84
  class: "checkbox",
86
85
  size: "sm",
87
- "is-checked": selected.value,
88
- "is-indeterminate": _ctx.isIndeterminate && !_ctx.option,
89
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.disabled ? unref(NOOP)() : onClick($event))
86
+ "is-checked": unref(selected),
87
+ "is-indeterminate": __props.isIndeterminate && !__props.option,
88
+ onClick: _cache[0] || (_cache[0] = ($event) => __props.disabled ? unref(NOOP)() : onClick($event))
90
89
  }, null, 8, ["id", "is-checked", "is-indeterminate"])) : createCommentVNode("", true),
91
90
  _ctx.$slots.image ? (openBlock(), createElementBlock("div", _hoisted_1, [
92
91
  renderSlot(_ctx.$slots, "image", {}, void 0, true)
@@ -101,19 +100,19 @@ const _sfc_main = defineComponent({
101
100
  ]),
102
101
  _: 3
103
102
  }),
104
- _ctx.subtitle ? (openBlock(), createBlock(unref(Text), {
103
+ __props.subtitle ? (openBlock(), createBlock(unref(Text), {
105
104
  key: 0,
106
105
  class: "subtitle",
107
106
  size: "xs"
108
107
  }, {
109
108
  default: withCtx(() => [
110
- createTextVNode(toDisplayString(_ctx.subtitle), 1)
109
+ createTextVNode(toDisplayString(__props.subtitle), 1)
111
110
  ]),
112
111
  _: 1
113
112
  })) : createCommentVNode("", true)
114
113
  ])
115
114
  ], 2),
116
- unref(api).clearable && selected.value ? (openBlock(), createElementBlock("div", _hoisted_4, [
115
+ unref(api).clearable && unref(selected) ? (openBlock(), createElementBlock("div", _hoisted_4, [
117
116
  createElementVNode("button", {
118
117
  class: "clear-button",
119
118
  onClick: _cache[1] || (_cache[1] = withModifiers(($event) => unref(api).clearSelection(), ["prevent", "stop"]))
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
2
  export default _default;
@@ -10,7 +10,7 @@ const _hoisted_1 = {
10
10
  class: "prefix"
11
11
  };
12
12
  const _hoisted_2 = ["disabled", "placeholder"];
13
- const _sfc_main = defineComponent({
13
+ const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  __name: "SearchInput",
15
15
  setup(__props) {
16
16
  const api = useDropdownContext("searchInput");
@@ -63,7 +63,7 @@ const _sfc_main = defineComponent({
63
63
  inputRef: inputEl.value,
64
64
  disabled: unref(api).disabled,
65
65
  change: onChange,
66
- placeholder: placeholder.value
66
+ placeholder: unref(placeholder)
67
67
  }, () => [
68
68
  createElementVNode("div", {
69
69
  class: normalizeClass(["container", {
@@ -73,7 +73,7 @@ const _sfc_main = defineComponent({
73
73
  focused: isFocused.value
74
74
  }])
75
75
  }, [
76
- showPrefix.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
76
+ unref(showPrefix) ? (openBlock(), createElementBlock("div", _hoisted_1, [
77
77
  renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
78
78
  ])) : createCommentVNode("", true),
79
79
  createElementVNode("input", {
@@ -81,7 +81,7 @@ const _sfc_main = defineComponent({
81
81
  ref: inputEl,
82
82
  disabled: unref(api).disabled,
83
83
  class: normalizeClass(["input", { "input--disabled": unref(api).disabled }]),
84
- placeholder: placeholder.value,
84
+ placeholder: unref(placeholder),
85
85
  onFocusin: _cache[0] || (_cache[0] = ($event) => isFocused.value = true),
86
86
  onFocusout: _cache[1] || (_cache[1] = ($event) => isFocused.value = false),
87
87
  onInput: onChange
@@ -90,7 +90,7 @@ const _sfc_main = defineComponent({
90
90
  variant: "colorized",
91
91
  size: "sm",
92
92
  theme: "secondary",
93
- class: normalizeClass(["search-right-icon", { "search-right-icon-clear": showClear.value }]),
93
+ class: normalizeClass(["search-right-icon", { "search-right-icon-clear": unref(showClear) }]),
94
94
  disabled: unref(api).disabled
95
95
  }, {
96
96
  default: withCtx(() => [
@@ -103,7 +103,7 @@ const _sfc_main = defineComponent({
103
103
  unref(api).open.value ? (openBlock(), createBlock(unref(Icon), {
104
104
  key: 1,
105
105
  "font-size": "sm",
106
- name: rightIcon.value,
106
+ name: unref(rightIcon),
107
107
  onClick: onClearClick
108
108
  }, null, 8, ["name"])) : createCommentVNode("", true)
109
109
  ]),