@bluepic/embed 0.1.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 +147 -0
- package/lib/bluepic-fields.es.js +84843 -0
- package/lib/bluepic-fields.umd.js +2610 -0
- package/lib/components/AdjustImage.vue.d.ts +171 -0
- package/lib/components/AdjustImage.vue.d.ts.map +1 -0
- package/lib/components/BluepicEmbedded.vue.d.ts +164 -0
- package/lib/components/BluepicEmbedded.vue.d.ts.map +1 -0
- package/lib/components/BluepicEmbeddedEditor.vue.d.ts +16877 -0
- package/lib/components/BluepicEmbeddedEditor.vue.d.ts.map +1 -0
- package/lib/components/BluepicLiveTemplate.vue.d.ts +1895 -0
- package/lib/components/BluepicLiveTemplate.vue.d.ts.map +1 -0
- package/lib/components/BluepicSpinner.vue.d.ts +3 -0
- package/lib/components/BluepicSpinner.vue.d.ts.map +1 -0
- package/lib/components/BxAvatar.vue.d.ts +107 -0
- package/lib/components/BxAvatar.vue.d.ts.map +1 -0
- package/lib/components/BxButton.vue.d.ts +171 -0
- package/lib/components/BxButton.vue.d.ts.map +1 -0
- package/lib/components/BxCard.vue.d.ts +99 -0
- package/lib/components/BxCard.vue.d.ts.map +1 -0
- package/lib/components/BxCheckbox.vue.d.ts +12 -0
- package/lib/components/BxCheckbox.vue.d.ts.map +1 -0
- package/lib/components/BxColorPicker.vue.d.ts +12 -0
- package/lib/components/BxColorPicker.vue.d.ts.map +1 -0
- package/lib/components/BxDropdown.vue.d.ts +338 -0
- package/lib/components/BxDropdown.vue.d.ts.map +1 -0
- package/lib/components/BxEmpty.vue.d.ts +26 -0
- package/lib/components/BxEmpty.vue.d.ts.map +1 -0
- package/lib/components/BxIcon.vue.d.ts +15 -0
- package/lib/components/BxIcon.vue.d.ts.map +1 -0
- package/lib/components/BxInput.vue.d.ts +13302 -0
- package/lib/components/BxInput.vue.d.ts.map +1 -0
- package/lib/components/BxList.vue.d.ts +22 -0
- package/lib/components/BxList.vue.d.ts.map +1 -0
- package/lib/components/BxListItem.vue.d.ts +9 -0
- package/lib/components/BxListItem.vue.d.ts.map +1 -0
- package/lib/components/BxMenu.vue.d.ts +68 -0
- package/lib/components/BxMenu.vue.d.ts.map +1 -0
- package/lib/components/BxPopover.vue.d.ts +120 -0
- package/lib/components/BxPopover.vue.d.ts.map +1 -0
- package/lib/components/BxProgress.vue.d.ts +40 -0
- package/lib/components/BxProgress.vue.d.ts.map +1 -0
- package/lib/components/BxRadio.vue.d.ts +31 -0
- package/lib/components/BxRadio.vue.d.ts.map +1 -0
- package/lib/components/BxRadioGroup.vue.d.ts +20 -0
- package/lib/components/BxRadioGroup.vue.d.ts.map +1 -0
- package/lib/components/BxRichtextInput.vue.d.ts +2413 -0
- package/lib/components/BxRichtextInput.vue.d.ts.map +1 -0
- package/lib/components/BxSelect.vue.d.ts +530 -0
- package/lib/components/BxSelect.vue.d.ts.map +1 -0
- package/lib/components/BxSkeleton.vue.d.ts +3 -0
- package/lib/components/BxSkeleton.vue.d.ts.map +1 -0
- package/lib/components/BxSlider.vue.d.ts +38 -0
- package/lib/components/BxSlider.vue.d.ts.map +1 -0
- package/lib/components/BxSpin.vue.d.ts +19 -0
- package/lib/components/BxSpin.vue.d.ts.map +1 -0
- package/lib/components/BxSwitch.vue.d.ts +24 -0
- package/lib/components/BxSwitch.vue.d.ts.map +1 -0
- package/lib/components/BxTab.vue.d.ts +3 -0
- package/lib/components/BxTab.vue.d.ts.map +1 -0
- package/lib/components/BxTabs.vue.d.ts +21 -0
- package/lib/components/BxTabs.vue.d.ts.map +1 -0
- package/lib/components/BxTag.vue.d.ts +53 -0
- package/lib/components/BxTag.vue.d.ts.map +1 -0
- package/lib/components/BxTooltip.vue.d.ts +448 -0
- package/lib/components/BxTooltip.vue.d.ts.map +1 -0
- package/lib/components/BxUpload.vue.d.ts +283 -0
- package/lib/components/BxUpload.vue.d.ts.map +1 -0
- package/lib/components/CollectionEntryFields.vue.d.ts +1313 -0
- package/lib/components/CollectionEntryFields.vue.d.ts.map +1 -0
- package/lib/components/CollectionFieldPopup.vue.d.ts +1932 -0
- package/lib/components/CollectionFieldPopup.vue.d.ts.map +1 -0
- package/lib/components/Fields.vue.d.ts +652 -0
- package/lib/components/Fields.vue.d.ts.map +1 -0
- package/lib/components/FieldsList.vue.d.ts +515 -0
- package/lib/components/FieldsList.vue.d.ts.map +1 -0
- package/lib/components/ImageLibraries/Custom.vue.d.ts +42 -0
- package/lib/components/ImageLibraries/Custom.vue.d.ts.map +1 -0
- package/lib/components/ImageLibraries/Pexels.vue.d.ts +13627 -0
- package/lib/components/ImageLibraries/Pexels.vue.d.ts.map +1 -0
- package/lib/components/ImageLibraries/SharedDrive.vue.d.ts +62 -0
- package/lib/components/ImageLibraries/SharedDrive.vue.d.ts.map +1 -0
- package/lib/components/ImageLibraries/Upload.vue.d.ts +379 -0
- package/lib/components/ImageLibraries/Upload.vue.d.ts.map +1 -0
- package/lib/components/ImageLibraryWrapper.vue.d.ts +14290 -0
- package/lib/components/ImageLibraryWrapper.vue.d.ts.map +1 -0
- package/lib/components/ImportData.vue.d.ts +18109 -0
- package/lib/components/ImportData.vue.d.ts.map +1 -0
- package/lib/components/KioskField.vue.d.ts +203 -0
- package/lib/components/KioskField.vue.d.ts.map +1 -0
- package/lib/components/LazyLoading.vue.d.ts +49 -0
- package/lib/components/LazyLoading.vue.d.ts.map +1 -0
- package/lib/components/LazyLoadingItemWrapper.vue.d.ts +10 -0
- package/lib/components/LazyLoadingItemWrapper.vue.d.ts.map +1 -0
- package/lib/components/MapboxMap.vue.d.ts +102 -0
- package/lib/components/MapboxMap.vue.d.ts.map +1 -0
- package/lib/components/MobileFieldsSlide.vue.d.ts +575 -0
- package/lib/components/MobileFieldsSlide.vue.d.ts.map +1 -0
- package/lib/components/PopoverElement.vue.d.ts +113 -0
- package/lib/components/PopoverElement.vue.d.ts.map +1 -0
- package/lib/components/PopoverProvider.vue.d.ts +36 -0
- package/lib/components/PopoverProvider.vue.d.ts.map +1 -0
- package/lib/components/Popup.vue.d.ts +172 -0
- package/lib/components/Popup.vue.d.ts.map +1 -0
- package/lib/components/PopupElement.vue.d.ts +256 -0
- package/lib/components/PopupElement.vue.d.ts.map +1 -0
- package/lib/components/PopupProvider.vue.d.ts +59 -0
- package/lib/components/PopupProvider.vue.d.ts.map +1 -0
- package/lib/components/RichText.vue.d.ts +502 -0
- package/lib/components/RichText.vue.d.ts.map +1 -0
- package/lib/components/RichTextDisplay.vue.d.ts +57 -0
- package/lib/components/RichTextDisplay.vue.d.ts.map +1 -0
- package/lib/components/SelectItem.vue.d.ts +536 -0
- package/lib/components/SelectItem.vue.d.ts.map +1 -0
- package/lib/components/SlidesNavigation.vue.d.ts +712 -0
- package/lib/components/SlidesNavigation.vue.d.ts.map +1 -0
- package/lib/components/TableDataMatcher.vue.d.ts +4317 -0
- package/lib/components/TableDataMatcher.vue.d.ts.map +1 -0
- package/lib/components/directives/usePopup.d.ts +29 -0
- package/lib/components/directives/usePopup.d.ts.map +1 -0
- package/lib/components/fields/Checkbox.vue.d.ts +20 -0
- package/lib/components/fields/Checkbox.vue.d.ts.map +1 -0
- package/lib/components/fields/Collection.vue.d.ts +1602 -0
- package/lib/components/fields/Collection.vue.d.ts.map +1 -0
- package/lib/components/fields/Color.vue.d.ts +10 -0
- package/lib/components/fields/Color.vue.d.ts.map +1 -0
- package/lib/components/fields/Group.vue.d.ts +1272 -0
- package/lib/components/fields/Group.vue.d.ts.map +1 -0
- package/lib/components/fields/Image.vue.d.ts +14982 -0
- package/lib/components/fields/Image.vue.d.ts.map +1 -0
- package/lib/components/fields/ImageAdjust.vue.d.ts +526 -0
- package/lib/components/fields/ImageAdjust.vue.d.ts.map +1 -0
- package/lib/components/fields/ImageEdit.vue.d.ts +15697 -0
- package/lib/components/fields/ImageEdit.vue.d.ts.map +1 -0
- package/lib/components/fields/Instruction.vue.d.ts +28 -0
- package/lib/components/fields/Instruction.vue.d.ts.map +1 -0
- package/lib/components/fields/Map.vue.d.ts +496 -0
- package/lib/components/fields/Map.vue.d.ts.map +1 -0
- package/lib/components/fields/Number.vue.d.ts +46 -0
- package/lib/components/fields/Number.vue.d.ts.map +1 -0
- package/lib/components/fields/Select.vue.d.ts +535 -0
- package/lib/components/fields/Select.vue.d.ts.map +1 -0
- package/lib/components/fields/SelectColor.vue.d.ts +546 -0
- package/lib/components/fields/SelectColor.vue.d.ts.map +1 -0
- package/lib/components/fields/SelectImage.vue.d.ts +547 -0
- package/lib/components/fields/SelectImage.vue.d.ts.map +1 -0
- package/lib/components/fields/SelectText.vue.d.ts +544 -0
- package/lib/components/fields/SelectText.vue.d.ts.map +1 -0
- package/lib/components/fields/Text.vue.d.ts +13308 -0
- package/lib/components/fields/Text.vue.d.ts.map +1 -0
- package/lib/components/fields/index.d.ts +16 -0
- package/lib/components/fields/index.d.ts.map +1 -0
- package/lib/env.d.ts +8 -0
- package/lib/index.d.ts +49 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/services/pexels.d.ts +51 -0
- package/lib/services/pexels.d.ts.map +1 -0
- package/lib/services/sharedDrive.d.ts +65 -0
- package/lib/services/sharedDrive.d.ts.map +1 -0
- package/lib/style.css +1 -0
- package/lib/types/index.d.ts +7 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/util/PopupProvider.d.ts +8 -0
- package/lib/util/PopupProvider.d.ts.map +1 -0
- package/lib/util/adjust.d.ts +15 -0
- package/lib/util/adjust.d.ts.map +1 -0
- package/lib/util/blob.d.ts +3 -0
- package/lib/util/blob.d.ts.map +1 -0
- package/lib/util/blobToDataURL.d.ts +3 -0
- package/lib/util/blobToDataURL.d.ts.map +1 -0
- package/lib/util/bluepicEmbed.d.ts +45 -0
- package/lib/util/bluepicEmbed.d.ts.map +1 -0
- package/lib/util/cloudflareImages.d.ts +22 -0
- package/lib/util/cloudflareImages.d.ts.map +1 -0
- package/lib/util/color.d.ts +154 -0
- package/lib/util/color.d.ts.map +1 -0
- package/lib/util/contentEditable.d.ts +68 -0
- package/lib/util/contentEditable.d.ts.map +1 -0
- package/lib/util/convertDeprecatedFields.d.ts +3 -0
- package/lib/util/convertDeprecatedFields.d.ts.map +1 -0
- package/lib/util/cropImage.d.ts +14 -0
- package/lib/util/cropImage.d.ts.map +1 -0
- package/lib/util/darkMode.d.ts +3 -0
- package/lib/util/darkMode.d.ts.map +1 -0
- package/lib/util/debounce.d.ts +2 -0
- package/lib/util/debounce.d.ts.map +1 -0
- package/lib/util/exportSVGDocument.d.ts +6 -0
- package/lib/util/exportSVGDocument.d.ts.map +1 -0
- package/lib/util/fetch.d.ts +15 -0
- package/lib/util/fetch.d.ts.map +1 -0
- package/lib/util/fields.d.ts +282 -0
- package/lib/util/fields.d.ts.map +1 -0
- package/lib/util/file.d.ts +6 -0
- package/lib/util/file.d.ts.map +1 -0
- package/lib/util/handleUpload.d.ts +8 -0
- package/lib/util/handleUpload.d.ts.map +1 -0
- package/lib/util/hash.d.ts +9 -0
- package/lib/util/hash.d.ts.map +1 -0
- package/lib/util/imageInfo.d.ts +6 -0
- package/lib/util/imageInfo.d.ts.map +1 -0
- package/lib/util/isEqual.d.ts +2 -0
- package/lib/util/isEqual.d.ts.map +1 -0
- package/lib/util/parseCSV.d.ts +2 -0
- package/lib/util/parseCSV.d.ts.map +1 -0
- package/lib/util/renderSVG.d.ts +37 -0
- package/lib/util/renderSVG.d.ts.map +1 -0
- package/lib/util/richtext.d.ts +7 -0
- package/lib/util/richtext.d.ts.map +1 -0
- package/lib/util/round.d.ts +2 -0
- package/lib/util/round.d.ts.map +1 -0
- package/lib/util/slotVNodes.d.ts +9 -0
- package/lib/util/slotVNodes.d.ts.map +1 -0
- package/lib/util/timecode.d.ts +9 -0
- package/lib/util/timecode.d.ts.map +1 -0
- package/lib/util/waitUntil.d.ts +2 -0
- package/lib/util/waitUntil.d.ts.map +1 -0
- package/package.json +78 -0
|
@@ -0,0 +1,502 @@
|
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
|
+
import { RichTextFeature } from '@bluepic/types';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
value: {
|
|
5
|
+
type: ArrayConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
selection: {
|
|
9
|
+
type: ObjectConstructor;
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
userAgentRichText: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
renderFeatureInlineStyle: {
|
|
17
|
+
type: FunctionConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
maxLength: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
maxLengthPerLine: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
maxLines: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
multiline: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
required: false;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
}>, {
|
|
38
|
+
props: any;
|
|
39
|
+
emit: (event: "update:focus" | "update:selection" | "update:value" | "update:visible-value" | "update:warning-message", ...args: any[]) => void;
|
|
40
|
+
preventLinebreaks: import("vue").ComputedRef<boolean>;
|
|
41
|
+
richTextDisplayInstance: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
paragraphs: {
|
|
43
|
+
type: ArrayConstructor;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
noLazy: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
required: false;
|
|
49
|
+
};
|
|
50
|
+
ghost: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
required: false;
|
|
53
|
+
};
|
|
54
|
+
debug: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
required: false;
|
|
57
|
+
};
|
|
58
|
+
}>> & Readonly<{
|
|
59
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
}>, {
|
|
63
|
+
props: any;
|
|
64
|
+
emit: (event: "focus" | "blur" | "update", ...args: any[]) => void;
|
|
65
|
+
richTextEditorDivRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
66
|
+
lazyParagraphs: import("vue").Ref<any, any>;
|
|
67
|
+
handleInputEvent: (event: Event) => void;
|
|
68
|
+
handleFocus: (event: FocusEvent) => void;
|
|
69
|
+
handleBlur: (event: FocusEvent) => void;
|
|
70
|
+
richTextGlobalScopedStyleId: string;
|
|
71
|
+
richTextGlobalScopedStyleDataAttr: string;
|
|
72
|
+
writeCSS: (cssRules: StyleValue) => string;
|
|
73
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update")[], import("vue").PublicProps, {
|
|
74
|
+
debug: boolean;
|
|
75
|
+
noLazy: boolean;
|
|
76
|
+
ghost: boolean;
|
|
77
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
78
|
+
P: {};
|
|
79
|
+
B: {};
|
|
80
|
+
D: {};
|
|
81
|
+
C: {};
|
|
82
|
+
M: {};
|
|
83
|
+
Defaults: {};
|
|
84
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
+
paragraphs: {
|
|
86
|
+
type: ArrayConstructor;
|
|
87
|
+
required: true;
|
|
88
|
+
};
|
|
89
|
+
noLazy: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
required: false;
|
|
92
|
+
};
|
|
93
|
+
ghost: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
required: false;
|
|
96
|
+
};
|
|
97
|
+
debug: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
required: false;
|
|
100
|
+
};
|
|
101
|
+
}>> & Readonly<{
|
|
102
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
103
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
104
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
105
|
+
}>, {
|
|
106
|
+
props: any;
|
|
107
|
+
emit: (event: "focus" | "blur" | "update", ...args: any[]) => void;
|
|
108
|
+
richTextEditorDivRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
109
|
+
lazyParagraphs: import("vue").Ref<any, any>;
|
|
110
|
+
handleInputEvent: (event: Event) => void;
|
|
111
|
+
handleFocus: (event: FocusEvent) => void;
|
|
112
|
+
handleBlur: (event: FocusEvent) => void;
|
|
113
|
+
richTextGlobalScopedStyleId: string;
|
|
114
|
+
richTextGlobalScopedStyleDataAttr: string;
|
|
115
|
+
writeCSS: (cssRules: StyleValue) => string;
|
|
116
|
+
}, {}, {}, {}, {
|
|
117
|
+
debug: boolean;
|
|
118
|
+
noLazy: boolean;
|
|
119
|
+
ghost: boolean;
|
|
120
|
+
}> | undefined, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
121
|
+
paragraphs: {
|
|
122
|
+
type: ArrayConstructor;
|
|
123
|
+
required: true;
|
|
124
|
+
};
|
|
125
|
+
noLazy: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
required: false;
|
|
128
|
+
};
|
|
129
|
+
ghost: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
required: false;
|
|
132
|
+
};
|
|
133
|
+
debug: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
required: false;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{
|
|
138
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
140
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
141
|
+
}>, {
|
|
142
|
+
props: any;
|
|
143
|
+
emit: (event: "focus" | "blur" | "update", ...args: any[]) => void;
|
|
144
|
+
richTextEditorDivRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
145
|
+
lazyParagraphs: import("vue").Ref<any, any>;
|
|
146
|
+
handleInputEvent: (event: Event) => void;
|
|
147
|
+
handleFocus: (event: FocusEvent) => void;
|
|
148
|
+
handleBlur: (event: FocusEvent) => void;
|
|
149
|
+
richTextGlobalScopedStyleId: string;
|
|
150
|
+
richTextGlobalScopedStyleDataAttr: string;
|
|
151
|
+
writeCSS: (cssRules: StyleValue) => string;
|
|
152
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update")[], import("vue").PublicProps, {
|
|
153
|
+
debug: boolean;
|
|
154
|
+
noLazy: boolean;
|
|
155
|
+
ghost: boolean;
|
|
156
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
157
|
+
P: {};
|
|
158
|
+
B: {};
|
|
159
|
+
D: {};
|
|
160
|
+
C: {};
|
|
161
|
+
M: {};
|
|
162
|
+
Defaults: {};
|
|
163
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
164
|
+
paragraphs: {
|
|
165
|
+
type: ArrayConstructor;
|
|
166
|
+
required: true;
|
|
167
|
+
};
|
|
168
|
+
noLazy: {
|
|
169
|
+
type: BooleanConstructor;
|
|
170
|
+
required: false;
|
|
171
|
+
};
|
|
172
|
+
ghost: {
|
|
173
|
+
type: BooleanConstructor;
|
|
174
|
+
required: false;
|
|
175
|
+
};
|
|
176
|
+
debug: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
required: false;
|
|
179
|
+
};
|
|
180
|
+
}>> & Readonly<{
|
|
181
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
182
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
183
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
184
|
+
}>, {
|
|
185
|
+
props: any;
|
|
186
|
+
emit: (event: "focus" | "blur" | "update", ...args: any[]) => void;
|
|
187
|
+
richTextEditorDivRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
188
|
+
lazyParagraphs: import("vue").Ref<any, any>;
|
|
189
|
+
handleInputEvent: (event: Event) => void;
|
|
190
|
+
handleFocus: (event: FocusEvent) => void;
|
|
191
|
+
handleBlur: (event: FocusEvent) => void;
|
|
192
|
+
richTextGlobalScopedStyleId: string;
|
|
193
|
+
richTextGlobalScopedStyleDataAttr: string;
|
|
194
|
+
writeCSS: (cssRules: StyleValue) => string;
|
|
195
|
+
}, {}, {}, {}, {
|
|
196
|
+
debug: boolean;
|
|
197
|
+
noLazy: boolean;
|
|
198
|
+
ghost: boolean;
|
|
199
|
+
}> | undefined>;
|
|
200
|
+
richTextDisplayGhostInstance: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
201
|
+
paragraphs: {
|
|
202
|
+
type: ArrayConstructor;
|
|
203
|
+
required: true;
|
|
204
|
+
};
|
|
205
|
+
noLazy: {
|
|
206
|
+
type: BooleanConstructor;
|
|
207
|
+
required: false;
|
|
208
|
+
};
|
|
209
|
+
ghost: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
required: false;
|
|
212
|
+
};
|
|
213
|
+
debug: {
|
|
214
|
+
type: BooleanConstructor;
|
|
215
|
+
required: false;
|
|
216
|
+
};
|
|
217
|
+
}>> & Readonly<{
|
|
218
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
219
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
220
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
221
|
+
}>, {
|
|
222
|
+
props: any;
|
|
223
|
+
emit: (event: "focus" | "blur" | "update", ...args: any[]) => void;
|
|
224
|
+
richTextEditorDivRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
225
|
+
lazyParagraphs: import("vue").Ref<any, any>;
|
|
226
|
+
handleInputEvent: (event: Event) => void;
|
|
227
|
+
handleFocus: (event: FocusEvent) => void;
|
|
228
|
+
handleBlur: (event: FocusEvent) => void;
|
|
229
|
+
richTextGlobalScopedStyleId: string;
|
|
230
|
+
richTextGlobalScopedStyleDataAttr: string;
|
|
231
|
+
writeCSS: (cssRules: StyleValue) => string;
|
|
232
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update")[], import("vue").PublicProps, {
|
|
233
|
+
debug: boolean;
|
|
234
|
+
noLazy: boolean;
|
|
235
|
+
ghost: boolean;
|
|
236
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
237
|
+
P: {};
|
|
238
|
+
B: {};
|
|
239
|
+
D: {};
|
|
240
|
+
C: {};
|
|
241
|
+
M: {};
|
|
242
|
+
Defaults: {};
|
|
243
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
244
|
+
paragraphs: {
|
|
245
|
+
type: ArrayConstructor;
|
|
246
|
+
required: true;
|
|
247
|
+
};
|
|
248
|
+
noLazy: {
|
|
249
|
+
type: BooleanConstructor;
|
|
250
|
+
required: false;
|
|
251
|
+
};
|
|
252
|
+
ghost: {
|
|
253
|
+
type: BooleanConstructor;
|
|
254
|
+
required: false;
|
|
255
|
+
};
|
|
256
|
+
debug: {
|
|
257
|
+
type: BooleanConstructor;
|
|
258
|
+
required: false;
|
|
259
|
+
};
|
|
260
|
+
}>> & Readonly<{
|
|
261
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
262
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
263
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
264
|
+
}>, {
|
|
265
|
+
props: any;
|
|
266
|
+
emit: (event: "focus" | "blur" | "update", ...args: any[]) => void;
|
|
267
|
+
richTextEditorDivRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
268
|
+
lazyParagraphs: import("vue").Ref<any, any>;
|
|
269
|
+
handleInputEvent: (event: Event) => void;
|
|
270
|
+
handleFocus: (event: FocusEvent) => void;
|
|
271
|
+
handleBlur: (event: FocusEvent) => void;
|
|
272
|
+
richTextGlobalScopedStyleId: string;
|
|
273
|
+
richTextGlobalScopedStyleDataAttr: string;
|
|
274
|
+
writeCSS: (cssRules: StyleValue) => string;
|
|
275
|
+
}, {}, {}, {}, {
|
|
276
|
+
debug: boolean;
|
|
277
|
+
noLazy: boolean;
|
|
278
|
+
ghost: boolean;
|
|
279
|
+
}> | undefined, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
280
|
+
paragraphs: {
|
|
281
|
+
type: ArrayConstructor;
|
|
282
|
+
required: true;
|
|
283
|
+
};
|
|
284
|
+
noLazy: {
|
|
285
|
+
type: BooleanConstructor;
|
|
286
|
+
required: false;
|
|
287
|
+
};
|
|
288
|
+
ghost: {
|
|
289
|
+
type: BooleanConstructor;
|
|
290
|
+
required: false;
|
|
291
|
+
};
|
|
292
|
+
debug: {
|
|
293
|
+
type: BooleanConstructor;
|
|
294
|
+
required: false;
|
|
295
|
+
};
|
|
296
|
+
}>> & Readonly<{
|
|
297
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
298
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
299
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
300
|
+
}>, {
|
|
301
|
+
props: any;
|
|
302
|
+
emit: (event: "focus" | "blur" | "update", ...args: any[]) => void;
|
|
303
|
+
richTextEditorDivRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
304
|
+
lazyParagraphs: import("vue").Ref<any, any>;
|
|
305
|
+
handleInputEvent: (event: Event) => void;
|
|
306
|
+
handleFocus: (event: FocusEvent) => void;
|
|
307
|
+
handleBlur: (event: FocusEvent) => void;
|
|
308
|
+
richTextGlobalScopedStyleId: string;
|
|
309
|
+
richTextGlobalScopedStyleDataAttr: string;
|
|
310
|
+
writeCSS: (cssRules: StyleValue) => string;
|
|
311
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update")[], import("vue").PublicProps, {
|
|
312
|
+
debug: boolean;
|
|
313
|
+
noLazy: boolean;
|
|
314
|
+
ghost: boolean;
|
|
315
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
316
|
+
P: {};
|
|
317
|
+
B: {};
|
|
318
|
+
D: {};
|
|
319
|
+
C: {};
|
|
320
|
+
M: {};
|
|
321
|
+
Defaults: {};
|
|
322
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
323
|
+
paragraphs: {
|
|
324
|
+
type: ArrayConstructor;
|
|
325
|
+
required: true;
|
|
326
|
+
};
|
|
327
|
+
noLazy: {
|
|
328
|
+
type: BooleanConstructor;
|
|
329
|
+
required: false;
|
|
330
|
+
};
|
|
331
|
+
ghost: {
|
|
332
|
+
type: BooleanConstructor;
|
|
333
|
+
required: false;
|
|
334
|
+
};
|
|
335
|
+
debug: {
|
|
336
|
+
type: BooleanConstructor;
|
|
337
|
+
required: false;
|
|
338
|
+
};
|
|
339
|
+
}>> & Readonly<{
|
|
340
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
341
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
342
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
343
|
+
}>, {
|
|
344
|
+
props: any;
|
|
345
|
+
emit: (event: "focus" | "blur" | "update", ...args: any[]) => void;
|
|
346
|
+
richTextEditorDivRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
347
|
+
lazyParagraphs: import("vue").Ref<any, any>;
|
|
348
|
+
handleInputEvent: (event: Event) => void;
|
|
349
|
+
handleFocus: (event: FocusEvent) => void;
|
|
350
|
+
handleBlur: (event: FocusEvent) => void;
|
|
351
|
+
richTextGlobalScopedStyleId: string;
|
|
352
|
+
richTextGlobalScopedStyleDataAttr: string;
|
|
353
|
+
writeCSS: (cssRules: StyleValue) => string;
|
|
354
|
+
}, {}, {}, {}, {
|
|
355
|
+
debug: boolean;
|
|
356
|
+
noLazy: boolean;
|
|
357
|
+
ghost: boolean;
|
|
358
|
+
}> | undefined>;
|
|
359
|
+
richTextEditorDivRef: import("vue").ComputedRef<HTMLDivElement | undefined>;
|
|
360
|
+
handleInputEvent: (event: Event) => void;
|
|
361
|
+
paragraphs: import("vue").Ref<{
|
|
362
|
+
text: string;
|
|
363
|
+
format: {
|
|
364
|
+
[k: string]: unknown;
|
|
365
|
+
};
|
|
366
|
+
}[][], RichTextFeature[][] | {
|
|
367
|
+
text: string;
|
|
368
|
+
format: {
|
|
369
|
+
[k: string]: unknown;
|
|
370
|
+
};
|
|
371
|
+
}[][]>;
|
|
372
|
+
visibleParagraphs: import("vue").Ref<{
|
|
373
|
+
text: string;
|
|
374
|
+
format: {
|
|
375
|
+
[k: string]: unknown;
|
|
376
|
+
};
|
|
377
|
+
}[][], RichTextFeature[][] | {
|
|
378
|
+
text: string;
|
|
379
|
+
format: {
|
|
380
|
+
[k: string]: unknown;
|
|
381
|
+
};
|
|
382
|
+
}[][]>;
|
|
383
|
+
manipulationState: import("vue").Ref<string, string>;
|
|
384
|
+
applyFormat: (selectionStart: number, selectionLength: number, format: {
|
|
385
|
+
[k: string]: unknown;
|
|
386
|
+
}, select?: boolean) => void;
|
|
387
|
+
resolveFeatures: (startIndex: number, length: number) => RichTextFeature[][];
|
|
388
|
+
selection: import("vue").Ref<{
|
|
389
|
+
start: number;
|
|
390
|
+
length: number;
|
|
391
|
+
} | null, {
|
|
392
|
+
start: number;
|
|
393
|
+
length: number;
|
|
394
|
+
} | {
|
|
395
|
+
start: number;
|
|
396
|
+
length: number;
|
|
397
|
+
} | null>;
|
|
398
|
+
handleKeydownEvent: (event: KeyboardEvent) => void;
|
|
399
|
+
warningMessage: import("vue").ComputedRef<"Text is too long" | undefined>;
|
|
400
|
+
focus: import("vue").Ref<boolean, boolean>;
|
|
401
|
+
handleFocus: () => void;
|
|
402
|
+
handleBlur: () => void;
|
|
403
|
+
observer: MutationObserver;
|
|
404
|
+
RichTextDisplay: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
405
|
+
paragraphs: {
|
|
406
|
+
type: ArrayConstructor;
|
|
407
|
+
required: true;
|
|
408
|
+
};
|
|
409
|
+
noLazy: {
|
|
410
|
+
type: BooleanConstructor;
|
|
411
|
+
required: false;
|
|
412
|
+
};
|
|
413
|
+
ghost: {
|
|
414
|
+
type: BooleanConstructor;
|
|
415
|
+
required: false;
|
|
416
|
+
};
|
|
417
|
+
debug: {
|
|
418
|
+
type: BooleanConstructor;
|
|
419
|
+
required: false;
|
|
420
|
+
};
|
|
421
|
+
}>, {
|
|
422
|
+
props: any;
|
|
423
|
+
emit: (event: "focus" | "blur" | "update", ...args: any[]) => void;
|
|
424
|
+
richTextEditorDivRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
425
|
+
lazyParagraphs: import("vue").Ref<any, any>;
|
|
426
|
+
handleInputEvent: (event: Event) => void;
|
|
427
|
+
handleFocus: (event: FocusEvent) => void;
|
|
428
|
+
handleBlur: (event: FocusEvent) => void;
|
|
429
|
+
richTextGlobalScopedStyleId: string;
|
|
430
|
+
richTextGlobalScopedStyleDataAttr: string;
|
|
431
|
+
writeCSS: (cssRules: StyleValue) => string;
|
|
432
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update")[], "focus" | "blur" | "update", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
433
|
+
paragraphs: {
|
|
434
|
+
type: ArrayConstructor;
|
|
435
|
+
required: true;
|
|
436
|
+
};
|
|
437
|
+
noLazy: {
|
|
438
|
+
type: BooleanConstructor;
|
|
439
|
+
required: false;
|
|
440
|
+
};
|
|
441
|
+
ghost: {
|
|
442
|
+
type: BooleanConstructor;
|
|
443
|
+
required: false;
|
|
444
|
+
};
|
|
445
|
+
debug: {
|
|
446
|
+
type: BooleanConstructor;
|
|
447
|
+
required: false;
|
|
448
|
+
};
|
|
449
|
+
}>> & Readonly<{
|
|
450
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
451
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
452
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
453
|
+
}>, {
|
|
454
|
+
debug: boolean;
|
|
455
|
+
noLazy: boolean;
|
|
456
|
+
ghost: boolean;
|
|
457
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
458
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:focus" | "update:selection" | "update:value" | "update:visible-value" | "update:warning-message")[], "update:focus" | "update:selection" | "update:value" | "update:visible-value" | "update:warning-message", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
459
|
+
value: {
|
|
460
|
+
type: ArrayConstructor;
|
|
461
|
+
required: true;
|
|
462
|
+
};
|
|
463
|
+
selection: {
|
|
464
|
+
type: ObjectConstructor;
|
|
465
|
+
required: false;
|
|
466
|
+
};
|
|
467
|
+
userAgentRichText: {
|
|
468
|
+
type: BooleanConstructor;
|
|
469
|
+
required: true;
|
|
470
|
+
};
|
|
471
|
+
renderFeatureInlineStyle: {
|
|
472
|
+
type: FunctionConstructor;
|
|
473
|
+
required: true;
|
|
474
|
+
};
|
|
475
|
+
maxLength: {
|
|
476
|
+
type: NumberConstructor;
|
|
477
|
+
required: true;
|
|
478
|
+
};
|
|
479
|
+
maxLengthPerLine: {
|
|
480
|
+
type: NumberConstructor;
|
|
481
|
+
required: true;
|
|
482
|
+
};
|
|
483
|
+
maxLines: {
|
|
484
|
+
type: NumberConstructor;
|
|
485
|
+
required: true;
|
|
486
|
+
};
|
|
487
|
+
multiline: {
|
|
488
|
+
type: BooleanConstructor;
|
|
489
|
+
required: false;
|
|
490
|
+
default: boolean;
|
|
491
|
+
};
|
|
492
|
+
}>> & Readonly<{
|
|
493
|
+
"onUpdate:focus"?: ((...args: any[]) => any) | undefined;
|
|
494
|
+
"onUpdate:selection"?: ((...args: any[]) => any) | undefined;
|
|
495
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
496
|
+
"onUpdate:visible-value"?: ((...args: any[]) => any) | undefined;
|
|
497
|
+
"onUpdate:warning-message"?: ((...args: any[]) => any) | undefined;
|
|
498
|
+
}>, {
|
|
499
|
+
multiline: boolean;
|
|
500
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
501
|
+
export default _sfc_main;
|
|
502
|
+
//# sourceMappingURL=RichText.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RichText.vue.d.ts","sourceRoot":"","sources":["RichText.vue.ts"],"names":[],"mappings":"AACA,OAAO,EAAyC,UAAU,EAA6B,MAAM,KAAK,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMjD,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAwCoB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA4H9C,CAAA;AACF,eAAe,SAAS,CAAA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
paragraphs: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
noLazy: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
};
|
|
11
|
+
ghost: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
};
|
|
15
|
+
debug: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
required: false;
|
|
18
|
+
};
|
|
19
|
+
}>, {
|
|
20
|
+
props: any;
|
|
21
|
+
emit: (event: "focus" | "blur" | "update", ...args: any[]) => void;
|
|
22
|
+
richTextEditorDivRef: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
23
|
+
lazyParagraphs: import("vue").Ref<any, any>;
|
|
24
|
+
handleInputEvent: (event: Event) => void;
|
|
25
|
+
handleFocus: (event: FocusEvent) => void;
|
|
26
|
+
handleBlur: (event: FocusEvent) => void;
|
|
27
|
+
richTextGlobalScopedStyleId: string;
|
|
28
|
+
richTextGlobalScopedStyleDataAttr: string;
|
|
29
|
+
writeCSS: (cssRules: StyleValue) => string;
|
|
30
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update")[], "focus" | "blur" | "update", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
paragraphs: {
|
|
32
|
+
type: ArrayConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
noLazy: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
required: false;
|
|
38
|
+
};
|
|
39
|
+
ghost: {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
required: false;
|
|
42
|
+
};
|
|
43
|
+
debug: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
required: false;
|
|
46
|
+
};
|
|
47
|
+
}>> & Readonly<{
|
|
48
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
debug: boolean;
|
|
53
|
+
noLazy: boolean;
|
|
54
|
+
ghost: boolean;
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
export default _sfc_main;
|
|
57
|
+
//# sourceMappingURL=RichTextDisplay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RichTextDisplay.vue.d.ts","sourceRoot":"","sources":["RichTextDisplay.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAO,UAAU,EAAsB,MAAM,KAAK,CAAC;AAK1D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;8BAgCkB,KAAK;yBAIV,UAAU;wBAGX,UAAU;;;yBAYT,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;4EA4BpC,CAAA;AACF,eAAe,SAAS,CAAA"}
|