@cgboiler/biz-basic 1.0.37 → 1.0.38

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.36";
8
+ export const version: "1.0.37";
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.36";
2
+ const version = "1.0.37";
3
3
  function install(app) {
4
4
  const components = [
5
5
  RichTextEditor
@@ -99,10 +99,14 @@ var stdin_default = defineComponent({
99
99
  }
100
100
  });
101
101
  };
102
+ const focus = () => {
103
+ editor.value.commands.focus();
104
+ };
102
105
  expose({
103
106
  getEditor: () => editor.value,
104
107
  insertMention,
105
- insertHashTag
108
+ insertHashTag,
109
+ focus
106
110
  });
107
111
  watch(() => props.modelValue, (newValue) => {
108
112
  var _a, _b;
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.36";
8
+ export const version: "1.0.37";
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.36";
39
+ const version = "1.0.37";
40
40
  function install(app) {
41
41
  const components = [
42
42
  import_rich_text_editor.default
@@ -131,10 +131,14 @@ var stdin_default = (0, import_vue2.defineComponent)({
131
131
  }
132
132
  });
133
133
  };
134
+ const focus = () => {
135
+ editor.value.commands.focus();
136
+ };
134
137
  expose({
135
138
  getEditor: () => editor.value,
136
139
  insertMention,
137
- insertHashTag
140
+ insertHashTag,
141
+ focus
138
142
  });
139
143
  (0, import_vue2.watch)(() => props.modelValue, (newValue) => {
140
144
  var _a, _b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgboiler/biz-basic",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",