@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
@@ -4,12 +4,12 @@ import { radioGroupKey } from './useRadio.vue.js';
4
4
  /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
5
5
 
6
6
  import "../../RadioGroup.vue_vue_type_style_index_0_scoped_true_lang.css";
7
- const _sfc_main = defineComponent({
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "RadioGroup",
9
9
  props: {
10
10
  name: { default: "" },
11
11
  disabled: { type: Boolean, default: false },
12
- modelValue: {},
12
+ modelValue: null,
13
13
  row: { type: Boolean, default: false }
14
14
  },
15
15
  emits: ["update:modelValue", "change"],
@@ -43,7 +43,7 @@ const _sfc_main = defineComponent({
43
43
  return openBlock(), createElementBlock("div", {
44
44
  ref_key: "radioGroupRef",
45
45
  ref: radioGroupRef,
46
- class: normalizeClass([{ "radio-group--row": _ctx.row }, "radio-group"]),
46
+ class: normalizeClass([{ "radio-group--row": __props.row }, "radio-group"]),
47
47
  role: "radiogroup"
48
48
  }, [
49
49
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
@@ -63,7 +63,7 @@ declare const RadioButtonTypes: () => (import("vue").DefineComponent<{
63
63
  modelValue: string;
64
64
  helperText: string;
65
65
  errorText: string;
66
- }, {}> | import("vue").DefineComponent<{
66
+ }> | import("vue").DefineComponent<{
67
67
  name: {
68
68
  type: import("vue").PropType<string>;
69
69
  } & {
@@ -110,5 +110,5 @@ declare const RadioButtonTypes: () => (import("vue").DefineComponent<{
110
110
  name: string;
111
111
  disabled: boolean;
112
112
  row: boolean;
113
- }, {}>)[];
113
+ }>)[];
114
114
  export { RadioButton, RadioGroup, RadioButtonTypes };
@@ -15,6 +15,6 @@ export declare const useRadio: (props: {
15
15
  radioGroup: RadioGroupContext;
16
16
  focus: import("vue").Ref<boolean>;
17
17
  disabled: import("vue").ComputedRef<boolean>;
18
- tabIndex: import("vue").ComputedRef<0 | -1>;
18
+ tabIndex: import("vue").ComputedRef<-1 | 0>;
19
19
  modelValue: import("vue").WritableComputedRef<string>;
20
20
  };
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
28
28
  size: 'sm' | 'md';
29
29
  variant: 'default' | 'inline-table' | 'transparent';
30
30
  disabled: boolean;
31
- }, {}>;
31
+ }>;
32
32
  export default _default;
33
33
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
34
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,20 +1,20 @@
1
- import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, createBlock, unref, createCommentVNode, createElementVNode } from 'vue';
1
+ import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, unref, createBlock, createCommentVNode, createElementVNode } from 'vue';
2
2
  import Icon from '../icon/Icon.vue.js';
3
3
  /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
4
4
 
5
5
  import "../../Search.vue_vue_type_style_index_0_scoped_true_lang.css";
6
6
  const _hoisted_1 = ["value", "placeholder", "disabled"];
7
- const _sfc_main = defineComponent({
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "Search",
9
9
  props: {
10
- modelValue: {},
11
- placeholder: {},
10
+ modelValue: null,
11
+ placeholder: null,
12
12
  variant: { default: "default" },
13
13
  size: { default: "sm" },
14
14
  disabled: { type: Boolean, default: false }
15
15
  },
16
16
  emits: ["update:modelValue"],
17
- setup(__props, { expose: __expose, emit }) {
17
+ setup(__props, { expose, emit }) {
18
18
  const props = __props;
19
19
  const inputRef = ref();
20
20
  const updateValue = (e) => {
@@ -53,14 +53,14 @@ const _sfc_main = defineComponent({
53
53
  const rightIcon = computed(() => {
54
54
  return showClear.value ? "cancel" : "search";
55
55
  });
56
- __expose({
56
+ expose({
57
57
  inputRef
58
58
  });
59
59
  return (_ctx, _cache) => {
60
60
  return openBlock(), createElementBlock("div", {
61
- class: normalizeClass(["search-container", `${_ctx.size}`])
61
+ class: normalizeClass(["search-container", `${__props.size}`])
62
62
  }, [
63
- showLeftIcon.value ? (openBlock(), createBlock(unref(Icon), {
63
+ unref(showLeftIcon) ? (openBlock(), createBlock(unref(Icon), {
64
64
  key: 0,
65
65
  class: "search-left-icon",
66
66
  name: "search-bold",
@@ -69,16 +69,16 @@ const _sfc_main = defineComponent({
69
69
  createElementVNode("input", {
70
70
  ref_key: "inputRef",
71
71
  ref: inputRef,
72
- class: normalizeClass({ [_ctx.variant]: true, activated: _ctx.modelValue !== "" }),
73
- value: _ctx.modelValue,
74
- placeholder: _ctx.placeholder,
75
- disabled: _ctx.disabled,
72
+ class: normalizeClass({ [__props.variant]: true, activated: __props.modelValue !== "" }),
73
+ value: __props.modelValue,
74
+ placeholder: __props.placeholder,
75
+ disabled: __props.disabled,
76
76
  onInput: updateValue
77
77
  }, null, 42, _hoisted_1),
78
- showRightIcon.value ? (openBlock(), createBlock(unref(Icon), {
78
+ unref(showRightIcon) ? (openBlock(), createBlock(unref(Icon), {
79
79
  key: 1,
80
- class: normalizeClass(["search-right-icon", { "search-right-icon-clear": showClear.value }]),
81
- name: rightIcon.value,
80
+ class: normalizeClass(["search-right-icon", { "search-right-icon-clear": unref(showClear) }]),
81
+ name: unref(rightIcon),
82
82
  "font-size": "sm",
83
83
  onClick: onRightIconClick
84
84
  }, null, 8, ["class", "name"])) : createCommentVNode("", true)
@@ -56,6 +56,6 @@ declare const SearchTypes: () => import("vue").DefineComponent<{
56
56
  size: "md" | "sm";
57
57
  variant: "default" | "inline-table" | "transparent";
58
58
  disabled: boolean;
59
- }, {}>[];
59
+ }>[];
60
60
  export { default as Search } from './Search.vue';
61
61
  export { SearchTypes };
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
5
  round?: boolean;
6
6
  fill?: boolean;
7
- }>>>, {}, {}>;
7
+ }>>>, {}>;
8
8
  export default _default;
9
9
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
10
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -2,7 +2,7 @@ import { defineComponent, openBlock, createElementBlock, normalizeClass, renderS
2
2
  /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
3
3
 
4
4
  import "../../Skeleton.vue_vue_type_style_index_0_scoped_true_lang.css";
5
- const _sfc_main = defineComponent({
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "Skeleton",
7
7
  props: {
8
8
  round: { type: Boolean },
@@ -11,7 +11,7 @@ const _sfc_main = defineComponent({
11
11
  setup(__props) {
12
12
  return (_ctx, _cache) => {
13
13
  return openBlock(), createElementBlock("div", {
14
- class: normalizeClass({ round: _ctx.round, fill: _ctx.fill })
14
+ class: normalizeClass({ round: __props.round, fill: __props.fill })
15
15
  }, [
16
16
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
17
17
  ], 2);
@@ -12,6 +12,6 @@ declare const SkeletonTypes: () => import("vue").DefineComponent<{
12
12
  fill: {
13
13
  type: import("vue").PropType<boolean>;
14
14
  };
15
- }>>, {}, {}>[];
15
+ }>>, {}>[];
16
16
  export { default as Skeleton } from './Skeleton.vue';
17
17
  export { SkeletonTypes };
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
52
52
  zIndex: number;
53
53
  duration: number;
54
54
  showClose: boolean;
55
- }, {}>;
55
+ }>;
56
56
  export default _default;
57
57
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
58
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, createVNode, unref, resolveDynamicComponent, createCommentVNode, toDisplayString, renderSlot, createTextVNode, vShow, withModifiers } from 'vue';
1
+ import { defineComponent, ref, computed, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, unref, normalizeStyle, createElementBlock, createVNode, resolveDynamicComponent, createCommentVNode, toDisplayString, renderSlot, createTextVNode, vShow, withModifiers } from 'vue';
2
2
  import { useEventListener, useTimeoutFn } from '@vueuse/core';
3
3
  import Icon from '../icon/Icon.vue.js';
4
4
  import Close from '../icon/icons/Close.vue.js';
@@ -12,18 +12,18 @@ const _hoisted_1 = ["id"];
12
12
  const _hoisted_2 = { class: "container" };
13
13
  const _hoisted_3 = { class: "texts" };
14
14
  const _hoisted_4 = ["innerHTML"];
15
- const _sfc_main = defineComponent({
15
+ const _sfc_main = /* @__PURE__ */ defineComponent({
16
16
  __name: "Snackbar",
17
17
  props: {
18
- customClass: {},
18
+ customClass: null,
19
19
  dangerouslyUseHTMLString: { type: Boolean },
20
20
  duration: { default: 3e3 },
21
- icon: {},
22
- id: {},
23
- message: {},
24
- offset: {},
25
- onClick: {},
26
- onClose: {},
21
+ icon: null,
22
+ id: null,
23
+ message: null,
24
+ offset: null,
25
+ onClick: null,
26
+ onClose: null,
27
27
  type: { default: null },
28
28
  position: { default: "top-right" },
29
29
  showClose: { type: Boolean, default: true },
@@ -91,64 +91,64 @@ const _sfc_main = defineComponent({
91
91
  return (_ctx, _cache) => {
92
92
  return openBlock(), createBlock(Transition, {
93
93
  name: "snackbar",
94
- onBeforeLeave: _ctx.onClose,
94
+ onBeforeLeave: __props.onClose,
95
95
  onAfterLeave: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("destroy"))
96
96
  }, {
97
97
  default: withCtx(() => [
98
98
  withDirectives(createElementVNode("div", {
99
- id: _ctx.id,
100
- class: normalizeClass(["snackbar", [_ctx.customClass, horizontalClass.value]]),
101
- style: normalizeStyle(positionStyle.value),
99
+ id: __props.id,
100
+ class: normalizeClass(["snackbar", [__props.customClass, unref(horizontalClass)]]),
101
+ style: normalizeStyle(unref(positionStyle)),
102
102
  role: "alert",
103
103
  onMouseenter: clearTimer,
104
104
  onMouseleave: startTimer,
105
- onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
105
+ onClick: _cache[0] || (_cache[0] = (...args) => __props.onClick && __props.onClick(...args))
106
106
  }, [
107
- iconComponent.value ? (openBlock(), createElementBlock("div", {
107
+ unref(iconComponent) ? (openBlock(), createElementBlock("div", {
108
108
  key: 0,
109
- class: normalizeClass(["start-icon-container", [typeClass.value]])
109
+ class: normalizeClass(["start-icon-container", [unref(typeClass)]])
110
110
  }, [
111
111
  createVNode(unref(Icon), {
112
- "font-size": typeClass.value ? "sm" : "lg"
112
+ "font-size": unref(typeClass) ? "sm" : "lg"
113
113
  }, {
114
114
  default: withCtx(() => [
115
- (openBlock(), createBlock(resolveDynamicComponent(iconComponent.value)))
115
+ (openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent))))
116
116
  ]),
117
117
  _: 1
118
118
  }, 8, ["font-size"])
119
119
  ], 2)) : createCommentVNode("", true),
120
120
  createElementVNode("div", _hoisted_2, [
121
121
  createElementVNode("div", _hoisted_3, [
122
- _ctx.title ? (openBlock(), createBlock(Text, {
122
+ __props.title ? (openBlock(), createBlock(Text, {
123
123
  key: 0,
124
124
  size: "md",
125
125
  strong: "",
126
126
  class: "title",
127
- textContent: toDisplayString(_ctx.title)
127
+ textContent: toDisplayString(__props.title)
128
128
  }, null, 8, ["textContent"])) : createCommentVNode("", true),
129
129
  withDirectives(createElementVNode("div", {
130
130
  class: "message",
131
- style: normalizeStyle(!!_ctx.title ? void 0 : { margin: 0 })
131
+ style: normalizeStyle(!!__props.title ? void 0 : { margin: 0 })
132
132
  }, [
133
133
  renderSlot(_ctx.$slots, "default", {}, () => [
134
- !_ctx.dangerouslyUseHTMLString ? (openBlock(), createBlock(Text, {
134
+ !__props.dangerouslyUseHTMLString ? (openBlock(), createBlock(Text, {
135
135
  key: 0,
136
136
  size: "sm"
137
137
  }, {
138
138
  default: withCtx(() => [
139
- createTextVNode(toDisplayString(_ctx.message), 1)
139
+ createTextVNode(toDisplayString(__props.message), 1)
140
140
  ]),
141
141
  _: 1
142
142
  })) : (openBlock(), createElementBlock("div", {
143
143
  key: 1,
144
- innerHTML: _ctx.message
144
+ innerHTML: __props.message
145
145
  }, null, 8, _hoisted_4))
146
146
  ], true)
147
147
  ], 4), [
148
- [vShow, _ctx.message]
148
+ [vShow, __props.message]
149
149
  ])
150
150
  ]),
151
- _ctx.showClose ? (openBlock(), createBlock(IconButton, {
151
+ __props.showClose ? (openBlock(), createBlock(IconButton, {
152
152
  key: 0,
153
153
  theme: "third",
154
154
  size: "sm",
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
14
14
  "onUpdate:modelValue"?: (...args: any[]) => any;
15
15
  }, {
16
16
  size: 'sm' | 'lg';
17
- }, {}>;
17
+ }>;
18
18
  export default _default;
19
19
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
20
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,15 +1,15 @@
1
- import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, Fragment, renderList, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString } from 'vue';
1
+ import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, unref, Fragment, renderList, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString } from 'vue';
2
2
  import { useVModel } from '@vueuse/core';
3
3
  import Text from '../typography/Text.vue.js';
4
4
  /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
5
5
 
6
6
  import "../../Switch.vue_vue_type_style_index_0_scoped_true_lang.css";
7
7
  const _hoisted_1 = ["aria-label", "onClick"];
8
- const _sfc_main = defineComponent({
8
+ const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  __name: "Switch",
10
10
  props: {
11
- options: {},
12
- modelValue: {},
11
+ options: null,
12
+ modelValue: null,
13
13
  size: { default: "lg" }
14
14
  },
15
15
  emits: ["update:modelValue"],
@@ -37,18 +37,18 @@ const _sfc_main = defineComponent({
37
37
  };
38
38
  return (_ctx, _cache) => {
39
39
  return openBlock(), createElementBlock("div", {
40
- class: normalizeClass(["switch", { "switch--lg": _ctx.size === "lg", "switch--sm": _ctx.size === "sm" }])
40
+ class: normalizeClass(["switch", { "switch--lg": __props.size === "lg", "switch--sm": __props.size === "sm" }])
41
41
  }, [
42
42
  createElementVNode("span", {
43
43
  ref_key: "box",
44
44
  ref: box,
45
- class: normalizeClass(["box", { "box--lg": _ctx.size === "lg", "box--sm": _ctx.size === "sm" }]),
45
+ class: normalizeClass(["box", { "box--lg": __props.size === "lg", "box--sm": __props.size === "sm" }]),
46
46
  style: normalizeStyle({
47
- transform: `translateX(${selectedPosition.value?.left}px)`,
48
- width: selectedPosition.value?.width + "px"
47
+ transform: `translateX(${unref(selectedPosition)?.left}px)`,
48
+ width: unref(selectedPosition)?.width + "px"
49
49
  })
50
50
  }, null, 6),
51
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option, index) => {
51
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option, index) => {
52
52
  return openBlock(), createElementBlock("button", {
53
53
  ref_for: true,
54
54
  ref: skipUnwrap.optionsRefs,
@@ -30,6 +30,6 @@ declare const SwitchTypes: () => import("vue").DefineComponent<{
30
30
  "onUpdate:modelValue"?: (...args: any[]) => any;
31
31
  }, {
32
32
  size: "sm" | "lg";
33
- }, {}>[];
33
+ }>[];
34
34
  export { default as Switch } from './Switch.vue';
35
35
  export { SwitchTypes };
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
25
25
  totalPages: number;
26
26
  totalItems: number | string;
27
27
  itemsPerPage: number;
28
- }, {}>;
28
+ }>;
29
29
  export default _default;
30
30
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
31
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -92,7 +92,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
92
92
  rowHeight: number | ((index: number) => number);
93
93
  loadingRowCount: number;
94
94
  defaultScrollPosition: number;
95
- }, {}>;
95
+ }>;
96
96
  export default _default;
97
97
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
98
98
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,16 +1,13 @@
1
- import { defineComponent, useCssVars, ref, provide, computed, useSlots, onMounted, openBlock, createElementBlock, createElementVNode, unref, normalizeStyle, normalizeClass, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, mergeProps, withDirectives, vShow } from 'vue';
2
- import '../typography/Heading.vue.js';
1
+ import { defineComponent, useCssVars, unref, ref, provide, computed, useSlots, onMounted, openBlock, createElementBlock, createElementVNode, normalizeStyle, normalizeClass, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, mergeProps, withDirectives, vShow } 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
- import '../button/Button.vue.js';
5
- import '../button/IconButton.vue.js';
6
- import ScrollButton from '../button/ScrollButton.vue.js';
4
+ /* empty css *//* empty css *//* empty css *//* empty css */import ScrollButton from '../button/ScrollButton.vue.js';
7
5
  import Skeleton from '../skeleton/Skeleton.vue.js';
8
6
  import EmptyState from '../emptyState/EmptyState.vue.js';
9
7
  import TableHeaderSorter from './TableHeaderSorter.vue.js';
10
8
  import { useVirtualList, useInfiniteScroll } from '@vueuse/core';
11
9
  import { TableContext } from './TableContext.vue.js';
12
- /* empty css *//* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
13
-
10
+ /* empty css *//* empty css */
14
11
  import "../../Table.vue_vue_type_style_index_0_scoped_true_lang.css";
15
12
  const _hoisted_1 = { class: "table-title" };
16
13
  const _hoisted_2 = { class: "table-header-actions" };
@@ -20,14 +17,14 @@ const _hoisted_5 = { class: "table-head-container" };
20
17
  const _hoisted_6 = ["onMouseenter"];
21
18
  const _hoisted_7 = { key: 1 };
22
19
  const _hoisted_8 = { key: 1 };
23
- const _sfc_main = defineComponent({
20
+ const _sfc_main = /* @__PURE__ */ defineComponent({
24
21
  __name: "Table",
25
22
  props: {
26
- title: {},
27
- columns: {},
28
- rows: {},
23
+ title: null,
24
+ columns: null,
25
+ rows: null,
29
26
  sections: { default: null },
30
- sort: {},
27
+ sort: null,
31
28
  isSticky: { type: Boolean, default: true },
32
29
  isStickyHeader: { type: Boolean, default: false },
33
30
  isLoading: { type: Boolean, default: false },
@@ -43,7 +40,7 @@ const _sfc_main = defineComponent({
43
40
  setup(__props, { emit }) {
44
41
  const props = __props;
45
42
  useCssVars((_ctx) => ({
46
- "4c2b4786": gridColumnTemplate.value
43
+ "34f02729": unref(gridColumnTemplate)
47
44
  }));
48
45
  const savingRows = ref([]);
49
46
  provide(TableContext, {
@@ -91,12 +88,10 @@ const _sfc_main = defineComponent({
91
88
  onMounted(() => {
92
89
  floatingActionPosition.value = containerProps.ref.value?.getBoundingClientRect().width;
93
90
  if (props.defaultScrollPosition) {
94
- setTimeout(() => {
95
- containerProps.ref.value.scrollTo({
96
- top: props.defaultScrollPosition,
97
- behavior: "smooth"
98
- });
99
- }, 1e3);
91
+ containerProps.ref.value.scrollTo({
92
+ top: props.defaultScrollPosition,
93
+ behavior: "smooth"
94
+ });
100
95
  }
101
96
  });
102
97
  const showBackToTopButton = computed(() => {
@@ -163,12 +158,12 @@ const _sfc_main = defineComponent({
163
158
  }, [
164
159
  createElementVNode("table", {
165
160
  ref: unref(containerProps).ref,
166
- style: normalizeStyle(containerStyle.value),
161
+ style: normalizeStyle(unref(containerStyle)),
167
162
  onScrollPassive: onScroll
168
163
  }, [
169
- _ctx.title || _ctx.$slots["search"] ? (openBlock(), createElementBlock("div", {
164
+ __props.title || _ctx.$slots["search"] ? (openBlock(), createElementBlock("div", {
170
165
  key: 0,
171
- class: normalizeClass(["table-header", { isStickyHeader: _ctx.isStickyHeader }])
166
+ class: normalizeClass(["table-header", { isStickyHeader: __props.isStickyHeader }])
172
167
  }, [
173
168
  createElementVNode("div", _hoisted_1, [
174
169
  renderSlot(_ctx.$slots, "title", {}, () => [
@@ -177,14 +172,14 @@ const _sfc_main = defineComponent({
177
172
  strong: ""
178
173
  }, {
179
174
  default: withCtx(() => [
180
- createTextVNode(toDisplayString(_ctx.title), 1)
175
+ createTextVNode(toDisplayString(__props.title), 1)
181
176
  ]),
182
177
  _: 1
183
178
  })
184
179
  ], true)
185
180
  ]),
186
181
  createElementVNode("div", {
187
- class: normalizeClass(["table-header-right", hasSearchSlot.value ? "border-search" : ""])
182
+ class: normalizeClass(["table-header-right", unref(hasSearchSlot) ? "border-search" : ""])
188
183
  }, [
189
184
  renderSlot(_ctx.$slots, "search", {}, void 0, true)
190
185
  ], 2),
@@ -193,10 +188,10 @@ const _sfc_main = defineComponent({
193
188
  ])
194
189
  ], 2)) : createCommentVNode("", true),
195
190
  createElementVNode("thead", {
196
- class: normalizeClass({ sticky: _ctx.isSticky, isStickyHeader: _ctx.isStickyHeader })
191
+ class: normalizeClass({ sticky: __props.isSticky, isStickyHeader: __props.isStickyHeader })
197
192
  }, [
198
193
  createElementVNode("div", _hoisted_3, [
199
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.sections, (section) => {
194
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.sections, (section) => {
200
195
  return openBlock(), createElementBlock("div", {
201
196
  key: section.id,
202
197
  class: normalizeClass(["section-container", { sticky: section.isSticky }])
@@ -218,7 +213,7 @@ const _sfc_main = defineComponent({
218
213
  }), 128))
219
214
  ]),
220
215
  createElementVNode("tr", null, [
221
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columns, (column) => {
216
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (column) => {
222
217
  return openBlock(), createElementBlock("th", {
223
218
  key: column.id,
224
219
  class: normalizeClass({
@@ -227,7 +222,7 @@ const _sfc_main = defineComponent({
227
222
  isTextRight: column.isTextRight,
228
223
  isSortable: column.isSortable
229
224
  }),
230
- style: normalizeStyle(column.isSticky ? columnsStickyPositions.value[column.id] : null),
225
+ style: normalizeStyle(column.isSticky ? unref(columnsStickyPositions)[column.id] : null),
231
226
  onClick: ($event) => toggleSortOrder(column)
232
227
  }, [
233
228
  createElementVNode("div", _hoisted_5, [
@@ -243,10 +238,10 @@ const _sfc_main = defineComponent({
243
238
  _: 2
244
239
  }, 1024)
245
240
  ], true),
246
- column.id === _ctx.sort.sortBy ? (openBlock(), createBlock(TableHeaderSorter, {
241
+ column.id === __props.sort.sortBy ? (openBlock(), createBlock(TableHeaderSorter, {
247
242
  key: 0,
248
243
  class: "table-head-sorter",
249
- "sort-order": _ctx.sort.sortOrder
244
+ "sort-order": __props.sort.sortOrder
250
245
  }, null, 8, ["sort-order"])) : createCommentVNode("", true)
251
246
  ])
252
247
  ], 14, _hoisted_4);
@@ -262,7 +257,7 @@ const _sfc_main = defineComponent({
262
257
  return openBlock(), createElementBlock("tr", {
263
258
  key: row.index,
264
259
  class: normalizeClass(["table-row", {
265
- loading: _ctx.isLoading || _ctx.isLoading && !row.data || savingRows.value.includes(row.index),
260
+ loading: __props.isLoading || __props.isLoading && !row.data || savingRows.value.includes(row.index),
266
261
  active: activeRow.value === row.index
267
262
  }]),
268
263
  onMouseenter: ($event) => activeRow.value = row.index
@@ -278,22 +273,22 @@ const _sfc_main = defineComponent({
278
273
  ], 4), [
279
274
  [
280
275
  vShow,
281
- _ctx.$slots["floating-actions"] && activeRow.value === row.index && !_ctx.isLoading
276
+ _ctx.$slots["floating-actions"] && activeRow.value === row.index && !__props.isLoading
282
277
  ]
283
278
  ]),
284
279
  (openBlock(true), createElementBlock(Fragment, null, renderList(row.data, (cell, cellIndex) => {
285
280
  return openBlock(), createElementBlock("td", {
286
281
  key: cellIndex,
287
282
  class: normalizeClass({
288
- sticky: _ctx.columns[cellIndex].isSticky,
289
- bordered: _ctx.columns[cellIndex].isBordered,
290
- isTextRight: _ctx.columns[cellIndex].isTextRight
283
+ sticky: __props.columns[cellIndex].isSticky,
284
+ bordered: __props.columns[cellIndex].isBordered,
285
+ isTextRight: __props.columns[cellIndex].isTextRight
291
286
  }),
292
287
  style: normalizeStyle(
293
- _ctx.columns[cellIndex].isSticky ? columnsStickyPositions.value[_ctx.columns[cellIndex].id] : null
288
+ __props.columns[cellIndex].isSticky ? unref(columnsStickyPositions)[__props.columns[cellIndex].id] : null
294
289
  )
295
290
  }, [
296
- !_ctx.isLoading || _ctx.isLoading && !!cell ? (openBlock(), createElementBlock("div", {
291
+ !__props.isLoading || __props.isLoading && !!cell ? (openBlock(), createElementBlock("div", {
297
292
  key: 0,
298
293
  class: normalizeClass({
299
294
  last: cellIndex === row.data.length - 1,
@@ -301,7 +296,7 @@ const _sfc_main = defineComponent({
301
296
  floating: _ctx.$slots["floating-actions"]
302
297
  })
303
298
  }, [
304
- renderSlot(_ctx.$slots, `cell-${_ctx.columns[cellIndex].id}`, {
299
+ renderSlot(_ctx.$slots, `cell-${__props.columns[cellIndex].id}`, {
305
300
  cell,
306
301
  isLoading: savingRows.value.includes(row.index),
307
302
  cellIndex,
@@ -325,8 +320,8 @@ const _sfc_main = defineComponent({
325
320
  ], 16)) : (openBlock(), createElementBlock("div", _hoisted_7, [
326
321
  renderSlot(_ctx.$slots, "empty-state", {}, () => [
327
322
  createVNode(unref(EmptyState), {
328
- title: _ctx.emptyStateTitle,
329
- subtitle: _ctx.emptyStateSubtitle
323
+ title: __props.emptyStateTitle,
324
+ subtitle: __props.emptyStateSubtitle
330
325
  }, null, 8, ["title", "subtitle"])
331
326
  ], true)
332
327
  ]))
@@ -334,13 +329,13 @@ const _sfc_main = defineComponent({
334
329
  unref(list).length > 0 ? (openBlock(), createElementBlock("tfoot", _hoisted_8)) : createCommentVNode("", true)
335
330
  ], 36),
336
331
  createVNode(unref(ScrollButton), {
337
- show: showBackToTopButton.value,
332
+ show: unref(showBackToTopButton),
338
333
  onScrolled: scrollToTop
339
334
  }, null, 8, ["show"])
340
335
  ], 32);
341
336
  };
342
337
  }
343
338
  });
344
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6b794ce9"]]);
339
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b2c67e5a"]]);
345
340
 
346
341
  export { Table as default };
@@ -2,7 +2,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
2
2
  sortOrder: 'asc' | 'desc';
3
3
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
4
  sortOrder: 'asc' | 'desc';
5
- }>>>, {}, {}>;
5
+ }>>>, {}>;
6
6
  export default _default;
7
7
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
8
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -4,21 +4,21 @@ import SortOrderIcon from './SortOrderIcon.vue.js';
4
4
 
5
5
  import "../../TableHeaderSorter.vue_vue_type_style_index_0_scoped_true_lang.css";
6
6
  const _hoisted_1 = { class: "table-head-sorter-container" };
7
- const _sfc_main = defineComponent({
7
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "TableHeaderSorter",
9
9
  props: {
10
- sortOrder: {}
10
+ sortOrder: null
11
11
  },
12
12
  setup(__props) {
13
13
  return (_ctx, _cache) => {
14
14
  return openBlock(), createElementBlock("div", _hoisted_1, [
15
15
  createVNode(SortOrderIcon, {
16
16
  name: "sort-order",
17
- class: normalizeClass({ "table-head-sorter-selected": _ctx.sortOrder === "asc" })
17
+ class: normalizeClass({ "table-head-sorter-selected": __props.sortOrder === "asc" })
18
18
  }, null, 8, ["class"]),
19
19
  createVNode(SortOrderIcon, {
20
20
  name: "sort-order",
21
- class: normalizeClass(["table-head-sorter-desc", { "table-head-sorter-selected": _ctx.sortOrder === "desc" }])
21
+ class: normalizeClass(["table-head-sorter-desc", { "table-head-sorter-selected": __props.sortOrder === "desc" }])
22
22
  }, null, 8, ["class"])
23
23
  ]);
24
24
  };