@itshixun/qckeditor-vue2 1.0.13 → 1.0.14
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.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,CAAC;AAGhC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGpE,YAAY,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAG5D,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACtH,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,OAAO,wBAAwB,CAAC;AAGhC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGpE,YAAY,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAG5D,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACtH,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQtE,wBAKE"}
|
package/dist/index.js
CHANGED
|
@@ -61230,7 +61230,10 @@ const zs = _a({
|
|
|
61230
61230
|
const t = tt(r.modelValue || r.value), a = tt(!1), n = tt(!1), i = tt(null), o = tt(null), s = Bm(null), c = tt(!1), d = tt(!1), u = tt(null), m = ur(() => r.content ?? t.value ?? ""), E = ur(() => r.minHeight > 0), S = ur(() => ({
|
|
61231
61231
|
minHeight: r.minHeight ? `${r.minHeight}px` : "auto",
|
|
61232
61232
|
height: r.height ? `${r.height}px` : "auto",
|
|
61233
|
-
overflowY: r.height ? "auto" : "hidden"
|
|
61233
|
+
overflowY: r.height ? "auto" : "hidden",
|
|
61234
|
+
// 预览态背景色通过 CSS 变量注入(render 函数无 SFC v-bind 能力)
|
|
61235
|
+
"--q-content-bg": r.contentBgColor,
|
|
61236
|
+
"--q-content-bg-hover": r.contentBgHoverColor
|
|
61234
61237
|
})), b = ur(() => {
|
|
61235
61238
|
const { containerClass: w, sanitize: I } = r;
|
|
61236
61239
|
return { containerClass: w, sanitize: I };
|
|
@@ -61343,7 +61346,10 @@ const zs = _a({
|
|
|
61343
61346
|
return r("div", {
|
|
61344
61347
|
ref: "container",
|
|
61345
61348
|
class: e,
|
|
61346
|
-
style:
|
|
61349
|
+
style: {
|
|
61350
|
+
"--ck-border-radius": `${this.borderRadius}px`,
|
|
61351
|
+
...this.shouldApplyMinHeight ? { "--ck-min-height": `${this.minHeight}px` } : {}
|
|
61352
|
+
}
|
|
61347
61353
|
}, [
|
|
61348
61354
|
// Preview mode
|
|
61349
61355
|
!this.editorReady && r("div", {
|
|
@@ -82,6 +82,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
82
82
|
minHeight: string;
|
|
83
83
|
height: string;
|
|
84
84
|
overflowY: "auto" | "hidden";
|
|
85
|
+
'--q-content-bg': string;
|
|
86
|
+
'--q-content-bg-hover': string;
|
|
85
87
|
}>;
|
|
86
88
|
contentProps: import('vue').ComputedRef<{
|
|
87
89
|
containerClass: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCKEditorPro.d.ts","sourceRoot":"","sources":["../../../src/components/QCKEditorPro.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAuD,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;AACzF,OAAO,EAAE,aAAa,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAG7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,KAAK,iBAAiB,GAAG,iBAAiB,CAAC,OAAO,aAAa,CAAC,CAAC;;;;;;;;;;;cAoB3C,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA8Ea,MAAM,GAAG,QAAQ
|
|
1
|
+
{"version":3,"file":"QCKEditorPro.d.ts","sourceRoot":"","sources":["../../../src/components/QCKEditorPro.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAuD,KAAK,QAAQ,EAAE,MAAM,K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