@acorex/components 20.2.39 → 20.2.40
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/button/index.d.ts +38 -17
- package/data-table/index.d.ts +78 -6
- package/fesm2022/acorex-components-button.mjs +50 -10
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +1 -1
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation2.mjs +16 -12
- package/fesm2022/acorex-components-conversation2.mjs.map +1 -1
- package/fesm2022/acorex-components-data-pager.mjs +1 -1
- package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +416 -62
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-wysiwyg.mjs +11 -5
- package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
- package/package.json +11 -11
- package/wysiwyg/index.d.ts +2 -0
|
@@ -168,11 +168,8 @@ class AXWysiwygContainerComponent extends classes((MXInputBaseValueComponent), M
|
|
|
168
168
|
}
|
|
169
169
|
}, ...(ngDevMode ? [{ debugName: "#effect1" }] : []));
|
|
170
170
|
this.#effect2 = effect(() => {
|
|
171
|
-
if (this.isQuillLoaded() && this.value)
|
|
172
|
-
|
|
173
|
-
const delta = quill.clipboard.convert({ html: this.value });
|
|
174
|
-
quill.setContents(delta);
|
|
175
|
-
}
|
|
171
|
+
if (this.isQuillLoaded() && this.value)
|
|
172
|
+
this.setWysiwygContent(this.value);
|
|
176
173
|
}, ...(ngDevMode ? [{ debugName: "#effect2" }] : []));
|
|
177
174
|
this.#effect3 = effect(() => {
|
|
178
175
|
if (this.isQuillLoaded()) {
|
|
@@ -262,6 +259,15 @@ class AXWysiwygContainerComponent extends classes((MXInputBaseValueComponent), M
|
|
|
262
259
|
setDisabledState(isDisabled) {
|
|
263
260
|
super.setDisabledState(isDisabled);
|
|
264
261
|
}
|
|
262
|
+
internalValueChanged(value) {
|
|
263
|
+
if (value && this.isQuillLoaded())
|
|
264
|
+
this.setWysiwygContent(value);
|
|
265
|
+
}
|
|
266
|
+
setWysiwygContent(value) {
|
|
267
|
+
const quill = this.wysiwyg();
|
|
268
|
+
const delta = quill.clipboard.convert({ html: value });
|
|
269
|
+
quill.setContents(delta);
|
|
270
|
+
}
|
|
265
271
|
get __hostName() {
|
|
266
272
|
return this.name;
|
|
267
273
|
}
|