@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
package/README.md
CHANGED
|
@@ -10,8 +10,6 @@ npm i @voicenter-team/voicenter-ui-plus
|
|
|
10
10
|
npm i vue@^3.5 element-plus @vueuse/core @lucide/vue dayjs lodash-es libphonenumber-js maska
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Until 4.0.0 is released, 4.x is published under the npm tag `beta` and `latest` is 3.x: `npm i @voicenter-team/voicenter-ui-plus@beta`, or an exact `4.0.0-beta.N`.
|
|
14
|
-
|
|
15
13
|
### Optional peers
|
|
16
14
|
|
|
17
15
|
The packages that only some components need are optional peer dependencies, and npm does not install them. An application installs into its own `dependencies` the packages of the components it renders: each component's page in the [live documentation](https://voicenter-ui-plus.pages.dev/) gives them as one `npm i` line under its heading.
|
|
@@ -672,9 +670,8 @@ Additions that ask nothing of an application (new components, props, theme keys
|
|
|
672
670
|
| `4.0.0-beta.5` | `VcViewSwitcher` is removed; `VcSegmented` takes icons, disabled hints and the `surface` variant, its `change` passes `(value, option)`, and its `color` prop is removed | Every `<VcViewSwitcher>` becomes `<VcSegmented variant="surface">` by the list under **`VcViewSwitcher` is removed** ([AI chat components](#ai-chat-components)); a `@change` handler of an existing `VcSegmented` that read the earlier value as its second argument is updated, `color` is removed from every `<VcSegmented>`, and a style on `.el-segmented__item-selected` moves to `.el-segmented__item.is-selected` |
|
|
673
671
|
| `4.0.0-beta.5` | `VcDatetimeRangePicker`, the step keys `beforeStepFn` and `onEnterStepFn` of `VcWizard`, and the types `BindResultObjectType`, `VcPresetRangesType` and `VcDatetimeRangePickerModelType` are removed | The application searches for these names (`grep -rnE "VcDatetimeRangePicker|vc-datetime-range-picker|beforeStepFn|onEnterStepFn|BindResultObjectType|VcPresetRangesType" src`) and replaces each hit by its row in **Styles and component defaults** ([Styles and component defaults](#styles-and-component-defaults)); a wizard step with the old keys otherwise skips its validation silently |
|
|
674
672
|
| `4.0.0-beta.5` | The `columns` of `VcTable` are typed by the table's row: `ColumnType<Row>` | Nothing at runtime. Where `vue-tsc` reports the `columns` of a `<VcTable>`, the columns are declared as `ColumnType<Row>` with the type of the table's `options` ([Styles and component defaults](#styles-and-component-defaults)) |
|
|
675
|
-
| `4.0.0-beta.
|
|
676
|
-
|
|
677
|
-
| `4.0.0-beta.5` | `VcTimeInput` mounted with a value above `maxValue` sends `maxValue`, where the earlier betas showed `maxValue` and sent `minValue`; with `maxValue` 0 (no upper limit) its + button adds a step, where the earlier betas set the value to 0; on an RTL page its digits stay left to right (01:30, where the earlier betas showed 30:01) | An application with a time input whose starting value can be above its `maxValue`, or with `max-value="0"`, checks the value it receives; one that styled around the reversed RTL digits removes that style |
|
|
673
|
+
| `4.0.0-beta.6` | `VcTimeInput` mounted with a value above `maxValue` sends `maxValue`, where the earlier betas showed `maxValue` and sent `minValue`; with `maxValue` 0 (no upper limit) its + button adds a step, where the earlier betas set the value to 0; on an RTL page its digits stay left to right (01:30, where the earlier betas showed 30:01) | An application with a time input whose starting value can be above its `maxValue`, or with `max-value="0"`, checks the value it receives; one that styled around the reversed RTL digits removes that style |
|
|
674
|
+
| `4.0.0-beta.9` | `clearable` does nothing on `VcTimeInput`, where `4.0.0-beta.8` alone drew a clear control: the field always holds a number, `update:modelValue` passes `number`, and the `seconds` of `input` is a `number` | `clearable` is removed from every `<VcTimeInput>` (`grep -rnE "<VcTimeInput[^>]*clearable" src`), and a handler written for `number \| undefined` can take `number`; a field that must be able to hold no value is shown or hidden by the form around it |
|
|
678
675
|
|
|
679
676
|
After its rows the application runs the search of [Finding the 3.x names](#finding-the-3x-names) again: it finds a 3.x name that the guide of an earlier beta did not list.
|
|
680
677
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.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--
|
|
1
|
+
.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}
|
|
@@ -92,7 +92,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
92
92
|
__name: "VcAgentRunCard",
|
|
93
93
|
props: {
|
|
94
94
|
name: {},
|
|
95
|
-
icon: { default: void 0 },
|
|
95
|
+
icon: { type: [String, Function, Object], default: void 0 },
|
|
96
96
|
status: { default: "queued" },
|
|
97
97
|
statusText: { default: void 0 },
|
|
98
98
|
task: { default: "" },
|
|
@@ -37,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
dataTestName: { default: DATA_TEST_NAME },
|
|
38
38
|
prefixIconColor: { default: "" },
|
|
39
39
|
color: { default: DEFAULT_COLOR },
|
|
40
|
-
prefixIcon: { default: "" },
|
|
40
|
+
prefixIcon: { type: [String, Function, Object], default: "" },
|
|
41
41
|
prefixIconSize: { default: DEFAULT_ICON_SIZE }
|
|
42
42
|
}, {
|
|
43
43
|
"modelValue": {},
|
|
@@ -30,10 +30,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
loading: { type: Boolean, default: false },
|
|
31
31
|
block: { type: Boolean, default: false },
|
|
32
32
|
dataTestName: { default: "vc-button" },
|
|
33
|
-
loaderIcon: { default: () => Loader },
|
|
33
|
+
loaderIcon: { type: [String, Function, Object], default: () => Loader },
|
|
34
34
|
size: { default: DEFAULT_SIZE },
|
|
35
35
|
type: { default: DEFAULT_TYPE },
|
|
36
|
-
icon: { default: "" },
|
|
36
|
+
icon: { type: [String, Function, Object], default: "" },
|
|
37
37
|
color: { default: DEFAULT_COLOR },
|
|
38
38
|
buttonType: { default: "button" },
|
|
39
39
|
round: { type: Boolean }
|
|
@@ -23,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
props: {
|
|
24
24
|
type: { default: DEFAULT_TYPE },
|
|
25
25
|
color: { default: DEFAULT_COLOR },
|
|
26
|
-
icon: { default: () => Settings },
|
|
26
|
+
icon: { type: [String, Function, Object], default: () => Settings },
|
|
27
27
|
dataTestName: { default: "vc-button" },
|
|
28
28
|
animate: { type: Boolean, default: false },
|
|
29
29
|
disabled: { type: Boolean, default: false },
|
|
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
35
|
filled: { type: Boolean },
|
|
36
36
|
filledColor: { default: "light" },
|
|
37
37
|
loading: { type: Boolean },
|
|
38
|
-
loadingIcon: { default: () => Loader }
|
|
38
|
+
loadingIcon: { type: [String, Function, Object], default: () => Loader }
|
|
39
39
|
},
|
|
40
40
|
emits: ["click"],
|
|
41
41
|
setup(__props, { emit: __emit }) {
|
|
@@ -18,8 +18,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
disabled: { type: Boolean, default: false },
|
|
19
19
|
invalid: { type: Boolean },
|
|
20
20
|
readonly: { type: Boolean },
|
|
21
|
-
onIcon: { default: void 0 },
|
|
22
|
-
offIcon: { default: void 0 },
|
|
21
|
+
onIcon: { type: [String, Function, Object], default: void 0 },
|
|
22
|
+
offIcon: { type: [String, Function, Object], default: void 0 },
|
|
23
23
|
onLabel: { default: "On" },
|
|
24
24
|
offLabel: { default: "Off" },
|
|
25
25
|
ariaLabel: { default: void 0 },
|
|
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
unlinkPanels: { type: Boolean, default: false },
|
|
37
37
|
disabledDate: { type: Function, default: void 0 },
|
|
38
38
|
shortcuts: { default: void 0 },
|
|
39
|
-
prefixIcon: { default: () => CalendarDays }
|
|
39
|
+
prefixIcon: { type: [String, Function, Object], default: () => CalendarDays }
|
|
40
40
|
},
|
|
41
41
|
emits: ["update:modelValue"],
|
|
42
42
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -43,7 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
props: {
|
|
44
44
|
actionName: { default: "" },
|
|
45
45
|
actionType: { default: "borderless" },
|
|
46
|
-
icon: { default: () => Table },
|
|
46
|
+
icon: { type: [String, Function, Object], default: () => Table },
|
|
47
47
|
headerEntityName: { default: "" },
|
|
48
48
|
modalWidth: { default: "80vw" },
|
|
49
49
|
chunkLimit: { default: 100 },
|
package/library/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.mjs
CHANGED
|
@@ -26,7 +26,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
presetValue: { default: "" },
|
|
27
27
|
prefixIconColor: { default: "" },
|
|
28
28
|
color: { default: DEFAULT_COLOR },
|
|
29
|
-
prefixIcon: { default: "" },
|
|
29
|
+
prefixIcon: { type: [String, Function, Object], default: "" },
|
|
30
30
|
prefixIconSize: { default: DEFAULT_ICON_SIZE }
|
|
31
31
|
},
|
|
32
32
|
emits: ["update:modelValue"],
|
package/library/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.mjs
CHANGED
|
@@ -56,7 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
56
56
|
clearable: { type: Boolean, default: false },
|
|
57
57
|
isError: { type: Boolean, default: false },
|
|
58
58
|
emptyText: { default: "" },
|
|
59
|
-
prefixIcon: { default: "" },
|
|
59
|
+
prefixIcon: { type: [String, Function, Object], default: "" },
|
|
60
60
|
dataTestName: { default: "vc-input" },
|
|
61
61
|
prefixIconSize: { default: DEFAULT_ICON_SIZE },
|
|
62
62
|
name: {},
|
|
@@ -68,7 +68,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
68
68
|
dynamicErrorSpace: { type: Boolean, default: false },
|
|
69
69
|
required: { type: Boolean, default: false },
|
|
70
70
|
label: { default: "" },
|
|
71
|
-
icon: { default: "" },
|
|
71
|
+
icon: { type: [String, Function, Object], default: "" },
|
|
72
72
|
infoText: {},
|
|
73
73
|
infoTooltipWidth: {}
|
|
74
74
|
},
|
|
@@ -13,11 +13,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
fileListSizeLimit: { default: void 0 },
|
|
14
14
|
accept: { default: "*" },
|
|
15
15
|
buttonType: { default: "default" },
|
|
16
|
-
buttonIcon: { default: "" },
|
|
16
|
+
buttonIcon: { type: [String, Function, Object], default: "" },
|
|
17
17
|
buttonText: { default: "" },
|
|
18
18
|
buttonColor: { default: "primary" },
|
|
19
19
|
buttonSize: { default: "middle" },
|
|
20
|
-
tagIcon: { default: () => FileCheck },
|
|
20
|
+
tagIcon: { type: [String, Function, Object], default: () => FileCheck },
|
|
21
21
|
noDataText: { default: "" },
|
|
22
22
|
fileType: { default: "file" },
|
|
23
23
|
tagMaxContentWidth: { default: "200" },
|
|
@@ -39,11 +39,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
39
|
fileListSizeLimit: { default: void 0 },
|
|
40
40
|
accept: { default: "*" },
|
|
41
41
|
buttonType: { default: "default" },
|
|
42
|
-
buttonIcon: { default: "" },
|
|
42
|
+
buttonIcon: { type: [String, Function, Object], default: "" },
|
|
43
43
|
buttonText: { default: "" },
|
|
44
44
|
buttonColor: { default: DEFAULT_BUTTON_COLOR },
|
|
45
45
|
buttonSize: { default: "middle" },
|
|
46
|
-
tagIcon: { default: () => FileCheck },
|
|
46
|
+
tagIcon: { type: [String, Function, Object], default: () => FileCheck },
|
|
47
47
|
noDataText: { default: "" },
|
|
48
48
|
fileType: { default: "file" },
|
|
49
49
|
tagMaxContentWidth: { default: "200" },
|
|
@@ -36,11 +36,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
fileListSizeLimit: { default: void 0 },
|
|
37
37
|
accept: { default: "*" },
|
|
38
38
|
buttonType: { default: DEFAULT_BUTTON_TYPE },
|
|
39
|
-
buttonIcon: { default: "" },
|
|
39
|
+
buttonIcon: { type: [String, Function, Object], default: "" },
|
|
40
40
|
buttonText: { default: "" },
|
|
41
41
|
buttonColor: { default: DEFAULT_BUTTON_COLOR },
|
|
42
42
|
buttonSize: { default: DEFAULT_BUTTON_SIZE },
|
|
43
|
-
tagIcon: { default: () => FileCheck },
|
|
43
|
+
tagIcon: { type: [String, Function, Object], default: () => FileCheck },
|
|
44
44
|
noDataText: { default: "" },
|
|
45
45
|
fileType: { default: "file" },
|
|
46
46
|
tagMaxContentWidth: { default: "200" },
|
|
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
props: {
|
|
30
30
|
required: { type: Boolean, default: false },
|
|
31
31
|
label: { default: "" },
|
|
32
|
-
icon: { default: "" },
|
|
32
|
+
icon: { type: [String, Function, Object], default: "" },
|
|
33
33
|
infoText: { default: "" },
|
|
34
34
|
infoTooltipWidth: { default: 180 }
|
|
35
35
|
},
|
|
@@ -43,7 +43,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
props: {
|
|
44
44
|
required: { type: Boolean, default: false },
|
|
45
45
|
label: { default: "" },
|
|
46
|
-
icon: { default: "" },
|
|
46
|
+
icon: { type: [String, Function, Object], default: "" },
|
|
47
47
|
infoText: { default: "" },
|
|
48
48
|
infoTooltipWidth: { default: "" },
|
|
49
49
|
rules: { default: () => [] },
|
|
@@ -5,7 +5,7 @@ import '../../assets/components/VcIcon/VcIcon.css';/* empty css
|
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "VcHyperLink",
|
|
7
7
|
props: {
|
|
8
|
-
icon: { default: "" },
|
|
8
|
+
icon: { type: [String, Function, Object], default: "" },
|
|
9
9
|
href: { default: "" },
|
|
10
10
|
type: { default: "internal" },
|
|
11
11
|
color: { default: "primary" },
|
|
@@ -5,7 +5,7 @@ import { isLegacyIconClass, getCachedLucideIcon, resolveLucideIcon } from "../..
|
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "VcIcon",
|
|
7
7
|
props: {
|
|
8
|
-
icon: { default: void 0 },
|
|
8
|
+
icon: { type: [String, Function, Object], default: void 0 },
|
|
9
9
|
size: { default: void 0 },
|
|
10
10
|
strokeWidth: { default: 1.6 },
|
|
11
11
|
color: { default: void 0 },
|
|
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
41
|
props: {
|
|
42
42
|
buttonType: { default: DEFAULT_UPLOAD_TYPE },
|
|
43
43
|
buttonColor: { default: DEFAULT_UPLOAD_COLOR },
|
|
44
|
-
icon: { default: () => CloudUpload },
|
|
44
|
+
icon: { type: [String, Function, Object], default: () => CloudUpload },
|
|
45
45
|
contentTitle: { default: "" },
|
|
46
46
|
previewTitle: { default: "" }
|
|
47
47
|
},
|
|
@@ -58,7 +58,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
id: { default: void 0 },
|
|
59
59
|
disabled: { type: Boolean, default: false },
|
|
60
60
|
emptyText: { default: "" },
|
|
61
|
-
prefixIcon: { default: "" },
|
|
61
|
+
prefixIcon: { type: [String, Function, Object], default: "" },
|
|
62
62
|
prefixIconSize: { default: DEFAULT_ICON_SIZE },
|
|
63
63
|
name: { default: void 0 },
|
|
64
64
|
maxWidth: { default: "100%" },
|
|
@@ -18,7 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
hidePreview: { type: Boolean },
|
|
19
19
|
actionsText: {},
|
|
20
20
|
rootType: {},
|
|
21
|
-
actionIcon: {},
|
|
21
|
+
actionIcon: { type: [String, Function, Object] },
|
|
22
22
|
maxHeight: {},
|
|
23
23
|
showOverflow: { type: Boolean },
|
|
24
24
|
disabled: { type: Boolean }
|
|
@@ -9,7 +9,7 @@ const DEFAULT_COLOR = "primary";
|
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "LoadIcon",
|
|
11
11
|
props: {
|
|
12
|
-
icon: { default: () => Loader },
|
|
12
|
+
icon: { type: [String, Function, Object], default: () => Loader },
|
|
13
13
|
size: { default: DEFAULT_SIZE },
|
|
14
14
|
color: { default: DEFAULT_COLOR }
|
|
15
15
|
},
|
|
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15
15
|
color: { default: DEFAULT_COLOR },
|
|
16
16
|
size: { default: DEFAULT_SIZE },
|
|
17
17
|
loader: { default: DEFAULT_LOADER },
|
|
18
|
-
icon: { default: void 0 }
|
|
18
|
+
icon: { type: [String, Function, Object], default: void 0 }
|
|
19
19
|
},
|
|
20
20
|
setup(__props) {
|
|
21
21
|
const props = __props;
|
|
@@ -6,7 +6,7 @@ const DEFAULT_COLOR = "primary";
|
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "VcPaginationButton",
|
|
8
8
|
props: {
|
|
9
|
-
icon: { default: "" },
|
|
9
|
+
icon: { type: [String, Function, Object], default: "" },
|
|
10
10
|
type: { default: DEFAULT_TYPE },
|
|
11
11
|
color: { default: DEFAULT_COLOR },
|
|
12
12
|
dataTestName: { default: "default" }
|
|
@@ -45,7 +45,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
45
|
disabled: { type: Boolean, default: false },
|
|
46
46
|
clearable: { type: Boolean },
|
|
47
47
|
emptyText: {},
|
|
48
|
-
prefixIcon: { default: () => Phone },
|
|
48
|
+
prefixIcon: { type: [String, Function, Object], default: () => Phone },
|
|
49
49
|
prefixIconSize: { default: DEFAULT_ICON_SIZE },
|
|
50
50
|
name: { default: void 0 },
|
|
51
51
|
maxWidth: { default: "100%" },
|
|
@@ -251,6 +251,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
251
251
|
"popper-class": popperClass.value,
|
|
252
252
|
"clear-icon": unref(clearIcon),
|
|
253
253
|
"suffix-icon": unref(suffixIcon),
|
|
254
|
+
"fit-input-width": __props.fitInputWidth,
|
|
254
255
|
"collapse-tags": "",
|
|
255
256
|
"collapse-tags-tooltip": ""
|
|
256
257
|
}, _ctx.$attrs, {
|
|
@@ -359,7 +360,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
359
360
|
]),
|
|
360
361
|
key: "4"
|
|
361
362
|
} : void 0
|
|
362
|
-
]), 1040, ["id", "modelValue", "value-key", "clearable", "data-test", "disabled", "filterable", "filter-method", "loading", "multiple", "no-data-text", "placeholder", "remote", "remote-method", "size", "teleported", "name", "reserve-keyword", "class", "popper-class", "clear-icon", "suffix-icon"]);
|
|
363
|
+
]), 1040, ["id", "modelValue", "value-key", "clearable", "data-test", "disabled", "filterable", "filter-method", "loading", "multiple", "no-data-text", "placeholder", "remote", "remote-method", "size", "teleported", "name", "reserve-keyword", "class", "popper-class", "clear-icon", "suffix-icon", "fit-input-width"]);
|
|
363
364
|
};
|
|
364
365
|
}
|
|
365
366
|
});
|
|
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
label: { default: void 0 },
|
|
17
17
|
disabled: { type: Boolean, default: false },
|
|
18
18
|
selected: { type: Boolean, default: false },
|
|
19
|
-
icon: { default: void 0 },
|
|
19
|
+
icon: { type: [String, Function, Object], default: void 0 },
|
|
20
20
|
iconStyle: { type: [Boolean, null, String, Object, Array], default: void 0 }
|
|
21
21
|
},
|
|
22
22
|
setup(__props) {
|
|
@@ -10,9 +10,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
disabled: { type: Boolean },
|
|
11
11
|
iconClass: { default: "icon-2r" },
|
|
12
12
|
showStop: { type: Boolean, default: true },
|
|
13
|
-
playIcon: { default: () => CirclePlay },
|
|
14
|
-
pauseIcon: { default: () => CirclePause },
|
|
15
|
-
stopIcon: { default: () => CircleStop }
|
|
13
|
+
playIcon: { type: [String, Function, Object], default: () => CirclePlay },
|
|
14
|
+
pauseIcon: { type: [String, Function, Object], default: () => CirclePause },
|
|
15
|
+
stopIcon: { type: [String, Function, Object], default: () => CircleStop }
|
|
16
16
|
},
|
|
17
17
|
emits: ["click:play", "click:pause", "click:stop"],
|
|
18
18
|
setup(__props, { emit: __emit }) {
|
|
@@ -8,7 +8,7 @@ const _hoisted_1 = { class: "" };
|
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "VcPlayerPlaybackRate",
|
|
10
10
|
props: {
|
|
11
|
-
icon: { default: () => Gauge },
|
|
11
|
+
icon: { type: [String, Function, Object], default: () => Gauge },
|
|
12
12
|
iconClasses: { default: "icon-xl !font-semibold" }
|
|
13
13
|
},
|
|
14
14
|
setup(__props) {
|
|
@@ -12,7 +12,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
12
|
__name: "VcPlayerPlaybackRatePopup",
|
|
13
13
|
props: {
|
|
14
14
|
rates: { default: () => [] },
|
|
15
|
-
icon: { default: () => Gauge },
|
|
15
|
+
icon: { type: [String, Function, Object], default: () => Gauge },
|
|
16
16
|
iconClasses: { default: "icon-xl !font-semibold" }
|
|
17
17
|
},
|
|
18
18
|
setup(__props) {
|
|
@@ -13,8 +13,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
props: {
|
|
14
14
|
skipStep: { default: void 0 },
|
|
15
15
|
iconClass: { default: "" },
|
|
16
|
-
iconBack: { default: () => ChevronsLeft },
|
|
17
|
-
iconForward: { default: () => ChevronsRight }
|
|
16
|
+
iconBack: { type: [String, Function, Object], default: () => ChevronsLeft },
|
|
17
|
+
iconForward: { type: [String, Function, Object], default: () => ChevronsRight }
|
|
18
18
|
},
|
|
19
19
|
setup(__props) {
|
|
20
20
|
const { isPlayingInProgress, skipForward, skipBackward } = useSoundPlayerInject();
|
|
@@ -42,7 +42,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
soundId: { default: void 0 },
|
|
43
43
|
src: {},
|
|
44
44
|
currentPlay: { default: void 0 },
|
|
45
|
-
preIcon: { default: "" },
|
|
45
|
+
preIcon: { type: [String, Function, Object], default: "" },
|
|
46
46
|
simple: { type: Boolean, default: false },
|
|
47
47
|
disabled: { type: Boolean, default: false },
|
|
48
48
|
showSkipButtons: { type: Boolean, default: false },
|
|
@@ -28,7 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
ariaLabel: { default: "" },
|
|
29
29
|
seekOnClick: { type: Boolean, default: true },
|
|
30
30
|
showStem: { type: Boolean, default: true },
|
|
31
|
-
icon: { default: void 0 },
|
|
31
|
+
icon: { type: [String, Function, Object], default: void 0 },
|
|
32
32
|
iconClass: { default: "icon-xs" },
|
|
33
33
|
placement: { default: "top" }
|
|
34
34
|
},
|
|
@@ -22,8 +22,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
22
22
|
disabled: { type: Boolean },
|
|
23
23
|
inlineMode: { type: Boolean },
|
|
24
24
|
iconClass: { default: "icon-md" },
|
|
25
|
-
icon: { default: () => Volume2 },
|
|
26
|
-
iconOff: { default: () => VolumeX }
|
|
25
|
+
icon: { type: [String, Function, Object], default: () => Volume2 },
|
|
26
|
+
iconOff: { type: [String, Function, Object], default: () => VolumeX }
|
|
27
27
|
},
|
|
28
28
|
setup(__props) {
|
|
29
29
|
const { volume, defaultVolume } = useSoundPlayerInject();
|
|
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
size: { default: DEFAULT_SIZE },
|
|
35
35
|
popoverMaxWidth: { default: "480" },
|
|
36
36
|
popoverWidth: { default: "auto" },
|
|
37
|
-
loaderIcon: { default: () => Loader }
|
|
37
|
+
loaderIcon: { type: [String, Function, Object], default: () => Loader }
|
|
38
38
|
},
|
|
39
39
|
emits: ["click", "change"],
|
|
40
40
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -11,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
__name: "VcTabPane",
|
|
12
12
|
props: {
|
|
13
13
|
name: {},
|
|
14
|
-
icon: { default: "" },
|
|
14
|
+
icon: { type: [String, Function, Object], default: "" },
|
|
15
15
|
label: { default: "" },
|
|
16
16
|
navClass: { default: "" },
|
|
17
17
|
closable: { type: Boolean, default: false },
|
|
@@ -26,10 +26,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
__name: "VcTag",
|
|
27
27
|
props: {
|
|
28
28
|
color: { default: "primary" },
|
|
29
|
-
icon: { default: "" },
|
|
29
|
+
icon: { type: [String, Function, Object], default: "" },
|
|
30
30
|
label: { default: "" },
|
|
31
31
|
labelClass: { default: void 0 },
|
|
32
|
-
prefixIcon: { default: "" },
|
|
32
|
+
prefixIcon: { type: [String, Function, Object], default: "" },
|
|
33
33
|
closable: { type: Boolean, default: false },
|
|
34
34
|
disabled: { type: Boolean, default: false },
|
|
35
35
|
square: { type: Boolean, default: false },
|
|
@@ -44,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
44
|
disabled: { type: Boolean, default: false },
|
|
45
45
|
isError: { type: Boolean, default: false },
|
|
46
46
|
emptyText: {},
|
|
47
|
-
prefixIcon: { default: "" },
|
|
47
|
+
prefixIcon: { type: [String, Function, Object], default: "" },
|
|
48
48
|
dataTestName: { default: "default" },
|
|
49
49
|
prefixIconSize: { default: "sm" },
|
|
50
50
|
name: { default: "" },
|