@yiitap/vue 0.10.0 → 0.11.0
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/README.md +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -21
- package/types/components/YiiEditor.vue.d.ts +12 -10
package/dist/index.mjs
CHANGED
|
@@ -27872,7 +27872,7 @@ const Ih = ["data-theme"], Dh = /* @__PURE__ */ L({
|
|
|
27872
27872
|
* Configure the list of extensions you want to enable.
|
|
27873
27873
|
*
|
|
27874
27874
|
* By default, Yiitap enables
|
|
27875
|
-
* <a href="https://github.com/
|
|
27875
|
+
* <a href="https://github.com/pileax-ai/yiitap/blob/main/packages/vue/src/extensions/index.ts" target="_blank">BuiltinExtensions</a>.
|
|
27876
27876
|
*/
|
|
27877
27877
|
extensions: {
|
|
27878
27878
|
type: Array,
|
|
@@ -27882,7 +27882,7 @@ const Ih = ["data-theme"], Dh = /* @__PURE__ */ L({
|
|
|
27882
27882
|
* Configure the list of menu items you want to enable in main menu.
|
|
27883
27883
|
*
|
|
27884
27884
|
* By default, Yiitap uses
|
|
27885
|
-
* <a href="https://github.com/
|
|
27885
|
+
* <a href="https://github.com/pileax-ai/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultMenu</a>.
|
|
27886
27886
|
*/
|
|
27887
27887
|
mainMenu: {
|
|
27888
27888
|
type: Array,
|
|
@@ -27892,7 +27892,7 @@ const Ih = ["data-theme"], Dh = /* @__PURE__ */ L({
|
|
|
27892
27892
|
* Configure the list of menu items you want to enable in table menu.
|
|
27893
27893
|
*
|
|
27894
27894
|
* By default, Yiitap uses
|
|
27895
|
-
* <a href="https://github.com/
|
|
27895
|
+
* <a href="https://github.com/pileax-ai/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">TableMenu</a>.
|
|
27896
27896
|
*/
|
|
27897
27897
|
tableMenu: {
|
|
27898
27898
|
type: Array,
|
|
@@ -27902,7 +27902,7 @@ const Ih = ["data-theme"], Dh = /* @__PURE__ */ L({
|
|
|
27902
27902
|
* Configure the list of menu items you want to enable in bubble menu.
|
|
27903
27903
|
*
|
|
27904
27904
|
* By default, Yiitap uses
|
|
27905
|
-
* <a href="https://github.com/
|
|
27905
|
+
* <a href="https://github.com/pileax-ai/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultBubble</a>.
|
|
27906
27906
|
*/
|
|
27907
27907
|
bubbleMenu: {
|
|
27908
27908
|
type: Array,
|
|
@@ -27912,7 +27912,7 @@ const Ih = ["data-theme"], Dh = /* @__PURE__ */ L({
|
|
|
27912
27912
|
* Configure the list of menu items you want to enable in floating menu.
|
|
27913
27913
|
*
|
|
27914
27914
|
* By default, Yiitap uses
|
|
27915
|
-
* <a href="https://github.com/
|
|
27915
|
+
* <a href="https://github.com/pileax-ai/yiitap/blob/main/packages/vue/src/constants/menu.ts" target="_blank">DefaultFloating</a>.
|
|
27916
27916
|
*/
|
|
27917
27917
|
floatingMenu: {
|
|
27918
27918
|
type: Array,
|
|
@@ -27943,7 +27943,7 @@ const Ih = ["data-theme"], Dh = /* @__PURE__ */ L({
|
|
|
27943
27943
|
})
|
|
27944
27944
|
}
|
|
27945
27945
|
},
|
|
27946
|
-
emits: ["transaction", "update"],
|
|
27946
|
+
emits: ["create", "transaction", "update"],
|
|
27947
27947
|
setup(e, { expose: t, emit: n }) {
|
|
27948
27948
|
const o = e, a = n, { tr: i } = se(), s = C(!1), r = C(!0), l = C("en"), u = C(!1), c = C(), p = C(!1);
|
|
27949
27949
|
Hn("darkMode", s), Hn("isEditable", r), Hn("locale", l), Hn("sideNode", u), Hn("aiOption", c);
|
|
@@ -27953,7 +27953,7 @@ const Ih = ["data-theme"], Dh = /* @__PURE__ */ L({
|
|
|
27953
27953
|
autofocus: o.autofocus,
|
|
27954
27954
|
extensions: m.value,
|
|
27955
27955
|
onCreate: () => {
|
|
27956
|
-
p.value = !0;
|
|
27956
|
+
p.value = !0, a("create", f.value);
|
|
27957
27957
|
},
|
|
27958
27958
|
onUpdate: () => {
|
|
27959
27959
|
var O, T;
|