@voicenter-team/voicenter-ui-plus 4.0.0-beta.8 → 4.0.0
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/README.md +2 -5
- package/library/assets/components/VcTimeInput/VcTimeInput.css +1 -1
- package/library/components/VcAgentRun/VcAgentRunCard.vue.mjs +1 -1
- package/library/components/VcAutocomplete/VcAutocomplete.vue.mjs +1 -1
- package/library/components/VcButton/VcButton.vue.mjs +2 -2
- package/library/components/VcButton/VcButtonIcon.vue.mjs +2 -2
- package/library/components/VcButton/VcToggleButton.vue.mjs +2 -2
- package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
- package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
- package/library/components/VcExcelUploader/VcExcelFileUploader.vue.mjs +1 -1
- package/library/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.mjs +1 -1
- package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.mjs +2 -2
- package/library/components/VcFileUploader/VcFileUploader.vue.mjs +2 -2
- package/library/components/VcFileUploader/VcFileUploaderArea.vue.mjs +2 -2
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue2.mjs +2 -2
- package/library/components/VcFileUploader/VcSimpleUploaderAction.vue.mjs +1 -1
- package/library/components/VcFileUploader/VcSimpleUploaderFileList.vue.mjs +1 -1
- package/library/components/VcForm/UiComponents/VcInputLabel.vue.mjs +1 -1
- package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
- package/library/components/VcHyperLink/VcHyperLink.vue.mjs +1 -1
- package/library/components/VcIcon/VcIcon.vue.mjs +1 -1
- package/library/components/VcImageUploader/VcImageUploader.vue.mjs +1 -1
- package/library/components/VcInput/VcInput.vue.mjs +1 -1
- package/library/components/VcJsonSchema/VcJsonSchema.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LoadIcon.vue2.mjs +1 -1
- package/library/components/VcLoading/VcLoading.vue2.mjs +1 -1
- package/library/components/VcPagination/VcPaginationButton.vue.mjs +1 -1
- package/library/components/VcPhoneInput/VcPhoneInput.vue.mjs +1 -1
- package/library/components/VcSelect/VcSelect.vue.mjs +2 -1
- package/library/components/VcSelect/VcSelectOption.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcPlayerPlayStopButton.vue.mjs +3 -3
- package/library/components/VcSoundplayer/VcPlayerPlaybackRate.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcPlayerSkipButtons.vue.mjs +2 -2
- package/library/components/VcSoundplayer/VcSoundPlayer.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerError.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundPlayerMarker.vue.mjs +1 -1
- package/library/components/VcSoundplayer/VcSoundVolume.vue.mjs +2 -2
- package/library/components/VcSplitButton/VcSplitButton.vue.mjs +1 -1
- package/library/components/VcTabs/VcTabPane.vue.mjs +1 -1
- package/library/components/VcTag/VcTag.vue.mjs +2 -2
- package/library/components/VcTagInput/VcTagInput.vue.mjs +1 -1
- package/library/components/VcTimeInput/VcTimeInput.vue.mjs +9 -117
- package/library/components/VcToolCall/VcToolCall.vue.mjs +1 -1
- package/library/components/VcTree/VcTree.vue.mjs +1 -1
- package/library/components/VcWizard/VcSummaryProgress.vue.mjs +1 -1
- package/library/entity/components/Button/VcEntityDeleteIconButton.vue.mjs +1 -1
- package/library/entity/components/Button/VcEntityEditIconButton.vue.mjs +1 -1
- package/library/entity/components/Table/VcEntityListTable.vue.mjs +2 -2
- package/library/entity/components/Tabs/VcEntityEditableTabs.vue.mjs +3 -3
- package/library/style.css +1 -1
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +18 -18
- package/library/types/components/VcBadgeTag/VcBadgeTag.vue.d.ts +1 -1
- package/library/types/components/VcButton/VcButton.vue.d.ts +2 -2
- package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +2 -2
- package/library/types/components/VcButton/VcToggleButton.vue.d.ts +2 -2
- package/library/types/components/VcChatComposer/VcChatComposer.vue.d.ts +1 -1
- package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +9 -9
- package/library/types/components/VcCheckbox/VcCheckboxButton.vue.d.ts +9 -9
- package/library/types/components/VcCheckbox/VcCheckboxButtonGroup.vue.d.ts +9 -9
- package/library/types/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +9 -9
- package/library/types/components/VcCollapse/VcCollapseItem.vue.d.ts +1 -1
- package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +9 -9
- package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +6 -6
- package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +2 -2
- package/library/types/components/VcExcelUploader/VcExcelFileProcessLoader.vue.d.ts +3 -3
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +1 -1
- package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +1 -1
- package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +1 -1
- package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +2 -2
- package/library/types/components/VcIcon/VcIcon.vue.d.ts +1 -1
- package/library/types/components/VcIconPicker/VcIconPicker.vue.d.ts +6 -6
- package/library/types/components/VcInput/VcInput.vue.d.ts +4 -4
- package/library/types/components/VcInputNumber/VcInputNumber.vue.d.ts +1 -1
- package/library/types/components/VcLoading/Loaders/LoadIcon.vue.d.ts +1 -1
- package/library/types/components/VcLoading/VcLoading.vue.d.ts +1 -1
- package/library/types/components/VcLoading/enum.d.ts +9 -9
- package/library/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +2 -2
- package/library/types/components/VcModal/VcModal.vue.d.ts +1 -1
- package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +3 -3
- package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +1 -1
- package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +2 -2
- package/library/types/components/VcPopover/VcPopover.vue.d.ts +1 -1
- package/library/types/components/VcProgress/VcProgress.vue.d.ts +2 -2
- package/library/types/components/VcProgress/VcProgressCircular.vue.d.ts +2 -2
- package/library/types/components/VcRadio/VcRadio.vue.d.ts +6 -6
- package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +6 -6
- package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +6 -6
- package/library/types/components/VcRadioTabs/VcRadioTabs.vue.d.ts +3 -3
- package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +9 -9
- package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +9 -9
- package/library/types/components/VcSelect/VcSelect.vue.d.ts +15 -15
- package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +15 -15
- package/library/types/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +2 -2
- package/library/types/components/VcSoundplayer/VcSoundPlayer.vue.d.ts +1 -1
- package/library/types/components/VcSoundplayer/VcSoundPlayerCompact.vue.d.ts +1 -1
- package/library/types/components/VcSoundplayer/VcSoundPlayerMarker.vue.d.ts +1 -1
- package/library/types/components/VcSoundplayer/VcSoundPlayerWrapper.vue.d.ts +1 -1
- package/library/types/components/VcSparkline/VcBarLine.vue.d.ts +3 -3
- package/library/types/components/VcSparkline/VcSparkline.vue.d.ts +3 -3
- package/library/types/components/VcSparkline/VcTrendLine.vue.d.ts +3 -3
- package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +1 -1
- package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +18 -18
- package/library/types/components/VcTabs/VcTabs.vue.d.ts +4 -4
- package/library/types/components/VcTag/VcTag.vue.d.ts +1 -1
- package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +4 -4
- package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +9 -23
- package/library/types/components/VcTransfer/VcTransfer.vue.d.ts +3 -3
- package/library/types/components/VcTree/VcTree.vue.d.ts +3 -3
- package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +15 -15
- package/library/types/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +3 -3
- package/library/types/components/VcVerticalTabs/VerticalTabNav.vue.d.ts +3 -3
- package/library/types/components/VcWizard/VcWizard.vue.d.ts +1 -1
- package/library/types/types/icons.types.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../assets/components/VcTimeInput/VcTimeInput.css';
|
|
2
|
-
import { defineComponent, ref, reactive, computed, watch, onMounted, openBlock, createElementBlock, normalizeStyle, unref, createElementVNode, normalizeClass, withDirectives, createVNode, toDisplayString, createCommentVNode, withModifiers, vModelText
|
|
2
|
+
import { defineComponent, ref, reactive, computed, watch, onMounted, openBlock, createElementBlock, normalizeStyle, unref, createElementVNode, normalizeClass, withDirectives, createVNode, toDisplayString, createCommentVNode, withModifiers, vModelText } from "vue";
|
|
3
3
|
import _sfc_main$1 from "../VcIcon/VcIcon.vue.mjs";
|
|
4
4
|
import '../../assets/components/VcIcon/VcIcon.css';/* empty css */
|
|
5
|
-
import { Minus,
|
|
5
|
+
import { Minus, Plus } from "@lucide/vue";
|
|
6
6
|
import { longPress } from "../../directives/long-press.mjs";
|
|
7
7
|
import useInputBase from "../../composables/input/useInputBase.mjs";
|
|
8
8
|
import { DEFAULT_COLOR } from "../../enum/inputDefaults.mjs";
|
|
@@ -24,10 +24,6 @@ const _hoisted_7 = {
|
|
|
24
24
|
};
|
|
25
25
|
const _hoisted_8 = { class: "divider" };
|
|
26
26
|
const _hoisted_9 = ["disabled"];
|
|
27
|
-
const _hoisted_10 = {
|
|
28
|
-
key: 0,
|
|
29
|
-
class: "vc-time-input__clearable"
|
|
30
|
-
};
|
|
31
27
|
const CLASS_FOR_COLOR = "vc-time-input-color--";
|
|
32
28
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
33
29
|
...{
|
|
@@ -44,10 +40,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
40
|
emptyDataText: { default: "" },
|
|
45
41
|
placeholder: { default: "" },
|
|
46
42
|
allowMouseWheel: { type: Boolean, default: false },
|
|
47
|
-
clearable: { type: Boolean, default: false },
|
|
48
43
|
format: { default: "hh:mm:ss" },
|
|
49
44
|
id: { default: void 0 },
|
|
50
45
|
disabled: { type: Boolean, default: false },
|
|
46
|
+
clearable: { type: Boolean },
|
|
51
47
|
isError: { type: Boolean, default: false },
|
|
52
48
|
emptyText: {},
|
|
53
49
|
prefixIcon: {},
|
|
@@ -57,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
53
|
prefixIconColor: {},
|
|
58
54
|
color: { default: DEFAULT_COLOR }
|
|
59
55
|
},
|
|
60
|
-
emits: ["input", "update:modelValue"
|
|
56
|
+
emits: ["input", "update:modelValue"],
|
|
61
57
|
setup(__props, { emit: __emit }) {
|
|
62
58
|
const UNIT_OF = {
|
|
63
59
|
hh: "hours",
|
|
@@ -65,11 +61,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
65
61
|
ss: "seconds"
|
|
66
62
|
};
|
|
67
63
|
const vLongPress = { ...longPress };
|
|
68
|
-
const EMPTY_TIME = {
|
|
69
|
-
hours: "",
|
|
70
|
-
minutes: "",
|
|
71
|
-
seconds: ""
|
|
72
|
-
};
|
|
73
64
|
const props = __props;
|
|
74
65
|
const emit = __emit;
|
|
75
66
|
const { maxWidthStyle, inputClasses } = useInputBase(props, {
|
|
@@ -87,45 +78,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
78
|
const timeModel = computed(() => {
|
|
88
79
|
return props.modelValue || 0;
|
|
89
80
|
});
|
|
90
|
-
const isEmptyModel = computed(() => {
|
|
91
|
-
return props.clearable && (props.modelValue === void 0 || props.modelValue === null);
|
|
92
|
-
});
|
|
93
|
-
const shownModel = computed(() => {
|
|
94
|
-
return isEmptyModel.value ? void 0 : timeModel.value;
|
|
95
|
-
});
|
|
96
|
-
const isEmpty = computed(() => {
|
|
97
|
-
return props.clearable && !hasTime(timeSettingModel);
|
|
98
|
-
});
|
|
99
|
-
const showClear = computed(() => {
|
|
100
|
-
return !isEmpty.value && !props.disabled;
|
|
101
|
-
});
|
|
102
81
|
const disabledDecreaseBtn = computed(() => {
|
|
103
|
-
if (isEmpty.value) {
|
|
104
|
-
return props.disabled;
|
|
105
|
-
}
|
|
106
82
|
const _time = timeModel.value;
|
|
107
83
|
return _time <= props.minValue || props.disabled;
|
|
108
84
|
});
|
|
109
85
|
const disabledIncreaseBtn = computed(() => {
|
|
110
|
-
if (isEmpty.value) {
|
|
111
|
-
return props.disabled;
|
|
112
|
-
}
|
|
113
86
|
const _time = timeModel.value;
|
|
114
87
|
return props.maxValue !== 0 && _time >= props.maxValue || props.disabled;
|
|
115
88
|
});
|
|
116
89
|
const hideInputs = computed(() => {
|
|
117
|
-
if (props.clearable) {
|
|
118
|
-
return !isFocus.value && isEmpty.value && !!(props.emptyDataText || props.placeholder);
|
|
119
|
-
}
|
|
120
90
|
const _time = props.modelValue || timeModel.value;
|
|
121
91
|
return !!(!isFocus.value && _time === 0 && props.emptyDataText);
|
|
122
92
|
});
|
|
123
93
|
const units = computed(() => props.format.split(":").map((part) => UNIT_OF[part]).filter((unit) => !!unit));
|
|
124
94
|
const lastUnit = computed(() => units.value[units.value.length - 1] ?? "seconds");
|
|
125
95
|
function clearHiddenUnits() {
|
|
126
|
-
if (props.clearable && units.value.every((unit) => timeSettingModel[unit] === "")) {
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
96
|
const order = ["hours", "minutes", "seconds"];
|
|
130
97
|
order.slice(order.indexOf(lastUnit.value) + 1).forEach((unit) => {
|
|
131
98
|
timeSettingModel[unit] = "00";
|
|
@@ -209,64 +176,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
209
176
|
seconds: seconds2
|
|
210
177
|
};
|
|
211
178
|
}
|
|
212
|
-
function hasTime(time) {
|
|
213
|
-
return time.hours !== "" || time.minutes !== "" || time.seconds !== "";
|
|
214
|
-
}
|
|
215
|
-
function hasBlankPart(time) {
|
|
216
|
-
return time.hours === "" || time.minutes === "" || time.seconds === "";
|
|
217
|
-
}
|
|
218
|
-
function setEmptyTime() {
|
|
219
|
-
timeSettingModel.hours = EMPTY_TIME.hours;
|
|
220
|
-
timeSettingModel.minutes = EMPTY_TIME.minutes;
|
|
221
|
-
timeSettingModel.seconds = EMPTY_TIME.seconds;
|
|
222
|
-
}
|
|
223
|
-
function fillBlankParts() {
|
|
224
|
-
const zero = setFormatValue(0);
|
|
225
|
-
if (timeSettingModel.hours === "") {
|
|
226
|
-
timeSettingModel.hours = zero;
|
|
227
|
-
}
|
|
228
|
-
if (timeSettingModel.minutes === "") {
|
|
229
|
-
timeSettingModel.minutes = zero;
|
|
230
|
-
}
|
|
231
|
-
if (timeSettingModel.seconds === "") {
|
|
232
|
-
timeSettingModel.seconds = zero;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
function normaliseTimePart(val, type) {
|
|
236
|
-
if (isEmpty.value) {
|
|
237
|
-
return;
|
|
238
|
-
}
|
|
239
|
-
timeSettingModel[type] = updateTimeInput(val, type);
|
|
240
|
-
if (props.clearable) {
|
|
241
|
-
fillBlankParts();
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
function clampTime(time) {
|
|
245
|
-
if (props.maxValue > 0 && time > props.maxValue) {
|
|
246
|
-
return props.maxValue;
|
|
247
|
-
}
|
|
248
|
-
return Math.max(time, props.minValue, 0);
|
|
249
|
-
}
|
|
250
|
-
function stepFromEmpty(delta) {
|
|
251
|
-
setTimeData(clampTime(delta));
|
|
252
|
-
}
|
|
253
|
-
function onClear() {
|
|
254
|
-
setEmptyTime();
|
|
255
|
-
emit("update:modelValue", void 0);
|
|
256
|
-
emit("input", {
|
|
257
|
-
seconds: void 0,
|
|
258
|
-
string: { ...EMPTY_TIME }
|
|
259
|
-
});
|
|
260
|
-
emit("clear");
|
|
261
|
-
}
|
|
262
179
|
function decrease() {
|
|
263
180
|
if (disabledDecreaseBtn.value) {
|
|
264
181
|
return;
|
|
265
182
|
}
|
|
266
|
-
if (isEmpty.value) {
|
|
267
|
-
stepFromEmpty(-props.step);
|
|
268
|
-
return;
|
|
269
|
-
}
|
|
270
183
|
let _nevTime = timeModel.value - props.step;
|
|
271
184
|
if (_nevTime <= 0) {
|
|
272
185
|
_nevTime = 0;
|
|
@@ -279,10 +192,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
279
192
|
if (disabledIncreaseBtn.value) {
|
|
280
193
|
return;
|
|
281
194
|
}
|
|
282
|
-
if (isEmpty.value) {
|
|
283
|
-
stepFromEmpty(props.step);
|
|
284
|
-
return;
|
|
285
|
-
}
|
|
286
195
|
let _nevTime = timeModel.value + props.step;
|
|
287
196
|
if (props.maxValue > 0 && _nevTime >= props.maxValue) {
|
|
288
197
|
_nevTime = props.maxValue;
|
|
@@ -298,7 +207,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
298
207
|
watch(
|
|
299
208
|
() => timeSettingModel.seconds,
|
|
300
209
|
(val) => {
|
|
301
|
-
|
|
210
|
+
timeSettingModel.seconds = updateTimeInput(val, "seconds");
|
|
302
211
|
},
|
|
303
212
|
{
|
|
304
213
|
immediate: true
|
|
@@ -307,7 +216,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
307
216
|
watch(
|
|
308
217
|
() => timeSettingModel.minutes,
|
|
309
218
|
(val) => {
|
|
310
|
-
|
|
219
|
+
timeSettingModel.minutes = updateTimeInput(val, "minutes");
|
|
311
220
|
},
|
|
312
221
|
{
|
|
313
222
|
immediate: true
|
|
@@ -316,18 +225,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
316
225
|
watch(
|
|
317
226
|
() => timeSettingModel.hours,
|
|
318
227
|
(val) => {
|
|
319
|
-
|
|
228
|
+
timeSettingModel.hours = updateTimeInput(val, "hours");
|
|
320
229
|
},
|
|
321
230
|
{
|
|
322
231
|
immediate: true
|
|
323
232
|
}
|
|
324
233
|
);
|
|
325
234
|
watch(
|
|
326
|
-
|
|
235
|
+
timeModel,
|
|
327
236
|
(val) => {
|
|
328
|
-
if (val
|
|
329
|
-
setEmptyTime();
|
|
330
|
-
} else if (props.maxValue > 0 && val > props.maxValue) {
|
|
237
|
+
if (props.maxValue > 0 && val > props.maxValue) {
|
|
331
238
|
setTimeData(props.maxValue);
|
|
332
239
|
} else if (val < props.minValue) {
|
|
333
240
|
setTimeData(props.minValue);
|
|
@@ -340,9 +247,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
340
247
|
watch(
|
|
341
248
|
timeSettingModel,
|
|
342
249
|
(val) => {
|
|
343
|
-
if (props.clearable && hasBlankPart(val)) {
|
|
344
|
-
return;
|
|
345
|
-
}
|
|
346
250
|
const _seconds = getSecondsOfTime(val);
|
|
347
251
|
emit("update:modelValue", _seconds);
|
|
348
252
|
emit("input", {
|
|
@@ -353,9 +257,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
353
257
|
{ deep: true }
|
|
354
258
|
);
|
|
355
259
|
onMounted(() => {
|
|
356
|
-
if (isEmptyModel.value) {
|
|
357
|
-
return;
|
|
358
|
-
}
|
|
359
260
|
if (timeModel.value < props.minValue) {
|
|
360
261
|
const res = {
|
|
361
262
|
seconds: props.minValue || 0,
|
|
@@ -476,15 +377,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
476
377
|
]) : createCommentVNode("", true)
|
|
477
378
|
], 32)
|
|
478
379
|
]),
|
|
479
|
-
__props.clearable ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
480
|
-
showClear.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
481
|
-
key: 0,
|
|
482
|
-
icon: unref(X),
|
|
483
|
-
class: "icon-xs",
|
|
484
|
-
"data-test": "clear-button",
|
|
485
|
-
onClick: onClear
|
|
486
|
-
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
487
|
-
])) : createCommentVNode("", true),
|
|
488
380
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
489
381
|
class: normalizeClass(["vc-time-input__btn-increase", {
|
|
490
382
|
"is-disabled": disabledIncreaseBtn.value
|
|
@@ -90,7 +90,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
90
|
name: {},
|
|
91
91
|
title: { default: void 0 },
|
|
92
92
|
status: { default: "pending" },
|
|
93
|
-
icon: { default: void 0 },
|
|
93
|
+
icon: { type: [String, Function, Object], default: void 0 },
|
|
94
94
|
input: {},
|
|
95
95
|
output: {},
|
|
96
96
|
errorText: { default: "" },
|
|
@@ -40,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
40
|
filterPlaceholder: { default: "" },
|
|
41
41
|
lazy: { type: Boolean },
|
|
42
42
|
options: { default: () => [] },
|
|
43
|
-
filterPrefixIcon: { default: "" },
|
|
43
|
+
filterPrefixIcon: { type: [String, Function, Object], default: "" },
|
|
44
44
|
filterPrefixIconColor: { default: "" },
|
|
45
45
|
useTypes: { default: () => [] },
|
|
46
46
|
scrollHeight: { default: void 0 },
|
|
@@ -10,7 +10,7 @@ const countDownIcons = 3;
|
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "VcSummaryProgress",
|
|
12
12
|
props: {
|
|
13
|
-
icon: { default: () => Settings },
|
|
13
|
+
icon: { type: [String, Function, Object], default: () => Settings },
|
|
14
14
|
lineFilled: { type: Boolean, default: false },
|
|
15
15
|
visible: { type: Boolean, default: false },
|
|
16
16
|
isActive: { type: Boolean, default: false },
|
|
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
entity: {},
|
|
12
12
|
useConfirm: { type: Boolean, default: true },
|
|
13
13
|
confirmMessage: { default: "" },
|
|
14
|
-
icon: { default: () => Trash2 }
|
|
14
|
+
icon: { type: [String, Function, Object], default: () => Trash2 }
|
|
15
15
|
},
|
|
16
16
|
emits: ["delete"],
|
|
17
17
|
setup(__props, { emit: __emit }) {
|
|
@@ -57,9 +57,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
57
|
tableNoDataText: { default: "" },
|
|
58
58
|
inputSearch: { default: "" },
|
|
59
59
|
loaderType: { default: "lds-spinner" },
|
|
60
|
-
editIcon: { default: () => Settings },
|
|
60
|
+
editIcon: { type: [String, Function, Object], default: () => Settings },
|
|
61
61
|
editIconAnimate: { type: Boolean, default: true },
|
|
62
|
-
deleteIcon: { default: () => Trash2 }
|
|
62
|
+
deleteIcon: { type: [String, Function, Object], default: () => Trash2 }
|
|
63
63
|
},
|
|
64
64
|
emits: ["handle-selection-change", "edit", "add", "update:inputSearch"],
|
|
65
65
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -19,9 +19,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
modelValue: { default: LIST_TAB_QUERY_VALUE },
|
|
20
20
|
queryTabName: { default: "" },
|
|
21
21
|
confirmClose: { type: Function, default: void 0 },
|
|
22
|
-
tabListIcon: { default: () => List },
|
|
23
|
-
tabEditIcon: { default: () => Pencil },
|
|
24
|
-
tabCreateIcon: { default: () => Plus },
|
|
22
|
+
tabListIcon: { type: [String, Function, Object], default: () => List },
|
|
23
|
+
tabEditIcon: { type: [String, Function, Object], default: () => Pencil },
|
|
24
|
+
tabCreateIcon: { type: [String, Function, Object], default: () => Plus },
|
|
25
25
|
createTabDisabledHint: { default: void 0 },
|
|
26
26
|
fixedTabs: { default: () => [] }
|
|
27
27
|
},
|
package/library/style.css
CHANGED
|
@@ -354,7 +354,7 @@ svg:is(.vc-icon-component){display:inline-block;width:1em;height:1em}
|
|
|
354
354
|
|
|
355
355
|
.vc-tag-input__wrap{width:100%}.vc-tag-input__prefix-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;padding-left:.25rem;padding-right:.25rem;color:var(--vc-content-brand)}.vc-tag-input__clearable{display:flex;flex-shrink:0;align-items:center;justify-content:center;padding-left:.25rem;padding-right:.25rem}.vc-tag-input__clearable svg{cursor:pointer;color:var(--vc-content-brand);transition:all .3s ease}.vc-tag-input__clearable svg:hover{color:var(--vc-content-brand--hover)}.vc-tag-input__container{display:flex;width:100%;max-width:100%;align-items:center;overflow:hidden;border-radius:var(--vc-radius-control);border-width:1px;border-color:var(--vc-input);padding-left:.75rem;padding-right:.75rem;font-size:.875rem;outline:2px solid transparent;outline-offset:2px;min-height:var(--vc-size-control-md)}.vc-tag-input__container.is-clearable{padding-right:0}.vc-tag-input__container.is-prefix-icon{padding-left:0}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container:hover:not(.is-disabled):not(.is-error){border-color:var(--vc-input--hover)}.vc-tag-input__tags{gap:.375rem;padding-block:3px}.vc-tag-input__wrap.is--compact .vc-tag-input__container{min-height:1.25rem}.vc-tag-input__wrap.is--compact .vc-tag-input__tags{padding-block:1px}.vc-tag-input__wrap.is--compact .vc-tag{line-height:1rem}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container{border-color:var(--vc-action-primary--hover)}.vc-tag-input__wrap--error .vc-tag-input__container{border-color:var(--vc-action-danger)}.vc-tag-input__wrap--disabled .vc-tag-input__container,.vc-tag-input__wrap--disabled input{background-color:var(--vc-bg-inset)}.vc-tag-input__wrap--disabled .vc-tag-input__container:hover,.vc-tag-input__wrap--disabled input:hover{cursor:not-allowed;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.vc-tag-input__wrap--disabled .vc-tag-input__clearable svg{cursor:not-allowed;pointer-events:none}.vc-tag-input__content{flex-grow:1;flex-wrap:wrap;max-width:calc(100% - 32px);overflow:hidden}.vc-tag-input__input-token{flex:1 1 1rem;display:inline-flex}.vc-tag-input__input{border:0 none;outline:0 none;background-color:transparent;margin:0;padding:0;box-shadow:none;border-radius:0;width:100%}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--primary{color:var(--vc-content-brand)}.vc-tag-input__container.vc-tag-input-color--primary .vc-tag-input__clearable svg{color:var(--vc-content-brand)}.vc-tag-input__container.vc-tag-input-color--primary .vc-tag-input__clearable svg:hover{color:var(--vc-content-brand--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--primary:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-primary) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--primary:not(.is-error){border-color:var(--vc-action-primary--hover)}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--secondary{color:var(--vc-content-secondary)}.vc-tag-input__container.vc-tag-input-color--secondary .vc-tag-input__clearable svg{color:var(--vc-content-secondary)}.vc-tag-input__container.vc-tag-input-color--secondary .vc-tag-input__clearable svg:hover{color:var(--vc-content-secondary--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--secondary:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-secondary) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--secondary:not(.is-error){border-color:var(--vc-action-secondary--hover)}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--destructive{color:var(--vc-content-danger)}.vc-tag-input__container.vc-tag-input-color--destructive .vc-tag-input__clearable svg{color:var(--vc-content-danger)}.vc-tag-input__container.vc-tag-input-color--destructive .vc-tag-input__clearable svg:hover{color:var(--vc-content-danger--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--destructive:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-danger) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--destructive:not(.is-error){border-color:var(--vc-action-danger--hover)}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--success{color:var(--vc-content-success)}.vc-tag-input__container.vc-tag-input-color--success .vc-tag-input__clearable svg{color:var(--vc-content-success)}.vc-tag-input__container.vc-tag-input-color--success .vc-tag-input__clearable svg:hover{color:var(--vc-content-success--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--success:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-success) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--success:not(.is-error){border-color:var(--vc-action-success--hover)}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--warning{color:var(--vc-content-warning)}.vc-tag-input__container.vc-tag-input-color--warning .vc-tag-input__clearable svg{color:var(--vc-content-warning)}.vc-tag-input__container.vc-tag-input-color--warning .vc-tag-input__clearable svg:hover{color:var(--vc-content-warning--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--warning:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-warning) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--warning:not(.is-error){border-color:var(--vc-action-warning--hover)}.vc-tag-input__prefix-icon .vc-tag-input-icon-color--info{color:var(--vc-content-info)}.vc-tag-input__container.vc-tag-input-color--info .vc-tag-input__clearable svg{color:var(--vc-content-info)}.vc-tag-input__container.vc-tag-input-color--info .vc-tag-input__clearable svg:hover{color:var(--vc-content-info--hover)}.vc-tag-input__wrap:not(.vc-tag-input__wrap--focus) .vc-tag-input__container.vc-tag-input-color--info:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-info) 45%,var(--vc-input))}.vc-tag-input__wrap--focus:not(.vc-tag-input__wrap--disabled):not(.vc-tag-input__wrap--error) .vc-tag-input__container.vc-tag-input-color--info:not(.is-error){border-color:var(--vc-action-info--hover)}[dir=rtl] .vc-tag-input__container{padding-left:.75rem;padding-right:.75rem}[dir=rtl] .vc-tag-input__container.is-clearable{padding-left:0}[dir=rtl] .vc-tag-input__container.is-prefix-icon{padding-right:0}
|
|
356
356
|
|
|
357
|
-
.vc-time-input{width:100%}.vc-time-input__container{position:relative;display:flex;align-items:center;justify-content:space-between;overflow:hidden;border-radius:var(--vc-radius-control);border-width:1px;border-color:var(--vc-input);font-size:.875rem;outline:2px solid transparent;outline-offset:2px;height:var(--vc-size-control-md)}.vc-time-input__container:hover:not(.is-disabled):not(.is-error){border-color:var(--vc-input--hover)}.vc-time-input__container.vc-time-input-color--primary:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-primary) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--primary.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-primary--hover)}.vc-time-input__container.vc-time-input-color--
|
|
357
|
+
.vc-time-input{width:100%}.vc-time-input__container{position:relative;display:flex;align-items:center;justify-content:space-between;overflow:hidden;border-radius:var(--vc-radius-control);border-width:1px;border-color:var(--vc-input);font-size:.875rem;outline:2px solid transparent;outline-offset:2px;height:var(--vc-size-control-md)}.vc-time-input__container:hover:not(.is-disabled):not(.is-error){border-color:var(--vc-input--hover)}.vc-time-input__container.vc-time-input-color--primary:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-primary) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--primary.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-primary--hover)}.vc-time-input__container.vc-time-input-color--secondary:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-secondary) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--secondary.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-secondary--hover)}.vc-time-input__container.vc-time-input-color--destructive:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-danger) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--destructive.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-danger--hover)}.vc-time-input__container.vc-time-input-color--success:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-success) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--success.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-success--hover)}.vc-time-input__container.vc-time-input-color--warning:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-warning) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--warning.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-warning--hover)}.vc-time-input__container.vc-time-input-color--info:hover:not(.is-disabled):not(.is-error){border-color:color-mix(in srgb,var(--vc-action-info) 45%,var(--vc-input))}.vc-time-input__container.vc-time-input-color--info.is-focused:not(.is-disabled):not(.is-error){border-color:var(--vc-action-info--hover)}.vc-time-input__container.is-disabled,.vc-time-input__container.is-disabled .vc-time-input__times,.vc-time-input__container.is-disabled input{background-color:var(--vc-bg-inset)}.vc-time-input__container.is-disabled:hover,.vc-time-input__container.is-disabled input{cursor:not-allowed}.vc-time-input__container.is-error{border-color:var(--vc-action-danger)}.vc-time-input__btn-decrease,.vc-time-input__btn-increase{display:flex;height:100%;width:2rem;flex-shrink:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;justify-content:center;background-color:var(--vc-action-secondary--subtle-hover)}.vc-time-input__btn-decrease:hover,.vc-time-input__btn-increase:hover{cursor:pointer}.vc-time-input__btn-decrease .icon,.vc-time-input__btn-increase .icon{color:var(--vc-content-primary)}.vc-time-input__btn-decrease.is-disabled:hover,.vc-time-input__btn-increase.is-disabled:hover{cursor:not-allowed}.vc-time-input__btn-decrease.is-disabled .icon,.vc-time-input__btn-increase.is-disabled .icon{color:var(--vc-content-primary);opacity:.5}.vc-time-input__input-wrapper{height:100%;flex-grow:1;background-color:var(--vc-bg-field)}.vc-time-input__empty-placeholder{display:flex;height:100%;width:100%;align-items:center;justify-content:center;color:var(--vc-content-tertiary)}.vc-time-input__empty-placeholder:hover{cursor:text}.vc-time-input__times{display:flex;height:100%;align-items:center;justify-content:center;padding-left:.75rem;padding-right:.75rem;direction:ltr}.vc-time-input__times .vc-time-input__input{height:100%;width:1.5rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--vc-bg-field);padding:.125rem;text-align:center;font-size:.875rem;outline:2px solid transparent;outline-offset:2px}.vc-time-input__times .vc-time-input__input::-webkit-outer-spin-button,.vc-time-input__times .vc-time-input__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.vc-time-input .divider-wrapper{display:inline-flex;height:100%;align-items:center}
|
|
358
358
|
|
|
359
359
|
.vc-tool-call-value--text{margin:0;overflow:auto;white-space:pre-wrap;overflow-wrap:break-word;border-radius:var(--vc-radius-inner);border-width:1px;border-color:var(--vc-border);background-color:var(--vc-bg-page);padding:.5rem .75rem;font-size:.75rem;color:var(--vc-content-primary);font-family:inherit;text-align:start}.vc-tool-call-value--empty{font-size:.75rem;color:var(--vc-content-disabled)}
|
|
360
360
|
|
package/library/style.css.br
CHANGED
|
Binary file
|
package/library/style.css.gz
CHANGED
|
Binary file
|
|
@@ -9,6 +9,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
9
9
|
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
|
+
color: {
|
|
13
|
+
type: import("vue").PropType<"" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive">;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
name: {
|
|
17
|
+
type: import("vue").PropType<string>;
|
|
18
|
+
default: undefined;
|
|
19
|
+
};
|
|
12
20
|
disabled: {
|
|
13
21
|
type: import("vue").PropType<boolean>;
|
|
14
22
|
default: boolean;
|
|
@@ -29,10 +37,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
29
37
|
type: import("vue").PropType<string>;
|
|
30
38
|
default: string;
|
|
31
39
|
};
|
|
32
|
-
name: {
|
|
33
|
-
type: import("vue").PropType<string>;
|
|
34
|
-
default: undefined;
|
|
35
|
-
};
|
|
36
40
|
placeholder: {
|
|
37
41
|
type: import("vue").PropType<string>;
|
|
38
42
|
default: string;
|
|
@@ -41,10 +45,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
41
45
|
type: import("vue").PropType<string>;
|
|
42
46
|
default: string;
|
|
43
47
|
};
|
|
44
|
-
color: {
|
|
45
|
-
type: import("vue").PropType<"" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive">;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
48
|
popperClass: {
|
|
49
49
|
type: import("vue").PropType<string>;
|
|
50
50
|
default: string;
|
|
@@ -91,6 +91,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
91
91
|
type: import("vue").PropType<"" | "small" | "default" | "large">;
|
|
92
92
|
default: string;
|
|
93
93
|
};
|
|
94
|
+
color: {
|
|
95
|
+
type: import("vue").PropType<"" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive">;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
name: {
|
|
99
|
+
type: import("vue").PropType<string>;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
94
102
|
disabled: {
|
|
95
103
|
type: import("vue").PropType<boolean>;
|
|
96
104
|
default: boolean;
|
|
@@ -111,10 +119,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
111
119
|
type: import("vue").PropType<string>;
|
|
112
120
|
default: string;
|
|
113
121
|
};
|
|
114
|
-
name: {
|
|
115
|
-
type: import("vue").PropType<string>;
|
|
116
|
-
default: undefined;
|
|
117
|
-
};
|
|
118
122
|
placeholder: {
|
|
119
123
|
type: import("vue").PropType<string>;
|
|
120
124
|
default: string;
|
|
@@ -123,10 +127,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
123
127
|
type: import("vue").PropType<string>;
|
|
124
128
|
default: string;
|
|
125
129
|
};
|
|
126
|
-
color: {
|
|
127
|
-
type: import("vue").PropType<"" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive">;
|
|
128
|
-
default: string;
|
|
129
|
-
};
|
|
130
130
|
popperClass: {
|
|
131
131
|
type: import("vue").PropType<string>;
|
|
132
132
|
default: string;
|
|
@@ -166,15 +166,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
166
166
|
}>, {
|
|
167
167
|
id: string;
|
|
168
168
|
size: "" | "small" | "default" | "large";
|
|
169
|
+
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
170
|
+
name: string;
|
|
169
171
|
disabled: boolean;
|
|
170
172
|
clearable: boolean;
|
|
171
173
|
prefixIcon: import('../../types').TIcon;
|
|
172
174
|
dataTestName: string;
|
|
173
175
|
prefixIconSize: string;
|
|
174
|
-
name: string;
|
|
175
176
|
placeholder: string;
|
|
176
177
|
prefixIconColor: string;
|
|
177
|
-
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
178
178
|
popperClass: string;
|
|
179
179
|
teleported: boolean;
|
|
180
180
|
valueKey: string;
|
|
@@ -11,8 +11,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
11
11
|
textColor: string;
|
|
12
12
|
}>>> & Readonly<{}>, {
|
|
13
13
|
size: import('../../types').VcBadgeTagSize;
|
|
14
|
-
value: string | number;
|
|
15
14
|
color: string;
|
|
15
|
+
value: string | number;
|
|
16
16
|
textColor: string;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
18
18
|
default?(_: {}): any;
|
|
@@ -60,12 +60,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
60
60
|
onClick?: ((pl: MouseEvent) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
62
|
size: ButtonSize;
|
|
63
|
-
|
|
63
|
+
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
64
64
|
type: ButtonType;
|
|
65
|
+
disabled: boolean;
|
|
65
66
|
icon: TIcon;
|
|
66
67
|
buttonType: ButtonElementType;
|
|
67
68
|
dataTestName: string;
|
|
68
|
-
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
69
69
|
loading: boolean;
|
|
70
70
|
block: boolean;
|
|
71
71
|
loaderIcon: TIcon;
|
|
@@ -67,12 +67,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
67
67
|
}>, {
|
|
68
68
|
animate: boolean;
|
|
69
69
|
small: boolean;
|
|
70
|
-
|
|
70
|
+
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
71
71
|
type: ButtonIconType;
|
|
72
|
+
disabled: boolean;
|
|
72
73
|
icon: TIcon;
|
|
73
74
|
buttonType: ButtonElementType;
|
|
74
75
|
dataTestName: string;
|
|
75
|
-
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
76
76
|
plain: boolean;
|
|
77
77
|
hoverless: boolean;
|
|
78
78
|
filledColor: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | "light";
|
|
@@ -72,12 +72,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
72
72
|
onChange?: ((evt: MouseEvent) => any) | undefined;
|
|
73
73
|
}>, {
|
|
74
74
|
ariaLabel: string;
|
|
75
|
+
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
76
|
+
tabindex: number;
|
|
75
77
|
disabled: boolean;
|
|
76
78
|
modelValue: boolean;
|
|
77
79
|
dataTestName: string;
|
|
78
|
-
color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
|
|
79
80
|
loading: boolean;
|
|
80
|
-
tabindex: number;
|
|
81
81
|
onIcon: TIcon;
|
|
82
82
|
offIcon: TIcon;
|
|
83
83
|
onLabel: string;
|
|
@@ -67,12 +67,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
67
67
|
"onEmoji-select"?: ((emoji: string) => any) | undefined;
|
|
68
68
|
"onAttachment-click"?: ((attachment: import('../../types').VcChatAttachment) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
+
format: import('../../types').VcChatComposerBuiltInFormat | import('../../types').VcChatComposerFormat<unknown>;
|
|
70
71
|
disabled: boolean;
|
|
71
72
|
fileSizeLimit: number;
|
|
72
73
|
fileListSizeLimit: number;
|
|
73
74
|
accept: string;
|
|
74
75
|
placeholder: string;
|
|
75
|
-
format: import('../../types').VcChatComposerBuiltInFormat | import('../../types').VcChatComposerFormat<unknown>;
|
|
76
76
|
streaming: boolean;
|
|
77
77
|
recentEmojis: string[];
|
|
78
78
|
formats: VcChatTextFormatType[];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { OptionValueType } from '../../types';
|
|
2
2
|
declare const _default: <Model extends OptionValueType>(__VLS_props: {
|
|
3
|
+
readonly onChange?: ((pl: Model) => any) | undefined;
|
|
4
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
5
|
+
name?: string | undefined;
|
|
3
6
|
disabled?: boolean | undefined;
|
|
4
7
|
prefixIcon?: import('../../types').TIcon | undefined;
|
|
5
8
|
value?: Model | undefined;
|
|
6
9
|
modelValue?: Model | undefined;
|
|
7
10
|
dataTestName?: string | undefined;
|
|
8
11
|
prefixIconSize?: string | undefined;
|
|
9
|
-
name?: string | undefined;
|
|
10
12
|
prefixIconColor?: string | undefined;
|
|
11
|
-
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
12
13
|
label?: Model | undefined;
|
|
13
|
-
readonly onChange?: ((pl: Model) => any) | undefined;
|
|
14
14
|
readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
|
|
15
15
|
readonly "onUpdate:checked"?: ((pl?: Model | undefined) => any) | undefined;
|
|
16
16
|
trueLabel?: string | number | undefined;
|
|
@@ -31,17 +31,17 @@ declare const _default: <Model extends OptionValueType>(__VLS_props: {
|
|
|
31
31
|
};
|
|
32
32
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
33
33
|
props: {
|
|
34
|
+
readonly onChange?: ((pl: Model) => any) | undefined;
|
|
35
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
36
|
+
name?: string | undefined;
|
|
34
37
|
disabled?: boolean | undefined;
|
|
35
38
|
prefixIcon?: import('../../types').TIcon | undefined;
|
|
36
39
|
value?: Model | undefined;
|
|
37
40
|
modelValue?: Model | undefined;
|
|
38
41
|
dataTestName?: string | undefined;
|
|
39
42
|
prefixIconSize?: string | undefined;
|
|
40
|
-
name?: string | undefined;
|
|
41
43
|
prefixIconColor?: string | undefined;
|
|
42
|
-
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
43
44
|
label?: Model | undefined;
|
|
44
|
-
readonly onChange?: ((pl: Model) => any) | undefined;
|
|
45
45
|
readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
|
|
46
46
|
readonly "onUpdate:checked"?: ((pl?: Model | undefined) => any) | undefined;
|
|
47
47
|
trueLabel?: string | number | undefined;
|
|
@@ -66,17 +66,17 @@ declare const _default: <Model extends OptionValueType>(__VLS_props: {
|
|
|
66
66
|
}> & {
|
|
67
67
|
__ctx?: {
|
|
68
68
|
props: {
|
|
69
|
+
readonly onChange?: ((pl: Model) => any) | undefined;
|
|
70
|
+
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
71
|
+
name?: string | undefined;
|
|
69
72
|
disabled?: boolean | undefined;
|
|
70
73
|
prefixIcon?: import('../../types').TIcon | undefined;
|
|
71
74
|
value?: Model | undefined;
|
|
72
75
|
modelValue?: Model | undefined;
|
|
73
76
|
dataTestName?: string | undefined;
|
|
74
77
|
prefixIconSize?: string | undefined;
|
|
75
|
-
name?: string | undefined;
|
|
76
78
|
prefixIconColor?: string | undefined;
|
|
77
|
-
color?: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive" | undefined;
|
|
78
79
|
label?: Model | undefined;
|
|
79
|
-
readonly onChange?: ((pl: Model) => any) | undefined;
|
|
80
80
|
readonly "onUpdate:modelValue"?: ((pl: Model) => any) | undefined;
|
|
81
81
|
readonly "onUpdate:checked"?: ((pl?: Model | undefined) => any) | undefined;
|
|
82
82
|
trueLabel?: string | number | undefined;
|