@voicenter-team/voicenter-ui-plus 3.0.3 → 3.0.4

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 (47) hide show
  1. package/README.md +50 -3
  2. package/library/components/VcPluginOverlays/VcPluginOverlays.vue.mjs +22 -2
  3. package/library/plugin.mjs +171 -168
  4. package/library/plugin.mjs.br +0 -0
  5. package/library/plugin.mjs.gz +0 -0
  6. package/library/types/components/VcAutocomplete/VcAutocomplete.vue.d.ts +6 -6
  7. package/library/types/components/VcButton/VcButton.vue.d.ts +1 -1
  8. package/library/types/components/VcButton/VcButtonIcon.vue.d.ts +2 -2
  9. package/library/types/components/VcButton/VcToggleButton.vue.d.ts +1 -1
  10. package/library/types/components/VcCheckbox/VcCheckbox.vue.d.ts +3 -3
  11. package/library/types/components/VcColorPicker/VcColorPicker.vue.d.ts +1 -1
  12. package/library/types/components/VcDatePicker/VcDatePicker.vue.d.ts +6 -6
  13. package/library/types/components/VcDatePickerPanel/VcDatePickerPanel.vue.d.ts +3 -3
  14. package/library/types/components/VcDropdown/VcDropdown.vue.d.ts +1 -1
  15. package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +1 -1
  16. package/library/types/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +1 -1
  17. package/library/types/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +2 -2
  18. package/library/types/components/VcFileUploader/VcFileUploader.vue.d.ts +1 -1
  19. package/library/types/components/VcForm/VcForm.vue.d.ts +1 -1
  20. package/library/types/components/VcHyperLink/VcHyperLink.vue.d.ts +1 -1
  21. package/library/types/components/VcImageUploader/VcImageUploader.vue.d.ts +1 -1
  22. package/library/types/components/VcInput/VcInput.vue.d.ts +1 -1
  23. package/library/types/components/VcOtpInput/VcOtpInput.vue.d.ts +1 -1
  24. package/library/types/components/VcPagination/VcPaginationButton.vue.d.ts +2 -2
  25. package/library/types/components/VcPhoneInput/VcPhoneInput.vue.d.ts +1 -1
  26. package/library/types/components/VcPluginOverlays/VcPluginOverlays.vue.d.ts +28 -1
  27. package/library/types/components/VcPopover/VcConfirmPopover.vue.d.ts +1 -1
  28. package/library/types/components/VcRadio/VcRadio.vue.d.ts +3 -3
  29. package/library/types/components/VcRadioButtons/VcRadioButtonsGroup.vue.d.ts +6 -6
  30. package/library/types/components/VcRadioGroup/VcRadioGroup.vue.d.ts +3 -3
  31. package/library/types/components/VcSegmented/VcSegmented.vue.d.ts +6 -6
  32. package/library/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +6 -6
  33. package/library/types/components/VcSelect/VcSelect.vue.d.ts +6 -6
  34. package/library/types/components/VcSelect/VcSelectGrouped.vue.d.ts +6 -6
  35. package/library/types/components/VcSplitButton/VcSplitButton.vue.d.ts +2 -2
  36. package/library/types/components/VcSwitch/VcSwitch.vue.d.ts +3 -3
  37. package/library/types/components/VcTag/VcTag.vue.d.ts +1 -1
  38. package/library/types/components/VcTagInput/VcTagInput.vue.d.ts +3 -3
  39. package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +1 -1
  40. package/library/types/components/VcTree/VcTree.vue.d.ts +6 -6
  41. package/library/types/components/VcTree/VcTreeSelect.vue.d.ts +6 -6
  42. package/library/types/types/Entry.types.d.ts +8 -0
  43. package/library/types/types/Overlay.types.d.ts +15 -0
  44. package/library/types/types/index.d.ts +1 -0
  45. package/library/types/utils/mountPluginOverlays.d.ts +1 -1
  46. package/library/utils/mountPluginOverlays.mjs +2 -2
  47. package/package.json +1 -1
package/README.md CHANGED
@@ -66,20 +66,67 @@ import { VcButton, VcInput } from '@voicenter-team/voicenter-ui-plus'
66
66
  ```
67
67
  Bundlers drop unused components and their CSS. A consumer importing only `VcButton` ships ~50–150 KB JS + ~10–30 KB CSS.
68
68
 
69
+ If you use `useConfirmModal`, `useConfirmPopup`, or `NotifyService`, mount global overlays in `App.vue`:
70
+
71
+ ```vue
72
+ <script setup lang="ts">
73
+ import { VcPluginOverlays } from '@voicenter-team/voicenter-ui-plus'
74
+ </script>
75
+
76
+ <template>
77
+ <RouterView />
78
+ <VcPluginOverlays />
79
+ </template>
80
+ ```
81
+
69
82
  ### Plugin mode (global registration)
70
83
  ```ts
71
84
  import VoicenterUI from '@voicenter-team/voicenter-ui-plus/plugin'
72
85
  import '@voicenter-team/voicenter-ui-plus/style.css'
73
86
 
87
+ // Overlay composables can be imported from the same entry:
88
+ // import { useConfirmModal, useConfirmPopup, VcPluginOverlays } from '@voicenter-team/voicenter-ui-plus/plugin'
89
+
74
90
  app.use(VoicenterUI, {
75
91
  themeConfig, // theme config (see below)
76
92
  lang: 'en', // localization
77
93
  injectIconFont: true // inject icon-font <link> tags into <head>
78
94
  })
