@ironsource/shared-ui 2.1.7-rc.4 → 2.1.7-rc.6
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/Autocomplete.vue_vue_type_style_index_0_scoped_e361f9fd_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_f06a4764_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_88d4532f_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_efc608f9_lang.css +1 -0
- package/ChartLoader.vue_vue_type_style_index_0_scoped_142c444a_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_938772ee_lang.css +1 -0
- package/FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css +1 -0
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -0
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css +1 -0
- package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +1 -0
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_21842d59_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_eb472aa3_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
- package/components/autocomplete/Autocomplete.vue.js +2 -2
- package/components/autocomplete/Autocomplete.vue2.js +57 -45
- package/components/autocomplete/index.d.ts +20 -1
- package/components/chart/Chart.vue.js +7 -0
- package/components/chart/Chart.vue2.js +281 -0
- package/components/chart/ChartHeader.vue.js +7 -0
- package/components/chart/ChartHeader.vue2.js +51 -0
- package/components/chart/ChartLegend.vue.js +7 -0
- package/components/chart/ChartLegend.vue2.js +65 -0
- package/components/chart/ChartLoader.vue.js +25 -0
- package/components/chart/ChartLoader.vue2.js +0 -0
- package/components/chart/ChartTooltip.vue.js +7 -0
- package/components/chart/ChartTooltip.vue2.js +81 -0
- package/components/chart/composables/useChartValues.js +32 -0
- package/components/chart/composables/useTooltipPosition.js +22 -0
- package/components/chart/consts.js +21 -0
- package/components/chart/index.js +6 -0
- package/components/chart/plugins/HoverVerticalLine.js +12 -0
- package/components/chart/types.js +4 -0
- package/components/chart/utils/formatNumber.js +11 -0
- package/components/chart/utils/utils.js +12 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +10 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +151 -147
- package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +70 -53
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +14 -0
- package/components/dropdown/v4/index.d.ts +78 -2
- package/components/includeExclude/IncludeExclude.vue.js +4 -4
- package/components/includeExclude/IncludeExclude.vue2.js +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
- package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
- package/components/input/v4/TextField.vue.d.ts +6 -1
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +95 -90
- package/components/input/v4/index.d.ts +20 -1
- package/components/popover/common/Popover.common.d.ts +6 -0
- package/components/popover/common/Popover.common.js +17 -0
- package/components/popover/v3/Popover.vue.js +8 -0
- package/components/popover/{Popover.vue2.js → v3/Popover.vue2.js} +1 -1
- package/components/popover/v4/PopoverV4.vue.d.ts +73 -0
- package/components/popover/v4/PopoverV4.vue.js +7 -0
- package/components/popover/v4/PopoverV4.vue2.js +54 -0
- package/components/popover/v4/index.d.ts +209 -0
- package/components/popover/v4/index.js +6 -0
- package/components/shared/FieldMaxLength.vue.js +3 -3
- package/components/shared/FieldMaxLength.vue2.js +2 -2
- package/components/shared/commonTypes.d.ts +2 -0
- package/components/sortableList/SortableItem.vue.js +7 -0
- package/components/sortableList/SortableItem.vue2.js +140 -0
- package/components/sortableList/SortableItemLabel.vue.js +7 -0
- package/components/sortableList/SortableItemLabel.vue2.js +60 -0
- package/components/sortableList/SortableList.vue.js +7 -0
- package/components/sortableList/SortableList.vue2.js +120 -0
- package/components/sortableList/composables/useHoverEffect.js +19 -0
- package/components/sortableList/consts.js +4 -0
- package/components/sortableList/index.js +6 -0
- package/components/textArea/v4/TextAreaV4.vue.d.ts +6 -1
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +18 -12
- package/components/textArea/v4/index.d.ts +9 -0
- package/index.d.ts +1314 -100
- package/index.js +136 -131
- package/package.json +15 -3
- package/testids/index.js +5 -4
- package/utils/search.js +4 -0
- package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +0 -1
- package/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +0 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css +0 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_5764fd61_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +0 -1
- package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +0 -1
- package/components/popover/Popover.vue.js +0 -8
- /package/components/popover/{Popover.vue.d.ts → v3/Popover.vue.d.ts} +0 -0
- /package/components/popover/{index.d.ts → v3/index.d.ts} +0 -0
- /package/components/popover/{index.js → v3/index.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./TextAreaV4.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TextAreaV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-4114ef89"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../../../TextAreaV4.
|
|
1
|
+
import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css"; import { defineComponent as f, computed as b, openBlock as t, createElementBlock as r, mergeProps as c, unref as a, createBlock as d, createCommentVNode as l, createElementVNode as g } from "vue";
|
|
2
2
|
import v from "../../shared/FieldLabel.vue.js";
|
|
3
3
|
import k from "../../shared/FieldMaxLength.vue.js";
|
|
4
4
|
import T from "../../shared/FieldHelpText.vue.js";
|
|
5
|
-
import { TextAreaTestIdModifiers as
|
|
5
|
+
import { TextAreaTestIdModifiers as i } from "../../../testids/index.js";
|
|
6
6
|
import { useTestIdAttrs as V } from "../../../utils/testIds.js";
|
|
7
7
|
const y = ["value", "placeholder", "disabled", "maxlength"], I = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "footer"
|
|
10
|
-
}, w = /* @__PURE__ */
|
|
10
|
+
}, w = /* @__PURE__ */ f({
|
|
11
11
|
__name: "TextAreaV4",
|
|
12
12
|
props: {
|
|
13
13
|
modelValue: { default: "" },
|
|
@@ -15,6 +15,7 @@ const y = ["value", "placeholder", "disabled", "maxlength"], I = {
|
|
|
15
15
|
disabled: { type: Boolean, default: !1 },
|
|
16
16
|
label: { default: "" },
|
|
17
17
|
maxLength: { default: null },
|
|
18
|
+
maxLengthCounterPosition: { default: "inside" },
|
|
18
19
|
mandatory: { type: Boolean, default: !1 },
|
|
19
20
|
hoverHelpText: { default: "" },
|
|
20
21
|
hoverHelpTextPlacement: { default: "top" },
|
|
@@ -27,11 +28,15 @@ const y = ["value", "placeholder", "disabled", "maxlength"], I = {
|
|
|
27
28
|
},
|
|
28
29
|
emits: ["update:modelValue"],
|
|
29
30
|
setup(e, { emit: h }) {
|
|
30
|
-
const
|
|
31
|
-
h("update:modelValue",
|
|
32
|
-
}, x = b(() => (
|
|
33
|
-
return (
|
|
34
|
-
|
|
31
|
+
const u = e, m = (n) => {
|
|
32
|
+
h("update:modelValue", n.target.value);
|
|
33
|
+
}, x = b(() => (u.modelValue || "").length), o = V(u.testId, i);
|
|
34
|
+
return (n, s) => (t(), r("div", c({
|
|
35
|
+
class: ["textarea-field", {
|
|
36
|
+
"textarea-field--counter-inside": e.maxLength && e.maxLengthCounterPosition === "inside"
|
|
37
|
+
}]
|
|
38
|
+
}, a(o)[a(i).WRAPPER]), [
|
|
39
|
+
e.label ? (t(), d(v, {
|
|
35
40
|
key: 0,
|
|
36
41
|
class: "textarea-label",
|
|
37
42
|
label: e.label,
|
|
@@ -51,17 +56,18 @@ const y = ["value", "placeholder", "disabled", "maxlength"], I = {
|
|
|
51
56
|
placeholder: e.placeholder,
|
|
52
57
|
disabled: e.disabled,
|
|
53
58
|
maxlength: e.maxLength
|
|
54
|
-
}, a(
|
|
55
|
-
e.feedbackText || e.maxLength ? (t(),
|
|
56
|
-
e.feedbackText ? (t(),
|
|
59
|
+
}, a(o)[a(i).FIELD], { onInput: m }), null, 16, y),
|
|
60
|
+
e.feedbackText || e.maxLength ? (t(), r("div", I, [
|
|
61
|
+
e.feedbackText ? (t(), d(T, {
|
|
57
62
|
key: 0,
|
|
58
63
|
text: e.feedbackText,
|
|
59
64
|
variant: e.feedbackVariant,
|
|
60
65
|
"show-icon": e.showFeedbackTextIcon,
|
|
61
66
|
"test-id": e.testId
|
|
62
67
|
}, null, 8, ["text", "variant", "show-icon", "test-id"])) : l("", !0),
|
|
63
|
-
e.maxLength ? (t(),
|
|
68
|
+
e.maxLength ? (t(), d(k, {
|
|
64
69
|
key: 1,
|
|
70
|
+
class: "max-length-counter",
|
|
65
71
|
"current-length": a(x),
|
|
66
72
|
"max-length": e.maxLength
|
|
67
73
|
}, null, 8, ["current-length", "max-length"])) : l("", !0)
|
|
@@ -43,6 +43,10 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
|
|
|
43
43
|
type: import("vue").PropType<string>;
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
|
+
maxLengthCounterPosition: {
|
|
47
|
+
type: import("vue").PropType<"inside" | "outside">;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
46
50
|
feedbackText: {
|
|
47
51
|
type: import("vue").PropType<string>;
|
|
48
52
|
default: string;
|
|
@@ -102,6 +106,10 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
|
|
|
102
106
|
type: import("vue").PropType<string>;
|
|
103
107
|
default: string;
|
|
104
108
|
};
|
|
109
|
+
maxLengthCounterPosition: {
|
|
110
|
+
type: import("vue").PropType<"inside" | "outside">;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
105
113
|
feedbackText: {
|
|
106
114
|
type: import("vue").PropType<string>;
|
|
107
115
|
default: string;
|
|
@@ -128,6 +136,7 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
|
|
|
128
136
|
maxLength: number;
|
|
129
137
|
modelValue: string;
|
|
130
138
|
placeholder: string;
|
|
139
|
+
maxLengthCounterPosition: "inside" | "outside";
|
|
131
140
|
feedbackText: string;
|
|
132
141
|
feedbackVariant: "success" | "warning" | "error";
|
|
133
142
|
showFeedbackTextIcon: boolean;
|