@ironsource/shared-ui 1.4.2-test.12 → 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 +54 -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,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, openBlock, createBlock, mergeProps, withCtx, createVNode, unref, createTextVNode, toDisplayString } from 'vue';
|
|
2
2
|
import Input from './Input.vue.js';
|
|
3
|
-
|
|
3
|
+
import '../typography/Heading.vue.js';
|
|
4
4
|
import Text from '../typography/Text.vue.js';
|
|
5
|
-
/* empty css */
|
|
5
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
6
|
+
|
|
6
7
|
import "../../PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
7
8
|
const _sfc_main = defineComponent({
|
|
8
9
|
__name: "PasswordInput",
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
7
7
|
"update:modelValue": (value: number) => void;
|
|
8
8
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PercentageProps>>> & {
|
|
9
9
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
10
|
-
}, {}>;
|
|
10
|
+
}, {}, {}>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
13
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, mergeProps, withCtx, createVNode, unref, createTextVNode } from 'vue';
|
|
2
2
|
import Input from './Input.vue.js';
|
|
3
|
-
|
|
3
|
+
import '../typography/Heading.vue.js';
|
|
4
4
|
import Text from '../typography/Text.vue.js';
|
|
5
|
-
/* empty css */
|
|
5
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
6
|
+
|
|
6
7
|
import "../../PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
7
8
|
const _sfc_main = defineComponent({
|
|
8
9
|
__name: "PercentageInput",
|
|
@@ -185,7 +185,7 @@ declare const InputTypes: () => (import("vue").DefineComponent<{
|
|
|
185
185
|
step: number;
|
|
186
186
|
hoverHelpText: string;
|
|
187
187
|
hoverHelpTextPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
188
|
-
}> | import("vue").DefineComponent<{
|
|
188
|
+
}, {}> | import("vue").DefineComponent<{
|
|
189
189
|
ref: {
|
|
190
190
|
type: import("vue").PropType<import("vue").VNodeRef>;
|
|
191
191
|
};
|
|
@@ -411,5 +411,5 @@ declare const InputTypes: () => (import("vue").DefineComponent<{
|
|
|
411
411
|
};
|
|
412
412
|
}>> & {
|
|
413
413
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
414
|
-
}, {}>)[];
|
|
414
|
+
}, {}, {}>)[];
|
|
415
415
|
export { Input, DollarInput, PercentageInput, PasswordInput, InputTypes };
|
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
28
28
|
distance: number;
|
|
29
29
|
skidding: number;
|
|
30
30
|
container: string;
|
|
31
|
-
}>;
|
|
31
|
+
}, {}>;
|
|
32
32
|
export default _default;
|
|
33
33
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
34
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -5,7 +5,7 @@ import { useToggle } from '../../composables/useToggle.vue.js';
|
|
|
5
5
|
/* empty css *//* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
6
6
|
|
|
7
7
|
import "../../Menu.vue_vue_type_style_index_0_scoped_true_lang.css";import "../../Menu.vue_vue_type_style_index_1_lang.css";
|
|
8
|
-
const _sfc_main =
|
|
8
|
+
const _sfc_main = defineComponent({
|
|
9
9
|
__name: "Menu",
|
|
10
10
|
props: {
|
|
11
11
|
isOnTop: { type: Boolean, default: true },
|
|
@@ -38,10 +38,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
triggers: [],
|
|
39
39
|
shown: unref(open),
|
|
40
40
|
placement: "auto-start",
|
|
41
|
-
container:
|
|
41
|
+
container: _ctx.container,
|
|
42
42
|
flip: "",
|
|
43
|
-
distance:
|
|
44
|
-
skidding:
|
|
43
|
+
distance: _ctx.isOnTop ? skiddingOffset.value : _ctx.distance,
|
|
44
|
+
skidding: _ctx.isOnTop ? -location.value?.height / 2 : _ctx.distance,
|
|
45
45
|
"auto-hide": false
|
|
46
46
|
}, {
|
|
47
47
|
popper: withCtx(() => [
|
|
@@ -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,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
1
|
+
import '../typography/Heading.vue.js';
|
|
3
2
|
import Text from '../typography/Text.vue.js';
|
|
4
|
-
|
|
3
|
+
import { resolveComponent, openBlock, createElementBlock, createElementVNode, renderSlot, createVNode, withCtx } from 'vue';
|
|
4
|
+
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
5
|
+
|
|
5
6
|
import "../../MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
6
7
|
const _sfc_main = {
|
|
7
8
|
components: { Text },
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const MenuItemTypes: () => 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 MenuItemTypes: () => 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 as MenuItem } from './MenuItem.vue';
|
|
3
3
|
export { MenuItemTypes };
|
|
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
36
36
|
skidding: number;
|
|
37
37
|
autoHide: boolean;
|
|
38
38
|
trigger: 'click' | 'hover' | 'focus' | 'touch' | 'managed';
|
|
39
|
-
}>;
|
|
39
|
+
}, {}>;
|
|
40
40
|
export default _default;
|
|
41
41
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
42
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -2,7 +2,7 @@ import { defineComponent, openBlock, createBlock, unref, withCtx, renderSlot } f
|
|
|
2
2
|
import { Dropdown } from 'floating-vue';
|
|
3
3
|
/* empty css */
|
|
4
4
|
import "../../Popover.vue_vue_type_style_index_0_lang.css";
|
|
5
|
-
const _sfc_main =
|
|
5
|
+
const _sfc_main = defineComponent({
|
|
6
6
|
__name: "Popover",
|
|
7
7
|
props: {
|
|
8
8
|
open: { type: Boolean },
|
|
@@ -17,12 +17,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
return (_ctx, _cache) => {
|
|
18
18
|
return openBlock(), createBlock(unref(Dropdown), {
|
|
19
19
|
theme: "custom-popover",
|
|
20
|
-
placement:
|
|
21
|
-
shown: !!
|
|
22
|
-
triggers:
|
|
23
|
-
"auto-hide":
|
|
24
|
-
distance:
|
|
25
|
-
skidding:
|
|
20
|
+
placement: _ctx.placement,
|
|
21
|
+
shown: !!_ctx.open,
|
|
22
|
+
triggers: _ctx.trigger === "managed" ? [] : [_ctx.trigger],
|
|
23
|
+
"auto-hide": _ctx.autoHide,
|
|
24
|
+
distance: _ctx.distance,
|
|
25
|
+
skidding: _ctx.skidding
|
|
26
26
|
}, {
|
|
27
27
|
popper: withCtx(({ hide }) => [
|
|
28
28
|
renderSlot(_ctx.$slots, "content", { hide })
|
|
@@ -75,6 +75,6 @@ declare const PopoverTypes: () => import("vue").DefineComponent<{
|
|
|
75
75
|
skidding: number;
|
|
76
76
|
autoHide: boolean;
|
|
77
77
|
trigger: "hover" | "click" | "focus" | "touch" | "managed";
|
|
78
|
-
}>[];
|
|
78
|
+
}, {}>[];
|
|
79
79
|
export { default as Popover } from './Popover.vue';
|
|
80
80
|
export { PopoverTypes };
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
31
31
|
modelValue: string;
|
|
32
32
|
helperText: string;
|
|
33
33
|
errorText: string;
|
|
34
|
-
}>;
|
|
34
|
+
}, {}>;
|
|
35
35
|
export default _default;
|
|
36
36
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
37
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -7,7 +7,7 @@ import "../../RadioButton.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
|
7
7
|
const _hoisted_1 = { class: "wrapper" };
|
|
8
8
|
const _hoisted_2 = ["value", "name", "disabled"];
|
|
9
9
|
const _hoisted_3 = { class: "label" };
|
|
10
|
-
const _sfc_main =
|
|
10
|
+
const _sfc_main = defineComponent({
|
|
11
11
|
__name: "RadioButton",
|
|
12
12
|
props: {
|
|
13
13
|
label: { default: "" },
|
|
@@ -32,8 +32,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
ref_key: "radioRef",
|
|
33
33
|
ref: radioRef,
|
|
34
34
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(modelValue) ? modelValue.value = $event : null),
|
|
35
|
-
value:
|
|
36
|
-
name:
|
|
35
|
+
value: _ctx.label,
|
|
36
|
+
name: _ctx.name || unref(radioGroup)?.name,
|
|
37
37
|
type: "radio",
|
|
38
38
|
disabled: unref(disabled),
|
|
39
39
|
onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
|
|
@@ -42,35 +42,35 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
[vModelRadio, unref(modelValue)]
|
|
43
43
|
]),
|
|
44
44
|
createElementVNode("span", {
|
|
45
|
-
class: normalizeClass([{ "circle--selected": unref(modelValue) ===
|
|
45
|
+
class: normalizeClass([{ "circle--selected": unref(modelValue) === _ctx.label }, "circle"])
|
|
46
46
|
}, null, 2)
|
|
47
47
|
]),
|
|
48
48
|
createElementVNode("span", _hoisted_3, [
|
|
49
49
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
50
50
|
createVNode(Text, { "is-truncated": "" }, {
|
|
51
51
|
default: withCtx(() => [
|
|
52
|
-
createTextVNode(toDisplayString(
|
|
52
|
+
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
53
53
|
]),
|
|
54
54
|
_: 1
|
|
55
55
|
})
|
|
56
56
|
], true),
|
|
57
|
-
!
|
|
57
|
+
!_ctx.errorText && _ctx.helperText ? (openBlock(), createBlock(Text, {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: "helper-text--text helper-text",
|
|
60
60
|
size: "caption"
|
|
61
61
|
}, {
|
|
62
62
|
default: withCtx(() => [
|
|
63
|
-
createTextVNode(toDisplayString(
|
|
63
|
+
createTextVNode(toDisplayString(_ctx.helperText), 1)
|
|
64
64
|
]),
|
|
65
65
|
_: 1
|
|
66
66
|
})) : createCommentVNode("", true),
|
|
67
|
-
|
|
67
|
+
_ctx.errorText ? (openBlock(), createBlock(Text, {
|
|
68
68
|
key: 1,
|
|
69
69
|
size: "caption",
|
|
70
70
|
class: "helper-text--error helper-text"
|
|
71
71
|
}, {
|
|
72
72
|
default: withCtx(() => [
|
|
73
|
-
createTextVNode(toDisplayString(
|
|
73
|
+
createTextVNode(toDisplayString(_ctx.errorText), 1)
|
|
74
74
|
]),
|
|
75
75
|
_: 1
|
|
76
76
|
})) : createCommentVNode("", true)
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
25
25
|
name: string;
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
row: boolean;
|
|
28
|
-
}>;
|
|
28
|
+
}, {}>;
|
|
29
29
|
export default _default;
|
|
30
30
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
31
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -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 =
|
|
7
|
+
const _sfc_main = defineComponent({
|
|
8
8
|
__name: "RadioGroup",
|
|
9
9
|
props: {
|
|
10
10
|
name: { default: "" },
|
|
11
11
|
disabled: { type: Boolean, default: false },
|
|
12
|
-
modelValue:
|
|
12
|
+
modelValue: {},
|
|
13
13
|
row: { type: Boolean, default: false }
|
|
14
14
|
},
|
|
15
15
|
emits: ["update:modelValue", "change"],
|
|
@@ -43,7 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
return openBlock(), createElementBlock("div", {
|
|
44
44
|
ref_key: "radioGroupRef",
|
|
45
45
|
ref: radioGroupRef,
|
|
46
|
-
class: normalizeClass([{ "radio-group--row":
|
|
46
|
+
class: normalizeClass([{ "radio-group--row": _ctx.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
|
|
18
|
+
tabIndex: import("vue").ComputedRef<0 | -1>;
|
|
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,
|
|
1
|
+
import { defineComponent, ref, computed, openBlock, createElementBlock, normalizeClass, createBlock, unref, 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 =
|
|
7
|
+
const _sfc_main = defineComponent({
|
|
8
8
|
__name: "Search",
|
|
9
9
|
props: {
|
|
10
|
-
modelValue:
|
|
11
|
-
placeholder:
|
|
10
|
+
modelValue: {},
|
|
11
|
+
placeholder: {},
|
|
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, emit }) {
|
|
17
|
+
setup(__props, { expose: __expose, emit }) {
|
|
18
18
|
const props = __props;
|
|
19
19
|
const inputRef = ref();
|
|
20
20
|
const updateValue = (e) => {
|
|
@@ -53,14 +53,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
const rightIcon = computed(() => {
|
|
54
54
|
return showClear.value ? "cancel" : "search";
|
|
55
55
|
});
|
|
56
|
-
|
|
56
|
+
__expose({
|
|
57
57
|
inputRef
|
|
58
58
|
});
|
|
59
59
|
return (_ctx, _cache) => {
|
|
60
60
|
return openBlock(), createElementBlock("div", {
|
|
61
|
-
class: normalizeClass(["search-container", `${
|
|
61
|
+
class: normalizeClass(["search-container", `${_ctx.size}`])
|
|
62
62
|
}, [
|
|
63
|
-
|
|
63
|
+
showLeftIcon.value ? (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 = /* @__PURE__ */ defineComponent({
|
|
|
69
69
|
createElementVNode("input", {
|
|
70
70
|
ref_key: "inputRef",
|
|
71
71
|
ref: inputRef,
|
|
72
|
-
class: normalizeClass({ [
|
|
73
|
-
value:
|
|
74
|
-
placeholder:
|
|
75
|
-
disabled:
|
|
72
|
+
class: normalizeClass({ [_ctx.variant]: true, activated: _ctx.modelValue !== "" }),
|
|
73
|
+
value: _ctx.modelValue,
|
|
74
|
+
placeholder: _ctx.placeholder,
|
|
75
|
+
disabled: _ctx.disabled,
|
|
76
76
|
onInput: updateValue
|
|
77
77
|
}, null, 42, _hoisted_1),
|
|
78
|
-
|
|
78
|
+
showRightIcon.value ? (openBlock(), createBlock(unref(Icon), {
|
|
79
79
|
key: 1,
|
|
80
|
-
class: normalizeClass(["search-right-icon", { "search-right-icon-clear":
|
|
81
|
-
name:
|
|
80
|
+
class: normalizeClass(["search-right-icon", { "search-right-icon-clear": showClear.value }]),
|
|
81
|
+
name: rightIcon.value,
|
|
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 =
|
|
5
|
+
const _sfc_main = defineComponent({
|
|
6
6
|
__name: "Skeleton",
|
|
7
7
|
props: {
|
|
8
8
|
round: { type: Boolean },
|
|
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
setup(__props) {
|
|
12
12
|
return (_ctx, _cache) => {
|
|
13
13
|
return openBlock(), createElementBlock("div", {
|
|
14
|
-
class: normalizeClass({ round:
|
|
14
|
+
class: normalizeClass({ round: _ctx.round, fill: _ctx.fill })
|
|
15
15
|
}, [
|
|
16
16
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
17
17
|
], 2);
|
|
@@ -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,
|
|
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';
|
|
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 =
|
|
15
|
+
const _sfc_main = defineComponent({
|
|
16
16
|
__name: "Snackbar",
|
|
17
17
|
props: {
|
|
18
|
-
customClass:
|
|
18
|
+
customClass: {},
|
|
19
19
|
dangerouslyUseHTMLString: { type: Boolean },
|
|
20
20
|
duration: { default: 3e3 },
|
|
21
|
-
icon:
|
|
22
|
-
id:
|
|
23
|
-
message:
|
|
24
|
-
offset:
|
|
25
|
-
onClick:
|
|
26
|
-
onClose:
|
|
21
|
+
icon: {},
|
|
22
|
+
id: {},
|
|
23
|
+
message: {},
|
|
24
|
+
offset: {},
|
|
25
|
+
onClick: {},
|
|
26
|
+
onClose: {},
|
|
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 = /* @__PURE__ */ defineComponent({
|
|
|
91
91
|
return (_ctx, _cache) => {
|
|
92
92
|
return openBlock(), createBlock(Transition, {
|
|
93
93
|
name: "snackbar",
|
|
94
|
-
onBeforeLeave:
|
|
94
|
+
onBeforeLeave: _ctx.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:
|
|
100
|
-
class: normalizeClass(["snackbar", [
|
|
101
|
-
style: normalizeStyle(
|
|
99
|
+
id: _ctx.id,
|
|
100
|
+
class: normalizeClass(["snackbar", [_ctx.customClass, horizontalClass.value]]),
|
|
101
|
+
style: normalizeStyle(positionStyle.value),
|
|
102
102
|
role: "alert",
|
|
103
103
|
onMouseenter: clearTimer,
|
|
104
104
|
onMouseleave: startTimer,
|
|
105
|
-
onClick: _cache[0] || (_cache[0] = (...args) =>
|
|
105
|
+
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
106
106
|
}, [
|
|
107
|
-
|
|
107
|
+
iconComponent.value ? (openBlock(), createElementBlock("div", {
|
|
108
108
|
key: 0,
|
|
109
|
-
class: normalizeClass(["start-icon-container", [
|
|
109
|
+
class: normalizeClass(["start-icon-container", [typeClass.value]])
|
|
110
110
|
}, [
|
|
111
111
|
createVNode(unref(Icon), {
|
|
112
|
-
"font-size":
|
|
112
|
+
"font-size": typeClass.value ? "sm" : "lg"
|
|
113
113
|
}, {
|
|
114
114
|
default: withCtx(() => [
|
|
115
|
-
(openBlock(), createBlock(resolveDynamicComponent(
|
|
115
|
+
(openBlock(), createBlock(resolveDynamicComponent(iconComponent.value)))
|
|
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
|
-
|
|
122
|
+
_ctx.title ? (openBlock(), createBlock(Text, {
|
|
123
123
|
key: 0,
|
|
124
124
|
size: "md",
|
|
125
125
|
strong: "",
|
|
126
126
|
class: "title",
|
|
127
|
-
textContent: toDisplayString(
|
|
127
|
+
textContent: toDisplayString(_ctx.title)
|
|
128
128
|
}, null, 8, ["textContent"])) : createCommentVNode("", true),
|
|
129
129
|
withDirectives(createElementVNode("div", {
|
|
130
130
|
class: "message",
|
|
131
|
-
style: normalizeStyle(!!
|
|
131
|
+
style: normalizeStyle(!!_ctx.title ? void 0 : { margin: 0 })
|
|
132
132
|
}, [
|
|
133
133
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
134
|
-
!
|
|
134
|
+
!_ctx.dangerouslyUseHTMLString ? (openBlock(), createBlock(Text, {
|
|
135
135
|
key: 0,
|
|
136
136
|
size: "sm"
|
|
137
137
|
}, {
|
|
138
138
|
default: withCtx(() => [
|
|
139
|
-
createTextVNode(toDisplayString(
|
|
139
|
+
createTextVNode(toDisplayString(_ctx.message), 1)
|
|
140
140
|
]),
|
|
141
141
|
_: 1
|
|
142
142
|
})) : (openBlock(), createElementBlock("div", {
|
|
143
143
|
key: 1,
|
|
144
|
-
innerHTML:
|
|
144
|
+
innerHTML: _ctx.message
|
|
145
145
|
}, null, 8, _hoisted_4))
|
|
146
146
|
], true)
|
|
147
147
|
], 4), [
|
|
148
|
-
[vShow,
|
|
148
|
+
[vShow, _ctx.message]
|
|
149
149
|
])
|
|
150
150
|
]),
|
|
151
|
-
|
|
151
|
+
_ctx.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,
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, 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 =
|
|
8
|
+
const _sfc_main = defineComponent({
|
|
9
9
|
__name: "Switch",
|
|
10
10
|
props: {
|
|
11
|
-
options:
|
|
12
|
-
modelValue:
|
|
11
|
+
options: {},
|
|
12
|
+
modelValue: {},
|
|
13
13
|
size: { default: "lg" }
|
|
14
14
|
},
|
|
15
15
|
emits: ["update:modelValue"],
|
|
@@ -37,18 +37,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
};
|
|
38
38
|
return (_ctx, _cache) => {
|
|
39
39
|
return openBlock(), createElementBlock("div", {
|
|
40
|
-
class: normalizeClass(["switch", { "switch--lg":
|
|
40
|
+
class: normalizeClass(["switch", { "switch--lg": _ctx.size === "lg", "switch--sm": _ctx.size === "sm" }])
|
|
41
41
|
}, [
|
|
42
42
|
createElementVNode("span", {
|
|
43
43
|
ref_key: "box",
|
|
44
44
|
ref: box,
|
|
45
|
-
class: normalizeClass(["box", { "box--lg":
|
|
45
|
+
class: normalizeClass(["box", { "box--lg": _ctx.size === "lg", "box--sm": _ctx.size === "sm" }]),
|
|
46
46
|
style: normalizeStyle({
|
|
47
|
-
transform: `translateX(${
|
|
48
|
-
width:
|
|
47
|
+
transform: `translateX(${selectedPosition.value?.left}px)`,
|
|
48
|
+
width: selectedPosition.value?.width + "px"
|
|
49
49
|
})
|
|
50
50
|
}, null, 6),
|
|
51
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
51
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option, index) => {
|
|
52
52
|
return openBlock(), createElementBlock("button", {
|
|
53
53
|
ref_for: true,
|
|
54
54
|
ref: skipUnwrap.optionsRefs,
|
|
@@ -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> = {
|