@ironsource/shared-ui 2.1.12-test.98 → 2.1.12
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/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
- package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css +1 -0
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +1 -0
- package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
- package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
- package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_a594c97e_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
- package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
- package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
- package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
- package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
- package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
- package/{SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css → SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css} +1 -1
- package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
- package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
- package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +21 -1
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +130 -114
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +49 -44
- package/components/chart/ChartHeaderTrend.vue.d.ts +5 -0
- package/components/chart/ChartHeaderTrend.vue.js +2 -2
- package/components/chart/ChartHeaderTrend.vue2.js +43 -39
- package/components/chart/ChartLegend.vue.d.ts +5 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +76 -71
- package/components/chart/ChartPlane.vue.d.ts +15 -0
- package/components/chart/ChartPlane.vue.js +5 -5
- package/components/chart/ChartPlane.vue2.js +173 -156
- package/components/chart/ChartStoryArgs.d.ts +17 -0
- package/components/chart/ChartTooltip.vue.d.ts +5 -0
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +39 -35
- package/components/chart/LegendSorting.vue.d.ts +5 -0
- package/components/chart/LegendSorting.vue.js +16 -14
- package/components/chart/SettingsHeader.vue.d.ts +19 -3
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +36 -29
- package/components/chart/TooltipHeader.vue.js +3 -3
- package/components/chart/TooltipHeader.vue2.js +26 -26
- package/components/chart/colorPalette.d.ts +2 -1
- package/components/chart/colorPalette.js +47 -33
- package/components/chart/composables/useColorsMap.d.ts +3 -1
- package/components/chart/composables/useColorsMap.js +32 -30
- package/components/chart/consts.d.ts +5 -1
- package/components/chart/consts.js +30 -26
- package/components/chart/index.d.ts +77 -1
- package/components/chart/mockData.d.ts +15 -0
- package/components/chart/types.d.ts +3 -1
- package/components/chart/types.js +5 -5
- package/components/chart/utils/utils.d.ts +1 -1
- package/components/chart/utils/utils.js +20 -14
- package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
- package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
- package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
- package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
- package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
- package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
- package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
- package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
- package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
- package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
- package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
- package/components/columnConfigurator/consts.d.ts +1 -0
- package/components/columnConfigurator/consts.js +4 -0
- package/components/columnConfigurator/index.d.ts +73 -0
- package/components/columnConfigurator/index.js +6 -0
- package/components/columnConfigurator/mockData.d.ts +30 -0
- package/components/columnConfigurator/utils.d.ts +2 -0
- package/components/columnConfigurator/utils.js +18 -0
- package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
- package/components/columnPicker/ColumnPicker.vue.js +7 -0
- package/components/columnPicker/ColumnPicker.vue2.js +322 -0
- package/components/columnPicker/OptionChip.vue.d.ts +53 -0
- package/components/columnPicker/OptionChip.vue.js +7 -0
- package/components/columnPicker/OptionChip.vue2.js +46 -0
- package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
- package/components/columnPicker/RemoveButton.vue.js +7 -0
- package/components/columnPicker/RemoveButton.vue2.js +35 -0
- package/components/columnPicker/index.d.ts +388 -0
- package/components/columnPicker/index.js +6 -0
- package/components/columnPicker/mockData.d.ts +8 -0
- package/components/dateRange/common/DateRange.common.js +60 -60
- package/components/dialog/v3/Dialog.vue.d.ts +3 -3
- package/components/dialog/v3/index.d.ts +46 -46
- package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
- package/components/dialog/v4/DialogFooter.vue.js +7 -0
- package/components/dialog/v4/DialogFooter.vue2.js +60 -0
- package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
- package/components/dialog/v4/DialogHeader.vue.js +7 -0
- package/components/dialog/v4/DialogHeader.vue2.js +58 -0
- package/components/dialog/v4/DialogV4.vue.d.ts +9 -9
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +65 -107
- package/components/dialog/v4/index.d.ts +157 -157
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +194 -187
- package/components/dropdown/v4/DropdownV4.vue.d.ts +7 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +118 -107
- package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +83 -70
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
- package/components/dropdown/v4/index.d.ts +81 -3
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
- package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
- package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
- package/components/emptyState/v4/index.d.ts +20 -1
- package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +70 -70
- package/components/input/v4/TextField.vue.d.ts +12 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +129 -105
- package/components/input/v4/index.d.ts +46 -2
- package/components/link/Link.vue.d.ts +95 -0
- package/components/link/Link.vue.js +7 -0
- package/components/link/Link.vue2.js +65 -0
- package/components/link/index.d.ts +296 -0
- package/components/link/index.js +6 -0
- package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
- package/components/radioButton/v3/RadioButton.vue.js +3 -3
- package/components/radioButton/v3/RadioButton.vue2.js +42 -39
- package/components/radioButton/v3/index.d.ts +20 -1
- package/components/sortableList/LoaderBars.vue.d.ts +34 -0
- package/components/sortableList/LoaderBars.vue.js +7 -0
- package/components/sortableList/LoaderBars.vue2.js +25 -0
- package/components/sortableList/SortableItem.vue.d.ts +17 -2
- package/components/sortableList/SortableItem.vue.js +5 -5
- package/components/sortableList/SortableItem.vue2.js +86 -70
- package/components/sortableList/SortableItemLabel.vue.js +3 -3
- package/components/sortableList/SortableItemLabel.vue2.js +26 -23
- package/components/sortableList/SortableList.types.d.ts +1 -0
- package/components/sortableList/SortableList.vue.d.ts +12 -2
- package/components/sortableList/SortableList.vue.js +5 -5
- package/components/sortableList/SortableList.vue2.js +111 -113
- package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
- package/components/sortableList/SortableSelectableList.vue.js +7 -0
- package/components/sortableList/SortableSelectableList.vue2.js +128 -0
- package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
- package/components/sortableList/composables/useDraggableHelpers.js +20 -0
- package/components/sortableList/composables/useHoverEffect.js +1 -1
- package/components/sortableList/consts.d.ts +2 -0
- package/components/sortableList/consts.js +4 -2
- package/components/sortableList/index.d.ts +77 -39
- package/components/table/common/consts.d.ts +2 -0
- package/components/table/common/consts.js +6 -4
- package/components/table/v4/DataGrid.vue.d.ts +12 -7
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +273 -268
- package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
- package/components/table/v4/DataGridContainer.vue.js +7 -0
- package/components/table/v4/DataGridContainer.vue2.js +19 -0
- package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
- package/components/table/v4/DataGridHeader.vue.js +7 -0
- package/components/table/v4/DataGridHeader.vue2.js +84 -0
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
- package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
- package/components/table/v4/MultipleDataGrid.vue.js +2 -2
- package/components/table/v4/MultipleDataGrid.vue2.js +92 -90
- package/components/table/v4/index.d.ts +646 -332
- package/components/table/v4/index.js +11 -5
- package/components/table/v4/storyUtils.d.ts +25 -0
- package/components/tagsField/TagsField.types.d.ts +4 -0
- package/components/tagsField/TagsField.vue.d.ts +65 -0
- package/components/tagsField/TagsField.vue.js +7 -0
- package/components/tagsField/TagsField.vue2.js +90 -0
- package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
- package/components/tagsField/TagsFieldChip.vue.js +7 -0
- package/components/tagsField/TagsFieldChip.vue2.js +81 -0
- package/components/tagsField/consts.d.ts +1 -0
- package/components/tagsField/consts.js +4 -0
- package/components/tagsField/index.d.ts +75 -0
- package/components/tagsField/index.js +6 -0
- package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
- package/components/tooltip/v4/index.d.ts +20 -1
- package/index.d.ts +2675 -1649
- package/index.js +137 -121
- package/package.json +18 -1
- package/testids/index.d.ts +47 -1
- package/testids/index.js +40 -32
- package/utils/date.d.ts +1 -0
- package/utils/date.js +9 -0
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +38 -21
- package/utils/object.d.ts +2 -0
- package/utils/object.js +9 -5
- package/utils/search.js +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_934163c0_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +0 -1
- package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
import "../../../TextField.
|
|
2
|
-
import
|
|
1
|
+
import "../../../TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css"; import { defineComponent as te, computed as i, ref as le, openBlock as l, createElementBlock as s, mergeProps as d, unref as e, createBlock as f, createCommentVNode as n, createVNode as x, withCtx as b, createElementVNode as V, normalizeClass as F, renderSlot as z, createTextVNode as N, toDisplayString as $, withKeys as ae, withModifiers as D, normalizeProps as H } from "vue";
|
|
2
|
+
import h from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../../icon/v4/IconFlag.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { InputTestIdModifiers as
|
|
4
|
+
import R from "../../tooltip/v4/TooltipV4.vue.js";
|
|
5
|
+
import S from "../../typography/v4/Typography.vue.js";
|
|
6
|
+
import { InputTestIdModifiers as c } from "../../../testids/index.js";
|
|
7
7
|
import { inputCommon as ne } from "../common/Input.common.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
8
|
+
import oe from "../../shared/FieldLabel.vue.js";
|
|
9
|
+
import ie from "../../shared/FieldHelpText.vue.js";
|
|
10
10
|
import W from "../../shared/FieldMaxLength.vue.js";
|
|
11
|
-
import { useTestIdAttrs as
|
|
12
|
-
|
|
11
|
+
import { useTestIdAttrs as re } from "../../../utils/testIds.js";
|
|
12
|
+
import se from "../../loader/v4/Loader.vue.js";
|
|
13
|
+
const de = {
|
|
13
14
|
key: 0,
|
|
14
15
|
class: "icon-container icon-before"
|
|
15
|
-
},
|
|
16
|
+
}, ue = ["maxlength", "value", "placeholder", "disabled", "type", "step"], fe = ["onClick"], ce = {
|
|
16
17
|
key: 5,
|
|
17
18
|
class: "inline-error"
|
|
18
|
-
},
|
|
19
|
-
key:
|
|
19
|
+
}, me = {
|
|
20
|
+
key: 8,
|
|
21
|
+
class: "loading-indicator"
|
|
22
|
+
}, ye = {
|
|
23
|
+
key: 9,
|
|
20
24
|
class: "icon-container icon-after"
|
|
21
|
-
},
|
|
25
|
+
}, xe = {
|
|
22
26
|
inheritAttrs: !1
|
|
23
|
-
},
|
|
24
|
-
...
|
|
27
|
+
}, Pe = /* @__PURE__ */ te({
|
|
28
|
+
...xe,
|
|
25
29
|
__name: "TextField",
|
|
26
30
|
props: {
|
|
27
31
|
modelValue: { default: "" },
|
|
@@ -51,53 +55,57 @@ const re = {
|
|
|
51
55
|
showApply: { type: Boolean, default: !1 },
|
|
52
56
|
inlineError: { type: Boolean, default: !1 },
|
|
53
57
|
inlineErrorText: { default: "" },
|
|
54
|
-
inlineErrorTextPlacement: { default: "top" }
|
|
58
|
+
inlineErrorTextPlacement: { default: "top" },
|
|
59
|
+
clearable: { type: Boolean, default: !1 },
|
|
60
|
+
loading: { type: Boolean, default: !1 }
|
|
55
61
|
},
|
|
56
|
-
emits: ["update:modelValue", "apply"],
|
|
57
|
-
setup(t, { expose: K, emit:
|
|
58
|
-
const
|
|
59
|
-
|
|
62
|
+
emits: ["update:modelValue", "apply", "clear"],
|
|
63
|
+
setup(t, { expose: K, emit: p }) {
|
|
64
|
+
const a = t, m = re(a.testId, c), M = () => {
|
|
65
|
+
a.showApply ? p("apply") : r?.confirmable && U();
|
|
60
66
|
}, G = () => g.value.focus(), {
|
|
61
67
|
onConfirm: U,
|
|
62
68
|
onEnter: w,
|
|
63
69
|
inputRef: g,
|
|
64
|
-
isFocused:
|
|
70
|
+
isFocused: k,
|
|
65
71
|
showLabelInside: I,
|
|
66
72
|
api: r,
|
|
67
73
|
labelText: j,
|
|
68
74
|
sizeClass: q,
|
|
69
75
|
handleInput: L,
|
|
70
|
-
handleKeypress:
|
|
71
|
-
} = ne(
|
|
76
|
+
handleKeypress: C
|
|
77
|
+
} = ne(a, p), B = i(() => r.value?.value ?? a.modelValue), J = i(() => (B.value || "").length), P = i(() => ({
|
|
72
78
|
currentLength: J.value,
|
|
73
|
-
maxLength:
|
|
74
|
-
})), A =
|
|
75
|
-
() =>
|
|
76
|
-
), Q =
|
|
77
|
-
() =>
|
|
78
|
-
), T =
|
|
79
|
-
() => !
|
|
80
|
-
),
|
|
81
|
-
() =>
|
|
82
|
-
), X =
|
|
83
|
-
() => (
|
|
84
|
-
), Y =
|
|
85
|
-
() => !
|
|
86
|
-
), Z =
|
|
87
|
-
() =>
|
|
88
|
-
),
|
|
89
|
-
() => r?.error?.value ? "error" :
|
|
90
|
-
),
|
|
79
|
+
maxLength: a.maxLength
|
|
80
|
+
})), A = i(
|
|
81
|
+
() => a.maxLength && a.maxLengthCounterPosition === "outside"
|
|
82
|
+
), Q = i(
|
|
83
|
+
() => a.feedbackText || A.value
|
|
84
|
+
), T = i(
|
|
85
|
+
() => !a.inlineErrorText && !r?.error?.value
|
|
86
|
+
), E = i(
|
|
87
|
+
() => a.inlineErrorText || r?.error?.value
|
|
88
|
+
), X = i(
|
|
89
|
+
() => (a.inlineError || r?.withIcons) && !T.value
|
|
90
|
+
), Y = i(
|
|
91
|
+
() => !a.inlineError && !r?.withIcons && !T.value
|
|
92
|
+
), Z = i(
|
|
93
|
+
() => a.showApply || r?.confirmable && r?.withIcons && !r?.error?.value
|
|
94
|
+
), O = i(
|
|
95
|
+
() => r?.error?.value ? "error" : a.feedbackVariant
|
|
96
|
+
), v = le(!1), _ = i(() => v.value && a.type === "password" ? "text" : a.type), ee = () => {
|
|
97
|
+
p("update:modelValue", ""), p("clear");
|
|
98
|
+
};
|
|
91
99
|
return K({
|
|
92
100
|
manualFocus: G
|
|
93
|
-
}), (
|
|
101
|
+
}), (y, o) => (l(), s("div", d({
|
|
94
102
|
class: {
|
|
95
103
|
"input-with-label-container": !0,
|
|
96
104
|
disabled: t.disabled,
|
|
97
|
-
[`variant-${e(
|
|
105
|
+
[`variant-${e(O)}`]: !0
|
|
98
106
|
}
|
|
99
|
-
}, e(
|
|
100
|
-
t.label && t.labelDirection !== "inside" ? (
|
|
107
|
+
}, e(m)[e(c).WRAPPER]), [
|
|
108
|
+
t.label && t.labelDirection !== "inside" ? (l(), f(oe, {
|
|
101
109
|
key: 0,
|
|
102
110
|
label: t.label,
|
|
103
111
|
mandatory: t.mandatory,
|
|
@@ -105,39 +113,39 @@ const re = {
|
|
|
105
113
|
"hover-help-text-placement": t.hoverHelpTextPlacement,
|
|
106
114
|
disabled: t.disabled,
|
|
107
115
|
"test-id": t.testId
|
|
108
|
-
}, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) :
|
|
109
|
-
x(e(
|
|
116
|
+
}, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) : n("", !0),
|
|
117
|
+
x(e(R), d({
|
|
110
118
|
disabled: !e(Y),
|
|
111
|
-
text: e(
|
|
119
|
+
text: e(E),
|
|
112
120
|
placement: t.inlineErrorTextPlacement
|
|
113
|
-
}, e(
|
|
114
|
-
default:
|
|
115
|
-
|
|
116
|
-
class:
|
|
121
|
+
}, e(m)[e(c).TOOLTIP_WITHOUT_ICON]), {
|
|
122
|
+
default: b(() => [
|
|
123
|
+
V("div", {
|
|
124
|
+
class: F({
|
|
117
125
|
"input-container": !0,
|
|
118
126
|
"label-inside": e(I),
|
|
119
|
-
focused: e(
|
|
127
|
+
focused: e(k)
|
|
120
128
|
})
|
|
121
129
|
}, [
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
])) :
|
|
125
|
-
t.prefix ? (
|
|
130
|
+
y.$slots.iconBefore ? (l(), s("div", de, [
|
|
131
|
+
z(y.$slots, "iconBefore", {}, void 0, !0)
|
|
132
|
+
])) : n("", !0),
|
|
133
|
+
t.prefix ? (l(), f(e(S), {
|
|
126
134
|
key: 1,
|
|
127
135
|
class: "prefix-text",
|
|
128
136
|
variant: "body1"
|
|
129
137
|
}, {
|
|
130
|
-
default:
|
|
131
|
-
|
|
138
|
+
default: b(() => [
|
|
139
|
+
N($(t.prefix), 1)
|
|
132
140
|
]),
|
|
133
141
|
_: 1
|
|
134
|
-
})) :
|
|
135
|
-
|
|
142
|
+
})) : n("", !0),
|
|
143
|
+
V("input", d({
|
|
136
144
|
ref_key: "inputRef",
|
|
137
145
|
ref: g,
|
|
138
146
|
maxlength: t.maxLength
|
|
139
|
-
}, { ...
|
|
140
|
-
value: e(
|
|
147
|
+
}, { ...y.$attrs, ...e(m)[e(c).FIELD] }, {
|
|
148
|
+
value: e(B),
|
|
141
149
|
placeholder: e(j),
|
|
142
150
|
disabled: t.disabled || t.viewOnly,
|
|
143
151
|
type: e(_),
|
|
@@ -149,93 +157,109 @@ const re = {
|
|
|
149
157
|
"input-type": t.type
|
|
150
158
|
}],
|
|
151
159
|
step: t.step,
|
|
152
|
-
onInput:
|
|
153
|
-
(...
|
|
154
|
-
onFocus:
|
|
155
|
-
onBlur:
|
|
156
|
-
onKeyup:
|
|
160
|
+
onInput: o[0] || (o[0] = //@ts-ignore
|
|
161
|
+
(...u) => e(L) && e(L)(...u)),
|
|
162
|
+
onFocus: o[1] || (o[1] = (u) => k.value = !0),
|
|
163
|
+
onBlur: o[2] || (o[2] = (u) => k.value = !1),
|
|
164
|
+
onKeyup: o[3] || (o[3] = ae(D(
|
|
157
165
|
//@ts-ignore
|
|
158
|
-
(...
|
|
166
|
+
(...u) => e(w) && e(w)(...u),
|
|
159
167
|
["prevent"]
|
|
160
168
|
), ["enter"])),
|
|
161
|
-
onKeypress:
|
|
162
|
-
(...
|
|
163
|
-
}), null, 16,
|
|
164
|
-
t.maxLength && t.maxLengthCounterPosition === "inside" ? (
|
|
165
|
-
e(Z) ? (
|
|
169
|
+
onKeypress: o[4] || (o[4] = //@ts-ignore
|
|
170
|
+
(...u) => e(C) && e(C)(...u))
|
|
171
|
+
}), null, 16, ue),
|
|
172
|
+
t.maxLength && t.maxLengthCounterPosition === "inside" ? (l(), f(W, H(d({ key: 2 }, e(P))), null, 16)) : n("", !0),
|
|
173
|
+
e(Z) ? (l(), s("div", {
|
|
166
174
|
key: 3,
|
|
167
175
|
class: "apply-button",
|
|
168
|
-
onClick:
|
|
176
|
+
onClick: D(M, ["stop", "prevent"])
|
|
169
177
|
}, [
|
|
170
|
-
x(e(
|
|
178
|
+
x(e(h), {
|
|
171
179
|
name: "check",
|
|
172
180
|
size: "20px"
|
|
173
181
|
})
|
|
174
|
-
], 8,
|
|
175
|
-
t.suffix ? (
|
|
182
|
+
], 8, fe)) : n("", !0),
|
|
183
|
+
t.suffix ? (l(), f(e(S), {
|
|
176
184
|
key: 4,
|
|
177
185
|
class: "suffix-text",
|
|
178
186
|
variant: "body1"
|
|
179
187
|
}, {
|
|
180
|
-
default:
|
|
181
|
-
|
|
188
|
+
default: b(() => [
|
|
189
|
+
N($(t.suffix), 1)
|
|
182
190
|
]),
|
|
183
191
|
_: 1
|
|
184
|
-
})) :
|
|
185
|
-
e(X) ? (
|
|
186
|
-
x(e(
|
|
192
|
+
})) : n("", !0),
|
|
193
|
+
e(X) ? (l(), s("div", ce, [
|
|
194
|
+
x(e(R), d({
|
|
187
195
|
disabled: e(T),
|
|
188
|
-
text: e(
|
|
196
|
+
text: e(E),
|
|
189
197
|
placement: t.inlineErrorTextPlacement
|
|
190
|
-
}, e(
|
|
191
|
-
default:
|
|
192
|
-
x(e(
|
|
198
|
+
}, e(m)[e(c).TOOLTIP]), {
|
|
199
|
+
default: b(() => [
|
|
200
|
+
x(e(h), {
|
|
193
201
|
name: "warning-circle",
|
|
194
202
|
size: "16px"
|
|
195
203
|
})
|
|
196
204
|
]),
|
|
197
205
|
_: 1
|
|
198
206
|
}, 16, ["disabled", "text", "placement"])
|
|
199
|
-
])) :
|
|
200
|
-
t.type === "password" ? (
|
|
207
|
+
])) : n("", !0),
|
|
208
|
+
t.type === "password" ? (l(), s("div", d({
|
|
201
209
|
key: 6,
|
|
202
210
|
class: "password-visibility-toggle"
|
|
203
|
-
}, e(
|
|
204
|
-
onClick:
|
|
211
|
+
}, e(m)[e(c).TOGGLE_PASSWORD], {
|
|
212
|
+
onClick: o[5] || (o[5] = (u) => v.value = !v.value)
|
|
205
213
|
}), [
|
|
206
|
-
|
|
214
|
+
v.value ? (l(), f(e(h), {
|
|
207
215
|
key: 0,
|
|
208
216
|
name: "eye",
|
|
209
217
|
size: "16px"
|
|
210
|
-
})) : (
|
|
218
|
+
})) : (l(), f(e(h), {
|
|
211
219
|
key: 1,
|
|
212
220
|
name: "eye-slash",
|
|
213
221
|
size: "16px"
|
|
214
222
|
}))
|
|
215
|
-
], 16)) :
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
223
|
+
], 16)) : n("", !0),
|
|
224
|
+
t.clearable && t.modelValue && !t.loading ? (l(), s("div", d({
|
|
225
|
+
key: 7,
|
|
226
|
+
class: "clear-button"
|
|
227
|
+
}, e(m)[e(c).CLEAR_BUTTON], { onClick: ee }), [
|
|
228
|
+
x(e(h), {
|
|
229
|
+
name: "x-circle",
|
|
230
|
+
size: "16px",
|
|
231
|
+
type: "fill"
|
|
232
|
+
})
|
|
233
|
+
], 16)) : n("", !0),
|
|
234
|
+
t.loading ? (l(), s("div", me, [
|
|
235
|
+
x(e(se), d({
|
|
236
|
+
"max-width": 16,
|
|
237
|
+
"stroke-width": 1
|
|
238
|
+
}, e(m)[e(c).LOADING]), null, 16)
|
|
239
|
+
])) : n("", !0),
|
|
240
|
+
y.$slots.iconAfter ? (l(), s("div", ye, [
|
|
241
|
+
z(y.$slots, "iconAfter", {}, void 0, !0)
|
|
242
|
+
])) : n("", !0)
|
|
219
243
|
], 2)
|
|
220
244
|
]),
|
|
221
245
|
_: 3
|
|
222
246
|
}, 16, ["disabled", "text", "placement"]),
|
|
223
|
-
e(Q) ? (
|
|
247
|
+
e(Q) ? (l(), s("div", {
|
|
224
248
|
key: 1,
|
|
225
|
-
class:
|
|
249
|
+
class: F(["footer", t.feedbackPositionAbsolute && "footer-absolute"])
|
|
226
250
|
}, [
|
|
227
|
-
t.feedbackText ? (
|
|
251
|
+
t.feedbackText ? (l(), f(ie, {
|
|
228
252
|
key: 0,
|
|
229
253
|
text: t.feedbackText,
|
|
230
|
-
variant: e(
|
|
254
|
+
variant: e(O),
|
|
231
255
|
"show-icon": t.showFeedbackTextIcon,
|
|
232
256
|
"test-id": t.testId
|
|
233
|
-
}, null, 8, ["text", "variant", "show-icon", "test-id"])) :
|
|
234
|
-
e(A) ? (
|
|
235
|
-
], 2)) :
|
|
257
|
+
}, null, 8, ["text", "variant", "show-icon", "test-id"])) : n("", !0),
|
|
258
|
+
e(A) ? (l(), f(W, H(d({ key: 1 }, e(P))), null, 16)) : n("", !0)
|
|
259
|
+
], 2)) : n("", !0)
|
|
236
260
|
], 16));
|
|
237
261
|
}
|
|
238
262
|
});
|
|
239
263
|
export {
|
|
240
|
-
|
|
264
|
+
Pe as default
|
|
241
265
|
};
|
|
@@ -10,6 +10,7 @@ declare const TextFieldTypes: () => ({
|
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
size: "small" | "medium" | "large";
|
|
12
12
|
mandatory: boolean;
|
|
13
|
+
loading: boolean;
|
|
13
14
|
modelValue: string | number;
|
|
14
15
|
hoverHelpText: string;
|
|
15
16
|
hoverHelpTextPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
@@ -32,6 +33,7 @@ declare const TextFieldTypes: () => ({
|
|
|
32
33
|
feedbackVariant: "success" | "warning" | "error";
|
|
33
34
|
showFeedbackTextIcon: boolean;
|
|
34
35
|
feedbackPositionAbsolute: boolean;
|
|
36
|
+
clearable: boolean;
|
|
35
37
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
36
38
|
type: {
|
|
37
39
|
type: import("vue").PropType<"number" | "text" | "password">;
|
|
@@ -57,6 +59,10 @@ declare const TextFieldTypes: () => ({
|
|
|
57
59
|
type: import("vue").PropType<boolean>;
|
|
58
60
|
default: boolean;
|
|
59
61
|
};
|
|
62
|
+
loading: {
|
|
63
|
+
type: import("vue").PropType<boolean>;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
60
66
|
modelValue: {
|
|
61
67
|
type: import("vue").PropType<string | number>;
|
|
62
68
|
default: string;
|
|
@@ -145,10 +151,15 @@ declare const TextFieldTypes: () => ({
|
|
|
145
151
|
type: import("vue").PropType<boolean>;
|
|
146
152
|
default: boolean;
|
|
147
153
|
};
|
|
154
|
+
clearable: {
|
|
155
|
+
type: import("vue").PropType<boolean>;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
148
158
|
}>> & {
|
|
149
159
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
160
|
+
onClear?: () => any;
|
|
150
161
|
onApply?: () => any;
|
|
151
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "testId" | "disabled" | "size" | "mandatory" | "modelValue" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "maxLengthCounterPosition" | "showApply" | "inlineError" | "inlineErrorText" | "inlineErrorTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute">;
|
|
162
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "label" | "testId" | "disabled" | "size" | "mandatory" | "loading" | "modelValue" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "placeholder" | "viewOnly" | "labelDirection" | "autoFocus" | "hideNumberArrows" | "step" | "onlyDigits" | "prefix" | "suffix" | "maxLengthCounterPosition" | "showApply" | "inlineError" | "inlineErrorText" | "inlineErrorTextPlacement" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "feedbackPositionAbsolute" | "clearable">;
|
|
152
163
|
$attrs: {
|
|
153
164
|
[x: string]: unknown;
|
|
154
165
|
};
|
|
@@ -160,7 +171,7 @@ declare const TextFieldTypes: () => ({
|
|
|
160
171
|
}>;
|
|
161
172
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
162
173
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
163
|
-
$emit: ((event: "update:modelValue", value: string | number) => void) & ((event: "apply") => void);
|
|
174
|
+
$emit: ((event: "clear") => void) & ((event: "update:modelValue", value: string | number) => void) & ((event: "apply") => void);
|
|
164
175
|
$el: any;
|
|
165
176
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
166
177
|
type: {
|
|
@@ -187,6 +198,10 @@ declare const TextFieldTypes: () => ({
|
|
|
187
198
|
type: import("vue").PropType<boolean>;
|
|
188
199
|
default: boolean;
|
|
189
200
|
};
|
|
201
|
+
loading: {
|
|
202
|
+
type: import("vue").PropType<boolean>;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
190
205
|
modelValue: {
|
|
191
206
|
type: import("vue").PropType<string | number>;
|
|
192
207
|
default: string;
|
|
@@ -275,14 +290,20 @@ declare const TextFieldTypes: () => ({
|
|
|
275
290
|
type: import("vue").PropType<boolean>;
|
|
276
291
|
default: boolean;
|
|
277
292
|
};
|
|
293
|
+
clearable: {
|
|
294
|
+
type: import("vue").PropType<boolean>;
|
|
295
|
+
default: boolean;
|
|
296
|
+
};
|
|
278
297
|
}>> & {
|
|
279
298
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
299
|
+
onClear?: () => any;
|
|
280
300
|
onApply?: () => any;
|
|
281
301
|
}, {
|
|
282
302
|
manualFocus: () => any;
|
|
283
303
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
284
304
|
"update:modelValue": (value: string | number) => void;
|
|
285
305
|
apply: () => void;
|
|
306
|
+
clear: () => void;
|
|
286
307
|
}, string, {
|
|
287
308
|
type: "number" | "text" | "password";
|
|
288
309
|
label: string;
|
|
@@ -290,6 +311,7 @@ declare const TextFieldTypes: () => ({
|
|
|
290
311
|
disabled: boolean;
|
|
291
312
|
size: "small" | "medium" | "large";
|
|
292
313
|
mandatory: boolean;
|
|
314
|
+
loading: boolean;
|
|
293
315
|
modelValue: string | number;
|
|
294
316
|
hoverHelpText: string;
|
|
295
317
|
hoverHelpTextPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
@@ -312,6 +334,7 @@ declare const TextFieldTypes: () => ({
|
|
|
312
334
|
feedbackVariant: "success" | "warning" | "error";
|
|
313
335
|
showFeedbackTextIcon: boolean;
|
|
314
336
|
feedbackPositionAbsolute: boolean;
|
|
337
|
+
clearable: boolean;
|
|
315
338
|
}, {}, string> & {
|
|
316
339
|
beforeCreate?: (() => void) | (() => void)[];
|
|
317
340
|
created?: (() => void) | (() => void)[];
|
|
@@ -357,6 +380,10 @@ declare const TextFieldTypes: () => ({
|
|
|
357
380
|
type: import("vue").PropType<boolean>;
|
|
358
381
|
default: boolean;
|
|
359
382
|
};
|
|
383
|
+
loading: {
|
|
384
|
+
type: import("vue").PropType<boolean>;
|
|
385
|
+
default: boolean;
|
|
386
|
+
};
|
|
360
387
|
modelValue: {
|
|
361
388
|
type: import("vue").PropType<string | number>;
|
|
362
389
|
default: string;
|
|
@@ -445,8 +472,13 @@ declare const TextFieldTypes: () => ({
|
|
|
445
472
|
type: import("vue").PropType<boolean>;
|
|
446
473
|
default: boolean;
|
|
447
474
|
};
|
|
475
|
+
clearable: {
|
|
476
|
+
type: import("vue").PropType<boolean>;
|
|
477
|
+
default: boolean;
|
|
478
|
+
};
|
|
448
479
|
}>> & {
|
|
449
480
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
481
|
+
onClear?: () => any;
|
|
450
482
|
onApply?: () => any;
|
|
451
483
|
} & import("vue").ShallowUnwrapRef<{
|
|
452
484
|
manualFocus: () => any;
|
|
@@ -479,6 +511,10 @@ declare const TextFieldTypes: () => ({
|
|
|
479
511
|
type: import("vue").PropType<boolean>;
|
|
480
512
|
default: boolean;
|
|
481
513
|
};
|
|
514
|
+
loading: {
|
|
515
|
+
type: import("vue").PropType<boolean>;
|
|
516
|
+
default: boolean;
|
|
517
|
+
};
|
|
482
518
|
modelValue: {
|
|
483
519
|
type: import("vue").PropType<string | number>;
|
|
484
520
|
default: string;
|
|
@@ -567,14 +603,20 @@ declare const TextFieldTypes: () => ({
|
|
|
567
603
|
type: import("vue").PropType<boolean>;
|
|
568
604
|
default: boolean;
|
|
569
605
|
};
|
|
606
|
+
clearable: {
|
|
607
|
+
type: import("vue").PropType<boolean>;
|
|
608
|
+
default: boolean;
|
|
609
|
+
};
|
|
570
610
|
}>> & {
|
|
571
611
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
612
|
+
onClear?: () => any;
|
|
572
613
|
onApply?: () => any;
|
|
573
614
|
}, {
|
|
574
615
|
manualFocus: () => any;
|
|
575
616
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
576
617
|
"update:modelValue": (value: string | number) => void;
|
|
577
618
|
apply: () => void;
|
|
619
|
+
clear: () => void;
|
|
578
620
|
}, string, {
|
|
579
621
|
type: "number" | "text" | "password";
|
|
580
622
|
label: string;
|
|
@@ -582,6 +624,7 @@ declare const TextFieldTypes: () => ({
|
|
|
582
624
|
disabled: boolean;
|
|
583
625
|
size: "small" | "medium" | "large";
|
|
584
626
|
mandatory: boolean;
|
|
627
|
+
loading: boolean;
|
|
585
628
|
modelValue: string | number;
|
|
586
629
|
hoverHelpText: string;
|
|
587
630
|
hoverHelpTextPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
@@ -604,6 +647,7 @@ declare const TextFieldTypes: () => ({
|
|
|
604
647
|
feedbackVariant: "success" | "warning" | "error";
|
|
605
648
|
showFeedbackTextIcon: boolean;
|
|
606
649
|
feedbackPositionAbsolute: boolean;
|
|
650
|
+
clearable: boolean;
|
|
607
651
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
608
652
|
$slots: {
|
|
609
653
|
iconBefore?(_: {}): any;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
href?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
color?: "default" | "primary";
|
|
5
|
+
variant?: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
|
|
6
|
+
iconName?: string;
|
|
7
|
+
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
8
|
+
iconPosition?: "end" | "start";
|
|
9
|
+
testId?: string;
|
|
10
|
+
isTruncated?: boolean;
|
|
11
|
+
withTooltip?: boolean;
|
|
12
|
+
tooltipText?: string;
|
|
13
|
+
navigateToPage?: () => void;
|
|
14
|
+
}>, {
|
|
15
|
+
href: any;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
color: string;
|
|
18
|
+
variant: string;
|
|
19
|
+
iconName: any;
|
|
20
|
+
iconType: string;
|
|
21
|
+
iconPosition: string;
|
|
22
|
+
testId: string;
|
|
23
|
+
isTruncated: boolean;
|
|
24
|
+
withTooltip: boolean;
|
|
25
|
+
tooltipText: string;
|
|
26
|
+
navigateToPage: any;
|
|
27
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
click: () => void;
|
|
29
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
30
|
+
href?: string;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
color?: "default" | "primary";
|
|
33
|
+
variant?: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
|
|
34
|
+
iconName?: string;
|
|
35
|
+
iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
36
|
+
iconPosition?: "end" | "start";
|
|
37
|
+
testId?: string;
|
|
38
|
+
isTruncated?: boolean;
|
|
39
|
+
withTooltip?: boolean;
|
|
40
|
+
tooltipText?: string;
|
|
41
|
+
navigateToPage?: () => void;
|
|
42
|
+
}>, {
|
|
43
|
+
href: any;
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
color: string;
|
|
46
|
+
variant: string;
|
|
47
|
+
iconName: any;
|
|
48
|
+
iconType: string;
|
|
49
|
+
iconPosition: string;
|
|
50
|
+
testId: string;
|
|
51
|
+
isTruncated: boolean;
|
|
52
|
+
withTooltip: boolean;
|
|
53
|
+
tooltipText: string;
|
|
54
|
+
navigateToPage: any;
|
|
55
|
+
}>>> & {
|
|
56
|
+
onClick?: () => any;
|
|
57
|
+
}, {
|
|
58
|
+
testId: string;
|
|
59
|
+
variant: "button" | "body1" | "body2" | "subtitle1" | "subtitle2";
|
|
60
|
+
withTooltip: boolean;
|
|
61
|
+
tooltipText: string;
|
|
62
|
+
isTruncated: boolean;
|
|
63
|
+
disabled: boolean;
|
|
64
|
+
color: "default" | "primary";
|
|
65
|
+
href: string;
|
|
66
|
+
iconName: string;
|
|
67
|
+
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
68
|
+
iconPosition: "end" | "start";
|
|
69
|
+
navigateToPage: () => void;
|
|
70
|
+
}>, {
|
|
71
|
+
default?(_: {}): any;
|
|
72
|
+
}>;
|
|
73
|
+
export default _default;
|
|
74
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
75
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
76
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
77
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
78
|
+
} : {
|
|
79
|
+
type: import('vue').PropType<T[K]>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
type __VLS_WithDefaults<P, D> = {
|
|
84
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
85
|
+
default: D[K];
|
|
86
|
+
}> : P[K];
|
|
87
|
+
};
|
|
88
|
+
type __VLS_Prettify<T> = {
|
|
89
|
+
[K in keyof T]: T[K];
|
|
90
|
+
} & {};
|
|
91
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
92
|
+
new (): {
|
|
93
|
+
$slots: S;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./Link.vue2.js";
|
|
2
|
+
/* empty css */import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ _(o, [["__scopeId", "data-v-1a766750"]]);
|
|
5
|
+
export {
|
|
6
|
+
p as default
|
|
7
|
+
};
|