@ironsource/shared-ui 2.1.6-test.13 → 2.1.6-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.
- package/Alert.vue_vue_type_style_index_0_scoped_06e0871a_lang.css +1 -0
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +1 -0
- package/ChipV4.vue_vue_type_style_index_0_scoped_12c0f396_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_057abdf5_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_0345d6b1_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +1 -0
- package/FoldableSection.vue_vue_type_style_index_0_scoped_1a5f0e2e_lang.css +1 -0
- package/HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css +1 -0
- package/IconV4.vue_vue_type_style_index_0_scoped_9d3c9cda_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +1 -0
- package/README.md +35 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_lang.css +1 -0
- package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css +1 -0
- package/components/alert/Alert.vue.d.ts +28 -0
- package/components/alert/Alert.vue.js +4 -4
- package/components/alert/Alert.vue2.js +67 -46
- package/components/alert/index.d.ts +104 -2
- package/components/autocomplete/Autocomplete.vue.d.ts +1 -0
- package/components/autocomplete/Autocomplete.vue2.js +6 -5
- package/components/autocomplete/index.d.ts +1 -0
- package/components/button/v4/ButtonV4.vue.d.ts +7 -7
- package/components/button/v4/IconButtonV4.vue.d.ts +4 -4
- package/components/button/v4/index.d.ts +61 -61
- package/components/chip/v4/Chip.types.d.ts +6 -0
- package/components/chip/v4/ChipV4.vue.d.ts +28 -35
- package/components/chip/v4/ChipV4.vue.js +3 -3
- package/components/chip/v4/ChipV4.vue2.js +28 -59
- package/components/chip/v4/index.d.ts +45 -148
- package/components/datePicker/common/DatePicker.common.js +14 -14
- package/components/datePicker/v4/DatePickerV4.vue2.js +3 -2
- package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
- package/components/dateRange/v4/DateRangeV4.vue2.js +4 -3
- package/components/dialog/v3/Dialog.vue.d.ts +1 -1
- package/components/dialog/v3/index.d.ts +20 -20
- package/components/dropdown/common/Dropdown.common.js +80 -75
- package/components/dropdown/common/Option.common.d.ts +1 -1
- package/components/dropdown/common/Option.common.js +9 -9
- package/components/dropdown/composables/useChildOptions.d.ts +7 -0
- package/components/dropdown/composables/useChildOptions.js +14 -0
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +14 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +102 -61
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +8 -3
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +22 -21
- package/components/dropdown/v4/DropdownV4.vue.d.ts +22 -6
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +81 -73
- package/components/dropdown/v4/OptionV4.vue.d.ts +6 -6
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +51 -45
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +112 -0
- package/components/dropdown/v4/TreeDropdown.vue.js +7 -0
- package/components/dropdown/v4/TreeDropdown.vue2.js +122 -0
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +1 -1
- package/components/dropdown/v4/index.d.ts +332 -49
- package/components/dropdown/v4/index.js +7 -4
- package/components/emptyState/v3/EmptyState.vue.d.ts +2 -2
- package/components/emptyState/v3/index.d.ts +47 -47
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
- package/components/emptyState/v4/index.d.ts +7 -7
- package/components/icon/v4/Icon.types.d.ts +1 -1
- package/components/icon/v4/IconV4.vue.d.ts +16 -6
- package/components/icon/v4/IconV4.vue.js +4 -4
- package/components/icon/v4/IconV4.vue2.js +36 -33
- package/components/icon/v4/index.d.ts +53 -15
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +1 -1
- package/components/layout/FoldableSection.vue.js +5 -5
- package/components/layout/FoldableSection.vue2.js +1 -1
- package/components/multibar/MultiBarMenu.vue2.js +12 -11
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +20 -20
- package/components/table/common/Table.common.d.ts +1 -0
- package/components/table/common/Table.common.js +65 -61
- package/components/table/v4/DataGrid.vue.d.ts +5 -1
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +166 -162
- package/components/table/v4/DataGridMenu.vue2.js +3 -2
- package/components/table/v4/HelpIcon.vue.js +5 -5
- package/components/table/v4/HelpIcon.vue2.js +5 -5
- package/components/table/v4/index.d.ts +16 -4
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
- package/components/toggle/v4/ToggleV4.vue.d.ts +1 -1
- package/components/toggle/v4/ToggleV4.vue.js +3 -3
- package/components/toggle/v4/ToggleV4.vue2.js +12 -12
- package/components/toggle/v4/index.d.ts +20 -20
- package/composables/useFormValidation.js +19 -13
- package/design-foundation.stories/icons/iconsData.d.ts +5 -1
- package/index.d.ts +1091 -632
- package/mocks/apps.d.ts +1 -0
- package/mocks/options.d.ts +12 -0
- package/package.json +1 -1
- package/utils/text.d.ts +1 -0
- package/utils/text.js +9 -0
- package/Alert.vue_vue_type_style_index_0_scoped_d6680a72_lang.css +0 -1
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css +0 -1
- package/ChipV4.vue_vue_type_style_index_0_scoped_78d7c9c0_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_6df3b70f_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_1cc45a5d_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_ad524750_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css +0 -1
- package/FoldableSection.vue_vue_type_style_index_0_scoped_8d0fd203_lang.css +0 -1
- package/HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_lang.css +0 -1
- package/IconV4.vue_vue_type_style_index_0_scoped_a78f8a3e_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_e0c24b6a_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_8199b662_lang.css +0 -1
- package/ToggleV4.vue_vue_type_style_index_0_scoped_ad231e8c_lang.css +0 -1
|
@@ -5,8 +5,9 @@ import t from "./ChipDropdownTrigger.vue.js";
|
|
|
5
5
|
import i from "./AppDropdownTrigger.vue.js";
|
|
6
6
|
import m from "./ButtonDropdownTrigger.vue.js";
|
|
7
7
|
import n from "./ButtonFilterDropdownTrigger.vue.js";
|
|
8
|
+
import e from "./TreeDropdown.vue.js";
|
|
8
9
|
import g from "./OptionV4.vue.js";
|
|
9
|
-
const
|
|
10
|
+
const s = () => [
|
|
10
11
|
o,
|
|
11
12
|
r,
|
|
12
13
|
p,
|
|
@@ -14,7 +15,8 @@ const c = () => [
|
|
|
14
15
|
m,
|
|
15
16
|
n,
|
|
16
17
|
i,
|
|
17
|
-
g
|
|
18
|
+
g,
|
|
19
|
+
e
|
|
18
20
|
];
|
|
19
21
|
export {
|
|
20
22
|
i as AppDropdownTrigger,
|
|
@@ -23,7 +25,8 @@ export {
|
|
|
23
25
|
t as ChipDropdownTrigger,
|
|
24
26
|
r as DefaultDropdownTrigger,
|
|
25
27
|
o as Dropdown,
|
|
26
|
-
|
|
28
|
+
s as DropdownTypes,
|
|
27
29
|
p as IconButtonDropdownTrigger,
|
|
28
|
-
g as Option
|
|
30
|
+
g as Option,
|
|
31
|
+
e as TreeDropdown
|
|
29
32
|
};
|
|
@@ -53,6 +53,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
53
53
|
}, {
|
|
54
54
|
title: string;
|
|
55
55
|
size: "sm" | "lg";
|
|
56
|
+
iconWidth: number;
|
|
57
|
+
iconHeight: number;
|
|
56
58
|
fontSize: string;
|
|
57
59
|
iconName: "filter" | "a" | "b" | "link" | "style" | "image" | "switch" | "search" | "ab-test" | "help" | "block" | "add" | "rotate" | "visibility" | "border-color" | "info" | "success" | "warning" | "error" | "close" | "check-circle" | "warning-octagon" | "cancel" | "pause" | "android" | "ios" | "FiltersSearch" | "a-2" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "analytics" | "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" | "hammer" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "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" | "duplicate" | "ecpi" | "email" | "email-envelope" | "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-outline" | "history" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "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-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" | "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-full" | "table-edit" | "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-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad" | "question" | "info-v4" | "check-v4" | "warning-circle" | "eye-v4" | "eye-slash" | "warning-v4";
|
|
58
60
|
subtitle: string;
|
|
@@ -60,8 +62,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
60
62
|
isHorizontal: boolean;
|
|
61
63
|
hasIcon: boolean;
|
|
62
64
|
isBordered: boolean;
|
|
63
|
-
iconWidth: number;
|
|
64
|
-
iconHeight: number;
|
|
65
65
|
}>, {
|
|
66
66
|
icon?(_: {}): any;
|
|
67
67
|
title?(_: {}): any;
|
|
@@ -5,6 +5,8 @@ declare const EmptyStateTypes: () => ({
|
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
title: string;
|
|
7
7
|
size: "sm" | "lg";
|
|
8
|
+
iconWidth: number;
|
|
9
|
+
iconHeight: number;
|
|
8
10
|
fontSize: string;
|
|
9
11
|
iconName: "filter" | "a" | "b" | "link" | "style" | "image" | "switch" | "search" | "ab-test" | "help" | "block" | "add" | "rotate" | "visibility" | "border-color" | "info" | "success" | "warning" | "error" | "close" | "check-circle" | "warning-octagon" | "cancel" | "pause" | "android" | "ios" | "FiltersSearch" | "a-2" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "analytics" | "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" | "hammer" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "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" | "duplicate" | "ecpi" | "email" | "email-envelope" | "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-outline" | "history" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "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-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" | "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-full" | "table-edit" | "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-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad" | "question" | "info-v4" | "check-v4" | "warning-circle" | "eye-v4" | "eye-slash" | "warning-v4";
|
|
10
12
|
subtitle: string;
|
|
@@ -12,8 +14,6 @@ declare const EmptyStateTypes: () => ({
|
|
|
12
14
|
isHorizontal: boolean;
|
|
13
15
|
hasIcon: boolean;
|
|
14
16
|
isBordered: boolean;
|
|
15
|
-
iconWidth: number;
|
|
16
|
-
iconHeight: number;
|
|
17
17
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
title: {
|
|
19
19
|
type: import("vue").PropType<string>;
|
|
@@ -23,6 +23,16 @@ declare const EmptyStateTypes: () => ({
|
|
|
23
23
|
type: import("vue").PropType<"sm" | "lg">;
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
|
+
iconWidth: {
|
|
27
|
+
type: import("vue").PropType<number>;
|
|
28
|
+
required: true;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
iconHeight: {
|
|
32
|
+
type: import("vue").PropType<number>;
|
|
33
|
+
required: true;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
26
36
|
fontSize: {
|
|
27
37
|
type: import("vue").PropType<string>;
|
|
28
38
|
default: string;
|
|
@@ -51,19 +61,9 @@ declare const EmptyStateTypes: () => ({
|
|
|
51
61
|
type: import("vue").PropType<boolean>;
|
|
52
62
|
default: boolean;
|
|
53
63
|
};
|
|
54
|
-
iconWidth: {
|
|
55
|
-
type: import("vue").PropType<number>;
|
|
56
|
-
required: true;
|
|
57
|
-
default: number;
|
|
58
|
-
};
|
|
59
|
-
iconHeight: {
|
|
60
|
-
type: import("vue").PropType<number>;
|
|
61
|
-
required: true;
|
|
62
|
-
default: number;
|
|
63
|
-
};
|
|
64
64
|
}>> & {
|
|
65
65
|
onClick?: () => any;
|
|
66
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "size" | "
|
|
66
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "size" | "iconWidth" | "iconHeight" | "fontSize" | "iconName" | "subtitle" | "buttonText" | "isHorizontal" | "hasIcon" | "isBordered">;
|
|
67
67
|
$attrs: {
|
|
68
68
|
[x: string]: unknown;
|
|
69
69
|
};
|
|
@@ -86,6 +86,16 @@ declare const EmptyStateTypes: () => ({
|
|
|
86
86
|
type: import("vue").PropType<"sm" | "lg">;
|
|
87
87
|
default: string;
|
|
88
88
|
};
|
|
89
|
+
iconWidth: {
|
|
90
|
+
type: import("vue").PropType<number>;
|
|
91
|
+
required: true;
|
|
92
|
+
default: number;
|
|
93
|
+
};
|
|
94
|
+
iconHeight: {
|
|
95
|
+
type: import("vue").PropType<number>;
|
|
96
|
+
required: true;
|
|
97
|
+
default: number;
|
|
98
|
+
};
|
|
89
99
|
fontSize: {
|
|
90
100
|
type: import("vue").PropType<string>;
|
|
91
101
|
default: string;
|
|
@@ -114,16 +124,6 @@ declare const EmptyStateTypes: () => ({
|
|
|
114
124
|
type: import("vue").PropType<boolean>;
|
|
115
125
|
default: boolean;
|
|
116
126
|
};
|
|
117
|
-
iconWidth: {
|
|
118
|
-
type: import("vue").PropType<number>;
|
|
119
|
-
required: true;
|
|
120
|
-
default: number;
|
|
121
|
-
};
|
|
122
|
-
iconHeight: {
|
|
123
|
-
type: import("vue").PropType<number>;
|
|
124
|
-
required: true;
|
|
125
|
-
default: number;
|
|
126
|
-
};
|
|
127
127
|
}>> & {
|
|
128
128
|
onClick?: () => any;
|
|
129
129
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -131,6 +131,8 @@ declare const EmptyStateTypes: () => ({
|
|
|
131
131
|
}, string, {
|
|
132
132
|
title: string;
|
|
133
133
|
size: "sm" | "lg";
|
|
134
|
+
iconWidth: number;
|
|
135
|
+
iconHeight: number;
|
|
134
136
|
fontSize: string;
|
|
135
137
|
iconName: "filter" | "a" | "b" | "link" | "style" | "image" | "switch" | "search" | "ab-test" | "help" | "block" | "add" | "rotate" | "visibility" | "border-color" | "info" | "success" | "warning" | "error" | "close" | "check-circle" | "warning-octagon" | "cancel" | "pause" | "android" | "ios" | "FiltersSearch" | "a-2" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "analytics" | "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" | "hammer" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "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" | "duplicate" | "ecpi" | "email" | "email-envelope" | "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-outline" | "history" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "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-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" | "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-full" | "table-edit" | "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-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad" | "question" | "info-v4" | "check-v4" | "warning-circle" | "eye-v4" | "eye-slash" | "warning-v4";
|
|
136
138
|
subtitle: string;
|
|
@@ -138,8 +140,6 @@ declare const EmptyStateTypes: () => ({
|
|
|
138
140
|
isHorizontal: boolean;
|
|
139
141
|
hasIcon: boolean;
|
|
140
142
|
isBordered: boolean;
|
|
141
|
-
iconWidth: number;
|
|
142
|
-
iconHeight: number;
|
|
143
143
|
}, {}, string> & {
|
|
144
144
|
beforeCreate?: (() => void) | (() => void)[];
|
|
145
145
|
created?: (() => void) | (() => void)[];
|
|
@@ -169,6 +169,16 @@ declare const EmptyStateTypes: () => ({
|
|
|
169
169
|
type: import("vue").PropType<"sm" | "lg">;
|
|
170
170
|
default: string;
|
|
171
171
|
};
|
|
172
|
+
iconWidth: {
|
|
173
|
+
type: import("vue").PropType<number>;
|
|
174
|
+
required: true;
|
|
175
|
+
default: number;
|
|
176
|
+
};
|
|
177
|
+
iconHeight: {
|
|
178
|
+
type: import("vue").PropType<number>;
|
|
179
|
+
required: true;
|
|
180
|
+
default: number;
|
|
181
|
+
};
|
|
172
182
|
fontSize: {
|
|
173
183
|
type: import("vue").PropType<string>;
|
|
174
184
|
default: string;
|
|
@@ -197,16 +207,6 @@ declare const EmptyStateTypes: () => ({
|
|
|
197
207
|
type: import("vue").PropType<boolean>;
|
|
198
208
|
default: boolean;
|
|
199
209
|
};
|
|
200
|
-
iconWidth: {
|
|
201
|
-
type: import("vue").PropType<number>;
|
|
202
|
-
required: true;
|
|
203
|
-
default: number;
|
|
204
|
-
};
|
|
205
|
-
iconHeight: {
|
|
206
|
-
type: import("vue").PropType<number>;
|
|
207
|
-
required: true;
|
|
208
|
-
default: number;
|
|
209
|
-
};
|
|
210
210
|
}>> & {
|
|
211
211
|
onClick?: () => any;
|
|
212
212
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -222,6 +222,16 @@ declare const EmptyStateTypes: () => ({
|
|
|
222
222
|
type: import("vue").PropType<"sm" | "lg">;
|
|
223
223
|
default: string;
|
|
224
224
|
};
|
|
225
|
+
iconWidth: {
|
|
226
|
+
type: import("vue").PropType<number>;
|
|
227
|
+
required: true;
|
|
228
|
+
default: number;
|
|
229
|
+
};
|
|
230
|
+
iconHeight: {
|
|
231
|
+
type: import("vue").PropType<number>;
|
|
232
|
+
required: true;
|
|
233
|
+
default: number;
|
|
234
|
+
};
|
|
225
235
|
fontSize: {
|
|
226
236
|
type: import("vue").PropType<string>;
|
|
227
237
|
default: string;
|
|
@@ -250,16 +260,6 @@ declare const EmptyStateTypes: () => ({
|
|
|
250
260
|
type: import("vue").PropType<boolean>;
|
|
251
261
|
default: boolean;
|
|
252
262
|
};
|
|
253
|
-
iconWidth: {
|
|
254
|
-
type: import("vue").PropType<number>;
|
|
255
|
-
required: true;
|
|
256
|
-
default: number;
|
|
257
|
-
};
|
|
258
|
-
iconHeight: {
|
|
259
|
-
type: import("vue").PropType<number>;
|
|
260
|
-
required: true;
|
|
261
|
-
default: number;
|
|
262
|
-
};
|
|
263
263
|
}>> & {
|
|
264
264
|
onClick?: () => any;
|
|
265
265
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -267,6 +267,8 @@ declare const EmptyStateTypes: () => ({
|
|
|
267
267
|
}, string, {
|
|
268
268
|
title: string;
|
|
269
269
|
size: "sm" | "lg";
|
|
270
|
+
iconWidth: number;
|
|
271
|
+
iconHeight: number;
|
|
270
272
|
fontSize: string;
|
|
271
273
|
iconName: "filter" | "a" | "b" | "link" | "style" | "image" | "switch" | "search" | "ab-test" | "help" | "block" | "add" | "rotate" | "visibility" | "border-color" | "info" | "success" | "warning" | "error" | "close" | "check-circle" | "warning-octagon" | "cancel" | "pause" | "android" | "ios" | "FiltersSearch" | "a-2" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "analytics" | "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" | "hammer" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "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" | "duplicate" | "ecpi" | "email" | "email-envelope" | "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-outline" | "history" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "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-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" | "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-full" | "table-edit" | "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-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad" | "question" | "info-v4" | "check-v4" | "warning-circle" | "eye-v4" | "eye-slash" | "warning-v4";
|
|
272
274
|
subtitle: string;
|
|
@@ -274,8 +276,6 @@ declare const EmptyStateTypes: () => ({
|
|
|
274
276
|
isHorizontal: boolean;
|
|
275
277
|
hasIcon: boolean;
|
|
276
278
|
isBordered: boolean;
|
|
277
|
-
iconWidth: number;
|
|
278
|
-
iconHeight: number;
|
|
279
279
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
280
280
|
$slots: {
|
|
281
281
|
icon?(_: {}): any;
|
|
@@ -4,7 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
variant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
5
5
|
buttonText?: string;
|
|
6
6
|
iconName?: string;
|
|
7
|
-
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
7
|
+
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
8
8
|
iconSize?: string;
|
|
9
9
|
}>, {
|
|
10
10
|
title: string;
|
|
@@ -22,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
22
|
variant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
23
23
|
buttonText?: string;
|
|
24
24
|
iconName?: string;
|
|
25
|
-
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
25
|
+
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
26
26
|
iconSize?: string;
|
|
27
27
|
}>, {
|
|
28
28
|
title: string;
|
|
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
40
|
iconName: string;
|
|
41
41
|
iconSize: string;
|
|
42
42
|
subtitle: string;
|
|
43
|
-
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
43
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
44
44
|
buttonText: string;
|
|
45
45
|
}>, {
|
|
46
46
|
content?(_: {}): any;
|
|
@@ -9,7 +9,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
9
9
|
iconName: string;
|
|
10
10
|
iconSize: string;
|
|
11
11
|
subtitle: string;
|
|
12
|
-
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
12
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
13
13
|
buttonText: string;
|
|
14
14
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
title: {
|
|
@@ -33,7 +33,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
33
33
|
default: any;
|
|
34
34
|
};
|
|
35
35
|
iconType: {
|
|
36
|
-
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
36
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat">;
|
|
37
37
|
default: string;
|
|
38
38
|
};
|
|
39
39
|
buttonText: {
|
|
@@ -78,7 +78,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
78
78
|
default: any;
|
|
79
79
|
};
|
|
80
80
|
iconType: {
|
|
81
|
-
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
81
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat">;
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
84
84
|
buttonText: {
|
|
@@ -95,7 +95,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
95
95
|
iconName: string;
|
|
96
96
|
iconSize: string;
|
|
97
97
|
subtitle: string;
|
|
98
|
-
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
98
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
99
99
|
buttonText: string;
|
|
100
100
|
}, {}, string> & {
|
|
101
101
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -139,7 +139,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
139
139
|
default: any;
|
|
140
140
|
};
|
|
141
141
|
iconType: {
|
|
142
|
-
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
142
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat">;
|
|
143
143
|
default: string;
|
|
144
144
|
};
|
|
145
145
|
buttonText: {
|
|
@@ -174,7 +174,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
174
174
|
default: any;
|
|
175
175
|
};
|
|
176
176
|
iconType: {
|
|
177
|
-
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
177
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat">;
|
|
178
178
|
default: string;
|
|
179
179
|
};
|
|
180
180
|
buttonText: {
|
|
@@ -191,7 +191,7 @@ declare const EmptyStateTypes: () => ({
|
|
|
191
191
|
iconName: string;
|
|
192
192
|
iconSize: string;
|
|
193
193
|
subtitle: string;
|
|
194
|
-
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
194
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
195
195
|
buttonText: string;
|
|
196
196
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
197
197
|
$slots: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ICON_TYPES: readonly ["regular", "bold", "fill", "branded", "ad-unit", "ab-test"];
|
|
1
|
+
export declare const ICON_TYPES: readonly ["regular", "bold", "fill", "branded", "ad-unit", "ab-test", "ad-networks", "ad-networks/flat"];
|
|
2
2
|
export type IconTypes = (typeof ICON_TYPES)[number];
|
|
@@ -1,28 +1,38 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
type?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
2
|
+
type?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
3
3
|
name?: string;
|
|
4
|
-
size?: string;
|
|
5
4
|
color?: string;
|
|
5
|
+
size?: string;
|
|
6
|
+
height?: string;
|
|
7
|
+
width?: string;
|
|
6
8
|
}>, {
|
|
7
9
|
name: any;
|
|
8
10
|
size: any;
|
|
9
11
|
color: any;
|
|
10
12
|
type: string;
|
|
13
|
+
height: any;
|
|
14
|
+
width: any;
|
|
11
15
|
}>, {}, 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<{
|
|
12
|
-
type?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
16
|
+
type?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
13
17
|
name?: string;
|
|
14
|
-
size?: string;
|
|
15
18
|
color?: string;
|
|
19
|
+
size?: string;
|
|
20
|
+
height?: string;
|
|
21
|
+
width?: string;
|
|
16
22
|
}>, {
|
|
17
23
|
name: any;
|
|
18
24
|
size: any;
|
|
19
25
|
color: any;
|
|
20
26
|
type: string;
|
|
27
|
+
height: any;
|
|
28
|
+
width: any;
|
|
21
29
|
}>>>, {
|
|
22
30
|
name: string;
|
|
23
|
-
type: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
24
|
-
size: string;
|
|
31
|
+
type: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
25
32
|
color: string;
|
|
33
|
+
size: string;
|
|
34
|
+
height: string;
|
|
35
|
+
width: string;
|
|
26
36
|
}>, {
|
|
27
37
|
default?(_: {}): any;
|
|
28
38
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./IconV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../IconV4.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import c from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../IconV4.vue_vue_type_style_index_0_scoped_9d3c9cda_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ c(o, [["__scopeId", "data-v-9d3c9cda"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
|
@@ -1,61 +1,64 @@
|
|
|
1
|
-
import "../../../IconV4.
|
|
1
|
+
import "../../../IconV4.vue_vue_type_style_index_0_scoped_9d3c9cda_lang.css"; import { defineComponent as w, useCssVars as C, unref as a, useSlots as b, computed as s, watch as S, openBlock as u, createElementBlock as f, normalizeClass as _, createCommentVNode as z, renderSlot as I } from "vue";
|
|
2
2
|
import { useStorage as U } from "../../../composables/useStorage.js";
|
|
3
|
-
const V = ["innerHTML"], x = /* @__PURE__ */
|
|
3
|
+
const V = ["innerHTML"], x = /* @__PURE__ */ w({
|
|
4
4
|
__name: "IconV4",
|
|
5
5
|
props: {
|
|
6
6
|
type: { default: "regular" },
|
|
7
7
|
name: { default: null },
|
|
8
|
+
color: { default: null },
|
|
8
9
|
size: { default: null },
|
|
9
|
-
|
|
10
|
+
height: { default: null },
|
|
11
|
+
width: { default: null }
|
|
10
12
|
},
|
|
11
|
-
setup(
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
13
|
+
setup(c) {
|
|
14
|
+
const e = c;
|
|
15
|
+
C((t) => ({
|
|
16
|
+
"2c0b56f5": a(h),
|
|
17
|
+
"3b908dd8": a(m),
|
|
18
|
+
"1ca7f58b": c.color
|
|
16
19
|
}));
|
|
17
|
-
const
|
|
18
|
-
if (!
|
|
20
|
+
const o = window.sharedUIRequestCache = window.sharedUIRequestCache || {}, p = "https://fusion.ironsrc.net/assets", d = b(), h = s(() => e.size || e.width), m = s(() => e.size || e.height), g = s(() => {
|
|
21
|
+
if (!e.name)
|
|
19
22
|
return "";
|
|
20
|
-
const
|
|
21
|
-
return [
|
|
22
|
-
}),
|
|
23
|
+
const t = e.name.split("/");
|
|
24
|
+
return [e.name ? `icon-name--${t.at(-1)}` : ""];
|
|
25
|
+
}), l = s(() => {
|
|
23
26
|
if (d.default)
|
|
24
27
|
return "";
|
|
25
|
-
if (!
|
|
28
|
+
if (!e.name)
|
|
26
29
|
return console.error("Please provided icon name"), "";
|
|
27
|
-
const
|
|
28
|
-
return `${p}/icons/${
|
|
29
|
-
}),
|
|
30
|
-
function
|
|
31
|
-
return
|
|
32
|
-
delete
|
|
30
|
+
const t = e.type === "regular" || e.type === "bold" || e.type === "fill" ? "ph/" : "v4/", n = e.type === "bold" || e.type === "fill" ? `-${e.type}` : "";
|
|
31
|
+
return `${p}/icons/${t}${e.type}/${e.name}${n}.svg`;
|
|
32
|
+
}), r = U(`icon-${e.type}--${e.name}`);
|
|
33
|
+
function v(t) {
|
|
34
|
+
return o[t] || (o[t] = fetch(t).then((n) => n.text()).finally(() => {
|
|
35
|
+
delete o[t];
|
|
33
36
|
}).catch((n) => {
|
|
34
37
|
console.error(n);
|
|
35
|
-
})),
|
|
38
|
+
})), o[t];
|
|
36
39
|
}
|
|
37
|
-
function
|
|
38
|
-
return
|
|
40
|
+
function y(t) {
|
|
41
|
+
return t.replace(
|
|
39
42
|
/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
|
|
40
43
|
""
|
|
41
44
|
);
|
|
42
45
|
}
|
|
43
|
-
function
|
|
44
|
-
|
|
45
|
-
typeof
|
|
46
|
+
function i() {
|
|
47
|
+
v(l.value).then((t) => {
|
|
48
|
+
typeof t == "string" && t.startsWith("<svg") && (r.value = t);
|
|
46
49
|
});
|
|
47
50
|
}
|
|
48
|
-
!
|
|
49
|
-
const
|
|
50
|
-
return
|
|
51
|
-
class:
|
|
51
|
+
!r.value && l.value && i();
|
|
52
|
+
const $ = s(() => y(r.value ?? ""));
|
|
53
|
+
return S(() => e.name, i), (t, n) => (u(), f("span", {
|
|
54
|
+
class: _(["icon", a(g)])
|
|
52
55
|
}, [
|
|
53
|
-
|
|
56
|
+
t.$slots.default ? z("", !0) : (u(), f("span", {
|
|
54
57
|
key: 0,
|
|
55
58
|
class: "icon-wrapper",
|
|
56
|
-
innerHTML:
|
|
59
|
+
innerHTML: a($)
|
|
57
60
|
}, null, 8, V)),
|
|
58
|
-
I(
|
|
61
|
+
I(t.$slots, "default", {}, void 0, !0)
|
|
59
62
|
], 2));
|
|
60
63
|
}
|
|
61
64
|
});
|