@cgboiler/biz-basic 1.0.43 → 1.0.44

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/es/index.d.ts CHANGED
@@ -5,6 +5,6 @@ declare namespace _default {
5
5
  }
6
6
  export default _default;
7
7
  export function install(app: any): void;
8
- export const version: "1.0.42";
8
+ export const version: "1.0.43";
9
9
  import RichTextEditor from './rich-text-editor';
10
10
  export { RichTextEditor };
package/es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import RichTextEditor from "./rich-text-editor";
2
- const version = "1.0.42";
2
+ const version = "1.0.43";
3
3
  function install(app) {
4
4
  const components = [
5
5
  RichTextEditor
@@ -120,6 +120,10 @@ var stdin_default = defineComponent({
120
120
  isFocusFromPlaceholder = false;
121
121
  }, 100);
122
122
  });
123
+ watch(() => props.editable, (val) => {
124
+ var _a;
125
+ (_a = editor.value) == null ? void 0 : _a.setEditable(val);
126
+ });
123
127
  const viewerRef = ref(null);
124
128
  const imageClickHandler = (event) => {
125
129
  const target = event.target;
package/lib/index.d.ts CHANGED
@@ -5,6 +5,6 @@ declare namespace _default {
5
5
  }
6
6
  export default _default;
7
7
  export function install(app: any): void;
8
- export const version: "1.0.42";
8
+ export const version: "1.0.43";
9
9
  import RichTextEditor from './rich-text-editor';
10
10
  export { RichTextEditor };
package/lib/index.js CHANGED
@@ -36,7 +36,7 @@ __export(stdin_exports, {
36
36
  module.exports = __toCommonJS(stdin_exports);
37
37
  var import_rich_text_editor = __toESM(require("./rich-text-editor"));
38
38
  __reExport(stdin_exports, require("./rich-text-editor"), module.exports);
39
- const version = "1.0.42";
39
+ const version = "1.0.43";
40
40
  function install(app) {
41
41
  const components = [
42
42
  import_rich_text_editor.default
@@ -152,6 +152,10 @@ var stdin_default = (0, import_vue2.defineComponent)({
152
152
  isFocusFromPlaceholder = false;
153
153
  }, 100);
154
154
  });
155
+ (0, import_vue2.watch)(() => props.editable, (val) => {
156
+ var _a;
157
+ (_a = editor.value) == null ? void 0 : _a.setEditable(val);
158
+ });
155
159
  const viewerRef = (0, import_vue2.ref)(null);
156
160
  const imageClickHandler = (event) => {
157
161
  const target = event.target;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgboiler/biz-basic",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",