@ironsource/shared-ui 1.4.3-rc.2 → 1.4.3-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/ButtonBase.vue_vue_type_style_index_1_scoped_true_lang.css +1 -0
- package/ButtonSuper.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/ChipV4.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dropdown.vue_vue_type_style_index_1_lang.css +1 -1
- package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FilterSearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IconButton.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/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Menu.vue_vue_type_style_index_1_lang.css +1 -1
- package/MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Popover.vue_vue_type_style_index_0_lang.css +1 -1
- package/README.md +21 -36
- package/ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/SearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Switch.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Table.vue_vue_type_style_index_1_lang.css +1 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/components/ThemeWrapper/ThemeStrore.d.ts +4 -0
- package/components/ThemeWrapper/ThemeWrapper.vue.d.ts +15 -0
- package/components/appTrigger/AppTrigger.vue.js +3 -3
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +2 -1
- package/components/button/{ButtonBase.vue.d.ts → common/ButtonBase.vue.d.ts} +9 -9
- package/components/button/{ButtonBase.vue.js → common/ButtonBase.vue.js} +8 -8
- package/components/button/common/ButtonSuper.vue.d.ts +42 -0
- package/components/button/{Button.vue.js → common/ButtonSuper.vue.js} +7 -7
- package/components/button/v3/Button.vue.js +40 -0
- package/components/button/{IconButton.vue.js → v3/IconButton.vue.js} +7 -7
- package/components/button/{ScrollButton.vue.js → v3/ScrollButton.vue.js} +6 -6
- package/components/button/v3/index.d.ts +126 -0
- package/components/button/v4/ButtonV4.vue.d.ts +52 -0
- package/components/button/v4/ButtonV4.vue.js +44 -0
- package/components/button/v4/index.d.ts +72 -0
- package/components/button/v4/index.vue.js +6 -0
- package/components/checkbox/Checkbox.vue.d.ts +1 -1
- package/components/checkbox/index.d.ts +9 -9
- package/components/chip/{Chip.vue.js → v3/Chip.vue.js} +5 -5
- package/components/chip/v4/ChipV4.vue.d.ts +48 -0
- package/components/chip/v4/ChipV4.vue.js +76 -0
- package/components/chip/v4/index.d.ts +63 -0
- package/components/chip/v4/index.vue.js +6 -0
- package/components/dateRange/CalendarMonth.vue.js +3 -3
- package/components/dateRange/DateRange.vue.js +4 -4
- package/components/dialog/Dialog.vue.d.ts +1 -1
- package/components/dialog/Dialog.vue.js +7 -6
- package/components/dialog/index.d.ts +11 -11
- package/components/dropdown/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/Dropdown.vue.js +5 -5
- package/components/dropdown/SearchInput.vue.js +6 -5
- package/components/dropdown/index.d.ts +16 -16
- package/components/emptyState/EmptyState.vue.d.ts +1 -1
- package/components/emptyState/EmptyState.vue.js +4 -4
- package/components/emptyState/index.d.ts +14 -14
- package/components/filterDropdown/AddFilterButton.vue.js +2 -2
- package/components/filterDropdown/FilterDropdown.vue.js +2 -1
- package/components/filtersPanel/FilterSearchInput.vue.js +2 -2
- package/components/floatingToolbar/FloatingToolbar.vue.js +6 -5
- package/components/icon/Icon.vue.js +0 -1
- package/components/icon/icons/index.d.ts +0 -3
- package/components/icon/icons/index.vue.js +0 -3
- package/components/icon/index.d.ts +0 -3
- package/components/includeExclude/IncludeExclude.vue.js +4 -4
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +1 -1
- package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +3 -3
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +4 -4
- package/components/input/Input.vue.d.ts +2 -2
- package/components/input/Input.vue.js +3 -3
- package/components/input/index.d.ts +16 -16
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/index.d.ts +5 -5
- package/components/snackbar/Snackbar.vue.d.ts +1 -1
- package/components/snackbar/Snackbar.vue.js +6 -5
- package/components/switch/{Switch.vue.js → v3/Switch.vue.js} +5 -5
- package/components/switch/v4/SwitchV4.vue.d.ts +37 -0
- package/components/switch/v4/SwitchV4.vue.js +87 -0
- package/components/switch/v4/index.d.ts +46 -0
- package/components/switch/v4/index.vue.js +6 -0
- package/components/table/Table.vue.js +3 -3
- package/components/tooltip/Tooltip.vue.d.ts +1 -1
- package/components/tooltip/index.d.ts +5 -5
- package/components/typography/index.d.ts +9 -9
- package/index.d.ts +429 -3
- package/index.vue.js +18 -9
- package/package.json +20 -11
- package/styleguide.scss +77 -78
- package/components/button/index.d.ts +0 -126
- package/components/icon/icons/Hammer.vue.d.ts +0 -2
- package/components/icon/icons/Hammer.vue.js +0 -26
- /package/components/button/{Button.vue.d.ts → v3/Button.vue.d.ts} +0 -0
- /package/components/button/{IconButton.vue.d.ts → v3/IconButton.vue.d.ts} +0 -0
- /package/components/button/{ScrollButton.vue.d.ts → v3/ScrollButton.vue.d.ts} +0 -0
- /package/components/button/{index.vue.js → v3/index.vue.js} +0 -0
- /package/components/chip/{Chip.vue.d.ts → v3/Chip.vue.d.ts} +0 -0
- /package/components/chip/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/chip/{index.vue.js → v3/index.vue.js} +0 -0
- /package/components/switch/{Switch.vue.d.ts → v3/Switch.vue.d.ts} +0 -0
- /package/components/switch/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/switch/{index.vue.js → v3/index.vue.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
.label[data-v-6b2024eb]{color:#41454d}.loader[data-v-6b2024eb]{width:10px;height:10px;border:1.2px solid #
|
|
1
|
+
.label[data-v-6b2024eb]{color:#41454d}.loader[data-v-6b2024eb]{width:10px;height:10px;border:1.2px solid #d2d5d8;border-bottom-color:transparent;border-radius:100%;display:inline-block;box-sizing:border-box;animation:rotation-6b2024eb 1s linear infinite}.loader.loader-active[data-v-6b2024eb]{border:1.2px solid var(--189a2944);border-bottom-color:transparent}@keyframes rotation-6b2024eb{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.toggle-body[data-v-6b2024eb]{background-color:#d2d5d8;border-radius:100px;width:1.75rem;height:1rem;position:relative;cursor:pointer;display:inline-block}.toggle-body.toggle-disabled[data-v-6b2024eb]{cursor:default;background-color:#d2d5d8b3}.toggle-body.toggle-active.toggle-disabled[data-v-6b2024eb]{background-color:var(--189a2944);opacity:.7}.toggle-head[data-v-6b2024eb]{background-color:#fff;border-radius:100px;width:.75rem;height:.75rem;position:absolute;left:.125rem;top:.125rem;transition:transform .25s linear;display:flex;justify-content:center;align-items:center}.toggle-active.toggle-body[data-v-6b2024eb]{background-color:var(--189a2944)}.toggle-active .toggle-head[data-v-6b2024eb]{transform:translate(.75rem)}.checkbox[data-v-6b2024eb]{display:none}.item-text[data-v-6b2024eb]{display:inline-block;padding-left:.5rem;line-height:1rem;color:#53575b}.item-text.text-disabled[data-v-6b2024eb]{color:#8e959d}.helper-text[data-v-6b2024eb]{display:block;color:#696a6b;padding-top:.375rem}.error-text[data-v-6b2024eb]{display:block;color:#da564f;padding-top:.375rem}.error-and-help[data-v-6b2024eb]{padding-top:0}.toggle-wrap[data-v-6b2024eb]{height:1rem}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
version: string;
|
|
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
|
+
version: string;
|
|
5
|
+
}>>>, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -4,9 +4,9 @@ import Icon from '../icon/Icon.vue.js';
|
|
|
4
4
|
import { AppTriggerTestIdModifiers } from '../../testids/index.vue.js';
|
|
5
5
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
6
6
|
import Text from '../typography/Text.vue.js';
|
|
7
|
-
/* empty css
|
|
7
|
+
/* empty css *//* empty css *//* empty css *//* empty css */import IconButton from '../button/v3/IconButton.vue.js';
|
|
8
8
|
import _sfc_main$1 from '../tooltip/Tooltip.vue.js';
|
|
9
|
-
/* empty css
|
|
9
|
+
/* empty css *//* empty css */
|
|
10
10
|
import "../../AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
11
11
|
const _hoisted_1 = ["data-testid"];
|
|
12
12
|
const _hoisted_2 = { class: "app-trigger__left-image" };
|
|
@@ -193,6 +193,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
|
-
var AppTrigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
196
|
+
var AppTrigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1313b5bc"]]);
|
|
197
197
|
|
|
198
198
|
export { AppTrigger as default };
|
|
@@ -2,7 +2,8 @@ import { defineComponent, ref, computed, watch, nextTick, openBlock, createBlock
|
|
|
2
2
|
import Dropdown from '../dropdown/Dropdown.vue.js';
|
|
3
3
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
4
|
/* empty css *//* empty css *//* empty css */import '@vue/shared';
|
|
5
|
-
/* empty css *//* empty css *//* empty css
|
|
5
|
+
/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import 'floating-vue';
|
|
6
|
+
/* empty css *//* empty css *//* empty css */import GroupOption from './GroupOption.vue.js';
|
|
6
7
|
import AutocompleteInput from './AutocompleteInput.vue.js';
|
|
7
8
|
import { DEFAULT_PLACEHOLDER, GROUP_OPTION_FLAG } from './consts.vue.js';
|
|
8
9
|
import { useKeyboardNavigation } from './useKeyboardNavigation.vue.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
3
|
-
variant?: 'solid' | 'border' | 'borderless' | 'ghost' | 'link' | 'colorized';
|
|
4
|
-
theme?: '
|
|
2
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
|
|
3
|
+
variant?: 'solid' | 'border' | 'borderless' | 'ghost' | 'link' | 'colorized' | 'contained' | 'outlined' | 'text';
|
|
4
|
+
theme?: 'secondary' | 'third' | 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
isTruncated?: boolean;
|
|
7
7
|
strong?: boolean;
|
|
@@ -12,9 +12,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
12
12
|
loading: boolean;
|
|
13
13
|
strong: boolean;
|
|
14
14
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
-
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
16
|
-
variant?: 'solid' | 'border' | 'borderless' | 'ghost' | 'link' | 'colorized';
|
|
17
|
-
theme?: '
|
|
15
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
|
|
16
|
+
variant?: 'solid' | 'border' | 'borderless' | 'ghost' | 'link' | 'colorized' | 'contained' | 'outlined' | 'text';
|
|
17
|
+
theme?: 'secondary' | 'third' | 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
|
|
18
18
|
loading?: boolean;
|
|
19
19
|
isTruncated?: boolean;
|
|
20
20
|
strong?: boolean;
|
|
@@ -25,10 +25,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
25
25
|
loading: boolean;
|
|
26
26
|
strong: boolean;
|
|
27
27
|
}>>>, {
|
|
28
|
-
size: 'xs' | 'sm' | 'md' | 'lg';
|
|
29
28
|
strong: boolean;
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
theme: 'secondary' | 'third' | 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
|
|
30
|
+
size: 'xs' | 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
|
|
31
|
+
variant: 'solid' | 'border' | 'borderless' | 'ghost' | 'link' | 'colorized' | 'contained' | 'outlined' | 'text';
|
|
32
32
|
loading: boolean;
|
|
33
33
|
}>;
|
|
34
34
|
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, mergeProps, renderSlot, createVNode, unref, withCtx, createCommentVNode } from 'vue';
|
|
2
|
-
/* empty css
|
|
3
|
-
import Text from '
|
|
4
|
-
import Icon from '
|
|
5
|
-
import { sizeToFont } from '
|
|
6
|
-
import LoaderDotsIcon from '
|
|
7
|
-
/* empty css */
|
|
8
|
-
import "../../ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
2
|
+
/* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
|
|
3
|
+
import Text from '../../typography/Text.vue.js';
|
|
4
|
+
import Icon from '../../icon/Icon.vue.js';
|
|
5
|
+
import { sizeToFont } from '../consts.vue.js';
|
|
6
|
+
import LoaderDotsIcon from '../icon/LoaderDotsIcon.vue.js';
|
|
7
|
+
/* empty css *//* empty css */
|
|
8
|
+
////import "../../ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
9
9
|
const _hoisted_1 = { key: 0 };
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "ButtonBase",
|
|
@@ -58,6 +58,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
var ButtonBase = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
61
|
+
var ButtonBase = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5425b1e1"]]);
|
|
62
62
|
|
|
63
63
|
export { ButtonBase as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IconName } from '@/components/icon';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
leftIconName?: IconName;
|
|
4
|
+
rightIconName?: IconName;
|
|
5
|
+
size?: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
|
|
6
|
+
testId?: string;
|
|
7
|
+
}>, {
|
|
8
|
+
leftIconName: any;
|
|
9
|
+
rightIconName: any;
|
|
10
|
+
size: string;
|
|
11
|
+
testId: string;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
leftIconName?: IconName;
|
|
14
|
+
rightIconName?: IconName;
|
|
15
|
+
size?: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
|
|
16
|
+
testId?: string;
|
|
17
|
+
}>, {
|
|
18
|
+
leftIconName: any;
|
|
19
|
+
rightIconName: any;
|
|
20
|
+
size: string;
|
|
21
|
+
testId: string;
|
|
22
|
+
}>>>, {
|
|
23
|
+
size: 'sm' | 'md' | 'lg' | 'small' | 'medium' | 'large' | 'extraLarge';
|
|
24
|
+
testId: string;
|
|
25
|
+
leftIconName: IconName;
|
|
26
|
+
rightIconName: IconName;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_WithDefaults<P, D> = {
|
|
39
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
40
|
+
default: D[K];
|
|
41
|
+
} : P[K];
|
|
42
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementVNode, normalizeClass, unref, createCommentVNode, renderSlot } from 'vue';
|
|
2
|
-
import Icon from '
|
|
2
|
+
import Icon from '../../icon/Icon.vue.js';
|
|
3
3
|
import ButtonBase from './ButtonBase.vue.js';
|
|
4
|
-
import { iconSizeMap } from '
|
|
5
|
-
/* empty css
|
|
4
|
+
import { iconSizeMap } from '../consts.vue.js';
|
|
5
|
+
/* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
|
|
6
6
|
|
|
7
|
-
import "../../
|
|
7
|
+
////import "../../ButtonSuper.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
-
__name: "
|
|
9
|
+
__name: "ButtonSuper",
|
|
10
10
|
props: {
|
|
11
11
|
leftIconName: { default: null },
|
|
12
12
|
rightIconName: { default: null },
|
|
@@ -60,6 +60,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
60
60
|
};
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
var
|
|
63
|
+
var ButtonSuper = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2fbb82ae"]]);
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { ButtonSuper as default };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
|
+
import ButtonSuper from '../common/ButtonSuper.vue.js';
|
|
3
|
+
/* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
|
+
|
|
5
|
+
import "../../../Button.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "Button",
|
|
8
|
+
props: {
|
|
9
|
+
leftIconName: { default: null },
|
|
10
|
+
rightIconName: { default: null },
|
|
11
|
+
size: { default: "md" },
|
|
12
|
+
testId: { default: "" }
|
|
13
|
+
},
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const props = __props;
|
|
16
|
+
return (_ctx, _cache) => {
|
|
17
|
+
return openBlock(), createBlock(ButtonSuper, mergeProps({
|
|
18
|
+
class: [
|
|
19
|
+
__props.size,
|
|
20
|
+
{
|
|
21
|
+
"with-left-icon": !!__props.leftIconName,
|
|
22
|
+
"with-right-icon": !!__props.rightIconName
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
size: __props.size,
|
|
26
|
+
"data-testid": props.testId,
|
|
27
|
+
"left-icon-name": __props.leftIconName,
|
|
28
|
+
"right-icon-name": __props.rightIconName
|
|
29
|
+
}, _ctx.$attrs), {
|
|
30
|
+
default: withCtx(() => [
|
|
31
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
32
|
+
]),
|
|
33
|
+
_: 3
|
|
34
|
+
}, 16, ["class", "size", "data-testid", "left-icon-name", "right-icon-name"]);
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
var Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-64003b2c"]]);
|
|
39
|
+
|
|
40
|
+
export { Button as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createBlock, mergeProps, withCtx, createElementVNode, normalizeClass, renderSlot, createVNode, unref } from 'vue';
|
|
2
|
-
import Icon from '
|
|
3
|
-
import ButtonBase from '
|
|
4
|
-
import { loaderSizeMap } from '
|
|
5
|
-
import LoaderCircleIcon from '
|
|
6
|
-
/* empty css */import _export_sfc from '
|
|
2
|
+
import Icon from '../../icon/Icon.vue.js';
|
|
3
|
+
import ButtonBase from '../common/ButtonBase.vue.js';
|
|
4
|
+
import { loaderSizeMap } from '../consts.vue.js';
|
|
5
|
+
import LoaderCircleIcon from '../icon/LoaderCircleIcon.vue.js';
|
|
6
|
+
/* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
|
|
7
7
|
|
|
8
|
-
import "
|
|
8
|
+
import "../../../IconButton.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "IconButton",
|
|
11
11
|
props: {
|
|
@@ -46,6 +46,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
var IconButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
49
|
+
var IconButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e3fa1ea6"]]);
|
|
50
50
|
|
|
51
51
|
export { IconButton as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createBlock, unref, normalizeClass, withCtx, createVNode, createCommentVNode } from 'vue';
|
|
2
|
-
import Icon from '
|
|
3
|
-
/* empty css
|
|
4
|
-
/* empty css
|
|
5
|
-
import _sfc_main$1 from '
|
|
2
|
+
import Icon from '../../icon/Icon.vue.js';
|
|
3
|
+
/* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
|
+
/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import IconButton from './IconButton.vue.js';
|
|
5
|
+
import _sfc_main$1 from '../../tooltip/Tooltip.vue.js';
|
|
6
6
|
/* empty css */
|
|
7
|
-
import "
|
|
7
|
+
import "../../../ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "ScrollButton",
|
|
10
10
|
props: {
|
|
@@ -43,6 +43,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
var ScrollButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
46
|
+
var ScrollButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fbd33082"]]);
|
|
47
47
|
|
|
48
48
|
export { ScrollButton as default };
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import Button from './Button.vue';
|
|
2
|
+
import IconButton from './IconButton.vue';
|
|
3
|
+
import ScrollButton from './ScrollButton.vue';
|
|
4
|
+
declare const ButtonTypes: () => (import("vue").DefineComponent<{
|
|
5
|
+
size: {
|
|
6
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
7
|
+
} & {
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
testId: {
|
|
11
|
+
type: import("vue").PropType<string>;
|
|
12
|
+
} & {
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
leftIconName: {
|
|
16
|
+
type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
|
|
17
|
+
} & {
|
|
18
|
+
default: any;
|
|
19
|
+
};
|
|
20
|
+
rightIconName: {
|
|
21
|
+
type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
|
|
22
|
+
} & {
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
size: {
|
|
27
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
28
|
+
} & {
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
testId: {
|
|
32
|
+
type: import("vue").PropType<string>;
|
|
33
|
+
} & {
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
leftIconName: {
|
|
37
|
+
type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
|
|
38
|
+
} & {
|
|
39
|
+
default: any;
|
|
40
|
+
};
|
|
41
|
+
rightIconName: {
|
|
42
|
+
type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
|
|
43
|
+
} & {
|
|
44
|
+
default: any;
|
|
45
|
+
};
|
|
46
|
+
}>>, {
|
|
47
|
+
size: "md" | "sm" | "lg";
|
|
48
|
+
testId: string;
|
|
49
|
+
leftIconName: "search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad";
|
|
50
|
+
rightIconName: "search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad";
|
|
51
|
+
}> | import("vue").DefineComponent<{
|
|
52
|
+
size: {
|
|
53
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
54
|
+
} & {
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
variant: {
|
|
58
|
+
type: import("vue").PropType<"link" | "solid" | "border" | "borderless" | "ghost" | "colorized">;
|
|
59
|
+
} & {
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
|
+
size: {
|
|
64
|
+
type: import("vue").PropType<"md" | "sm" | "lg">;
|
|
65
|
+
} & {
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
variant: {
|
|
69
|
+
type: import("vue").PropType<"link" | "solid" | "border" | "borderless" | "ghost" | "colorized">;
|
|
70
|
+
} & {
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
}>>, {
|
|
74
|
+
size: "md" | "sm" | "lg";
|
|
75
|
+
variant: "link" | "solid" | "border" | "borderless" | "ghost" | "colorized";
|
|
76
|
+
}> | import("vue").DefineComponent<{
|
|
77
|
+
show: {
|
|
78
|
+
type: import("vue").PropType<boolean>;
|
|
79
|
+
} & {
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
iconName: {
|
|
83
|
+
type: import("vue").PropType<string>;
|
|
84
|
+
} & {
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
tooltipText: {
|
|
88
|
+
type: import("vue").PropType<string>;
|
|
89
|
+
} & {
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
position: {
|
|
93
|
+
type: import("vue").PropType<"bottom-right" | "bottom-left" | "top-right" | "top-left">;
|
|
94
|
+
} & {
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scrolled"[], "scrolled", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
+
show: {
|
|
99
|
+
type: import("vue").PropType<boolean>;
|
|
100
|
+
} & {
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
iconName: {
|
|
104
|
+
type: import("vue").PropType<string>;
|
|
105
|
+
} & {
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
tooltipText: {
|
|
109
|
+
type: import("vue").PropType<string>;
|
|
110
|
+
} & {
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
position: {
|
|
114
|
+
type: import("vue").PropType<"bottom-right" | "bottom-left" | "top-right" | "top-left">;
|
|
115
|
+
} & {
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
}>> & {
|
|
119
|
+
onScrolled?: (...args: any[]) => any;
|
|
120
|
+
}, {
|
|
121
|
+
show: boolean;
|
|
122
|
+
iconName: string;
|
|
123
|
+
tooltipText: string;
|
|
124
|
+
position: "bottom-right" | "bottom-left" | "top-right" | "top-left";
|
|
125
|
+
}>)[];
|
|
126
|
+
export { Button, IconButton, ScrollButton, ButtonTypes };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { IconName } from '@/components/icon';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
size?: 'small' | 'medium' | 'large' | 'extraLarge';
|
|
4
|
+
variant?: 'contained' | 'outlined' | 'text';
|
|
5
|
+
color?: 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
|
|
6
|
+
testId?: string;
|
|
7
|
+
leftIconName?: IconName;
|
|
8
|
+
rightIconName?: IconName;
|
|
9
|
+
}>, {
|
|
10
|
+
leftIconName: any;
|
|
11
|
+
rightIconName: any;
|
|
12
|
+
size: string;
|
|
13
|
+
testId: string;
|
|
14
|
+
variant: string;
|
|
15
|
+
color: string;
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
size?: 'small' | 'medium' | 'large' | 'extraLarge';
|
|
18
|
+
variant?: 'contained' | 'outlined' | 'text';
|
|
19
|
+
color?: 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
|
|
20
|
+
testId?: string;
|
|
21
|
+
leftIconName?: IconName;
|
|
22
|
+
rightIconName?: IconName;
|
|
23
|
+
}>, {
|
|
24
|
+
leftIconName: any;
|
|
25
|
+
rightIconName: any;
|
|
26
|
+
size: string;
|
|
27
|
+
testId: string;
|
|
28
|
+
variant: string;
|
|
29
|
+
color: string;
|
|
30
|
+
}>>>, {
|
|
31
|
+
size: 'small' | 'medium' | 'large' | 'extraLarge';
|
|
32
|
+
testId: string;
|
|
33
|
+
variant: 'contained' | 'outlined' | 'text';
|
|
34
|
+
leftIconName: IconName;
|
|
35
|
+
rightIconName: IconName;
|
|
36
|
+
color: 'primary' | 'default' | 'danger' | 'info' | 'success' | 'warning';
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
type __VLS_WithDefaults<P, D> = {
|
|
49
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
50
|
+
default: D[K];
|
|
51
|
+
} : P[K];
|
|
52
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, mergeProps, withCtx, renderSlot } from 'vue';
|
|
2
|
+
import ButtonSuper from '../common/ButtonSuper.vue.js';
|
|
3
|
+
/* empty css */import _export_sfc from '../../../_virtual/plugin-vue_export-helper.vue.js';
|
|
4
|
+
|
|
5
|
+
import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "ButtonV4",
|
|
8
|
+
props: {
|
|
9
|
+
size: { default: "medium" },
|
|
10
|
+
variant: { default: "contained" },
|
|
11
|
+
color: { default: "primary" },
|
|
12
|
+
testId: { default: "" },
|
|
13
|
+
leftIconName: { default: null },
|
|
14
|
+
rightIconName: { default: null }
|
|
15
|
+
},
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
return openBlock(), createBlock(ButtonSuper, mergeProps({
|
|
20
|
+
class: [
|
|
21
|
+
__props.size,
|
|
22
|
+
{
|
|
23
|
+
"with-left-icon": !!__props.leftIconName,
|
|
24
|
+
"with-right-icon": !!__props.rightIconName
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
size: __props.size,
|
|
28
|
+
"data-testid": props.testId,
|
|
29
|
+
"left-icon-name": __props.leftIconName,
|
|
30
|
+
"right-icon-name": __props.rightIconName,
|
|
31
|
+
variant: __props.variant,
|
|
32
|
+
theme: __props.color
|
|
33
|
+
}, _ctx.$attrs), {
|
|
34
|
+
default: withCtx(() => [
|
|
35
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
36
|
+
]),
|
|
37
|
+
_: 3
|
|
38
|
+
}, 16, ["class", "size", "data-testid", "left-icon-name", "right-icon-name", "variant", "theme"]);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
var Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-48ad2f11"]]);
|
|
43
|
+
|
|
44
|
+
export { Button as default };
|