@voicenter-team/voicenter-ui-plus 1.1.9 → 1.1.11
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 +9 -0
- package/library/{VcExcelFileUploader-BB1fDgNe.mjs → VcExcelFileUploader-CS2GuBO1.mjs} +7 -6
- package/library/VcExcelFileUploader-CS2GuBO1.mjs.br +0 -0
- package/library/VcExcelFileUploader-CS2GuBO1.mjs.gz +0 -0
- package/library/{VcImageUploader-DDO2aHzY.mjs → VcImageUploader-Dhr8eDnD.mjs} +1 -1
- package/library/VcImageUploader-Dhr8eDnD.mjs.br +0 -0
- package/library/VcImageUploader-Dhr8eDnD.mjs.gz +0 -0
- package/library/{VcJsonSchema-D_jjYCYk.mjs → VcJsonSchema-DGmDjU6v.mjs} +2 -2
- package/library/VcJsonSchema-DGmDjU6v.mjs.br +0 -0
- package/library/VcJsonSchema-DGmDjU6v.mjs.gz +0 -0
- package/library/{VcMdEditor-CHVEkVxe.mjs → VcMdEditor-Bt5y6tBa.mjs} +1 -1
- package/library/{VcMdEditor.vue_vue_type_script_setup_true_lang-BNAfGCSi.mjs → VcMdEditor.vue_vue_type_script_setup_true_lang-QWW7p3Vy.mjs} +92 -27
- package/library/VcMdEditor.vue_vue_type_script_setup_true_lang-QWW7p3Vy.mjs.br +0 -0
- package/library/VcMdEditor.vue_vue_type_script_setup_true_lang-QWW7p3Vy.mjs.gz +0 -0
- package/library/{VcPdfDocument-AbZg2tNY.mjs → VcPdfDocument-DR0A6quE.mjs} +1 -1
- package/library/VcPdfDocument-DR0A6quE.mjs.br +0 -0
- package/library/VcPdfDocument-DR0A6quE.mjs.gz +0 -0
- package/library/{VcSoundPlayer-BFXJFcVP.mjs → VcSoundPlayer-C06hFke-.mjs} +1 -1
- package/library/VcSoundPlayer-C06hFke-.mjs.br +0 -0
- package/library/VcSoundPlayer-C06hFke-.mjs.gz +0 -0
- package/library/{VcSparkline-BFGw7UTo.mjs → VcSparkline-C5AXodRj.mjs} +1 -1
- package/library/VcSparkline-C5AXodRj.mjs.br +0 -0
- package/library/VcSparkline-C5AXodRj.mjs.gz +0 -0
- package/library/{VcSystemUserPrompt-C6LGfGlq.mjs → VcSystemUserPrompt-B1Ir8dip.mjs} +2 -2
- package/library/VcSystemUserPrompt-B1Ir8dip.mjs.br +0 -0
- package/library/VcSystemUserPrompt-B1Ir8dip.mjs.gz +0 -0
- package/library/{VcTour-D3bHy1e6.mjs → VcTour-cZbQChqr.mjs} +2 -2
- package/library/VcTour-cZbQChqr.mjs.br +0 -0
- package/library/VcTour-cZbQChqr.mjs.gz +0 -0
- package/library/{VcTransfer-BJgQ_LiQ.mjs → VcTransfer-QcW8eLCd.mjs} +1 -1
- package/library/VcTransfer-QcW8eLCd.mjs.br +0 -0
- package/library/VcTransfer-QcW8eLCd.mjs.gz +0 -0
- package/library/{VcTree-CkGNFp7Z.mjs → VcTree-DuXcGH5e.mjs} +1 -1
- package/library/{VcTree.vue_vue_type_style_index_0_lang-BgCBDQPB.mjs → VcTree.vue_vue_type_style_index_0_lang-DAFzaW4g.mjs} +1 -1
- package/library/VcTree.vue_vue_type_style_index_0_lang-DAFzaW4g.mjs.br +0 -0
- package/library/VcTree.vue_vue_type_style_index_0_lang-DAFzaW4g.mjs.gz +0 -0
- package/library/{VcTreeSelect-BZALo8uC.mjs → VcTreeSelect-D1qwaPJs.mjs} +2 -2
- package/library/VcTreeSelect-D1qwaPJs.mjs.br +0 -0
- package/library/VcTreeSelect-D1qwaPJs.mjs.gz +0 -0
- package/library/{_isIterateeCall-Dgbf70Io.mjs → _isIterateeCall-32_Z47NQ.mjs} +1 -1
- package/library/{entry-TiJUzuiF.mjs → entry-Dr_rNqL7.mjs} +365 -289
- package/library/entry-Dr_rNqL7.mjs.br +0 -0
- package/library/entry-Dr_rNqL7.mjs.gz +0 -0
- package/library/{floating-ui.dom-6ehT8x0K.mjs → floating-ui.dom-BNJk6hdj.mjs} +1 -1
- package/library/floating-ui.dom-BNJk6hdj.mjs.br +0 -0
- package/library/floating-ui.dom-BNJk6hdj.mjs.gz +0 -0
- package/library/{index-CFS-fBg5.mjs → index-CZZ_wkod.mjs} +1 -1
- package/library/index-CZZ_wkod.mjs.br +0 -0
- package/library/index-CZZ_wkod.mjs.gz +0 -0
- package/library/{index-Bx6epxeY.mjs → index-CafvpLmY.mjs} +1 -1
- package/library/index-CafvpLmY.mjs.br +0 -0
- package/library/index-CafvpLmY.mjs.gz +0 -0
- package/library/{index-Hy7rJ7et.mjs → index-CycDxY2A.mjs} +1 -1
- package/library/index-CycDxY2A.mjs.br +0 -0
- package/library/index-CycDxY2A.mjs.gz +0 -0
- package/library/{index-CddQrDT-.mjs → index-DZ6kLEcc.mjs} +1 -1
- package/library/index-DZ6kLEcc.mjs.br +0 -0
- package/library/index-DZ6kLEcc.mjs.gz +0 -0
- package/library/{index-C0B1Q7aS.mjs → index-HnQK1QlX.mjs} +1 -1
- package/library/index-HnQK1QlX.mjs.br +0 -0
- package/library/index-HnQK1QlX.mjs.gz +0 -0
- package/library/{index-CKVRCfDo.mjs → index-QRrSECS4.mjs} +1 -1
- package/library/index-QRrSECS4.mjs.br +0 -0
- package/library/{index-CKVRCfDo.mjs.gz → index-QRrSECS4.mjs.gz} +0 -0
- package/library/style.css +1 -1
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/super.mjs +160 -160
- package/library/super.mjs.br +0 -0
- package/library/super.mjs.gz +0 -0
- package/library/super.umd.js +4 -4
- package/library/super.umd.js.br +0 -0
- package/library/super.umd.js.gz +0 -0
- package/library/types/components/VcWizard/VcWizard.vue.d.ts +5 -1
- package/library/types/types/VcWizard.types.d.ts +7 -1
- package/package.json +1 -1
- package/tailwind.config.js +190 -190
- package/library/VcExcelFileUploader-BB1fDgNe.mjs.br +0 -0
- package/library/VcExcelFileUploader-BB1fDgNe.mjs.gz +0 -0
- package/library/VcImageUploader-DDO2aHzY.mjs.br +0 -0
- package/library/VcImageUploader-DDO2aHzY.mjs.gz +0 -0
- package/library/VcJsonSchema-D_jjYCYk.mjs.br +0 -0
- package/library/VcJsonSchema-D_jjYCYk.mjs.gz +0 -0
- package/library/VcMdEditor.vue_vue_type_script_setup_true_lang-BNAfGCSi.mjs.br +0 -0
- package/library/VcMdEditor.vue_vue_type_script_setup_true_lang-BNAfGCSi.mjs.gz +0 -0
- package/library/VcPdfDocument-AbZg2tNY.mjs.br +0 -0
- package/library/VcPdfDocument-AbZg2tNY.mjs.gz +0 -0
- package/library/VcSoundPlayer-BFXJFcVP.mjs.br +0 -0
- package/library/VcSoundPlayer-BFXJFcVP.mjs.gz +0 -0
- package/library/VcSparkline-BFGw7UTo.mjs.br +0 -0
- package/library/VcSparkline-BFGw7UTo.mjs.gz +0 -0
- package/library/VcSystemUserPrompt-C6LGfGlq.mjs.br +0 -0
- package/library/VcSystemUserPrompt-C6LGfGlq.mjs.gz +0 -0
- package/library/VcTour-D3bHy1e6.mjs.br +0 -0
- package/library/VcTour-D3bHy1e6.mjs.gz +0 -0
- package/library/VcTransfer-BJgQ_LiQ.mjs.br +0 -0
- package/library/VcTransfer-BJgQ_LiQ.mjs.gz +0 -0
- package/library/VcTree.vue_vue_type_style_index_0_lang-BgCBDQPB.mjs.br +0 -0
- package/library/VcTree.vue_vue_type_style_index_0_lang-BgCBDQPB.mjs.gz +0 -0
- package/library/VcTreeSelect-BZALo8uC.mjs.br +0 -0
- package/library/VcTreeSelect-BZALo8uC.mjs.gz +0 -0
- package/library/entry-TiJUzuiF.mjs.br +0 -0
- package/library/entry-TiJUzuiF.mjs.gz +0 -0
- package/library/floating-ui.dom-6ehT8x0K.mjs.br +0 -0
- package/library/floating-ui.dom-6ehT8x0K.mjs.gz +0 -0
- package/library/index-Bx6epxeY.mjs.br +0 -0
- package/library/index-Bx6epxeY.mjs.gz +0 -0
- package/library/index-C0B1Q7aS.mjs.br +0 -0
- package/library/index-C0B1Q7aS.mjs.gz +0 -0
- package/library/index-CFS-fBg5.mjs.br +0 -0
- package/library/index-CFS-fBg5.mjs.gz +0 -0
- package/library/index-CKVRCfDo.mjs.br +0 -0
- package/library/index-CddQrDT-.mjs.br +0 -0
- package/library/index-CddQrDT-.mjs.gz +0 -0
- package/library/index-Hy7rJ7et.mjs.br +0 -0
- package/library/index-Hy7rJ7et.mjs.gz +0 -0
package/README.md
CHANGED
|
@@ -338,6 +338,15 @@ const formattedDeadline = format(deadline, 'DD/MM/YYYY HH:mm')
|
|
|
338
338
|
### Live Documentation
|
|
339
339
|
Visit [documentation](https://voicenter-ui.netlify.app/) for interactive component examples and demos.
|
|
340
340
|
|
|
341
|
+
## Migration Notes
|
|
342
|
+
|
|
343
|
+
### Wizard step hooks rename
|
|
344
|
+
|
|
345
|
+
- `beforeStepFn` is renamed to `validateStepFn`.
|
|
346
|
+
- `onEnterStepFn` is renamed to `initStepFn`.
|
|
347
|
+
- Backward compatibility is preserved for now, but new code should use the new names.
|
|
348
|
+
- Wizard documentation examples already use the new hook names.
|
|
349
|
+
|
|
341
350
|
### Project Documentation
|
|
342
351
|
For detailed technical documentation, see the [`docs/`](./docs/) directory:
|
|
343
352
|
|
|
@@ -2,8 +2,8 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { defineComponent, ref, resolveComponent, createElementBlock, openBlock, createElementVNode, renderSlot, withModifiers, createVNode, toDisplayString, withCtx, createTextVNode, createCommentVNode, mergeProps, computed, watch, unref, isRef, createSlots, renderList, Fragment, createBlock, normalizeClass, nextTick } from "vue";
|
|
5
|
-
import { _ as _export_sfc, u as useVModel,
|
|
6
|
-
import { _ as _isIterateeCall } from "./_isIterateeCall-
|
|
5
|
+
import { _ as _export_sfc, u as useVModel, P as _sfc_main$7, Q as toNumber_1, y as getDefaultExportFromCjs, R as _sfc_main$8 } from "./entry-Dr_rNqL7.mjs";
|
|
6
|
+
import { _ as _isIterateeCall } from "./_isIterateeCall-32_Z47NQ.mjs";
|
|
7
7
|
const sheetJSFT = [
|
|
8
8
|
"xlsx",
|
|
9
9
|
"xlsb",
|
|
@@ -27915,8 +27915,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27915
27915
|
let isValid = true;
|
|
27916
27916
|
const stepsToValidate = wizardSteps.value.slice(0, step) || [];
|
|
27917
27917
|
for (const [index, stepItem] of stepsToValidate.entries()) {
|
|
27918
|
-
|
|
27919
|
-
|
|
27918
|
+
const validateStepFn2 = stepItem.validateStepFn || stepItem.beforeStepFn;
|
|
27919
|
+
if (validateStepFn2) {
|
|
27920
|
+
const result = await validateStepFn2();
|
|
27920
27921
|
if (!result) {
|
|
27921
27922
|
isValid = false;
|
|
27922
27923
|
currentStep.value = index;
|
|
@@ -27991,13 +27992,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27991
27992
|
step: "import-file",
|
|
27992
27993
|
label: "",
|
|
27993
27994
|
icon: "vc-icon-settings",
|
|
27994
|
-
|
|
27995
|
+
validateStepFn: importFileStepValidate
|
|
27995
27996
|
},
|
|
27996
27997
|
{
|
|
27997
27998
|
step: "parsed-table",
|
|
27998
27999
|
label: "",
|
|
27999
28000
|
icon: "vc-icon-settings",
|
|
28000
|
-
|
|
28001
|
+
validateStepFn: secondStepValidate
|
|
28001
28002
|
}
|
|
28002
28003
|
]);
|
|
28003
28004
|
watch(
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createBlock, openBlock, renderSlot, resolveComponent, createVNode, withCtx, Fragment, renderList, resolveDynamicComponent, withDirectives, vShow, mergeProps, createCommentVNode, withModifiers, defineComponent, ref, computed, createElementBlock, createElementVNode, createTextVNode, toDisplayString, TransitionGroup, unref } from "vue";
|
|
2
|
-
import { t as tVU,
|
|
2
|
+
import { t as tVU, T as _sfc_main$1 } from "./entry-Dr_rNqL7.mjs";
|
|
3
3
|
function getMimeTypeFromBuffer(file, fallback) {
|
|
4
4
|
const byteArray = new Uint8Array(file).subarray(0, 4);
|
|
5
5
|
let header = "";
|
|
Binary file
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref, defineComponent, computed, watch, resolveComponent, createElementBlock, openBlock, createVNode, unref, withCtx, createTextVNode, toDisplayString, reactive, createBlock, createElementVNode, createCommentVNode, Fragment, renderList, normalizeClass, resolveDynamicComponent, mergeProps, nextTick, useCssVars, renderSlot, normalizeStyle } from "vue";
|
|
2
|
-
import { t as tVU,
|
|
2
|
+
import { t as tVU, U as _sfc_main$6, V as _sfc_main$7, W as _sfc_main$8, X as _sfc_main$9, Y as _sfc_main$a, Z as cloneDeep, $ as _sfc_main$b, u as useVModel, a0 as _defineProperty, a1 as _arrayMap, a2 as _SetCache, a3 as _baseUnary, a4 as _cacheHas, a5 as _Symbol, a6 as isArray_1, a7 as isArguments_1, a8 as _arrayPush, a9 as _setToArray, aa as _Set, ab as isObjectLike_1, ac as isArrayLike_1, y as getDefaultExportFromCjs, ad as _arrayFilter, ae as eq_1, af as _baseAssignValue, ag as _baseGetTag, ah as _getPrototype, ai as _copyObject, aj as keysIn_1, ak as isBufferExports, al as isTypedArray_1, am as _copyArray, an as _cloneBufferExports, ao as _cloneTypedArray, ap as isObject_1, aq as isFunction_1, ar as _initCloneObject, as as _Stack, at as keys, au as isEqual, B as convertToUnit } from "./entry-Dr_rNqL7.mjs";
|
|
3
3
|
import { jsonParseLinter, json } from "./index-DAZyI_DA.mjs";
|
|
4
4
|
import { $ as oe } from "./index.es-DmfNOyqW.mjs";
|
|
5
|
-
import { _ as _isIterateeCall } from "./_isIterateeCall-
|
|
5
|
+
import { _ as _isIterateeCall } from "./_isIterateeCall-32_Z47NQ.mjs";
|
|
6
6
|
function useCopyButton() {
|
|
7
7
|
const copyTextAction = ref(tVU.t("voicenterUi.general.copy"));
|
|
8
8
|
const copyDisabled = ref(false);
|
|
Binary file
|
|
Binary file
|
|
@@ -9,8 +9,8 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
9
9
|
var _watchers, _value, _emit, _meta, _container, _clock, _injectedSlices, _consumedSlices, _recordedTimers, _waitTimers, _getSlice, _getTimer, _container2, _clock2, _meta2, _inspector, _promise, _listener, _eventUniqId, _status, _removeListener, _waitTimeout, _container3, _ctx2, _ctx3, _keymap, _enableInspector, _status2, _configureList, _onStatusChange, _container4, _clock3, _usrPluginStore, _sysPluginStore, _ctx4, _loadInternal, _prepare, _cleanup, _cleanupInternal, _setStatus, _loadPluginInStore, _ctx5, _createSelection, _activeSelection, _active, _activeDOMRect, _dragging, _BlockService_instances, filterNodes_get, view_get, _notify, _hide2, _show2, _handleMouseDown, _handleMouseUp, _handleDragStart, _mousemoveCallback, _dragEnd, _element, _ctx6, _service, _activeNode, _root, _initialized, _middleware, _floatingUIOptions, _getOffset, _getPosition, _getPlacement, _BlockProvider_instances, init_fn, _initialized2, _middleware2, _floatingUIOptions2, _root2, _debounce, _trigger, _shouldShow2, _updater, _offset, _onUpdate, _SlashProvider_instances, _shouldShow_fn, _debounce2, _shouldShow3, _middleware3, _floatingUIOptions3, _root3, _initialized3, _offset2, _shift, _updater2, _onUpdate2, _TooltipProvider_instances, _shouldShow_fn2;
|
|
10
10
|
import { defineComponent, ref, provide, createVNode, Fragment as Fragment$1, inject, onMounted, onUnmounted, h, createApp, watchEffect, computed, watch, shallowRef, getCurrentInstance, markRaw, onBeforeMount, Teleport, toRef, resolveComponent, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, withModifiers, toDisplayString, withDirectives, createBlock, normalizeStyle, vShow, withCtx, renderList, useAttrs, nextTick, mergeProps, isRef } from "vue";
|
|
11
11
|
import { L as LanguageDescription, a as LanguageSupport, S as StreamLanguage, E as EditorView$1, s as syntaxHighlighting, H as HighlightStyle, t as tags$1, k as keyName, b as base, C as Compartment, d as drawSelection, c as keymap$4, e as EditorState$1, f as basicSetup, g as defaultKeymap, i as indentWithTab, P as Parser$1, N as NodeType$2, h as NodeProp, T as Tag, j as NodeSet, l as styleTags, p as parseMixed, m as Tree, n as LRParser, o as ExternalTokenizer, q as ContextTracker, r as LocalTokenGroup, u as LRLanguage, v as indentNodeProp, w as foldNodeProp, x as continuedIndent, y as foldInside, z as syntaxTree, A as NodeWeakMap, I as IterMode, B as delimitedIndent, D as flatIndent, F as sublanguageProp, G as defineLanguageFacet, J as snippetCompletion, K as ifNotIn, M as completeFromList, O as EditorSelection, Q as bracketMatchingHandle, R as Prec, U as Language, V as foldService, W as countColumn, X as indentUnit, Y as CompletionContext, Z as languageDataProp, _ as ParseContext$1, $ as oe } from "./index.es-DmfNOyqW.mjs";
|
|
12
|
-
import { s as setToString, o as overRest, i as identity, a as isObject, b as isArrayLike, c as isIndex, e as eq, d as baseAssignValue, f as isObjectLike, g as copyObject, k as keysIn, h as isBuffer, j as isTypedArray, l as isArray$1, m as copyArray, n as cloneBuffer, p as cloneTypedArray, q as isArguments, r as isFunction, v as initCloneObject, S as Stack$1, w as apply$2, x as debounce, y as getDefaultExportFromCjs, _ as _export_sfc, t as tVU, z as useZIndex, A as _sfc_main$4, u as useVModel, B as convertToUnit } from "./entry-
|
|
13
|
-
import { i as isPlainObject$2, f as flip, o as offset, c as computePosition, s as shift } from "./floating-ui.dom-
|
|
12
|
+
import { s as setToString, o as overRest, i as identity, a as isObject, b as isArrayLike, c as isIndex, e as eq, d as baseAssignValue, f as isObjectLike, g as copyObject, k as keysIn, h as isBuffer, j as isTypedArray, l as isArray$1, m as copyArray, n as cloneBuffer, p as cloneTypedArray, q as isArguments, r as isFunction, v as initCloneObject, S as Stack$1, w as apply$2, x as debounce, y as getDefaultExportFromCjs, _ as _export_sfc, t as tVU, z as useZIndex, A as _sfc_main$4, E as ElTooltip, u as useVModel, B as convertToUnit } from "./entry-Dr_rNqL7.mjs";
|
|
13
|
+
import { i as isPlainObject$2, f as flip, o as offset, c as computePosition, s as shift } from "./floating-ui.dom-BNJk6hdj.mjs";
|
|
14
14
|
function baseRest(func, start) {
|
|
15
15
|
return setToString(overRest(func, start, identity), func + "");
|
|
16
16
|
}
|
|
@@ -319,14 +319,14 @@ const languages = [
|
|
|
319
319
|
name: "LESS",
|
|
320
320
|
extensions: ["less"],
|
|
321
321
|
load() {
|
|
322
|
-
return import("./index-
|
|
322
|
+
return import("./index-DZ6kLEcc.mjs").then((m2) => m2.less());
|
|
323
323
|
}
|
|
324
324
|
}),
|
|
325
325
|
/* @__PURE__ */ LanguageDescription.of({
|
|
326
326
|
name: "Liquid",
|
|
327
327
|
extensions: ["liquid"],
|
|
328
328
|
load() {
|
|
329
|
-
return import("./index-
|
|
329
|
+
return import("./index-CZZ_wkod.mjs").then((m2) => m2.liquid());
|
|
330
330
|
}
|
|
331
331
|
}),
|
|
332
332
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -358,7 +358,7 @@ const languages = [
|
|
|
358
358
|
name: "PHP",
|
|
359
359
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
360
360
|
load() {
|
|
361
|
-
return import("./index-
|
|
361
|
+
return import("./index-QRrSECS4.mjs").then((m2) => m2.php());
|
|
362
362
|
}
|
|
363
363
|
}),
|
|
364
364
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -393,14 +393,14 @@ const languages = [
|
|
|
393
393
|
name: "Sass",
|
|
394
394
|
extensions: ["sass"],
|
|
395
395
|
load() {
|
|
396
|
-
return import("./index-
|
|
396
|
+
return import("./index-HnQK1QlX.mjs").then((m2) => m2.sass({ indented: true }));
|
|
397
397
|
}
|
|
398
398
|
}),
|
|
399
399
|
/* @__PURE__ */ LanguageDescription.of({
|
|
400
400
|
name: "SCSS",
|
|
401
401
|
extensions: ["scss"],
|
|
402
402
|
load() {
|
|
403
|
-
return import("./index-
|
|
403
|
+
return import("./index-HnQK1QlX.mjs").then((m2) => m2.sass());
|
|
404
404
|
}
|
|
405
405
|
}),
|
|
406
406
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -1247,13 +1247,13 @@ const languages = [
|
|
|
1247
1247
|
name: "Vue",
|
|
1248
1248
|
extensions: ["vue"],
|
|
1249
1249
|
load() {
|
|
1250
|
-
return import("./index-
|
|
1250
|
+
return import("./index-CycDxY2A.mjs").then((m2) => m2.vue());
|
|
1251
1251
|
}
|
|
1252
1252
|
}),
|
|
1253
1253
|
/* @__PURE__ */ LanguageDescription.of({
|
|
1254
1254
|
name: "Angular Template",
|
|
1255
1255
|
load() {
|
|
1256
|
-
return import("./index-
|
|
1256
|
+
return import("./index-CafvpLmY.mjs").then((m2) => m2.angular());
|
|
1257
1257
|
}
|
|
1258
1258
|
})
|
|
1259
1259
|
];
|
|
@@ -61900,6 +61900,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
61900
61900
|
const listPopoverRef = ref();
|
|
61901
61901
|
const advancedPopoverRef = ref();
|
|
61902
61902
|
const parameterPopoverRef = ref();
|
|
61903
|
+
const textActionsTooltipRef = ref();
|
|
61904
|
+
const listActionsTooltipRef = ref();
|
|
61905
|
+
const addActionsTooltipRef = ref();
|
|
61906
|
+
const paramsActionsTooltipRef = ref();
|
|
61903
61907
|
const emit = __emit;
|
|
61904
61908
|
function closeAllPopovers() {
|
|
61905
61909
|
var _a, _b, _c;
|
|
@@ -61921,7 +61925,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
61921
61925
|
(_a = parameterPopoverRef.value) == null ? void 0 : _a.hide();
|
|
61922
61926
|
}
|
|
61923
61927
|
return (_ctx7, _cache) => {
|
|
61924
|
-
var _a;
|
|
61928
|
+
var _a, _b;
|
|
61925
61929
|
const _component_VcButton = resolveComponent("VcButton");
|
|
61926
61930
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
61927
61931
|
createElementVNode("div", _hoisted_2$1, [
|
|
@@ -61936,6 +61940,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
61936
61940
|
}, {
|
|
61937
61941
|
reference: withCtx(() => [
|
|
61938
61942
|
createVNode(_component_VcButton, {
|
|
61943
|
+
ref_key: "textActionsTooltipRef",
|
|
61944
|
+
ref: textActionsTooltipRef,
|
|
61939
61945
|
color: NAV_ACTIONS_COLOR,
|
|
61940
61946
|
icon: "vc-lc-heading",
|
|
61941
61947
|
type: "borderless",
|
|
@@ -61945,7 +61951,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
61945
61951
|
createElementVNode("span", _hoisted_3$1, toDisplayString(_ctx7.$tVU.t("voicenterUi.mdEditor.textAction")), 1)
|
|
61946
61952
|
]),
|
|
61947
61953
|
_: 1
|
|
61948
|
-
})
|
|
61954
|
+
}, 512)
|
|
61949
61955
|
]),
|
|
61950
61956
|
default: withCtx(() => [
|
|
61951
61957
|
createElementVNode("div", _hoisted_4$1, [
|
|
@@ -61988,6 +61994,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
61988
61994
|
}, {
|
|
61989
61995
|
reference: withCtx(() => [
|
|
61990
61996
|
createVNode(_component_VcButton, {
|
|
61997
|
+
ref_key: "listActionsTooltipRef",
|
|
61998
|
+
ref: listActionsTooltipRef,
|
|
61991
61999
|
color: NAV_ACTIONS_COLOR,
|
|
61992
62000
|
icon: "vc-lc-list",
|
|
61993
62001
|
type: "borderless",
|
|
@@ -61997,7 +62005,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
61997
62005
|
createElementVNode("span", _hoisted_7, toDisplayString(_ctx7.$tVU.t("voicenterUi.mdEditor.listAction")), 1)
|
|
61998
62006
|
]),
|
|
61999
62007
|
_: 1
|
|
62000
|
-
})
|
|
62008
|
+
}, 512)
|
|
62001
62009
|
]),
|
|
62002
62010
|
default: withCtx(() => [
|
|
62003
62011
|
createElementVNode("div", _hoisted_8, [
|
|
@@ -62040,6 +62048,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
62040
62048
|
}, {
|
|
62041
62049
|
reference: withCtx(() => [
|
|
62042
62050
|
createVNode(_component_VcButton, {
|
|
62051
|
+
ref_key: "addActionsTooltipRef",
|
|
62052
|
+
ref: addActionsTooltipRef,
|
|
62043
62053
|
color: NAV_ACTIONS_COLOR,
|
|
62044
62054
|
icon: "vc-lc-file-code-2",
|
|
62045
62055
|
type: "borderless",
|
|
@@ -62049,7 +62059,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
62049
62059
|
createElementVNode("span", _hoisted_11, toDisplayString(_ctx7.$tVU.t("voicenterUi.mdEditor.advanceAction")), 1)
|
|
62050
62060
|
]),
|
|
62051
62061
|
_: 1
|
|
62052
|
-
})
|
|
62062
|
+
}, 512)
|
|
62053
62063
|
]),
|
|
62054
62064
|
default: withCtx(() => [
|
|
62055
62065
|
createElementVNode("div", _hoisted_12, [
|
|
@@ -62094,6 +62104,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
62094
62104
|
}, {
|
|
62095
62105
|
reference: withCtx(() => [
|
|
62096
62106
|
createVNode(_component_VcButton, {
|
|
62107
|
+
ref_key: "paramsActionsTooltipRef",
|
|
62108
|
+
ref: paramsActionsTooltipRef,
|
|
62097
62109
|
color: NAV_ACTIONS_COLOR,
|
|
62098
62110
|
icon: "vc-lc-braces",
|
|
62099
62111
|
type: "borderless",
|
|
@@ -62103,7 +62115,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
62103
62115
|
createElementVNode("span", _hoisted_15, toDisplayString(_ctx7.$tVU.t("voicenterUi.mdEditor.toolbar.parameter")), 1)
|
|
62104
62116
|
]),
|
|
62105
62117
|
_: 1
|
|
62106
|
-
})
|
|
62118
|
+
}, 512)
|
|
62107
62119
|
]),
|
|
62108
62120
|
default: withCtx(() => [
|
|
62109
62121
|
createElementVNode("div", _hoisted_16, [
|
|
@@ -62206,7 +62218,36 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
62206
62218
|
]),
|
|
62207
62219
|
_: 1
|
|
62208
62220
|
}, 8, ["teleported", "disabled"])
|
|
62209
|
-
])) : createCommentVNode("", true)
|
|
62221
|
+
])) : createCommentVNode("", true),
|
|
62222
|
+
createVNode(unref(ElTooltip), {
|
|
62223
|
+
content: _ctx7.$tVU.t("voicenterUi.mdEditor.toolbar.textActions"),
|
|
62224
|
+
"virtual-ref": textActionsTooltipRef.value,
|
|
62225
|
+
teleported: _ctx7.isTeleported,
|
|
62226
|
+
placement: "top",
|
|
62227
|
+
"virtual-triggering": ""
|
|
62228
|
+
}, null, 8, ["content", "virtual-ref", "teleported"]),
|
|
62229
|
+
createVNode(unref(ElTooltip), {
|
|
62230
|
+
content: _ctx7.$tVU.t("voicenterUi.mdEditor.toolbar.listActions"),
|
|
62231
|
+
"virtual-ref": listActionsTooltipRef.value,
|
|
62232
|
+
teleported: _ctx7.isTeleported,
|
|
62233
|
+
placement: "top",
|
|
62234
|
+
"virtual-triggering": ""
|
|
62235
|
+
}, null, 8, ["content", "virtual-ref", "teleported"]),
|
|
62236
|
+
createVNode(unref(ElTooltip), {
|
|
62237
|
+
content: _ctx7.$tVU.t("voicenterUi.mdEditor.toolbar.advanceActions"),
|
|
62238
|
+
"virtual-ref": addActionsTooltipRef.value,
|
|
62239
|
+
teleported: _ctx7.isTeleported,
|
|
62240
|
+
placement: "top",
|
|
62241
|
+
"virtual-triggering": ""
|
|
62242
|
+
}, null, 8, ["content", "virtual-ref", "teleported"]),
|
|
62243
|
+
createVNode(unref(ElTooltip), {
|
|
62244
|
+
disabled: !((_b = _ctx7.parameters) == null ? void 0 : _b.length),
|
|
62245
|
+
content: _ctx7.$tVU.t("voicenterUi.mdEditor.toolbar.parameters"),
|
|
62246
|
+
"virtual-ref": paramsActionsTooltipRef.value,
|
|
62247
|
+
teleported: _ctx7.isTeleported,
|
|
62248
|
+
placement: "top",
|
|
62249
|
+
"virtual-triggering": ""
|
|
62250
|
+
}, null, 8, ["disabled", "content", "virtual-ref", "teleported"])
|
|
62210
62251
|
]);
|
|
62211
62252
|
};
|
|
62212
62253
|
}
|
|
@@ -62359,18 +62400,42 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62359
62400
|
}, null, 8, ["parameters", "is-teleported"])) : createCommentVNode("", true)
|
|
62360
62401
|
]),
|
|
62361
62402
|
createElementVNode("div", _hoisted_3, [
|
|
62362
|
-
createVNode(
|
|
62363
|
-
|
|
62364
|
-
|
|
62365
|
-
},
|
|
62366
|
-
|
|
62367
|
-
|
|
62368
|
-
|
|
62369
|
-
|
|
62370
|
-
|
|
62371
|
-
|
|
62372
|
-
|
|
62373
|
-
},
|
|
62403
|
+
createVNode(unref(ElTooltip), {
|
|
62404
|
+
content: isCopied.value ? _ctx7.$tVU.t("voicenterUi.general.copied") : _ctx7.$tVU.t("voicenterUi.general.copyCode"),
|
|
62405
|
+
teleported: _ctx7.isTeleported
|
|
62406
|
+
}, {
|
|
62407
|
+
default: withCtx(() => [
|
|
62408
|
+
createVNode(_component_VcButtonIcon, {
|
|
62409
|
+
icon: isCopied.value ? "vc-lc-check" : "vc-lc-copy",
|
|
62410
|
+
onClick: onCopyContent
|
|
62411
|
+
}, null, 8, ["icon"])
|
|
62412
|
+
]),
|
|
62413
|
+
_: 1
|
|
62414
|
+
}, 8, ["content", "teleported"]),
|
|
62415
|
+
createVNode(unref(ElTooltip), {
|
|
62416
|
+
content: editorMode.value ? _ctx7.$tVU.t("voicenterUi.mdEditor.source") : _ctx7.$tVU.t("voicenterUi.mdEditor.editorMode"),
|
|
62417
|
+
teleported: _ctx7.isTeleported
|
|
62418
|
+
}, {
|
|
62419
|
+
default: withCtx(() => [
|
|
62420
|
+
createVNode(_component_VcButtonIcon, {
|
|
62421
|
+
icon: editorMode.value ? "vc-lc-code-xml" : "vc-lc-text-quote",
|
|
62422
|
+
onClick: _cache[0] || (_cache[0] = ($event) => editorMode.value = !editorMode.value)
|
|
62423
|
+
}, null, 8, ["icon"])
|
|
62424
|
+
]),
|
|
62425
|
+
_: 1
|
|
62426
|
+
}, 8, ["content", "teleported"]),
|
|
62427
|
+
createVNode(unref(ElTooltip), {
|
|
62428
|
+
content: alignMode.value === "rtl" ? _ctx7.$tVU.t("voicenterUi.general.alignLeft") : _ctx7.$tVU.t("voicenterUi.general.alignRight"),
|
|
62429
|
+
teleported: _ctx7.isTeleported
|
|
62430
|
+
}, {
|
|
62431
|
+
default: withCtx(() => [
|
|
62432
|
+
createVNode(_component_VcButtonIcon, {
|
|
62433
|
+
icon: alignMode.value === "rtl" ? "vc-lc-align-start-vertical" : "vc-lc-align-end-vertical",
|
|
62434
|
+
onClick: changeDirection
|
|
62435
|
+
}, null, 8, ["icon"])
|
|
62436
|
+
]),
|
|
62437
|
+
_: 1
|
|
62438
|
+
}, 8, ["content", "teleported"])
|
|
62374
62439
|
])
|
|
62375
62440
|
])) : createCommentVNode("", true),
|
|
62376
62441
|
createElementVNode("div", _hoisted_4, [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode, renderSlot, toDisplayString, ref, watch, onMounted, resolveComponent, withDirectives, normalizeStyle, createVNode, withModifiers, normalizeClass, computed, onBeforeUnmount, withCtx, createCommentVNode, Fragment, renderList, createBlock, createTextVNode, nextTick } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { M as getAugmentedNamespace, N as commonjsGlobal, y as getDefaultExportFromCjs, O as resize } from "./entry-Dr_rNqL7.mjs";
|
|
3
3
|
function _mergeNamespaces(n, m) {
|
|
4
4
|
for (var i = 0; i < m.length; i++) {
|
|
5
5
|
const e = m[i];
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, resolveComponent, createElementBlock, openBlock, createBlock, createCommentVNode, withCtx, createVNode, withDirectives, createElementVNode, normalizeClass, vShow, Fragment, renderList, withModifiers } from "vue";
|
|
2
|
-
import { D as DEFAULT_OPTIONS, C as _sfc_main$1,
|
|
2
|
+
import { D as DEFAULT_OPTIONS, C as _sfc_main$1, F as _sfc_main$2, G as _sfc_main$3, H as _sfc_main$4, I as _sfc_main$5, J as _sfc_main$6, K as _sfc_main$7, L as _sfc_main$8, _ as _export_sfc } from "./entry-Dr_rNqL7.mjs";
|
|
3
3
|
const _hoisted_1 = { class: "vc-sound-player" };
|
|
4
4
|
const _hoisted_2 = {
|
|
5
5
|
key: 1,
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, useSlots, computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, Fragment, renderList, renderSlot, createTextVNode, toDisplayString, ref, watch, nextTick, useAttrs, createBlock, resolveDynamicComponent, mergeProps, unref, createSlots, withCtx } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { bk as UniqueComponentId } from "./entry-Dr_rNqL7.mjs";
|
|
3
3
|
function _genPath(points, radius, fill = false, height = 75) {
|
|
4
4
|
if (points.length === 0) return "";
|
|
5
5
|
const start = points.shift();
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, createElementBlock, openBlock, createElementVNode, createVNode, unref, withDirectives, vShow } from "vue";
|
|
2
|
-
import { t as tVU, u as useVModel } from "./entry-
|
|
3
|
-
import { _ as _sfc_main$1 } from "./VcMdEditor.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { t as tVU, u as useVModel } from "./entry-Dr_rNqL7.mjs";
|
|
3
|
+
import { _ as _sfc_main$1 } from "./VcMdEditor.vue_vue_type_script_setup_true_lang-QWW7p3Vy.mjs";
|
|
4
4
|
const SYSTEM_USER_PROMPT_DEFAULT_TAB = "system";
|
|
5
5
|
const SYSTEM_PROMPT_VALUE = "system";
|
|
6
6
|
const USER_PROMPT_VALUE = "vc-lc-app-window";
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isRef, computed, watch, onScopeDispose, ref, onMounted, onBeforeUnmount, unref, watchEffect, defineComponent, inject, toRef, createElementBlock, createCommentVNode, openBlock, mergeProps, createElementVNode, normalizeStyle, normalizeClass, createVNode, withCtx, renderSlot, useSlots, provide, Fragment, createBlock, resolveDynamicComponent, toDisplayString, renderList, createTextVNode, createSlots } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { i as isPlainObject, o as offset, f as flip, s as shift, a as arrow, b as autoUpdate, d as detectOverflow, c as computePosition } from "./floating-ui.dom-
|
|
2
|
+
import { bl as baseGet, bm as castPath, bn as toKey, bo as flatRest, bp as arrayMap, g as copyObject, bq as getAllKeysIn, br as baseClone, bs as throwError, aC as useNamespace, bt as isClient, bu as hasClass, aS as addClass, bv as getScrollBarWidth, bw as getStyle, aR as removeClass, aE as buildProps, a_ as definePropType, aK as isArray, aN as isString, aM as isFunction, bx as keysOf, aB as _export_sfc, by as useWindowSize, bz as ElFocusTrap, bA as flattedChildren, bB as isNumber, aJ as isBoolean, b8 as UPDATE_MODEL_EVENT, bC as teleportProps, aZ as iconPropType, bD as useVModel, z as useZIndex, b9 as CHANGE_EVENT, bE as ElTeleport, a$ as useLocale, bF as CloseComponents, aU as ElIcon, bh as ElButton, aY as EVENT_CODE, aD as withInstall, bG as withNoopInstall, u as useVModel$1 } from "./entry-Dr_rNqL7.mjs";
|
|
3
|
+
import { i as isPlainObject, o as offset, f as flip, s as shift, a as arrow, b as autoUpdate, d as detectOverflow, c as computePosition } from "./floating-ui.dom-BNJk6hdj.mjs";
|
|
4
4
|
function baseSlice(array, start, end) {
|
|
5
5
|
var index = -1, length = array.length;
|
|
6
6
|
if (start < 0) {
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed, watch, defineComponent, useSlots, reactive, toRefs, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, createVNode, isRef, withCtx, createTextVNode, toDisplayString, createBlock, withDirectives, Fragment, renderList, vShow, renderSlot, ref, h, Comment } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aK as isArray, aL as isNil, aE as buildProps, b8 as UPDATE_MODEL_EVENT, b9 as CHANGE_EVENT, ba as mutable, a_ as definePropType, aM as isFunction, aB as _export_sfc, a$ as useLocale, aC as useNamespace, bb as isEmpty, aV as ElCheckbox, bc as ElInput, bd as search_default, be as ElCheckboxGroup, bf as useFormItem, bg as debugWarn, bh as ElButton, aU as ElIcon, bi as arrow_left_default, aH as isUndefined, bj as arrow_right_default, aD as withInstall, ax as useOptionMethods } from "./entry-Dr_rNqL7.mjs";
|
|
3
3
|
const LEFT_CHECK_CHANGE_EVENT = "left-check-change";
|
|
4
4
|
const RIGHT_CHECK_CHANGE_EVENT = "right-check-change";
|
|
5
5
|
const transferProps = buildProps({
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createBlock, openBlock, Transition, mergeProps, unref, toHandlers, withCtx, renderSlot, ref, computed, onMounted, onUpdated, resolveDynamicComponent, normalizeStyle, normalizeClass, useAttrs, reactive, nextTick, inject, h, provide, resolveComponent, withDirectives, createElementBlock, withModifiers, createElementVNode, createVNode, createCommentVNode, Fragment, renderList, vShow, getCurrentInstance, watch, toDisplayString, onUnmounted } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aB as _export_sfc, aC as useNamespace, aD as withInstall, aE as buildProps, aF as componentSizes, aG as useFormSize, aH as isUndefined, aI as hasOwn, aJ as isBoolean, aK as isArray, aL as isNil, aM as isFunction, aN as isString, aO as NOOP, aP as isObject, aQ as isPropAbsent, aR as removeClass, aS as addClass, aT as loading_default, aU as ElIcon, aV as ElCheckbox, aW as caret_right_default, aX as useEventListener, aY as EVENT_CODE, aZ as iconPropType, a_ as definePropType, a$ as useLocale, b0 as selectKey, b1 as isEqual, b2 as formItemContextKey, b3 as useRTL, b4 as TEXT_COLORS, B as convertToUnit, b5 as VcLoading, b6 as resolveFieldData, b7 as set } from "./entry-Dr_rNqL7.mjs";
|
|
3
3
|
const __default__$1 = defineComponent({
|
|
4
4
|
name: "ElCollapseTransition"
|
|
5
5
|
});
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, nextTick, onMounted, onBeforeUnmount, createElementBlock, openBlock, normalizeStyle, normalizeClass, createVNode, withCtx, withDirectives, createElementVNode, createBlock, createSlots, renderSlot, toDisplayString, unref, withModifiers, createCommentVNode, Fragment, renderList } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as _sfc_main$2 } from "./VcTree.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { aw as useInputColor, ax as useOptionMethods, t as tVU, A as _sfc_main$1, ay as ClickOutside, az as VcDelimitedList, aA as _sfc_main$3 } from "./entry-Dr_rNqL7.mjs";
|
|
3
|
+
import { _ as _sfc_main$2 } from "./VcTree.vue_vue_type_style_index_0_lang-DAFzaW4g.mjs";
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "vc-tree-select__prefix-icon"
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ap as isObject_1, ac as isArrayLike_1, av as _isIndex, ae as eq_1 } from "./entry-Dr_rNqL7.mjs";
|
|
2
2
|
var eq = eq_1, isArrayLike = isArrayLike_1, isIndex = _isIndex, isObject = isObject_1;
|
|
3
3
|
function isIterateeCall(value, index, object) {
|
|
4
4
|
if (!isObject(object)) {
|