geekplus-digital-ui 0.1.28 → 0.1.29

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.
@@ -1,5 +1,5 @@
1
1
  export const DEditor: import('vue').DefineComponent<{}, {
2
- $emit: (event: "add-image" | "update:model-value", ...args: any[]) => void;
2
+ $emit: (event: "update:model-value", ...args: any[]) => void;
3
3
  disabled: boolean;
4
4
  modelValue: string;
5
5
  mode: string;
@@ -1,5 +1,5 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {
2
- $emit: (event: "add-image" | "update:model-value", ...args: any[]) => void;
2
+ $emit: (event: "update:model-value", ...args: any[]) => void;
3
3
  disabled: boolean;
4
4
  modelValue: string;
5
5
  mode: string;
@@ -47,7 +47,7 @@ const re = /* @__PURE__ */ Object.assign({
47
47
  },
48
48
  placeholder: String
49
49
  },
50
- emits: ["add-image", "update:model-value"],
50
+ emits: ["update:model-value"],
51
51
  setup(l, { emit: I }) {
52
52
  const o = l, V = I, B = n(null), r = n(null), h = n(""), y = n(0), u = n(!1), m = n([]), f = n(0), p = /* @__PURE__ */ new Map(), { t: S, getLocale: N } = ne(), { formItem: E } = te(), A = s(() => N()), R = (e) => {
53
53
  r.value = Object.seal(e);
@@ -101,7 +101,7 @@ const re = /* @__PURE__ */ Object.assign({
101
101
  readOnly: o.disabled,
102
102
  ...o.editorConfig
103
103
  })), q = s(() => ({
104
- "--minHeight": o.border ? `${o.minHeight}px` : ""
104
+ "--minHeight": o.disabled ? "" : `${o.minHeight}px`
105
105
  }));
106
106
  return b(A, (e) => {
107
107
  Z(e === "zh-cn" ? "zh-CN" : "en");
@@ -147,7 +147,7 @@ const re = /* @__PURE__ */ Object.assign({
147
147
  }, null, 8, ["url-list", "initial-index"])) : Y("", !0)
148
148
  ], 2));
149
149
  }
150
- }), be = /* @__PURE__ */ ae(re, [["__scopeId", "data-v-fa74014a"]]);
150
+ }), be = /* @__PURE__ */ ae(re, [["__scopeId", "data-v-439ac8a4"]]);
151
151
  export {
152
152
  be as default
153
153
  };
@@ -1 +1 @@
1
- .d-editor[data-v-fa74014a]{width:100%}.d-editor.w-e-full-screen-container[data-v-fa74014a]{z-index:1000}.d-editor .toolbar-container[data-v-fa74014a]{border-bottom:1px solid var(--el-border-color)}.d-editor .toolbar-container[data-v-fa74014a] .w-e-toolbar{border-radius:4px}.d-editor .toolbar-container[data-v-fa74014a] .w-e-drop-panel{z-index:100}.d-editor .editor-container[data-v-fa74014a]{min-height:var(--minHeight);background:var(--el-fill-color-blank);border-radius:4px}.d-editor .editor-container[data-v-fa74014a] p[id^=w-e-element-paragraph-]{margin:10px 0}.d-editor .editor-container[data-v-fa74014a] .w-e-text-placeholder{font-style:normal;font-size:14px;line-height:normal;top:11px}.d-editor .editor-container[data-v-fa74014a] .w-e-image-container{width:500px}.d-editor .editor-container[data-v-fa74014a] pre :deep(code){text-shadow:none}.d-editor.editor-disabled[data-v-fa74014a]:not(.editor-border) div[id^=w-e-textarea-]{padding:0}.d-editor.editor-disabled[data-v-fa74014a]:not(.editor-border) p[id^=w-e-element-paragraph-]:first-child{margin-top:0}.d-editor.editor-disabled[data-v-fa74014a]:not(.editor-border) p[id^=w-e-element-paragraph-]:last-child{margin-bottom:0}.editor-border[data-v-fa74014a]{border:1px solid var(--el-border-color);border-radius:4px;background:var(--el-bg-color);transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.editor-border[data-v-fa74014a]:hover{border-color:var(--el-text-color-disabled)}.editor-disabled .editor-container[data-v-fa74014a] img{cursor:zoom-in}.el-form-item.is-error .editor-border[data-v-fa74014a]{border:1px solid var(--el-color-danger)}
1
+ .d-editor[data-v-439ac8a4]{width:100%}.d-editor.w-e-full-screen-container[data-v-439ac8a4]{z-index:1000}.d-editor .toolbar-container[data-v-439ac8a4]{border-bottom:1px solid var(--el-border-color)}.d-editor .toolbar-container[data-v-439ac8a4] .w-e-toolbar{border-radius:4px}.d-editor .toolbar-container[data-v-439ac8a4] .w-e-drop-panel{z-index:100}.d-editor .editor-container[data-v-439ac8a4]{min-height:var(--minHeight);background:var(--el-fill-color-blank);border-radius:4px}.d-editor .editor-container[data-v-439ac8a4] p[id^=w-e-element-paragraph-]{margin:10px 0}.d-editor .editor-container[data-v-439ac8a4] .w-e-text-placeholder{font-style:normal;font-size:14px;line-height:normal;top:11px}.d-editor .editor-container[data-v-439ac8a4] .w-e-image-container{width:500px}.d-editor .editor-container[data-v-439ac8a4] pre :deep(code){text-shadow:none}.d-editor.editor-disabled[data-v-439ac8a4]:not(.editor-border) div[id^=w-e-textarea-]{padding:0}.d-editor.editor-disabled[data-v-439ac8a4]:not(.editor-border) p[id^=w-e-element-paragraph-]:first-child{margin-top:0}.d-editor.editor-disabled[data-v-439ac8a4]:not(.editor-border) p[id^=w-e-element-paragraph-]:last-child{margin-bottom:0}.editor-border[data-v-439ac8a4]{border:1px solid var(--el-border-color);border-radius:4px;background:var(--el-bg-color);transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.editor-border[data-v-439ac8a4]:hover{border-color:var(--el-text-color-disabled)}.editor-disabled .editor-container[data-v-439ac8a4] img{cursor:zoom-in}.el-form-item.is-error .editor-border[data-v-439ac8a4]{border:1px solid var(--el-color-danger)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geekplus-digital-ui",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "module": "index.js",