79
- // Confirm modals/popovers and toast notifications are mounted automatically.
80
- // To mount them yourself instead, pass `mountOverlays: false` and add
81
- // `<VcPluginOverlays />` to App.vue (also exported for tree-shake mode).
95
+ // Confirm modals/popovers/notifications: auto-mounted via VcPluginOverlays
96
+ // (mountOverlays: true by default). Opt out with mountOverlays: false and
97
+ // add <VcPluginOverlays /> to App.vue also registered globally by the plugin.
98
+ ```
99
+
100
+ ### Global overlays
101
+
102
+ Several APIs are **state-only** — they update global reactive singletons but do not render UI by themselves:
103
+
104
+ | API | Overlay component |
105
+ |---|---|
106
+ | `useConfirmModal` | `VcConfirmModal` |
107
+ | `useConfirmPopup` | `VcConfirmPopover` |
108
+ | `NotifyService` / `$notify` | `VcNotification` |
109
+
110
+ **Plugin mode:** mounted automatically on `app.use()` (default). Pass `mountOverlays: false` to mount manually.
111
+
112
+ **Notifications:** one top-right host by default. For multiple positions, use `overlayNotifications` in plugin config or mount your own:
113
+
114
+ ```ts
115
+ app.use(VoicenterUI, {
116
+ overlayNotifications: [
117
+ { group: 'top-right', position: 'top-right' },
118
+ { group: 'bottom-right', position: 'bottom-right' },
119
+ ],
120
+ })
121
+ // NotifyService.add({ group: 'bottom-right', ... })
82
122
  ```
123
+
124
+ Or `overlayNotifications: 'none'` and put `<VcNotification />` in App.vue (confirms still auto-mount).
125
+
126
+ **Tree-shake mode:** add `<VcPluginOverlays />` to `App.vue` (bundles confirm hosts; configure via `notifications` prop).
127
+
128
+ Entity components such as `VcEntityListTable` call `useConfirmModal` internally — delete confirmations require overlays to be mounted.
129
+
83
130
  2.1. If you are using tailwind update your `tailwind.config.js` with:
84
131
  ```js
85
132
  const voiceTailwindScheme = require('@voicenter-team/voicenter-ui-plus/src/theme/tailwindScheme')
@@ -1,4 +1,4 @@
1
- import { defineComponent, openBlock, createElementBlock, Fragment, createVNode } from "vue";
1
+ import { defineComponent, computed, openBlock, createElementBlock, Fragment, createBlock, createCommentVNode, renderList, createVNode } from "vue";
2
2
  import _sfc_main$1 from "../VcNotification/VcNotification.vue.mjs";
3
3
  import '../../assets/components/VcPopover/VcConfirmPopover.css';import '../../assets/components/VcNotification/VcNotification.css';/* empty css */
4
4
  import _sfc_main$2 from "../VcModal/VcConfirmModal.vue.mjs";
