@yoooloo42/joker 1.0.46 → 1.0.48

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/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { computed, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, defineComponent, h, onMounted, onBeforeUnmount, ref, watch as watch$1, nextTick as nextTick$1, reactive, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, unref } from 'vue';
1
+ import { computed, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, defineComponent, h, onMounted, onBeforeUnmount, ref, watch, nextTick as nextTick$1, reactive, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, unref, withDirectives, vShow } from 'vue';
2
2
 
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
@@ -39166,7 +39166,7 @@ const QuillEditor = defineComponent({
39166
39166
  isEditorFocus.value = !!(quill === null || quill === void 0 ? void 0 : quill.hasFocus());
39167
39167
  ctx.emit('selectionChange', { range, oldRange, source });
39168
39168
  };
39169
- watch$1(isEditorFocus, (focus) => {
39169
+ watch(isEditorFocus, (focus) => {
39170
39170
  if (focus)
39171
39171
  ctx.emit('focus', editor);
39172
39172
  else
@@ -39260,7 +39260,7 @@ const QuillEditor = defineComponent({
39260
39260
  initialize();
39261
39261
  });
39262
39262
  };
39263
- watch$1(() => props.content, (newContent) => {
39263
+ watch(() => props.content, (newContent) => {
39264
39264
  if (!quill || !newContent || internalModelEquals(newContent))
39265
39265
  return;
39266
39266
  // Restore the selection and cursor position after updating the content
@@ -39270,7 +39270,7 @@ const QuillEditor = defineComponent({
39270
39270
  }
39271
39271
  setContents(newContent);
39272
39272
  }, { deep: true });
39273
- watch$1(() => props.enable, (newValue) => {
39273
+ watch(() => props.enable, (newValue) => {
39274
39274
  if (quill)
39275
39275
  quill.enable(newValue);
39276
39276
  });
@@ -40166,13 +40166,12 @@ return (_ctx, _cache) => {
40166
40166
 
40167
40167
  return (openBlock(), createElementBlock(Fragment, null, [
40168
40168
  createCommentVNode(" 置顶菜单 "),
40169
- (__props.myProps.menu && __props.myProps.menu.length > 0)
40170
- ? (openBlock(), createBlock(_component_ly0Menu, {
40171
- key: 0,
40172
- scopeThis: __props.scopeThis,
40173
- myProps: __props.myProps.menu
40174
- }, null, 8 /* PROPS */, ["scopeThis", "myProps"]))
40175
- : createCommentVNode("v-if", true),
40169
+ withDirectives(createVNode(_component_ly0Menu, {
40170
+ scopeThis: __props.scopeThis,
40171
+ myProps: __props.myProps.menu
40172
+ }, null, 8 /* PROPS */, ["scopeThis", "myProps"]), [
40173
+ [vShow, __props.myProps.menu && __props.myProps.menu.length > 0]
40174
+ ]),
40176
40175
  createCommentVNode(" 表单区域可以分为多个列 "),
40177
40176
  createElementVNode("div", {
40178
40177
  style: normalizeStyle(style.root_box)
@@ -40291,7 +40290,7 @@ return (_ctx, _cache) => {
40291
40290
  ], 4 /* STYLE */),
40292
40291
  createCommentVNode(" 提交 "),
40293
40292
  (__props.dataBox.hdlSubmit)
40294
- ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
40293
+ ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
40295
40294
  createElementVNode("div", {
40296
40295
  style: normalizeStyle(style.line)
40297
40296
  }, null, 4 /* STYLE */),
@@ -41718,7 +41717,7 @@ onMounted(()=>{
41718
41717
  });
41719
41718
  });
41720
41719
 
41721
- watch$1(() => props.myProps.value,
41720
+ watch(() => props.myProps.value,
41722
41721
  (valNew, valOld) => {
41723
41722
  request.ly0.storpro({
41724
41723
  noSession: true,