vueless 0.0.284 → 0.0.286
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/package.json +1 -1
- package/ui.button/composables/attrs.composable.js +2 -2
- package/ui.form-date-picker/index.stories.js +22 -15
- package/ui.form-date-picker/index.vue +23 -0
- package/ui.form-date-picker-range/index.stories.js +47 -7
- package/ui.form-date-picker-range/index.vue +26 -0
- package/ui.form-input-money/index.stories.js +55 -1
- package/ui.form-input-money/index.vue +27 -4
- package/ui.form-input-search/index.stories.js +48 -10
- package/ui.form-input-search/index.vue +18 -1
- package/web-types.json +94 -7
package/package.json
CHANGED
|
@@ -22,8 +22,8 @@ export default function useAttrs(props) {
|
|
|
22
22
|
...props,
|
|
23
23
|
color: getColor(props.color),
|
|
24
24
|
square: props.loading || props.square,
|
|
25
|
-
leftIcon: Boolean(props.
|
|
26
|
-
rightIcon: Boolean(props.
|
|
25
|
+
leftIcon: Boolean(props.leftIcon) || hasSlotContent(slots["left-icon"]),
|
|
26
|
+
rightIcon: Boolean(props.rightIcon) || hasSlotContent(slots["right-icon"]),
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -145,29 +145,36 @@ MinMax.args = {
|
|
|
145
145
|
modelValue: new Date(2022, 2, 24),
|
|
146
146
|
};
|
|
147
147
|
|
|
148
|
-
export const
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
<template #right-icon>
|
|
152
|
-
<UIcon name="star" color="black" />
|
|
153
|
-
</template>
|
|
154
|
-
`,
|
|
148
|
+
export const leftIcon = DefaultTemplate.bind({});
|
|
149
|
+
leftIcon.args = {
|
|
150
|
+
leftIcon: "star",
|
|
155
151
|
};
|
|
156
152
|
|
|
157
|
-
export const
|
|
158
|
-
|
|
153
|
+
export const rightIcon = DefaultTemplate.bind({});
|
|
154
|
+
rightIcon.args = {
|
|
155
|
+
rightIcon: "star",
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
export const leftIconSlot = DefaultTemplate.bind({});
|
|
159
|
+
leftIconSlot.args = {
|
|
159
160
|
slotTemplate: `
|
|
160
|
-
<template #
|
|
161
|
-
|
|
161
|
+
<template #left-icon>
|
|
162
|
+
<UIcon
|
|
163
|
+
name="archive"
|
|
164
|
+
color="red"
|
|
165
|
+
/>
|
|
162
166
|
</template>
|
|
163
167
|
`,
|
|
164
168
|
};
|
|
165
169
|
|
|
166
|
-
export const
|
|
167
|
-
|
|
170
|
+
export const rightIconSlot = DefaultTemplate.bind({});
|
|
171
|
+
rightIconSlot.args = {
|
|
168
172
|
slotTemplate: `
|
|
169
|
-
<template #
|
|
170
|
-
|
|
173
|
+
<template #right-icon>
|
|
174
|
+
<UIcon
|
|
175
|
+
name="archive"
|
|
176
|
+
color="red"
|
|
177
|
+
/>
|
|
171
178
|
</template>
|
|
172
179
|
`,
|
|
173
180
|
};
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
readonly
|
|
13
13
|
:disabled="disabled"
|
|
14
14
|
:size="size"
|
|
15
|
+
:left-icon="leftIcon"
|
|
16
|
+
:right-icon="rightIcon"
|
|
15
17
|
v-bind="inputAttrs"
|
|
16
18
|
@focus="activate"
|
|
17
19
|
>
|
|
@@ -20,6 +22,11 @@
|
|
|
20
22
|
<slot name="left" />
|
|
21
23
|
</template>
|
|
22
24
|
|
|
25
|
+
<template #left-icon>
|
|
26
|
+
<!-- @slot Use it add an icon before the date. -->
|
|
27
|
+
<slot name="left-icon" />
|
|
28
|
+
</template>
|
|
29
|
+
|
|
23
30
|
<template #right-icon>
|
|
24
31
|
<!-- @slot Use it add an icon after the date. -->
|
|
25
32
|
<slot name="right-icon" />
|
|
@@ -186,6 +193,22 @@ const props = defineProps({
|
|
|
186
193
|
default: getDefault(defaultConfig, UDatePicker).size,
|
|
187
194
|
},
|
|
188
195
|
|
|
196
|
+
/**
|
|
197
|
+
* Left side icon name.
|
|
198
|
+
*/
|
|
199
|
+
leftIcon: {
|
|
200
|
+
type: String,
|
|
201
|
+
default: "",
|
|
202
|
+
},
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Right side icon name.
|
|
206
|
+
*/
|
|
207
|
+
rightIcon: {
|
|
208
|
+
type: String,
|
|
209
|
+
default: "",
|
|
210
|
+
},
|
|
211
|
+
|
|
189
212
|
/**
|
|
190
213
|
* Date format.
|
|
191
214
|
*/
|
|
@@ -2,6 +2,8 @@ import { getArgTypes, getSlotNames, getSlotsFragment } from "../service.storyboo
|
|
|
2
2
|
|
|
3
3
|
import UDatePickerRange from "../ui.form-date-picker-range";
|
|
4
4
|
import URow from "../ui.container-row";
|
|
5
|
+
import UIcon from "../ui.image-icon";
|
|
6
|
+
import UButton from "../ui.button";
|
|
5
7
|
|
|
6
8
|
import { addDays } from "../ui.form-calendar/services/date.service";
|
|
7
9
|
|
|
@@ -31,7 +33,7 @@ export default {
|
|
|
31
33
|
};
|
|
32
34
|
|
|
33
35
|
const DefaultTemplate = (args) => ({
|
|
34
|
-
components: { UDatePickerRange },
|
|
36
|
+
components: { UDatePickerRange, UIcon, UButton },
|
|
35
37
|
setup() {
|
|
36
38
|
const slots = getSlotNames(UDatePickerRange.name);
|
|
37
39
|
|
|
@@ -165,22 +167,60 @@ customRangeButton.args = {
|
|
|
165
167
|
value: { from: null, to: null },
|
|
166
168
|
};
|
|
167
169
|
|
|
168
|
-
export const
|
|
169
|
-
|
|
170
|
+
export const leftIcon = DefaultTemplate.bind({});
|
|
171
|
+
leftIcon.args = {
|
|
172
|
+
leftIcon: "star",
|
|
173
|
+
variant: "input",
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
export const rightIcon = DefaultTemplate.bind({});
|
|
177
|
+
rightIcon.args = {
|
|
178
|
+
rightIcon: "star",
|
|
179
|
+
variant: "input",
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
export const leftIconSlot = DefaultTemplate.bind({});
|
|
183
|
+
leftIconSlot.args = {
|
|
184
|
+
variant: "input",
|
|
185
|
+
slotTemplate: `
|
|
186
|
+
<template #left-icon>
|
|
187
|
+
<UIcon
|
|
188
|
+
name="archive"
|
|
189
|
+
color="red"
|
|
190
|
+
/>
|
|
191
|
+
</template>
|
|
192
|
+
`,
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export const rightIconSlot = DefaultTemplate.bind({});
|
|
196
|
+
rightIconSlot.args = {
|
|
197
|
+
variant: "input",
|
|
198
|
+
slotTemplate: `
|
|
199
|
+
<template #right-icon>
|
|
200
|
+
<UIcon
|
|
201
|
+
name="archive"
|
|
202
|
+
color="red"
|
|
203
|
+
/>
|
|
204
|
+
</template>
|
|
205
|
+
`,
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
export const leftSlot = DefaultTemplate.bind({});
|
|
209
|
+
leftSlot.args = {
|
|
170
210
|
variant: "input",
|
|
171
211
|
slotTemplate: `
|
|
172
212
|
<template #left>
|
|
173
|
-
|
|
213
|
+
<UButton variant="thirdary" filled square label="Filter" class="rounded-r-none h-full" />
|
|
174
214
|
</template>
|
|
175
215
|
`,
|
|
176
216
|
};
|
|
177
217
|
|
|
178
|
-
export const
|
|
179
|
-
|
|
218
|
+
export const rightSlot = DefaultTemplate.bind({});
|
|
219
|
+
rightSlot.args = {
|
|
180
220
|
variant: "input",
|
|
181
221
|
slotTemplate: `
|
|
182
222
|
<template #right>
|
|
183
|
-
|
|
223
|
+
<UButton variant="thirdary" filled square label="Filter" class="rounded-l-none" />
|
|
184
224
|
</template>
|
|
185
225
|
`,
|
|
186
226
|
};
|
|
@@ -12,18 +12,28 @@
|
|
|
12
12
|
:description="description"
|
|
13
13
|
:error="error"
|
|
14
14
|
readonly
|
|
15
|
+
:left-icon="leftIcon"
|
|
16
|
+
:right-icon="rightIcon"
|
|
15
17
|
v-bind="inputAttrs"
|
|
16
18
|
@focus="activate"
|
|
17
19
|
>
|
|
18
20
|
<template #left>
|
|
21
|
+
<!-- @slot Use it to add something before the date. -->
|
|
19
22
|
<slot name="left" />
|
|
20
23
|
</template>
|
|
21
24
|
|
|
25
|
+
<template #left-icon>
|
|
26
|
+
<!-- @slot Use it to add icon before the date. -->
|
|
27
|
+
<slot name="left-icon" />
|
|
28
|
+
</template>
|
|
29
|
+
|
|
22
30
|
<template #right-icon>
|
|
31
|
+
<!-- @slot Use it to add icon after the date. -->
|
|
23
32
|
<slot name="right-icon" />
|
|
24
33
|
</template>
|
|
25
34
|
|
|
26
35
|
<template #right>
|
|
36
|
+
<!-- @slot Use it to add something after the date. -->
|
|
27
37
|
<slot name="right" />
|
|
28
38
|
</template>
|
|
29
39
|
</UInput>
|
|
@@ -349,6 +359,22 @@ const props = defineProps({
|
|
|
349
359
|
default: getDefault(defaultConfig, UDatePickerRange).size,
|
|
350
360
|
},
|
|
351
361
|
|
|
362
|
+
/**
|
|
363
|
+
* Left side icon name.
|
|
364
|
+
*/
|
|
365
|
+
leftIcon: {
|
|
366
|
+
type: String,
|
|
367
|
+
default: "",
|
|
368
|
+
},
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Right side icon name.
|
|
372
|
+
*/
|
|
373
|
+
rightIcon: {
|
|
374
|
+
type: String,
|
|
375
|
+
default: "",
|
|
376
|
+
},
|
|
377
|
+
|
|
352
378
|
/**
|
|
353
379
|
* Label text for input type.
|
|
354
380
|
*/
|
|
@@ -2,6 +2,8 @@ import { getArgTypes, getSlotNames, getSlotsFragment } from "../service.storyboo
|
|
|
2
2
|
|
|
3
3
|
import UInputMoney from "../ui.form-input-money";
|
|
4
4
|
import UCol from "../ui.container-col";
|
|
5
|
+
import UIcon from "../ui.image-icon";
|
|
6
|
+
import UButton from "../ui.button";
|
|
5
7
|
|
|
6
8
|
/**
|
|
7
9
|
* The `UInputMoney` component. | [View on GitHub](https://github.com/vuelessjs/vueless/tree/main/src/ui.form-input-money)
|
|
@@ -20,7 +22,7 @@ export default {
|
|
|
20
22
|
};
|
|
21
23
|
|
|
22
24
|
const DefaultTemplate = (args) => ({
|
|
23
|
-
components: { UInputMoney },
|
|
25
|
+
components: { UInputMoney, UIcon, UButton },
|
|
24
26
|
setup() {
|
|
25
27
|
const slots = getSlotNames(UInputMoney.name);
|
|
26
28
|
|
|
@@ -101,3 +103,55 @@ readOnly.args = { readOnly: true };
|
|
|
101
103
|
|
|
102
104
|
export const disabled = DefaultTemplate.bind({});
|
|
103
105
|
disabled.args = { disabled: true };
|
|
106
|
+
|
|
107
|
+
export const leftIcon = DefaultTemplate.bind({});
|
|
108
|
+
leftIcon.args = {
|
|
109
|
+
leftIcon: "star",
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
export const rightIcon = DefaultTemplate.bind({});
|
|
113
|
+
rightIcon.args = {
|
|
114
|
+
rightIcon: "star",
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
export const leftIconSlot = DefaultTemplate.bind({});
|
|
118
|
+
leftIconSlot.args = {
|
|
119
|
+
slotTemplate: `
|
|
120
|
+
<template #left-icon>
|
|
121
|
+
<UIcon
|
|
122
|
+
name="archive"
|
|
123
|
+
color="red"
|
|
124
|
+
/>
|
|
125
|
+
</template>
|
|
126
|
+
`,
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
export const rightIconSlot = DefaultTemplate.bind({});
|
|
130
|
+
rightIconSlot.args = {
|
|
131
|
+
slotTemplate: `
|
|
132
|
+
<template #right-icon>
|
|
133
|
+
<UIcon
|
|
134
|
+
name="archive"
|
|
135
|
+
color="red"
|
|
136
|
+
/>
|
|
137
|
+
</template>
|
|
138
|
+
`,
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
export const leftSlot = DefaultTemplate.bind({});
|
|
142
|
+
leftSlot.args = {
|
|
143
|
+
slotTemplate: `
|
|
144
|
+
<template #left>
|
|
145
|
+
<UButton variant="thirdary" filled square label="Filter" class="rounded-r-none h-full" />
|
|
146
|
+
</template>
|
|
147
|
+
`,
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
export const rightSlot = DefaultTemplate.bind({});
|
|
151
|
+
rightSlot.args = {
|
|
152
|
+
slotTemplate: `
|
|
153
|
+
<template #right>
|
|
154
|
+
<UButton variant="thirdary" filled square label="Filter" class="rounded-l-none" />
|
|
155
|
+
</template>
|
|
156
|
+
`,
|
|
157
|
+
};
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
:disabled="disabled"
|
|
13
13
|
inputmode="decimal"
|
|
14
14
|
:data-cy="`${dataCy}-base-currency`"
|
|
15
|
+
:left-icon="leftIcon"
|
|
16
|
+
:right-icon="rightIcon"
|
|
15
17
|
v-bind="inputAttrs"
|
|
16
18
|
@keyup="onKeyup"
|
|
17
19
|
@blur="onBlur"
|
|
@@ -22,15 +24,20 @@
|
|
|
22
24
|
<slot name="left" />
|
|
23
25
|
</template>
|
|
24
26
|
|
|
25
|
-
<template #
|
|
26
|
-
<!-- @slot Use it to add
|
|
27
|
-
<slot name="
|
|
27
|
+
<template #left-icon>
|
|
28
|
+
<!-- @slot Use it to add icon before the text. -->
|
|
29
|
+
<slot name="left-icon" />
|
|
28
30
|
</template>
|
|
29
31
|
|
|
30
32
|
<template #right-icon>
|
|
31
|
-
<!-- @slot Use it to add
|
|
33
|
+
<!-- @slot Use it to add icon after the text. -->
|
|
32
34
|
<slot name="right-icon" />
|
|
33
35
|
</template>
|
|
36
|
+
|
|
37
|
+
<template #right>
|
|
38
|
+
<!-- @slot Use it to add something right. -->
|
|
39
|
+
<slot name="right" />
|
|
40
|
+
</template>
|
|
34
41
|
</UInput>
|
|
35
42
|
</template>
|
|
36
43
|
|
|
@@ -116,6 +123,22 @@ const props = defineProps({
|
|
|
116
123
|
default: getDefault(defaultConfig, UInputMoney).size,
|
|
117
124
|
},
|
|
118
125
|
|
|
126
|
+
/**
|
|
127
|
+
* Left side icon name.
|
|
128
|
+
*/
|
|
129
|
+
leftIcon: {
|
|
130
|
+
type: String,
|
|
131
|
+
default: "",
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Right side icon name.
|
|
136
|
+
*/
|
|
137
|
+
rightIcon: {
|
|
138
|
+
type: String,
|
|
139
|
+
default: "",
|
|
140
|
+
},
|
|
141
|
+
|
|
119
142
|
/**
|
|
120
143
|
* Number of signs after the comma.
|
|
121
144
|
*/
|
|
@@ -2,6 +2,7 @@ import { getArgTypes, getSlotNames, getSlotsFragment } from "../service.storyboo
|
|
|
2
2
|
|
|
3
3
|
import UInputSearch from "../ui.form-input-search";
|
|
4
4
|
import UButton from "../ui.button";
|
|
5
|
+
import UIcon from "../ui.image-icon";
|
|
5
6
|
import URow from "../ui.container-row";
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -17,7 +18,7 @@ export default {
|
|
|
17
18
|
};
|
|
18
19
|
|
|
19
20
|
const DefaultTemplate = (args) => ({
|
|
20
|
-
components: { UInputSearch, UButton },
|
|
21
|
+
components: { UInputSearch, UButton, UIcon },
|
|
21
22
|
setup() {
|
|
22
23
|
const slots = getSlotNames(UInputSearch.name);
|
|
23
24
|
|
|
@@ -61,17 +62,54 @@ searchButton.args = { searchButtonLabel: "Search" };
|
|
|
61
62
|
export const sizes = EnumVariantTemplate.bind({});
|
|
62
63
|
sizes.args = { enum: "size" };
|
|
63
64
|
|
|
64
|
-
export const
|
|
65
|
-
|
|
65
|
+
export const leftIcon = DefaultTemplate.bind({});
|
|
66
|
+
leftIcon.args = {
|
|
67
|
+
leftIcon: "star",
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export const rightIcon = DefaultTemplate.bind({});
|
|
71
|
+
rightIcon.args = {
|
|
72
|
+
rightIcon: "star",
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export const leftIconSlot = DefaultTemplate.bind({});
|
|
76
|
+
leftIconSlot.args = {
|
|
66
77
|
slotTemplate: `
|
|
67
|
-
<template #left>
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
78
|
+
<template #left-icon>
|
|
79
|
+
<UIcon
|
|
80
|
+
name="archive"
|
|
81
|
+
color="red"
|
|
82
|
+
/>
|
|
83
|
+
</template>
|
|
84
|
+
`,
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export const rightIconSlot = DefaultTemplate.bind({});
|
|
88
|
+
rightIconSlot.args = {
|
|
89
|
+
slotTemplate: `
|
|
90
|
+
<template #right-icon>
|
|
91
|
+
<UIcon
|
|
92
|
+
name="archive"
|
|
93
|
+
color="red"
|
|
74
94
|
/>
|
|
75
95
|
</template>
|
|
76
96
|
`,
|
|
77
97
|
};
|
|
98
|
+
|
|
99
|
+
export const leftSlot = DefaultTemplate.bind({});
|
|
100
|
+
leftSlot.args = {
|
|
101
|
+
slotTemplate: `
|
|
102
|
+
<template #left>
|
|
103
|
+
<UButton variant="thirdary" filled square label="Filter" class="rounded-r-none h-full" />
|
|
104
|
+
</template>
|
|
105
|
+
`,
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export const rightSlot = DefaultTemplate.bind({});
|
|
109
|
+
rightSlot.args = {
|
|
110
|
+
slotTemplate: `
|
|
111
|
+
<template #right>
|
|
112
|
+
<UButton variant="thirdary" filled square label="Filter" class="rounded-l-none" />
|
|
113
|
+
</template>
|
|
114
|
+
`,
|
|
115
|
+
};
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
:placeholder="placeholder"
|
|
14
14
|
inputmode="search"
|
|
15
15
|
:data-cy="dataCy"
|
|
16
|
+
:left-icon="leftIcon"
|
|
16
17
|
v-bind="inputAttrs"
|
|
17
18
|
@keyup.enter="onClickSearch"
|
|
18
19
|
>
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
internal
|
|
52
53
|
interactive
|
|
53
54
|
:size="iconSize"
|
|
54
|
-
:name="config.searchIconName"
|
|
55
|
+
:name="rightIcon || config.searchIconName"
|
|
55
56
|
:data-cy="`${dataCy}-search`"
|
|
56
57
|
v-bind="searchIconAttrs"
|
|
57
58
|
@click="onClickSearch"
|
|
@@ -110,6 +111,22 @@ const props = defineProps({
|
|
|
110
111
|
default: getDefault(defaultConfig, UInputSearch).size,
|
|
111
112
|
},
|
|
112
113
|
|
|
114
|
+
/**
|
|
115
|
+
* Left side icon name.
|
|
116
|
+
*/
|
|
117
|
+
leftIcon: {
|
|
118
|
+
type: String,
|
|
119
|
+
default: "",
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Right side icon name.
|
|
124
|
+
*/
|
|
125
|
+
rightIcon: {
|
|
126
|
+
type: String,
|
|
127
|
+
default: "",
|
|
128
|
+
},
|
|
129
|
+
|
|
113
130
|
/**
|
|
114
131
|
* Input placeholder.
|
|
115
132
|
*/
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "vueless",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.286",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -2230,6 +2230,24 @@
|
|
|
2230
2230
|
},
|
|
2231
2231
|
"default": "md"
|
|
2232
2232
|
},
|
|
2233
|
+
{
|
|
2234
|
+
"name": "leftIcon",
|
|
2235
|
+
"description": "Left side icon name.",
|
|
2236
|
+
"value": {
|
|
2237
|
+
"kind": "expression",
|
|
2238
|
+
"type": "string"
|
|
2239
|
+
},
|
|
2240
|
+
"default": "\"\""
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"name": "rightIcon",
|
|
2244
|
+
"description": "Right side icon name.",
|
|
2245
|
+
"value": {
|
|
2246
|
+
"kind": "expression",
|
|
2247
|
+
"type": "string"
|
|
2248
|
+
},
|
|
2249
|
+
"default": "\"\""
|
|
2250
|
+
},
|
|
2233
2251
|
{
|
|
2234
2252
|
"name": "dateFormat",
|
|
2235
2253
|
"description": "Date format.",
|
|
@@ -2306,6 +2324,10 @@
|
|
|
2306
2324
|
"name": "left",
|
|
2307
2325
|
"description": "Use it add something before the date."
|
|
2308
2326
|
},
|
|
2327
|
+
{
|
|
2328
|
+
"name": "left-icon",
|
|
2329
|
+
"description": "Use it add an icon before the date."
|
|
2330
|
+
},
|
|
2309
2331
|
{
|
|
2310
2332
|
"name": "right-icon",
|
|
2311
2333
|
"description": "Use it add an icon after the date."
|
|
@@ -2394,6 +2416,24 @@
|
|
|
2394
2416
|
},
|
|
2395
2417
|
"default": "md"
|
|
2396
2418
|
},
|
|
2419
|
+
{
|
|
2420
|
+
"name": "leftIcon",
|
|
2421
|
+
"description": "Left side icon name.",
|
|
2422
|
+
"value": {
|
|
2423
|
+
"kind": "expression",
|
|
2424
|
+
"type": "string"
|
|
2425
|
+
},
|
|
2426
|
+
"default": "\"\""
|
|
2427
|
+
},
|
|
2428
|
+
{
|
|
2429
|
+
"name": "rightIcon",
|
|
2430
|
+
"description": "Right side icon name.",
|
|
2431
|
+
"value": {
|
|
2432
|
+
"kind": "expression",
|
|
2433
|
+
"type": "string"
|
|
2434
|
+
},
|
|
2435
|
+
"default": "\"\""
|
|
2436
|
+
},
|
|
2397
2437
|
{
|
|
2398
2438
|
"name": "label",
|
|
2399
2439
|
"description": "Label text for input type.",
|
|
@@ -2491,13 +2531,20 @@
|
|
|
2491
2531
|
],
|
|
2492
2532
|
"slots": [
|
|
2493
2533
|
{
|
|
2494
|
-
"name": "left"
|
|
2534
|
+
"name": "left",
|
|
2535
|
+
"description": "Use it to add something before the date."
|
|
2495
2536
|
},
|
|
2496
2537
|
{
|
|
2497
|
-
"name": "
|
|
2538
|
+
"name": "left-icon",
|
|
2539
|
+
"description": "Use it to add icon before the date."
|
|
2498
2540
|
},
|
|
2499
2541
|
{
|
|
2500
|
-
"name": "right"
|
|
2542
|
+
"name": "right-icon",
|
|
2543
|
+
"description": "Use it to add icon after the date."
|
|
2544
|
+
},
|
|
2545
|
+
{
|
|
2546
|
+
"name": "right",
|
|
2547
|
+
"description": "Use it to add something after the date."
|
|
2501
2548
|
}
|
|
2502
2549
|
],
|
|
2503
2550
|
"source": {
|
|
@@ -4526,6 +4573,24 @@
|
|
|
4526
4573
|
},
|
|
4527
4574
|
"default": "md"
|
|
4528
4575
|
},
|
|
4576
|
+
{
|
|
4577
|
+
"name": "leftIcon",
|
|
4578
|
+
"description": "Left side icon name.",
|
|
4579
|
+
"value": {
|
|
4580
|
+
"kind": "expression",
|
|
4581
|
+
"type": "string"
|
|
4582
|
+
},
|
|
4583
|
+
"default": "\"\""
|
|
4584
|
+
},
|
|
4585
|
+
{
|
|
4586
|
+
"name": "rightIcon",
|
|
4587
|
+
"description": "Right side icon name.",
|
|
4588
|
+
"value": {
|
|
4589
|
+
"kind": "expression",
|
|
4590
|
+
"type": "string"
|
|
4591
|
+
},
|
|
4592
|
+
"default": "\"\""
|
|
4593
|
+
},
|
|
4529
4594
|
{
|
|
4530
4595
|
"name": "decimalScale",
|
|
4531
4596
|
"description": "Number of signs after the comma.",
|
|
@@ -4646,12 +4711,16 @@
|
|
|
4646
4711
|
"description": "Use it to add something left."
|
|
4647
4712
|
},
|
|
4648
4713
|
{
|
|
4649
|
-
"name": "
|
|
4650
|
-
"description": "Use it to add
|
|
4714
|
+
"name": "left-icon",
|
|
4715
|
+
"description": "Use it to add icon before the text."
|
|
4651
4716
|
},
|
|
4652
4717
|
{
|
|
4653
4718
|
"name": "right-icon",
|
|
4654
|
-
"description": "Use it to add
|
|
4719
|
+
"description": "Use it to add icon after the text."
|
|
4720
|
+
},
|
|
4721
|
+
{
|
|
4722
|
+
"name": "right",
|
|
4723
|
+
"description": "Use it to add something right."
|
|
4655
4724
|
}
|
|
4656
4725
|
],
|
|
4657
4726
|
"source": {
|
|
@@ -4941,6 +5010,24 @@
|
|
|
4941
5010
|
},
|
|
4942
5011
|
"default": "md"
|
|
4943
5012
|
},
|
|
5013
|
+
{
|
|
5014
|
+
"name": "leftIcon",
|
|
5015
|
+
"description": "Left side icon name.",
|
|
5016
|
+
"value": {
|
|
5017
|
+
"kind": "expression",
|
|
5018
|
+
"type": "string"
|
|
5019
|
+
},
|
|
5020
|
+
"default": "\"\""
|
|
5021
|
+
},
|
|
5022
|
+
{
|
|
5023
|
+
"name": "rightIcon",
|
|
5024
|
+
"description": "Right side icon name.",
|
|
5025
|
+
"value": {
|
|
5026
|
+
"kind": "expression",
|
|
5027
|
+
"type": "string"
|
|
5028
|
+
},
|
|
5029
|
+
"default": "\"\""
|
|
5030
|
+
},
|
|
4944
5031
|
{
|
|
4945
5032
|
"name": "placeholder",
|
|
4946
5033
|
"description": "Input placeholder.",
|