@voicenter-team/voicenter-ui-plus 3.4.2 → 3.4.3

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.
Files changed (35) hide show
  1. package/library/assets/assets/sass/main.css +1 -1
  2. package/library/assets/components/VcFileUploader/VcFileUploaderArea.css +1 -0
  3. package/library/assets/components/VcFileUploader/{VcFileUploader.css → VcFileUploaderSimple.css} +1 -1
  4. package/library/components/VcFileUploader/VcFileUploader.vue.mjs +87 -5
  5. package/library/components/VcFileUploader/VcFileUploader.vue2.mjs +1 -381
  6. package/library/components/VcFileUploader/VcFileUploaderArea.vue.mjs +338 -0
  7. package/library/components/VcFileUploader/VcFileUploaderArea.vue3.mjs +5 -0
  8. package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +7 -0
  9. package/library/components/VcFileUploader/VcFileUploaderSimple.vue2.mjs +200 -0
  10. package/library/components/VcFileUploader/VcSimpleUploaderAction.vue.mjs +62 -0
  11. package/library/components/VcFileUploader/VcSimpleUploaderAction.vue2.mjs +4 -0
  12. package/library/components/VcFileUploader/VcSimpleUploaderFileList.vue.mjs +75 -0
  13. package/library/components/VcFileUploader/VcSimpleUploaderFileList.vue2.mjs +4 -0
  14. package/library/composables/input/useFileUploader.mjs +163 -0
  15. package/library/index.mjs +151 -146
  16. package/library/index.mjs.br +0 -0
  17. package/library/index.mjs.gz +0 -0
  18. package/library/localization/locales/en.json.mjs +2 -0
  19. package/library/plugin-components.gen.mjs +157 -152
  20. package/library/plugin.mjs +149 -144
  21. package/library/plugin.mjs.br +0 -0
  22. package/library/plugin.mjs.gz +0 -0
  23. package/library/style.css +4 -2
  24. package/library/style.css.br +0 -0
  25. package/library/style.css.gz +0 -0
  26. package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +29 -139
  27. package/library/types/components/VcFileUploader/VcFileUploaderArea.vue.d.ts +122 -0
  28. package/library/types/components/VcFileUploader/VcFileUploaderSimple.vue.d.ts +127 -0
  29. package/library/types/components/VcFileUploader/VcSimpleUploaderAction.vue.d.ts +38 -0
  30. package/library/types/components/VcFileUploader/VcSimpleUploaderFileList.vue.d.ts +41 -0
  31. package/library/types/components/exports.d.ts +5 -1
  32. package/library/types/components.gen.d.ts +2 -0
  33. package/library/types/composables/input/useFileUploader.d.ts +82 -0
  34. package/library/types/localization/locales/en.json.d.ts +2 -0
  35. package/package.json +1 -1
