@bagelink/vue 0.0.992 → 0.0.996
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/components/form/inputs/CodeEditor/Index.vue.d.ts +7 -11
- package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/components/Toolbar.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/composables/useEditor.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/config.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/utils/formatting.d.ts +1 -0
- package/dist/components/form/inputs/RichText/utils/formatting.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/utils/media.d.ts +3 -3
- package/dist/components/form/inputs/RichText/utils/media.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/utils/selection.d.ts.map +1 -1
- package/dist/index.cjs +285 -102
- package/dist/index.mjs +285 -102
- package/dist/style.css +16 -14
- package/package.json +2 -1
- package/src/components/form/inputs/CodeEditor/Index.vue +26 -10
- package/src/components/form/inputs/RichText/components/Toolbar.vue +1 -1
- package/src/components/form/inputs/RichText/composables/useEditor.ts +17 -4
- package/src/components/form/inputs/RichText/config.ts +5 -1
- package/src/components/form/inputs/RichText/index.vue +1 -0
- package/src/components/form/inputs/RichText/richTextTypes.d.ts +2 -0
- package/src/components/form/inputs/RichText/utils/formatting.ts +281 -34
- package/src/components/form/inputs/RichText/utils/media.ts +9 -6
- package/src/components/form/inputs/RichText/utils/selection.ts +6 -22
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
language?: string;
|
|
3
3
|
readonly?: boolean;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"update:modelValue": (modelValue: string) => any;
|
|
11
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
13
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
modelValue?: string;
|
|
5
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
|
+
language?: string;
|
|
7
|
+
readonly?: boolean;
|
|
8
|
+
modelValue?: string;
|
|
9
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
10
|
export default _default;
|
|
15
11
|
//# sourceMappingURL=Index.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/CodeEditor/Index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/CodeEditor/Index.vue"],"names":[],"mappings":"AAyIA,OAAO,yBAAyB,CAAA;AAChC,OAAO,uCAAuC,CAAA;;eAKlC,MAAM;eACN,OAAO;iBACL,MAAM;;eAFR,MAAM;eACN,OAAO;iBACL,MAAM;;AA8IpB,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/components/Toolbar.vue"],"names":[],"mappings":"AAAA,OAqDO,KAAK,EAAE,aAAa,EAAsC,MAAM,kBAAkB,CAAA;;aAQ/E,aAAa;oBACN,GAAG,CAAC,MAAM,CAAC;;;;aADlB,aAAa;oBACN,GAAG,CAAC,MAAM,CAAC;;;;
|
|
1
|
+
{"version":3,"file":"Toolbar.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/components/Toolbar.vue"],"names":[],"mappings":"AAAA,OAqDO,KAAK,EAAE,aAAa,EAAsC,MAAM,kBAAkB,CAAA;;aAQ/E,aAAa;oBACN,GAAG,CAAC,MAAM,CAAC;;;;aADlB,aAAa;oBACN,GAAG,CAAC,MAAM,CAAC;;;;AAwJ5B,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/composables/useEditor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAO1D,wBAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/composables/useEditor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAO1D,wBAAgB,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA8ML,QAAQ,SAAS,KAAK;kCAzGJ,MAAM,UAAU,MAAM;2BAV7B,MAAM;EAiIpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAEnE,eAAO,MAAM,UAAU,EAAE,aAMxB,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAEnE,eAAO,MAAM,UAAU,EAAE,aAMxB,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,aAyBlC,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,aAAa,EAuCzC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/index.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/index.vue"],"names":[],"mappings":"AAiJA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;;gBAShB,MAAM;oBAAkB,aAAa;;;;gBAArC,MAAM;oBAAkB,aAAa;;;;AAsLzE,wBAOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatting.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/utils/formatting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,wBAAgB,UAAU,CAAC,KAAK,EAAE,WAAW;
|
|
1
|
+
{"version":3,"file":"formatting.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/utils/formatting.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,wBAAgB,UAAU,CAAC,KAAK,EAAE,WAAW;oBAwGrB,MAAM;qBA0FL,MAAM,SAAS,MAAM;oBAwBtB,MAAM;;EA4H7B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Modal } from '../richTextTypes';
|
|
2
|
-
export declare function insertImage(modal: Modal,
|
|
3
|
-
export declare function insertLink(modal: Modal,
|
|
1
|
+
import { EditorState, Modal } from '../richTextTypes';
|
|
2
|
+
export declare function insertImage(modal: Modal, state: EditorState): void;
|
|
3
|
+
export declare function insertLink(modal: Modal, state: EditorState): void;
|
|
4
4
|
//# sourceMappingURL=media.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/utils/media.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/utils/media.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAE1D,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,QAqB3D;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,WAAW,QAmB1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/utils/selection.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"selection.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/utils/selection.ts"],"names":[],"mappings":"AAAA,wBAAgB,YAAY,CAAC,KAAK,EAAE,GAAG,OAEtC;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,OAE3C;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,WAuBzD"}
|