@@ -6,10 +6,30 @@ import _sfc_main$3 from "../VcPopover/VcConfirmPopover.vue.mjs";
6
6
  /* empty css */
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  __name: "VcPluginOverlays",
9
+ props: {
10
+ notifications: { default: "default" }
11
+ },
9
12
  setup(__props) {
13
+ const props = __props;
14
+ const shouldRenderDefaultNotification = computed(() => {
15
+ return props.notifications === "default";
16
+ });
17
+ const notificationHosts = computed(() => {
18
+ return Array.isArray(props.notifications) ? props.notifications : [];
19
+ });
20
+ function notificationHostKey(item, index) {
21
+ return item.group ?? item.position ?? String(index);
22
+ }
10
23
  return (_ctx, _cache) => {
11
24
  return openBlock(), createElementBlock(Fragment, null, [
12
- createVNode(_sfc_main$1),
25
+ shouldRenderDefaultNotification.value ? (openBlock(), createBlock(_sfc_main$1, { key: 0 })) : createCommentVNode("", true),
26
+ (openBlock(true), createElementBlock(Fragment, null, renderList(notificationHosts.value, (item, index) => {
27
+ return openBlock(), createBlock(_sfc_main$1, {
28
+ key: notificationHostKey(item, index),
29
+ group: item.group,
30
+ position: item.position
31
+ }, null, 8, ["group", "position"]);
32
+ }), 128)),
13
33
  createVNode(_sfc_main$2),
14
34
  createVNode(_sfc_main$3)
15
35
  ], 64);
@@ -69,104 +69,104 @@ import _sfc_main$w from "./components/VcPopover/VcPopover.vue.mjs";
69
69
  /* empty css */
70
70
  import _sfc_main$x from "./components/VcPopover/VcConfirmPopover.vue.mjs";
71
71
  /* empty css */
72
- import _sfc_main$y from "./components/VcPopover/VcSelectPopover.vue.mjs";
72
+ import _sfc_main$z from "./components/VcPopover/VcSelectPopover.vue.mjs";
73
73
  /* empty css */
74
- import _sfc_main$z from "./components/VcTabs/VcTabs.vue.mjs";
74
+ import _sfc_main$A from "./components/VcTabs/VcTabs.vue.mjs";
75
75
  /* empty css */
76
- import _sfc_main$A from "./components/VcTabs/VcTabNav.vue.mjs";
76
+ import _sfc_main$B from "./components/VcTabs/VcTabNav.vue.mjs";
77
77
  /* empty css */
78
- import _sfc_main$B from "./components/VcTabs/VcTabPane.vue.mjs";
78
+ import _sfc_main$C from "./components/VcTabs/VcTabPane.vue.mjs";
79
79
  /* empty css */
80
- import _sfc_main$C from "./components/VcVerticalTabs/VcVerticalTabs.vue.mjs";
80
+ import _sfc_main$D from "./components/VcVerticalTabs/VcVerticalTabs.vue.mjs";
81
81
  /* empty css */
82
- import _sfc_main$D from "./components/VcRadioTabs/VcRadioTabs.vue.mjs";
82
+ import _sfc_main$E from "./components/VcRadioTabs/VcRadioTabs.vue.mjs";
83
83
  /* empty css */
84
- import _sfc_main$E from "./components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.mjs";
84
+ import _sfc_main$F from "./components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.mjs";
85
85
  /* empty css */
86
- import _sfc_main$F from "./components/VcCollapse/VcCollapse.vue.mjs";
87
- import _sfc_main$G from "./components/VcCollapse/VcCollapseItem.vue.mjs";
86
+ import _sfc_main$G from "./components/VcCollapse/VcCollapse.vue.mjs";
87
+ import _sfc_main$H from "./components/VcCollapse/VcCollapseItem.vue.mjs";
88
88
  /* empty css */
89
- import _sfc_main$H from "./components/VcWizard/VcWizard.vue.mjs";
89
+ import _sfc_main$I from "./components/VcWizard/VcWizard.vue.mjs";
90
90
  /* empty css */
91
- import _sfc_main$I from "./components/VcDropdown/VcDropdown.vue.mjs";
91
+ import _sfc_main$J from "./components/VcDropdown/VcDropdown.vue.mjs";
92
92
  /* empty css */
93
- import _sfc_main$J from "./components/VcDropdown/VcDropdownItem.vue.mjs";
93
+ import _sfc_main$K from "./components/VcDropdown/VcDropdownItem.vue.mjs";
94
94
  /* empty css */
95
- import _sfc_main$K from "./components/VcTable/VcTable.vue.mjs";
95
+ import _sfc_main$L from "./components/VcTable/VcTable.vue.mjs";
96
96
  /* empty css */
97
97
  /* empty css */
98
- import _sfc_main$L from "./components/VcPagination/VcPagination.vue.mjs";
98
+ import _sfc_main$M from "./components/VcPagination/VcPagination.vue.mjs";
99
99
  /* empty css */
100
- import _sfc_main$M from "./components/VcTree/VcTree.vue.mjs";
100
+ import _sfc_main$N from "./components/VcTree/VcTree.vue.mjs";
101
101
  /* empty css */
102
- import _sfc_main$N from "./components/VcTree/VcTreeSelect.vue.mjs";
102
+ import _sfc_main$O from "./components/VcTree/VcTreeSelect.vue.mjs";
103
103
  /* empty css */
104
104
  /* empty css */
105
- import _sfc_main$O from "./components/VcTransfer/VcTransfer.vue.mjs";
105
+ import _sfc_main$P from "./components/VcTransfer/VcTransfer.vue.mjs";
106
106
  /* empty css */
107
- import _sfc_main$P from "./components/VcTag/VcTag.vue.mjs";
107
+ import _sfc_main$Q from "./components/VcTag/VcTag.vue.mjs";
108
108
  /* empty css */
109
- import _sfc_main$Q from "./components/VcDelimitedList/VcDelimitedList.vue.mjs";
109
+ import _sfc_main$R from "./components/VcDelimitedList/VcDelimitedList.vue.mjs";
110
110
  /* empty css */
111
- import _sfc_main$R from "./components/VcSparkline/VcSparkline.vue.mjs";
112
- import _sfc_main$S from "./components/VcViewSwitcher/VcViewSwitcher.vue.mjs";
111
+ import _sfc_main$S from "./components/VcSparkline/VcSparkline.vue.mjs";
112
+ import _sfc_main$T from "./components/VcViewSwitcher/VcViewSwitcher.vue.mjs";
113
113
  /* empty css */
114
- import _sfc_main$T from "./components/VcSegmented/VcSegmented.vue.mjs";
114
+ import _sfc_main$U from "./components/VcSegmented/VcSegmented.vue.mjs";
115
115
  /* empty css */
116
116
  import VcLoading from "./components/VcLoading/VcLoading.vue.mjs";
117
- import _sfc_main$U from "./components/VcProgress/VcProgress.vue.mjs";
117
+ import _sfc_main$V from "./components/VcProgress/VcProgress.vue.mjs";
118
118
  /* empty css */
119
- import _sfc_main$V from "./components/VcProgress/VcProgressCircular.vue.mjs";
119
+ import _sfc_main$W from "./components/VcProgress/VcProgressCircular.vue.mjs";
120
120
  /* empty css */
121
- import _sfc_main$W from "./components/VcSkeletonLoader/VcSkeletonLoader.vue.mjs";
122
- import _sfc_main$X from "./components/VcNotification/VcNotification.vue.mjs";
121
+ import _sfc_main$X from "./components/VcSkeletonLoader/VcSkeletonLoader.vue.mjs";
122
+ import _sfc_main$Y from "./components/VcNotification/VcNotification.vue.mjs";
123
123
  /* empty css */
124
- import _sfc_main$Y from "./components/VcForm/VcForm.vue.mjs";
125
- import _sfc_main$Z from "./components/VcForm/VcFormItem.vue.mjs";
124
+ import _sfc_main$Z from "./components/VcForm/VcForm.vue.mjs";
125
+ import _sfc_main$_ from "./components/VcForm/VcFormItem.vue.mjs";
126
126
  /* empty css */
127
- import _sfc_main$_ from "./components/VcSplitButton/VcSplitButton.vue.mjs";
127
+ import _sfc_main$$ from "./components/VcSplitButton/VcSplitButton.vue.mjs";
128
128
  /* empty css */
129
- import _sfc_main$$ from "./components/VcHyperLink/VcHyperLink.vue.mjs";
129
+ import _sfc_main$10 from "./components/VcHyperLink/VcHyperLink.vue.mjs";
130
130
  /* empty css */
131
- import _sfc_main$10 from "./components/VcIconPicker/VcIconPicker.vue.mjs";
131
+ import _sfc_main$11 from "./components/VcIconPicker/VcIconPicker.vue.mjs";
132
132
  /* empty css */
133
- import _sfc_main$11 from "./components/VcMeterGroup/VcMeterGroup.vue.mjs";
133
+ import _sfc_main$12 from "./components/VcMeterGroup/VcMeterGroup.vue.mjs";
134
134
  /* empty css */
135
- import _sfc_main$12 from "./components/VcMeterGroup/VcMeterGroupLabel.vue.mjs";
136
- import _sfc_main$13 from "./components/VcMdEditor/VcMdEditor.vue.mjs";
137
- import _sfc_main$14 from "./components/VcSystemUserPrompt/VcSystemUserPrompt.vue.mjs";
138
- import _sfc_main$15 from "./components/VcSoundplayer/VcSoundPlayer.vue.mjs";
135
+ import _sfc_main$13 from "./components/VcMeterGroup/VcMeterGroupLabel.vue.mjs";
136
+ import _sfc_main$14 from "./components/VcMdEditor/VcMdEditor.vue.mjs";
137
+ import _sfc_main$15 from "./components/VcSystemUserPrompt/VcSystemUserPrompt.vue.mjs";
138
+ import _sfc_main$16 from "./components/VcSoundplayer/VcSoundPlayer.vue.mjs";
139
139
  /* empty css */
140
- import _sfc_main$16 from "./components/VcJsonSchema/VcJsonSchema.vue.mjs";
140
+ import _sfc_main$17 from "./components/VcJsonSchema/VcJsonSchema.vue.mjs";
141
141
  /* empty css */
142
- import _sfc_main$17 from "./components/VcHtmlEditor/VcHtmlEditor.vue.mjs";
142
+ import _sfc_main$18 from "./components/VcHtmlEditor/VcHtmlEditor.vue.mjs";
143
143
  /* empty css */
144
- import _sfc_main$18 from "./components/VcPdfViewer/VcPdfDocument.vue.mjs";
144
+ import _sfc_main$19 from "./components/VcPdfViewer/VcPdfDocument.vue.mjs";
145
145
  /* empty css */
146
- import _sfc_main$19 from "./components/VcExcelUploader/VcExcelFileUploader.vue.mjs";
147
- import _sfc_main$1a from "./components/VcImageUploader/VcImageUploader.vue.mjs";
146
+ import _sfc_main$1a from "./components/VcExcelUploader/VcExcelFileUploader.vue.mjs";
147
+ import _sfc_main$1b from "./components/VcImageUploader/VcImageUploader.vue.mjs";
148
148
  /* empty css */
149
- import _sfc_main$1b from "./components/VcTour/VcTour.vue.mjs";
149
+ import _sfc_main$1c from "./components/VcTour/VcTour.vue.mjs";
150
150
  /* empty css */
151
- import _sfc_main$1c from "./components/VcSipFlow/VcSipFlow.vue.mjs";
151
+ import _sfc_main$1d from "./components/VcSipFlow/VcSipFlow.vue.mjs";
152
152
  /* empty css */
153
- import _sfc_main$1d from "./entity/components/Button/VcEntityAddButton.vue.mjs";
154
- import _sfc_main$1e from "./entity/components/Button/VcEntityCancelButton.vue.mjs";
155
- import _sfc_main$1f from "./entity/components/Button/VcEntityDeleteIconButton.vue.mjs";
156
- import _sfc_main$1g from "./entity/components/Button/VcEntityEditIconButton.vue.mjs";
157
- import _sfc_main$1h from "./entity/components/Button/VcEntityRestoreButton.vue.mjs";
158
- import _sfc_main$1i from "./entity/components/Button/VcEntityStatusButton.vue.mjs";
159
- import _sfc_main$1j from "./entity/components/Tabs/VcEntityEditableTabs.vue.mjs";
153
+ import _sfc_main$1e from "./entity/components/Button/VcEntityAddButton.vue.mjs";
154
+ import _sfc_main$1f from "./entity/components/Button/VcEntityCancelButton.vue.mjs";
155
+ import _sfc_main$1g from "./entity/components/Button/VcEntityDeleteIconButton.vue.mjs";
156
+ import _sfc_main$1h from "./entity/components/Button/VcEntityEditIconButton.vue.mjs";
157
+ import _sfc_main$1i from "./entity/components/Button/VcEntityRestoreButton.vue.mjs";
158
+ import _sfc_main$1j from "./entity/components/Button/VcEntityStatusButton.vue.mjs";
159
+ import _sfc_main$1k from "./entity/components/Tabs/VcEntityEditableTabs.vue.mjs";
160
160
  /* empty css */
161
- import _sfc_main$1k from "./entity/components/Table/VcEntityListTable.vue.mjs";
161
+ import _sfc_main$1l from "./entity/components/Table/VcEntityListTable.vue.mjs";
162
162
  /* empty css */
163
- import _sfc_main$1l from "./entity/components/Form/VcBaseVerticalForm.vue.mjs";
163
+ import _sfc_main$1m from "./entity/components/Form/VcBaseVerticalForm.vue.mjs";
164
164
  /* empty css */
165
- import _sfc_main$1m from "./entity/components/Form/VcEntityVerticalCreateForm.vue.mjs";
166
- import _sfc_main$1n from "./entity/components/Form/VcEntityVerticalEditForm.vue.mjs";
167
- import _sfc_main$1o from "./entity/components/Form/VcEntityEditPageForm.vue.mjs";
165
+ import _sfc_main$1n from "./entity/components/Form/VcEntityVerticalCreateForm.vue.mjs";
166
+ import _sfc_main$1o from "./entity/components/Form/VcEntityVerticalEditForm.vue.mjs";
167
+ import _sfc_main$1p from "./entity/components/Form/VcEntityEditPageForm.vue.mjs";
168
168
  /* empty css */
169
- import _sfc_main$1p from "./components/VcPluginOverlays/VcPluginOverlays.vue.mjs";
169
+ import _sfc_main$y from "./components/VcPluginOverlays/VcPluginOverlays.vue.mjs";
170
170
  import { mountPluginOverlays } from "./utils/mountPluginOverlays.mjs";
171
171
  import { VcCollapseProvideKey, VcEditableTabsDataToken, VcEntityListTableExternalPaginateToken, VcEntityToken, VcSoundPlayerProvideKey, VcTabPaneProvideKey, VcTabsProvideKey } from "./tokens/tokens.mjs";
172
172
  import { isIconComponent, isIconString, isVueComponent } from "./types/icons.types.mjs";
@@ -248,62 +248,63 @@ const install = function installCore(app, config) {
248
248
  app.component("VcConfirmModal", _sfc_main$v);
249
249
  app.component("VcPopover", _sfc_main$w);
250
250
  app.component("VcConfirmPopover", _sfc_main$x);
251
- app.component("VcSelectPopover", _sfc_main$y);
252
- app.component("VcTabs", _sfc_main$z);
253
- app.component("VcTabNav", _sfc_main$A);
254
- app.component("VcTabPane", _sfc_main$B);
255
- app.component("VcVerticalTabs", _sfc_main$C);
256
- app.component("VcRadioTabs", _sfc_main$D);
257
- app.component("VcRadioTabsNav", _sfc_main$E);
258
- app.component("VcCollapse", _sfc_main$F);
259
- app.component("VcCollapseItem", _sfc_main$G);
260
- app.component("VcWizard", _sfc_main$H);
261
- app.component("VcDropdown", _sfc_main$I);
262
- app.component("VcDropdownItem", _sfc_main$J);
263
- app.component("VcTable", _sfc_main$K);
264
- app.component("VcPagination", _sfc_main$L);
265
- app.component("VcTree", _sfc_main$M);
266
- app.component("VcTreeSelect", _sfc_main$N);
267
- app.component("VcTransfer", _sfc_main$O);
268
- app.component("VcTag", _sfc_main$P);
269
- app.component("VcDelimitedList", _sfc_main$Q);
270
- app.component("VcSparkline", _sfc_main$R);
271
- app.component("VcViewSwitcher", _sfc_main$S);
272
- app.component("VcSegmented", _sfc_main$T);
251
+ app.component("VcPluginOverlays", _sfc_main$y);
252
+ app.component("VcSelectPopover", _sfc_main$z);
253
+ app.component("VcTabs", _sfc_main$A);
254
+ app.component("VcTabNav", _sfc_main$B);
255
+ app.component("VcTabPane", _sfc_main$C);
256
+ app.component("VcVerticalTabs", _sfc_main$D);
257
+ app.component("VcRadioTabs", _sfc_main$E);
258
+ app.component("VcRadioTabsNav", _sfc_main$F);
259
+ app.component("VcCollapse", _sfc_main$G);
260
+ app.component("VcCollapseItem", _sfc_main$H);
261
+ app.component("VcWizard", _sfc_main$I);
262
+ app.component("VcDropdown", _sfc_main$J);
263
+ app.component("VcDropdownItem", _sfc_main$K);
264
+ app.component("VcTable", _sfc_main$L);
265
+ app.component("VcPagination", _sfc_main$M);
266
+ app.component("VcTree", _sfc_main$N);
267
+ app.component("VcTreeSelect", _sfc_main$O);
268
+ app.component("VcTransfer", _sfc_main$P);
269
+ app.component("VcTag", _sfc_main$Q);
270
+ app.component("VcDelimitedList", _sfc_main$R);
271
+ app.component("VcSparkline", _sfc_main$S);
272
+ app.component("VcViewSwitcher", _sfc_main$T);
273
+ app.component("VcSegmented", _sfc_main$U);
273
274
  app.component("VcLoading", VcLoading);
274
- app.component("VcProgress", _sfc_main$U);
275
- app.component("VcProgressCircular", _sfc_main$V);
276
- app.component("VcSkeletonLoader", _sfc_main$W);
277
- app.component("VcNotification", _sfc_main$X);
278
- app.component("VcForm", _sfc_main$Y);
279
- app.component("VcFormItem", _sfc_main$Z);
280
- app.component("VcSplitButton", _sfc_main$_);
281
- app.component("VcHyperLink", _sfc_main$$);
282
- app.component("VcIconPicker", _sfc_main$10);
283
- app.component("VcMeterGroup", _sfc_main$11);
284
- app.component("VcMeterGroupLabel", _sfc_main$12);
285
- app.component("VcMdEditor", _sfc_main$13);
286
- app.component("VcSystemUserPrompt", _sfc_main$14);
287
- app.component("VcSoundPlayer", _sfc_main$15);
288
- app.component("VcJsonSchema", _sfc_main$16);
289
- app.component("VcHtmlEditor", _sfc_main$17);
290
- app.component("VcPdfDocument", _sfc_main$18);
291
- app.component("VcExcelFileUploader", _sfc_main$19);
292
- app.component("VcImageUploader", _sfc_main$1a);
293
- app.component("VcTour", _sfc_main$1b);
294
- app.component("VcSipFlow", _sfc_main$1c);
295
- app.component("VcEntityAddButton", _sfc_main$1d);
296
- app.component("VcEntityCancelButton", _sfc_main$1e);
297
- app.component("VcEntityDeleteIconButton", _sfc_main$1f);
298
- app.component("VcEntityEditIconButton", _sfc_main$1g);
299
- app.component("VcEntityRestoreButton", _sfc_main$1h);
300
- app.component("VcEntityStatusButton", _sfc_main$1i);
301
- app.component("VcEntityEditableTabs", _sfc_main$1j);
302
- app.component("VcEntityListTable", _sfc_main$1k);
303
- app.component("VcBaseVerticalForm", _sfc_main$1l);
304
- app.component("VcEntityVerticalCreateForm", _sfc_main$1m);
305
- app.component("VcEntityVerticalEditForm", _sfc_main$1n);
306
- app.component("VcEntityEditPageForm", _sfc_main$1o);
275
+ app.component("VcProgress", _sfc_main$V);
276
+ app.component("VcProgressCircular", _sfc_main$W);
277
+ app.component("VcSkeletonLoader", _sfc_main$X);
278
+ app.component("VcNotification", _sfc_main$Y);
279
+ app.component("VcForm", _sfc_main$Z);
280
+ app.component("VcFormItem", _sfc_main$_);
281
+ app.component("VcSplitButton", _sfc_main$$);
282
+ app.component("VcHyperLink", _sfc_main$10);
283
+ app.component("VcIconPicker", _sfc_main$11);
284
+ app.component("VcMeterGroup", _sfc_main$12);
285
+ app.component("VcMeterGroupLabel", _sfc_main$13);
286
+ app.component("VcMdEditor", _sfc_main$14);
287
+ app.component("VcSystemUserPrompt", _sfc_main$15);
288
+ app.component("VcSoundPlayer", _sfc_main$16);
289
+ app.component("VcJsonSchema", _sfc_main$17);
290
+ app.component("VcHtmlEditor", _sfc_main$18);
291
+ app.component("VcPdfDocument", _sfc_main$19);
292
+ app.component("VcExcelFileUploader", _sfc_main$1a);
293
+ app.component("VcImageUploader", _sfc_main$1b);
294
+ app.component("VcTour", _sfc_main$1c);
295
+ app.component("VcSipFlow", _sfc_main$1d);
296
+ app.component("VcEntityAddButton", _sfc_main$1e);
297
+ app.component("VcEntityCancelButton", _sfc_main$1f);
298
+ app.component("VcEntityDeleteIconButton", _sfc_main$1g);
299
+ app.component("VcEntityEditIconButton", _sfc_main$1h);
300
+ app.component("VcEntityRestoreButton", _sfc_main$1i);
301
+ app.component("VcEntityStatusButton", _sfc_main$1j);
302
+ app.component("VcEntityEditableTabs", _sfc_main$1k);
303
+ app.component("VcEntityListTable", _sfc_main$1l);
304
+ app.component("VcBaseVerticalForm", _sfc_main$1m);
305
+ app.component("VcEntityVerticalCreateForm", _sfc_main$1n);
306
+ app.component("VcEntityVerticalEditForm", _sfc_main$1o);
307
+ app.component("VcEntityEditPageForm", _sfc_main$1p);
307
308
  Object.entries(directives).forEach(([name, directive]) => {
308
309
  app.directive(name, directive);
309
310
  });
@@ -322,7 +323,9 @@ const install = function installCore(app, config) {
322
323
  }
323
324
  loadTextFont();
324
325
  if ((config == null ? void 0 : config.mountOverlays) !== false) {
325
- mountPluginOverlays(app, _sfc_main$1p);
326
+ mountPluginOverlays(app, _sfc_main$y, {
327
+ notifications: (config == null ? void 0 : config.overlayNotifications) ?? "default"
328
+ });
326
329
  }
327
330
  };
328
331
  export {
@@ -360,14 +363,14 @@ export {
360
363
  default5 as UniqueComponentId,
361
364
  VERTICAL_SPACE,
362
365
  _sfc_main$c as VcAutocomplete,
363
- _sfc_main$1l as VcBaseVerticalForm,
366
+ _sfc_main$1m as VcBaseVerticalForm,
364
367
  _sfc_main as VcButton,
365
368
  _sfc_main$1 as VcButtonIcon,
366
369
  _sfc_main$t as VcCard,
367
370
  _sfc_main$d as VcCheckbox,
368
371
  _sfc_main$e as VcCheckboxGroup,
369
- _sfc_main$F as VcCollapse,
370
- _sfc_main$G as VcCollapseItem,
372
+ _sfc_main$G as VcCollapse,
373
+ _sfc_main$H as VcCollapseItem,
371
374
  VcCollapseProvideKey,
372
375
  _sfc_main$k as VcColorPicker,
373
376
  _sfc_main$v as VcConfirmModal,
@@ -375,101 +378,101 @@ export {
375
378
  _sfc_main$l as VcDatePicker,
376
379
  _sfc_main$m as VcDatePickerPanel,
377
380
  _sfc_main$n as VcDatetimeRangePicker,
378
- _sfc_main$Q as VcDelimitedList,
379
- _sfc_main$I as VcDropdown,
380
- _sfc_main$J as VcDropdownItem,
381
+ _sfc_main$R as VcDelimitedList,
382
+ _sfc_main$J as VcDropdown,
383
+ _sfc_main$K as VcDropdownItem,
381
384
  VcEditableTabsDataToken,
382
- _sfc_main$1d as VcEntityAddButton,
383
- _sfc_main$1e as VcEntityCancelButton,
384
- _sfc_main$1f as VcEntityDeleteIconButton,
385
- _sfc_main$1g as VcEntityEditIconButton,
386
- _sfc_main$1o as VcEntityEditPageForm,
387
- _sfc_main$1j as VcEntityEditableTabs,
388
- _sfc_main$1k as VcEntityListTable,
385
+ _sfc_main$1e as VcEntityAddButton,
386
+ _sfc_main$1f as VcEntityCancelButton,
387
+ _sfc_main$1g as VcEntityDeleteIconButton,
388
+ _sfc_main$1h as VcEntityEditIconButton,
389
+ _sfc_main$1p as VcEntityEditPageForm,
390
+ _sfc_main$1k as VcEntityEditableTabs,
391
+ _sfc_main$1l as VcEntityListTable,
389
392
  VcEntityListTableExternalPaginateToken,
390
- _sfc_main$1h as VcEntityRestoreButton,
391
- _sfc_main$1i as VcEntityStatusButton,
393
+ _sfc_main$1i as VcEntityRestoreButton,
394
+ _sfc_main$1j as VcEntityStatusButton,
392
395
  VcEntityToken,
393
- _sfc_main$1m as VcEntityVerticalCreateForm,
394
- _sfc_main$1n as VcEntityVerticalEditForm,
395
- _sfc_main$19 as VcExcelFileUploader,
396
+ _sfc_main$1n as VcEntityVerticalCreateForm,
397
+ _sfc_main$1o as VcEntityVerticalEditForm,
398
+ _sfc_main$1a as VcExcelFileUploader,
396
399
  _sfc_main$o as VcExtendedDatetimeRangePicker,
397
400
  VcFileUploader,
398
- _sfc_main$Y as VcForm,
399
- _sfc_main$Z as VcFormItem,
400
- _sfc_main$17 as VcHtmlEditor,
401
- _sfc_main$$ as VcHyperLink,
401
+ _sfc_main$Z as VcForm,
402
+ _sfc_main$_ as VcFormItem,
403
+ _sfc_main$18 as VcHtmlEditor,
404
+ _sfc_main$10 as VcHyperLink,
402
405
  _sfc_main$3 as VcIcon,
403
406
  VcIconList,
404
- _sfc_main$10 as VcIconPicker,
405
- _sfc_main$1a as VcImageUploader,
407
+ _sfc_main$11 as VcIconPicker,
408
+ _sfc_main$1b as VcImageUploader,
406
409
  _sfc_main$b as VcInfiniteScrollSelect,
407
410
  _sfc_main$4 as VcInput,
408
411
  _sfc_main$6 as VcInputError,
409
412
  _sfc_main$7 as VcInputLabel,
410
413
  _sfc_main$5 as VcInputNumber,
411
- _sfc_main$16 as VcJsonSchema,
414
+ _sfc_main$17 as VcJsonSchema,
412
415
  VcLoading,
413
- _sfc_main$13 as VcMdEditor,
414
- _sfc_main$11 as VcMeterGroup,
415
- _sfc_main$12 as VcMeterGroupLabel,
416
+ _sfc_main$14 as VcMdEditor,
417
+ _sfc_main$12 as VcMeterGroup,
418
+ _sfc_main$13 as VcMeterGroupLabel,
416
419
  _sfc_main$u as VcModal,
417
- _sfc_main$X as VcNotification,
420
+ _sfc_main$Y as VcNotification,
418
421
  VcNotifySymbol,
419
422
  _sfc_main$s as VcOtpInput,
420
- _sfc_main$L as VcPagination,
421
- _sfc_main$18 as VcPdfDocument,
423
+ _sfc_main$M as VcPagination,
424
+ _sfc_main$19 as VcPdfDocument,
422
425
  _sfc_main$q as VcPhoneInput,
423
426
  default14 as VcPlayerPlayStopButton,
424
427
  default12 as VcPlayerPlaybackRate,
425
428
  default13 as VcPlayerPlaybackRatePopup,
426
429
  default15 as VcPlayerSkipButtons,
427
- _sfc_main$1p as VcPluginOverlays,
430
+ _sfc_main$y as VcPluginOverlays,
428
431
  _sfc_main$w as VcPopover,
429
- _sfc_main$U as VcProgress,
430
- _sfc_main$V as VcProgressCircular,
432
+ _sfc_main$V as VcProgress,
433
+ _sfc_main$W as VcProgressCircular,
431
434
  _sfc_main$f as VcRadio,
432
435
  _sfc_main$h as VcRadioButtonsGroup,
433
436
  _sfc_main$g as VcRadioGroup,
434
- _sfc_main$D as VcRadioTabs,
435
- _sfc_main$E as VcRadioTabsNav,
436
- _sfc_main$T as VcSegmented,
437
+ _sfc_main$E as VcRadioTabs,
438
+ _sfc_main$F as VcRadioTabsNav,
439
+ _sfc_main$U as VcSegmented,
437
440
  _sfc_main$8 as VcSelect,
438
441
  _sfc_main$9 as VcSelectGrouped,
439
442
  _sfc_main$a as VcSelectOption,
440
- _sfc_main$y as VcSelectPopover,
441
- _sfc_main$1c as VcSipFlow,
442
- _sfc_main$W as VcSkeletonLoader,
443
+ _sfc_main$z as VcSelectPopover,
444
+ _sfc_main$1d as VcSipFlow,
445
+ _sfc_main$X as VcSkeletonLoader,
443
446
  _sfc_main$j as VcSlider,
444
447
  default16 as VcSoundCurrentTime,
445
448
  default17 as VcSoundDuration,
446
- _sfc_main$15 as VcSoundPlayer,
449
+ _sfc_main$16 as VcSoundPlayer,
447
450
  default18 as VcSoundPlayerError,
448
451
  default19 as VcSoundPlayerProgress,
449
452
  VcSoundPlayerProvideKey,
450
453
  default20 as VcSoundPlayerWrapper,
451
454
  default21 as VcSoundVolume,
452
- _sfc_main$R as VcSparkline,
453
- _sfc_main$_ as VcSplitButton,
455
+ _sfc_main$S as VcSparkline,
456
+ _sfc_main$$ as VcSplitButton,
454
457
  _sfc_main$i as VcSwitch,
455
- _sfc_main$14 as VcSystemUserPrompt,
456
- _sfc_main$A as VcTabNav,
457
- _sfc_main$B as VcTabPane,
458
+ _sfc_main$15 as VcSystemUserPrompt,
459
+ _sfc_main$B as VcTabNav,
460
+ _sfc_main$C as VcTabPane,
458
461
  VcTabPaneProvideKey,
459
- _sfc_main$K as VcTable,
460
- _sfc_main$z as VcTabs,
462
+ _sfc_main$L as VcTable,
463
+ _sfc_main$A as VcTabs,
461
464
  VcTabsProvideKey,
462
- _sfc_main$P as VcTag,
465
+ _sfc_main$Q as VcTag,
463
466
  _sfc_main$r as VcTagInput,
464
467
  _sfc_main$p as VcTimeInput,
465
468
  _sfc_main$2 as VcToggleButton,
466
- _sfc_main$1b as VcTour,
467
- _sfc_main$O as VcTransfer,
468
- _sfc_main$M as VcTree,
469
- _sfc_main$N as VcTreeSelect,
470
- _sfc_main$C as VcVerticalTabs,
471
- _sfc_main$S as VcViewSwitcher,
472
- _sfc_main$H as VcWizard,
469
+ _sfc_main$1c as VcTour,
470
+ _sfc_main$P as VcTransfer,
471
+ _sfc_main$N as VcTree,
472
+ _sfc_main$O as VcTreeSelect,
473
+ _sfc_main$D as VcVerticalTabs,
474
+ _sfc_main$T as VcViewSwitcher,
475
+ _sfc_main$I as VcWizard,
473
476
  default9 as ZIndexUtils,
474
477
  add,
475
478
  addDays,
Binary file
Binary file
@@ -6,11 +6,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
6
6
  default: undefined;
7
7
  };
8
8
  size: {
9
- type: import("vue").PropType<"" | "small" | "default" | "large">;
9
+ type: import("vue").PropType<"" | "default" | "small" | "large">;
10
10
  default: string;
11
11
  };
12
12
  color: {
13
- type: import("vue").PropType<"" | "primary" | "secondary" | "destructive" | "success" | "warning" | "active" | "primary-alternative">;
13
+ type: import("vue").PropType<"" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative">;
14
14
  default: string;
15
15
  };
16
16
  disabled: {
@@ -88,11 +88,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
88
88
  default: undefined;
89
89
  };
90
90
  size: {
91
- type: import("vue").PropType<"" | "small" | "default" | "large">;
91
+ type: import("vue").PropType<"" | "default" | "small" | "large">;
92
92
  default: string;
93
93
  };
94
94
  color: {
95
- type: import("vue").PropType<"" | "primary" | "secondary" | "destructive" | "success" | "warning" | "active" | "primary-alternative">;
95
+ type: import("vue").PropType<"" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative">;
96
96
  default: string;
97
97
  };
98
98
  disabled: {
@@ -165,8 +165,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
165
165
  onSelect?: ((pl: unknown) => any) | undefined;
166
166
  }>, {
167
167
  id: string;
168
- size: "" | "small" | "default" | "large";
169
- color: "" | "primary" | "secondary" | "destructive" | "success" | "warning" | "active" | "primary-alternative";
168
+ size: "" | "default" | "small" | "large";
169
+ color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
170
170
  disabled: boolean;
171
171
  name: string;
172
172
  placeholder: string;
@@ -61,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
61
61
  }>, {
62
62
  size: ButtonSize;
63
63
  icon: TIcon;
64
- color: "" | "primary" | "secondary" | "destructive" | "success" | "warning" | "active" | "primary-alternative";
64
+ color: "" | "success" | "warning" | "primary" | "secondary" | "destructive" | "active" | "primary-alternative";
65
65
  type: ButtonType;
66
66
  loading: boolean;
67
67
  disabled: boolean;