@@ -0,0 +1,75 @@
1
+ import { defineComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, renderSlot, createVNode } from "vue";
2
+ import _sfc_main$2 from "../VcTag/VcTag.vue.mjs";
3
+ import '../../assets/components/VcDelimitedList/VcDelimitedList.css';import '../../assets/components/VcTag/VcTag.css';/* empty css */
4
+ import _sfc_main$1 from "../VcDelimitedList/VcDelimitedList.vue.mjs";
5
+ /* empty css */
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "VcSimpleUploaderFileList",
8
+ props: {
9
+ items: {},
10
+ maxLength: {},
11
+ tagMaxContentWidth: {},
12
+ tagIcon: {}
13
+ },
14
+ emits: ["on-close"],
15
+ setup(__props, { emit: __emit }) {
16
+ const emit = __emit;
17
+ function onTagClose(itemId) {
18
+ emit("on-close", itemId);
19
+ }
20
+ return (_ctx, _cache) => {
21
+ return openBlock(), createBlock(_sfc_main$1, {
22
+ list: __props.items,
23
+ limit: __props.maxLength,
24
+ trigger: "hover",
25
+ "popover-max-width": "400",
26
+ separator: ""
27
+ }, {
28
+ "list-item": withCtx(({ item }) => [
29
+ renderSlot(_ctx.$slots, "tag-item", {
30
+ data: item,
31
+ close: onTagClose
32
+ }, () => [
33
+ createVNode(_sfc_main$2, {
34
+ label: item.name,
35
+ "max-content": __props.tagMaxContentWidth,
36
+ icon: __props.tagIcon,
37
+ closable: "",
38
+ onOnClose: ($event) => onTagClose(item.id)
39
+ }, null, 8, ["label", "max-content", "icon", "onOnClose"])
40
+ ])
41
+ ]),
42
+ reference: withCtx(({ listLength }) => [
43
+ createVNode(_sfc_main$2, {
44
+ label: `+ ${listLength}`
45
+ }, null, 8, ["label"])
46
+ ]),
47
+ "other-content": withCtx(({ list }) => [
48
+ (openBlock(true), createElementBlock(Fragment, null, renderList(list, (item, index) => {
49
+ return openBlock(), createElementBlock("div", {
50
+ key: index,
51
+ class: "flex items-center justify-start p-2"
52
+ }, [
53
+ renderSlot(_ctx.$slots, "tag-item-other", {
54
+ data: item,
55
+ close: onTagClose
56
+ }, () => [
57
+ createVNode(_sfc_main$2, {
58
+ label: item.name,
59
+ icon: __props.tagIcon,
60
+ "max-content": __props.tagMaxContentWidth,
61
+ closable: "",
62
+ onOnClose: ($event) => onTagClose(item.id)
63
+ }, null, 8, ["label", "icon", "max-content", "onOnClose"])
64
+ ])
65
+ ]);
66
+ }), 128))
67
+ ]),
68
+ _: 3
69
+ }, 8, ["list", "limit"]);
70
+ };
71
+ }
72
+ });
73
+ export {
74
+ _sfc_main as default
75
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./VcSimpleUploaderFileList.vue.mjs";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -0,0 +1,163 @@
1
+ import { ref, computed, watch } from "vue";
2
+ import { getFileSize } from "../../utils/helpers.mjs";
3
+ import { tVU } from "../../localization/index.mjs";
4
+ function useFileUploader(props, emit) {
5
+ const items = ref([]);
6
+ const innerErrorText = ref("");
7
+ const errorText = computed(() => innerErrorText.value || props.error || "");
8
+ function parseFiles(files) {
9
+ let _files = Array.from(files);
10
+ if (_files.length && props.maxLength && _files.length > props.maxLength) {
11
+ _files = _files.slice(0, props.maxLength);
12
+ }
13
+ items.value = _files.map((item, index) => {
14
+ item.id = index;
15
+ return item;
16
+ });
17
+ }
18
+ function toFileUploaded(file) {
19
+ return Object.assign(file, { File: file });
20
+ }
21
+ function fromBase64Result(item) {
22
+ const blob = new File([], item.name, {
23
+ lastModified: item.lastModified,
24
+ type: item.type
25
+ });
26
+ return Object.assign(blob, {
27
+ id: item.id,
28
+ File: item.File
29
+ });
30
+ }
31
+ function convertFilesToBase64(file, id) {
32
+ return new Promise((resolve) => {
33
+ const reader = new FileReader();
34
+ reader.readAsDataURL(file);
35
+ reader.onload = () => {
36
+ resolve({
37
+ id,
38
+ lastModified: file.lastModified,
39
+ name: file.name,
40
+ size: file.size,
41
+ type: file.type,
42
+ File: reader.result
43
+ });
44
+ };
45
+ });
46
+ }
47
+ async function getFilesInBase64(files) {
48
+ const _arr = [];
49
+ let id = 0;
50
+ for (const file of files) {
51
+ const contents = await convertFilesToBase64(file, id);
52
+ _arr.push(contents);
53
+ id++;
54
+ }
55
+ return _arr;
56
+ }
57
+ function processFilesLength(files) {
58
+ if (props.multiple && props.maxLength && files.length > props.maxLength) {
59
+ innerErrorText.value = tVU.t("voicenterUi.uploader.some.file.were.concat.files.limit");
60
+ return files.slice(0, props.maxLength);
61
+ }
62
+ return files;
63
+ }
64
+ function processFileSize(files) {
65
+ if (props.multiple) {
66
+ const filesSizeSum = files.map((file) => file.size).reduce((sizeSum, a) => sizeSum + a, 0);
67
+ if (props.fileListSizeLimit && filesSizeSum > props.fileListSizeLimit) {
68
+ const sizeToExceed = getFileSize(props.fileListSizeLimit);
69
+ innerErrorText.value = tVU.t("voicenterUi.uploader.file.size.sum.should.not.exceed", {
70
+ value: sizeToExceed[0],
71
+ measure: sizeToExceed[1]
72
+ });
73
+ return [];
74
+ }
75
+ const _fileSizeLimit = props.fileSizeLimit;
76
+ if (_fileSizeLimit) {
77
+ files = files.filter((file) => {
78
+ if (file.size > _fileSizeLimit) {
79
+ innerErrorText.value = tVU.t("voicenterUi.uploader.some.files.were.concat.size.limit");
80
+ return false;
81
+ }
82
+ return true;
83
+ });
84
+ }
85
+ return files;
86
+ } else {
87
+ if (!props.fileSizeLimit) return files;
88
+ const limitSize = getFileSize(props.fileSizeLimit);
89
+ const file = files[0];
90
+ if (file && file.size > props.fileSizeLimit) {
91
+ const fileSize = getFileSize(file.size);
92
+ innerErrorText.value = tVU.t("voicenterUi.uploader.file.size.is.but.limit.is", {
93
+ fileSize: fileSize[0],
94
+ fileMeasure: fileSize[1],
95
+ limitSize: limitSize[0],
96
+ limitMeasure: limitSize[1]
97
+ });
98
+ return [];
99
+ }
100
+ return files;
101
+ }
102
+ }
103
+ async function getFileArray(inputFiles) {
104
+ let files = [];
105
+ files = processFilesLength(inputFiles);
106
+ files = processFileSize(files);
107
+ if (props.fileType === "base64") {
108
+ return await getFilesInBase64(files);
109
+ }
110
+ return files;
111
+ }
112
+ async function processFiles(rawFiles) {
113
+ innerErrorText.value = "";
114
+ if (!rawFiles.length) return;
115
+ const inputFiles = rawFiles.filter(Boolean).map(toFileUploaded);
116
+ const files = await getFileArray(inputFiles);
117
+ const out = files.map((item) => {
118
+ if (item instanceof File) {
119
+ return toFileUploaded(item);
120
+ }
121
+ return fromBase64Result(item);
122
+ });
123
+ emit("input", out);
124
+ emit("update:modelValue", out);
125
+ }
126
+ function onTagClose(index) {
127
+ innerErrorText.value = "";
128
+ const files = items.value.filter((item) => item.id !== index);
129
+ emit("input", files);
130
+ emit("update:modelValue", files);
131
+ }
132
+ function onClear() {
133
+ items.value = [];
134
+ emit("input", []);
135
+ emit("update:modelValue", []);
136
+ }
137
+ watch(
138
+ () => props.modelValue,
139
+ (val) => {
140
+ if (val) parseFiles(val);
141
+ }
142
+ );
143
+ watch(
144
+ () => props.files,
145
+ (val) => {
146
+ if (val) parseFiles(val);
147
+ },
148
+ {
149
+ immediate: true
150
+ }
151
+ );
152
+ return {
153
+ items,
154
+ errorText,
155
+ parseFiles,
156
+ processFiles,
157
+ onTagClose,
158
+ onClear
159
+ };
160
+ }
161
+ export {
162
+ useFileUploader as default
163
+ };
package/library/index.mjs CHANGED
@@ -83,139 +83,142 @@ import { default as default44 } from "./entity/components/Form/VcEntityVerticalE
83
83
  import { default as default45 } from "./components/VcExcelUploader/VcExcelFileUploader.vue.mjs";
84
84
  import { default as default46 } from "./components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.mjs";
85
85
  /* empty css */
86
- import { default as default47 } from "./components/VcForm/VcForm.vue.mjs";
87
- import { default as default48 } from "./components/VcForm/VcFormItem.vue.mjs";
86
+ import { default as default47 } from "./components/VcFileUploader/VcFileUploader.vue.mjs";
87
+ import { default as default48 } from "./components/VcFileUploader/VcFileUploaderArea.vue.mjs";
88
+ /* empty css */
89
+ import { default as default49 } from "./components/VcForm/VcForm.vue.mjs";
90
+ import { default as default50 } from "./components/VcForm/VcFormItem.vue.mjs";
88
91
  /* empty css */
89
- import { default as default49 } from "./components/VcHtmlEditor/VcHtmlEditor.vue.mjs";
92
+ import { default as default51 } from "./components/VcHtmlEditor/VcHtmlEditor.vue.mjs";
90
93
  /* empty css */
91
- import { default as default50 } from "./components/VcHyperLink/VcHyperLink.vue.mjs";
94
+ import { default as default52 } from "./components/VcHyperLink/VcHyperLink.vue.mjs";
92
95
  /* empty css */
93
- import { default as default51 } from "./components/VcIcon/VcIcon.vue.mjs";
96
+ import { default as default53 } from "./components/VcIcon/VcIcon.vue.mjs";
94
97
  /* empty css */
95
- import { default as default52 } from "./components/VcIconPicker/VcIconPicker.vue.mjs";
98
+ import { default as default54 } from "./components/VcIconPicker/VcIconPicker.vue.mjs";
96
99
  /* empty css */
97
- import { default as default53 } from "./components/VcImageUploader/VcImageUploader.vue.mjs";
100
+ import { default as default55 } from "./components/VcImageUploader/VcImageUploader.vue.mjs";
98
101
  /* empty css */
99
- import { default as default54 } from "./components/VcSelect/VcInfiniteScrollSelect.vue.mjs";
100
- import { default as default55 } from "./components/VcInput/VcInput.vue.mjs";
102
+ import { default as default56 } from "./components/VcSelect/VcInfiniteScrollSelect.vue.mjs";
103
+ import { default as default57 } from "./components/VcInput/VcInput.vue.mjs";
101
104
  /* empty css */
102
- import { default as default56 } from "./components/VcForm/UiComponents/VcInputError.vue.mjs";
105
+ import { default as default58 } from "./components/VcForm/UiComponents/VcInputError.vue.mjs";
103
106
  /* empty css */
104
- import { default as default57 } from "./components/VcForm/UiComponents/VcInputLabel.vue.mjs";
107
+ import { default as default59 } from "./components/VcForm/UiComponents/VcInputLabel.vue.mjs";
105
108
  /* empty css */
106
- import { default as default58 } from "./components/VcInputNumber/VcInputNumber.vue.mjs";
109
+ import { default as default60 } from "./components/VcInputNumber/VcInputNumber.vue.mjs";
107
110
  /* empty css */
108
- import { default as default59 } from "./components/VcJsonSchema/VcJsonSchema.vue.mjs";
111
+ import { default as default61 } from "./components/VcJsonSchema/VcJsonSchema.vue.mjs";
109
112
  /* empty css */
110
- import { default as default60 } from "./components/VcMdEditor/VcMdEditor.vue.mjs";
111
- import { default as default61 } from "./components/VcMeterGroup/VcMeterGroup.vue.mjs";
113
+ import { default as default62 } from "./components/VcMdEditor/VcMdEditor.vue.mjs";
114
+ import { default as default63 } from "./components/VcMeterGroup/VcMeterGroup.vue.mjs";
112
115
  /* empty css */
113
- import { default as default62 } from "./components/VcMeterGroup/VcMeterGroupLabel.vue.mjs";
114
- import { default as default63 } from "./components/VcModal/VcModal.vue.mjs";
116
+ import { default as default64 } from "./components/VcMeterGroup/VcMeterGroupLabel.vue.mjs";
117
+ import { default as default65 } from "./components/VcModal/VcModal.vue.mjs";
115
118
  /* empty css */
116
- import { default as default64 } from "./components/VcNotification/VcNotification.vue.mjs";
119
+ import { default as default66 } from "./components/VcNotification/VcNotification.vue.mjs";
117
120
  /* empty css */
118
- import { default as default65 } from "./components/VcOtpInput/VcOtpInput.vue.mjs";
121
+ import { default as default67 } from "./components/VcOtpInput/VcOtpInput.vue.mjs";
119
122
  /* empty css */
120
- import { default as default66 } from "./components/VcPagination/VcPagination.vue.mjs";
123
+ import { default as default68 } from "./components/VcPagination/VcPagination.vue.mjs";
121
124
  /* empty css */
122
- import { default as default67 } from "./components/VcPdfViewer/VcPdfDocument.vue.mjs";
125
+ import { default as default69 } from "./components/VcPdfViewer/VcPdfDocument.vue.mjs";
123
126
  /* empty css */
124
- import { default as default68 } from "./components/VcPhoneInput/VcPhoneInput.vue.mjs";
127
+ import { default as default70 } from "./components/VcPhoneInput/VcPhoneInput.vue.mjs";
125
128
  /* empty css */
126
- import { default as default69 } from "./components/VcSoundplayer/VcPlayerPlayStopButton.vue.mjs";
127
- import { default as default70 } from "./components/VcSoundplayer/VcPlayerPlaybackRate.vue.mjs";
129
+ import { default as default71 } from "./components/VcSoundplayer/VcPlayerPlayStopButton.vue.mjs";
130
+ import { default as default72 } from "./components/VcSoundplayer/VcPlayerPlaybackRate.vue.mjs";
128
131
  /* empty css */
129
- import { default as default71 } from "./components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.mjs";
130
- import { default as default72 } from "./components/VcSoundplayer/VcPlayerSkipButtons.vue.mjs";
132
+ import { default as default73 } from "./components/VcSoundplayer/VcPlayerPlaybackRatePopup.vue.mjs";
133
+ import { default as default74 } from "./components/VcSoundplayer/VcPlayerSkipButtons.vue.mjs";
131
134
  /* empty css */
132
- import { default as default73 } from "./components/VcPluginOverlays/VcPluginOverlays.vue.mjs";
133
- import { default as default74 } from "./components/VcPopover/VcPopover.vue.mjs";
135
+ import { default as default75 } from "./components/VcPluginOverlays/VcPluginOverlays.vue.mjs";
136
+ import { default as default76 } from "./components/VcPopover/VcPopover.vue.mjs";
134
137
  /* empty css */
135
- import { default as default75 } from "./components/VcProgress/VcProgress.vue.mjs";
138
+ import { default as default77 } from "./components/VcProgress/VcProgress.vue.mjs";
136
139
  /* empty css */
137
- import { default as default76 } from "./components/VcProgress/VcProgressCircular.vue.mjs";
140
+ import { default as default78 } from "./components/VcProgress/VcProgressCircular.vue.mjs";
138
141
  /* empty css */
139
- import { default as default77 } from "./components/VcRadio/VcRadio.vue.mjs";
142
+ import { default as default79 } from "./components/VcRadio/VcRadio.vue.mjs";
140
143
  /* empty css */
141
- import { default as default78 } from "./components/VcRadioButtons/VcRadioButtonsGroup.vue.mjs";
144
+ import { default as default80 } from "./components/VcRadioButtons/VcRadioButtonsGroup.vue.mjs";
142
145
  /* empty css */
143
- import { default as default79 } from "./components/VcRadioGroup/VcRadioGroup.vue.mjs";
146
+ import { default as default81 } from "./components/VcRadioGroup/VcRadioGroup.vue.mjs";
144
147
  /* empty css */
145
- import { default as default80 } from "./components/VcRadioTabs/VcRadioTabs.vue.mjs";
148
+ import { default as default82 } from "./components/VcRadioTabs/VcRadioTabs.vue.mjs";
146
149
  /* empty css */
147
- import { default as default81 } from "./components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.mjs";
150
+ import { default as default83 } from "./components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.mjs";
148
151
  /* empty css */
149
- import { default as default82 } from "./components/VcSegmented/VcSegmented.vue.mjs";
152
+ import { default as default84 } from "./components/VcSegmented/VcSegmented.vue.mjs";
150
153
  /* empty css */
151
- import { default as default83 } from "./components/VcSelect/VcSelect.vue.mjs";
154
+ import { default as default85 } from "./components/VcSelect/VcSelect.vue.mjs";
152
155
  /* empty css */
153
- import { default as default84 } from "./components/VcSelect/VcSelectGrouped.vue.mjs";
154
- import { default as default85 } from "./components/VcSelect/VcSelectOption.vue.mjs";
156
+ import { default as default86 } from "./components/VcSelect/VcSelectGrouped.vue.mjs";
157
+ import { default as default87 } from "./components/VcSelect/VcSelectOption.vue.mjs";
155
158
  /* empty css */
156
- import { default as default86 } from "./components/VcPopover/VcSelectPopover.vue.mjs";
159
+ import { default as default88 } from "./components/VcPopover/VcSelectPopover.vue.mjs";
157
160
  /* empty css */
158
- import { default as default87 } from "./components/VcSipFlow/VcSipFlow.vue.mjs";
161
+ import { default as default89 } from "./components/VcSipFlow/VcSipFlow.vue.mjs";
159
162
  /* empty css */
160
- import { default as default88 } from "./components/VcSkeletonLoader/VcSkeletonLoader.vue.mjs";
161
- import { default as default89 } from "./components/VcSlider/VcSlider.vue.mjs";
163
+ import { default as default90 } from "./components/VcSkeletonLoader/VcSkeletonLoader.vue.mjs";
164
+ import { default as default91 } from "./components/VcSlider/VcSlider.vue.mjs";
162
165
  /* empty css */
163
- import { default as default90 } from "./components/VcSoundplayer/VcSoundCurrentTime.vue.mjs";
164
- import { default as default91 } from "./components/VcSoundplayer/VcSoundDuration.vue.mjs";
165
- import { default as default92 } from "./components/VcSoundplayer/VcSoundPlayer.vue.mjs";
166
+ import { default as default92 } from "./components/VcSoundplayer/VcSoundCurrentTime.vue.mjs";
167
+ import { default as default93 } from "./components/VcSoundplayer/VcSoundDuration.vue.mjs";
168
+ import { default as default94 } from "./components/VcSoundplayer/VcSoundPlayer.vue.mjs";
166
169
  /* empty css */
167
- import { default as default93 } from "./components/VcSoundplayer/VcSoundPlayerError.vue.mjs";
168
- import { default as default94 } from "./components/VcSoundplayer/VcSoundPlayerMarker.vue.mjs";
170
+ import { default as default95 } from "./components/VcSoundplayer/VcSoundPlayerError.vue.mjs";
171
+ import { default as default96 } from "./components/VcSoundplayer/VcSoundPlayerMarker.vue.mjs";
169
172
  /* empty css */
170
- import { default as default95 } from "./components/VcSoundplayer/VcSoundPlayerMarkers.vue.mjs";
171
- import { default as default96 } from "./components/VcSoundplayer/VcSoundPlayerProgress.vue.mjs";
173
+ import { default as default97 } from "./components/VcSoundplayer/VcSoundPlayerMarkers.vue.mjs";
174
+ import { default as default98 } from "./components/VcSoundplayer/VcSoundPlayerProgress.vue.mjs";
172
175
  /* empty css */
173
- import { default as default97 } from "./components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs";
176
+ import { default as default99 } from "./components/VcSoundplayer/VcSoundPlayerWrapper.vue.mjs";
174
177
  /* empty css */
175
- import { default as default98 } from "./components/VcSoundplayer/VcSoundVolume.vue.mjs";
178
+ import { default as default100 } from "./components/VcSoundplayer/VcSoundVolume.vue.mjs";
176
179
  /* empty css */
177
- import { default as default99 } from "./components/VcSparkline/VcSparkline.vue.mjs";
178
- import { default as default100 } from "./components/VcSplitButton/VcSplitButton.vue.mjs";
180
+ import { default as default101 } from "./components/VcSparkline/VcSparkline.vue.mjs";
181
+ import { default as default102 } from "./components/VcSplitButton/VcSplitButton.vue.mjs";
179
182
  /* empty css */
180
- import { default as default101 } from "./components/VcSwitch/VcSwitch.vue.mjs";
183
+ import { default as default103 } from "./components/VcSwitch/VcSwitch.vue.mjs";
181
184
  /* empty css */
182
- import { default as default102 } from "./components/VcSystemUserPrompt/VcSystemUserPrompt.vue.mjs";
185
+ import { default as default104 } from "./components/VcSystemUserPrompt/VcSystemUserPrompt.vue.mjs";
183
186
  /* empty css */
184
- import { default as default103 } from "./components/VcTabs/VcTabNav.vue.mjs";
187
+ import { default as default105 } from "./components/VcTabs/VcTabNav.vue.mjs";
185
188
  /* empty css */
186
- import { default as default104 } from "./components/VcTabs/VcTabPane.vue.mjs";
189
+ import { default as default106 } from "./components/VcTabs/VcTabPane.vue.mjs";
187
190
  /* empty css */
188
- import { default as default105 } from "./components/VcTable/VcTable.vue.mjs";
191
+ import { default as default107 } from "./components/VcTable/VcTable.vue.mjs";
189
192
  /* empty css */
190
193
  /* empty css */
191
- import { default as default106 } from "./components/VcTabs/VcTabs.vue.mjs";
194
+ import { default as default108 } from "./components/VcTabs/VcTabs.vue.mjs";
192
195
  /* empty css */
193
- import { default as default107 } from "./components/VcTag/VcTag.vue.mjs";
196
+ import { default as default109 } from "./components/VcTag/VcTag.vue.mjs";
194
197
  /* empty css */
195
- import { default as default108 } from "./components/VcTagInput/VcTagInput.vue.mjs";
198
+ import { default as default110 } from "./components/VcTagInput/VcTagInput.vue.mjs";
196
199
  /* empty css */
197
- import { default as default109 } from "./components/VcTimeInput/VcTimeInput.vue.mjs";
200
+ import { default as default111 } from "./components/VcTimeInput/VcTimeInput.vue.mjs";
198
201
  /* empty css */
199
- import { default as default110 } from "./components/VcButton/VcToggleButton.vue.mjs";
202
+ import { default as default112 } from "./components/VcButton/VcToggleButton.vue.mjs";
200
203
  /* empty css */
201
- import { default as default111 } from "./components/VcTour/VcTour.vue.mjs";
204
+ import { default as default113 } from "./components/VcTour/VcTour.vue.mjs";
202
205
  /* empty css */
203
- import { default as default112 } from "./components/VcTransfer/VcTransfer.vue.mjs";
206
+ import { default as default114 } from "./components/VcTransfer/VcTransfer.vue.mjs";
204
207
  /* empty css */
205
- import { default as default113 } from "./components/VcTree/VcTree.vue.mjs";
208
+ import { default as default115 } from "./components/VcTree/VcTree.vue.mjs";
206
209
  /* empty css */
207
- import { default as default114 } from "./components/VcTree/VcTreeSelect.vue.mjs";
210
+ import { default as default116 } from "./components/VcTree/VcTreeSelect.vue.mjs";
208
211
  /* empty css */
209
212
  /* empty css */
210
- import { default as default115 } from "./components/VcVerticalTabs/VcVerticalTabs.vue.mjs";
213
+ import { default as default117 } from "./components/VcVerticalTabs/VcVerticalTabs.vue.mjs";
211
214
  /* empty css */
212
- import { default as default116 } from "./components/VcViewSwitcher/VcViewSwitcher.vue.mjs";
215
+ import { default as default118 } from "./components/VcViewSwitcher/VcViewSwitcher.vue.mjs";
213
216
  /* empty css */
214
- import { default as default117 } from "./components/VcWizard/VcWizard.vue.mjs";
217
+ import { default as default119 } from "./components/VcWizard/VcWizard.vue.mjs";
215
218
  /* empty css */
216
219
  export * from "element-plus/es/components/form/src/constants";
217
- import { default as default118 } from "./components/VcFileUploader/VcFileUploader.vue.mjs";
218
- import { default as default119 } from "./components/VcLoading/VcLoading.vue.mjs";
220
+ import { default as default120 } from "./components/VcFileUploader/VcFileUploaderSimple.vue.mjs";
221
+ import { default as default121 } from "./components/VcLoading/VcLoading.vue.mjs";
219
222
  export {
220
223
  ALIAS_ITEM_SPACE,
221
224
  BaseEntityService,
@@ -288,84 +291,86 @@ export {
288
291
  default44 as VcEntityVerticalEditForm,
289
292
  default45 as VcExcelFileUploader,
290
293
  default46 as VcExtendedDatetimeRangePicker,
291
- default118 as VcFileUploader,
292
- default47 as VcForm,
293
- default48 as VcFormItem,
294
- default49 as VcHtmlEditor,
295
- default50 as VcHyperLink,
296
- default51 as VcIcon,
294
+ default47 as VcFileUploader,
295
+ default48 as VcFileUploaderArea,
296
+ default120 as VcFileUploaderSimple,
297
+ default49 as VcForm,
298
+ default50 as VcFormItem,
299
+ default51 as VcHtmlEditor,
300
+ default52 as VcHyperLink,
301
+ default53 as VcIcon,
297
302
  VcIconList,
298
- default52 as VcIconPicker,
299
- default53 as VcImageUploader,
300
- default54 as VcInfiniteScrollSelect,
301
- default55 as VcInput,
302
- default56 as VcInputError,
303
- default57 as VcInputLabel,
304
- default58 as VcInputNumber,
305
- default59 as VcJsonSchema,
306
- default119 as VcLoading,
307
- default60 as VcMdEditor,
308
- default61 as VcMeterGroup,
309
- default62 as VcMeterGroupLabel,
310
- default63 as VcModal,
311
- default64 as VcNotification,
303
+ default54 as VcIconPicker,
304
+ default55 as VcImageUploader,
305
+ default56 as VcInfiniteScrollSelect,
306
+ default57 as VcInput,
307
+ default58 as VcInputError,
308
+ default59 as VcInputLabel,
309
+ default60 as VcInputNumber,
310
+ default61 as VcJsonSchema,
311
+ default121 as VcLoading,
312
+ default62 as VcMdEditor,
313
+ default63 as VcMeterGroup,
314
+ default64 as VcMeterGroupLabel,
315
+ default65 as VcModal,
316
+ default66 as VcNotification,
312
317
  VcNotifySymbol,
313
- default65 as VcOtpInput,
314
- default66 as VcPagination,
315
- default67 as VcPdfDocument,
316
- default68 as VcPhoneInput,
317
- default69 as VcPlayerPlayStopButton,
318
- default70 as VcPlayerPlaybackRate,
319
- default71 as VcPlayerPlaybackRatePopup,
320
- default72 as VcPlayerSkipButtons,
321
- default73 as VcPluginOverlays,
322
- default74 as VcPopover,
323
- default75 as VcProgress,
324
- default76 as VcProgressCircular,
325
- default77 as VcRadio,
326
- default78 as VcRadioButtonsGroup,
327
- default79 as VcRadioGroup,
328
- default80 as VcRadioTabs,
329
- default81 as VcRadioTabsNav,
330
- default82 as VcSegmented,
331
- default83 as VcSelect,
332
- default84 as VcSelectGrouped,
333
- default85 as VcSelectOption,
334
- default86 as VcSelectPopover,
335
- default87 as VcSipFlow,
336
- default88 as VcSkeletonLoader,
337
- default89 as VcSlider,
338
- default90 as VcSoundCurrentTime,
339
- default91 as VcSoundDuration,
340
- default92 as VcSoundPlayer,
341
- default93 as VcSoundPlayerError,
342
- default94 as VcSoundPlayerMarker,
343
- default95 as VcSoundPlayerMarkers,
344
- default96 as VcSoundPlayerProgress,
318
+ default67 as VcOtpInput,
319
+ default68 as VcPagination,
320
+ default69 as VcPdfDocument,
321
+ default70 as VcPhoneInput,
322
+ default71 as VcPlayerPlayStopButton,
323
+ default72 as VcPlayerPlaybackRate,
324
+ default73 as VcPlayerPlaybackRatePopup,
325
+ default74 as VcPlayerSkipButtons,
326
+ default75 as VcPluginOverlays,
327
+ default76 as VcPopover,
328
+ default77 as VcProgress,
329
+ default78 as VcProgressCircular,
330
+ default79 as VcRadio,
331
+ default80 as VcRadioButtonsGroup,
332
+ default81 as VcRadioGroup,
333
+ default82 as VcRadioTabs,
334
+ default83 as VcRadioTabsNav,
335
+ default84 as VcSegmented,
336
+ default85 as VcSelect,
337
+ default86 as VcSelectGrouped,
338
+ default87 as VcSelectOption,
339
+ default88 as VcSelectPopover,
340
+ default89 as VcSipFlow,
341
+ default90 as VcSkeletonLoader,
342
+ default91 as VcSlider,
343
+ default92 as VcSoundCurrentTime,
344
+ default93 as VcSoundDuration,
345
+ default94 as VcSoundPlayer,
346
+ default95 as VcSoundPlayerError,
347
+ default96 as VcSoundPlayerMarker,
348
+ default97 as VcSoundPlayerMarkers,
349
+ default98 as VcSoundPlayerProgress,
345
350
  VcSoundPlayerProvideKey,
346
- default97 as VcSoundPlayerWrapper,
347
- default98 as VcSoundVolume,
348
- default99 as VcSparkline,
349
- default100 as VcSplitButton,
350
- default101 as VcSwitch,
351
- default102 as VcSystemUserPrompt,
352
- default103 as VcTabNav,
353
- default104 as VcTabPane,
351
+ default99 as VcSoundPlayerWrapper,
352
+ default100 as VcSoundVolume,
353
+ default101 as VcSparkline,
354
+ default102 as VcSplitButton,
355
+ default103 as VcSwitch,
356
+ default104 as VcSystemUserPrompt,
357
+ default105 as VcTabNav,
358
+ default106 as VcTabPane,
354
359
  VcTabPaneProvideKey,
355
- default105 as VcTable,
356
- default106 as VcTabs,
360
+ default107 as VcTable,
361
+ default108 as VcTabs,
357
362
  VcTabsProvideKey,
358
- default107 as VcTag,
359
- default108 as VcTagInput,
360
- default109 as VcTimeInput,
361
- default110 as VcToggleButton,
362
- default111 as VcTour,
363
- default112 as VcTransfer,
364
- default113 as VcTree,
365
- default114 as VcTreeSelect,
366
- default115 as VcVerticalTabs,
367
- default116 as VcViewSwitcher,
368
- default117 as VcWizard,
363
+ default109 as VcTag,
364
+ default110 as VcTagInput,
365
+ default111 as VcTimeInput,
366
+ default112 as VcToggleButton,
367
+ default113 as VcTour,
368
+ default114 as VcTransfer,
369
+ default115 as VcTree,
370
+ default116 as VcTreeSelect,
371
+ default117 as VcVerticalTabs,
372
+ default118 as VcViewSwitcher,
373
+ default119 as VcWizard,
369
374
  default9 as ZIndexUtils,
370
375
  add,
371
376
  addDays,
Binary file
Binary file
@@ -96,6 +96,8 @@ const enLocale = {
96
96
  "voicenterUi.uploader.file.size.sum.should.not.exceed": "Files size sum should not exceed {value} {measure}",
97
97
  "voicenterUi.uploader.some.files.were.concat.size.limit": "Some files were concatenated because of size limit",
98
98
  "voicenterUi.uploader.file.size.is.but.limit.is": "File size is {fileSize} {fileMeasure} but limit is {limitSize} {limitMeasure}",
99
+ "voicenterUi.uploader.area.browse": "Browse file",
100
+ "voicenterUi.uploader.area.dropInstructions": "or Drop here to attach",
99
101
  "voicenterUi.pagination.pages": "Page:",
100
102
  "voicenterUi.table.no.data": "No Data",
101
103
  "voicenterUi.table.filter.by": "Filter by {column}",