@uzum-tech/ui 2.4.5 → 2.4.7

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.
Files changed (64) hide show
  1. package/dist/index.js +112 -21
  2. package/dist/index.mjs +112 -21
  3. package/dist/index.prod.js +3 -3
  4. package/dist/index.prod.mjs +3 -3
  5. package/es/button/src/Button.d.ts +4 -0
  6. package/es/button/src/Button.mjs +4 -2
  7. package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +1 -1
  8. package/es/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +1 -1
  9. package/es/chat/src/styles/index.cssr.mjs +1 -1
  10. package/es/components.d.ts +70 -1
  11. package/es/dialog/src/DialogProvider.d.ts +1 -1579
  12. package/es/editor/index.d.ts +1 -1
  13. package/es/editor/src/Editor.d.ts +21 -0
  14. package/es/editor/src/Editor.mjs +5 -2
  15. package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +27 -0
  16. package/es/editor/src/EditorParts/EditorContent/EditorContent.mjs +37 -3
  17. package/es/editor/src/EditorParts/EditorContent/interface.d.ts +11 -0
  18. package/es/editor/src/EditorParts/EditorContent/interface.mjs +2 -0
  19. package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +18 -0
  20. package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +9 -0
  21. package/es/editor/src/composables/use-editor-css-vars.mjs +8 -2
  22. package/es/editor/src/extensions.d.ts +2 -1
  23. package/es/editor/src/extensions.mjs +34 -4
  24. package/es/editor/src/interface.d.ts +22 -2
  25. package/es/editor/src/interface.mjs +1 -0
  26. package/es/editor/src/styles/index.cssr.mjs +21 -4
  27. package/es/editor/styles/dark.d.ts +3 -0
  28. package/es/editor/styles/light.d.ts +6 -0
  29. package/es/editor/styles/light.mjs +6 -1
  30. package/es/message-bubble/src/styles/index.cssr.mjs +1 -1
  31. package/es/typography/src/text.d.ts +1 -1
  32. package/es/version.d.ts +1 -1
  33. package/es/version.mjs +1 -1
  34. package/lib/button/src/Button.d.ts +4 -0
  35. package/lib/button/src/Button.js +8 -3
  36. package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +1 -1
  37. package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +1 -1
  38. package/lib/chat/src/styles/index.cssr.js +1 -1
  39. package/lib/components.d.ts +70 -1
  40. package/lib/dialog/src/DialogProvider.d.ts +1 -1579
  41. package/lib/editor/index.d.ts +1 -1
  42. package/lib/editor/src/Editor.d.ts +21 -0
  43. package/lib/editor/src/Editor.js +4 -2
  44. package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +27 -0
  45. package/lib/editor/src/EditorParts/EditorContent/EditorContent.js +30 -3
  46. package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +11 -0
  47. package/lib/editor/src/EditorParts/EditorContent/interface.js +1 -1
  48. package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +18 -0
  49. package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +9 -0
  50. package/lib/editor/src/composables/use-editor-css-vars.js +5 -2
  51. package/lib/editor/src/extensions.d.ts +2 -1
  52. package/lib/editor/src/extensions.js +41 -5
  53. package/lib/editor/src/interface.d.ts +22 -2
  54. package/lib/editor/src/interface.js +1 -1
  55. package/lib/editor/src/styles/index.cssr.js +21 -4
  56. package/lib/editor/styles/dark.d.ts +3 -0
  57. package/lib/editor/styles/light.d.ts +6 -0
  58. package/lib/editor/styles/light.js +5 -2
  59. package/lib/message-bubble/src/styles/index.cssr.js +1 -1
  60. package/lib/typography/src/text.d.ts +1 -1
  61. package/lib/version.d.ts +1 -1
  62. package/lib/version.js +1 -1
  63. package/package.json +1 -1
  64. package/web-types.json +32 -3
@@ -39,6 +39,9 @@ import { c, cB, cE, cM } from "../../../_utils/cssr/index.mjs";
39
39
  // --u-editor-markdown-h2-line-height
40
40
  // --u-editor-markdown-h3-line-height
41
41
  // --u-editor-markdown-text-line-height
42
+ // --u-editor-count-text-color
43
+ // --u-editor-count-font-size
44
+ // --u-editor-count-line-height
42
45
  export default c([cB('editor', `
43
46
  box-sizing: border-box;
44
47
  display: flex;
@@ -56,7 +59,11 @@ export default c([cB('editor', `
56
59
  margin: 0;
57
60
  `), cE('toolbar-block-type', `
58
61
  width: 71px;
59
- `)]), cE('content-wrapper', `
62
+ `)]), cE('body', `
63
+ display: flex;
64
+ flex-direction: column;
65
+ gap: 4px;
66
+ `), cE('content-wrapper', `
60
67
  position: relative;
61
68
  box-sizing: border-box;
62
69
  display: flex;
@@ -78,7 +85,14 @@ export default c([cB('editor', `
78
85
  right: 6px;
79
86
  top: 6px;
80
87
  flex-shrink: 0;
81
- `)]), cE('content', `
88
+ `)]), cE('count', `
89
+ align-self: flex-end;
90
+ font-size: var(--u-editor-count-font-size);
91
+ line-height: var(--u-editor-count-line-height);
92
+ color: var(--u-editor-count-text-color);
93
+ white-space: nowrap;
94
+ padding-right: 10px;
95
+ `), cE('content', `
82
96
  white-space: normal;
83
97
  width: 100%;
84
98
  min-width: 0;
@@ -86,7 +100,7 @@ export default c([cB('editor', `
86
100
  color: var(--u-editor-content-text-color);
87
101
  font-size: var(--u-editor-markdown-text-font-size);
88
102
  line-height: var(--u-editor-markdown-text-line-height);
89
- word-wrap: break-word;
103
+ overflow-wrap: anywhere;
90
104
  `, [cM('scrollable', `
91
105
  overflow-y: auto;
92
106
  scrollbar-width: none;
@@ -94,7 +108,10 @@ export default c([cB('editor', `
94
108
  width: 0;
95
109
  height: 0;
96
110
  display: none;
97
- `)]), cE('editable', 'outline: none;', [c('.is-editor-empty:first-child::before', `
111
+ `)]), cE('editable', `
112
+ outline: none;
113
+ overflow-wrap: anywhere;
114
+ `, [c('.is-editor-empty:first-child::before', `
98
115
  content: attr(data-placeholder);
99
116
  float: left;
100
117
  height: 0;
@@ -46,6 +46,9 @@ declare const editorDark: import("../../_mixins").Theme<"Editor", {
46
46
  markdownH2LineHeight: string;
47
47
  markdownH3LineHeight: string;
48
48
  markdownTextLineHeight: string;
49
+ countTextColor: string;
50
+ countFontSize: string;
51
+ countLineHeight: string;
49
52
  }, {
50
53
  Button: import("../../_mixins").Theme<"Button", {
51
54
  heightTiny: string;
@@ -47,6 +47,9 @@ export declare function self(vars: ThemeCommonVars): {
47
47
  markdownH2LineHeight: string;
48
48
  markdownH3LineHeight: string;
49
49
  markdownTextLineHeight: string;
50
+ countTextColor: string;
51
+ countFontSize: string;
52
+ countLineHeight: string;
50
53
  };
51
54
  declare const editorLight: import("../../_mixins").Theme<"Editor", {
52
55
  backgroundColor: string;
@@ -96,6 +99,9 @@ declare const editorLight: import("../../_mixins").Theme<"Editor", {
96
99
  markdownH2LineHeight: string;
97
100
  markdownH3LineHeight: string;
98
101
  markdownTextLineHeight: string;
102
+ countTextColor: string;
103
+ countFontSize: string;
104
+ countLineHeight: string;
99
105
  }, {
100
106
  Button: import("../../_mixins").Theme<"Button", {
101
107
  heightTiny: string;
@@ -17,6 +17,8 @@ export function self(vars) {
17
17
  lineHeightTitleSmall,
18
18
  lineHeightBodyLarge,
19
19
  lineHeightBodyMedium,
20
+ fontBodySmall,
21
+ lineHeightBodySmall,
20
22
  surfacePrimary,
21
23
  elementsQuaternary,
22
24
  elementsQuinary,
@@ -73,7 +75,10 @@ export function self(vars) {
73
75
  markdownH1LineHeight: lineHeightTitleMedium,
74
76
  markdownH2LineHeight: lineHeightTitleSmall,
75
77
  markdownH3LineHeight: lineHeightBodyLarge,
76
- markdownTextLineHeight: lineHeightBodyMedium
78
+ markdownTextLineHeight: lineHeightBodyMedium,
79
+ countTextColor: textTertiary,
80
+ countFontSize: fontBodySmall,
81
+ countLineHeight: lineHeightBodySmall
77
82
  };
78
83
  }
79
84
  const editorLight = createTheme({
@@ -55,7 +55,7 @@ export default cB('message-bubble', `
55
55
  border-radius: var(--u-message-bubble-border-radius);
56
56
  font-size: 14px;
57
57
  line-height: 20px;
58
- word-wrap: break-word;
58
+ overflow-wrap: anywhere;
59
59
  background-color: var(--u-message-bubble-background-color-other);
60
60
  color: var(--u-message-bubble-text-color-other);
61
61
  border-bottom-left-radius: 6px;
@@ -305,8 +305,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
305
305
  color: string;
306
306
  code: boolean;
307
307
  strong: boolean;
308
- text: string;
309
308
  delete: boolean;
309
+ text: string;
310
310
  variant: import("..").TypographyVariant;
311
311
  italic: boolean;
312
312
  variantOptions: import("..").TypographyVariantOptions;
package/es/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "2.4.5";
1
+ declare const _default: "2.4.7";
2
2
  export default _default;
package/es/version.mjs CHANGED
@@ -1 +1 @@
1
- export default '2.4.5';
1
+ export default '2.4.7';
@@ -1,6 +1,7 @@
1
1
  import type { ButtonHTMLAttributes, ExtractPropTypes, PropType, SlotsType, VNode, VNodeChild } from 'vue';
2
2
  import type { BaseWaveRef } from '../../_internal';
3
3
  import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
4
+ import type { IconProps } from '../../icon';
4
5
  import type { ButtonSize, ButtonType } from './public-types';
5
6
  export declare const buttonProps: {
6
7
  readonly color: StringConstructor;
@@ -36,6 +37,7 @@ export declare const buttonProps: {
36
37
  };
37
38
  readonly dashed: BooleanConstructor;
38
39
  readonly renderIcon: PropType<() => VNodeChild>;
40
+ readonly iconProps: PropType<IconProps>;
39
41
  readonly iconPlacement: {
40
42
  readonly type: PropType<"left" | "right">;
41
43
  readonly default: "left";
@@ -754,6 +756,7 @@ declare const Button: import("vue").DefineComponent<ExtractPropTypes<{
754
756
  };
755
757
  readonly dashed: BooleanConstructor;
756
758
  readonly renderIcon: PropType<() => VNodeChild>;
759
+ readonly iconProps: PropType<IconProps>;
757
760
  readonly iconPlacement: {
758
761
  readonly type: PropType<"left" | "right">;
759
762
  readonly default: "left";
@@ -1528,6 +1531,7 @@ declare const Button: import("vue").DefineComponent<ExtractPropTypes<{
1528
1531
  };
1529
1532
  readonly dashed: BooleanConstructor;
1530
1533
  readonly renderIcon: PropType<() => VNodeChild>;
1534
+ readonly iconProps: PropType<IconProps>;
1531
1535
  readonly iconPlacement: {
1532
1536
  readonly type: PropType<"left" | "right">;
1533
1537
  readonly default: "left";
@@ -14,6 +14,7 @@ const _utils_1 = require("../../_utils");
14
14
  const index_1 = require("../../_utils/color/index");
15
15
  const browser_1 = require("../../_utils/env/browser");
16
16
  const context_1 = require("../../button-group/src/context");
17
+ const icon_1 = require("../../icon");
17
18
  const styles_1 = require("../styles");
18
19
  const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
19
20
  exports.buttonProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { color: String, textColor: String, text: Boolean, block: Boolean, loading: Boolean, loadingSkeleton: Boolean, disabled: Boolean, circle: Boolean, size: String, ghost: Boolean, round: Boolean, secondary: Boolean, tertiary: Boolean, quaternary: Boolean, strong: Boolean, focusable: {
@@ -28,7 +29,7 @@ exports.buttonProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props),
28
29
  }, type: {
29
30
  type: String,
30
31
  default: 'default'
31
- }, dashed: Boolean, renderIcon: Function, iconPlacement: {
32
+ }, dashed: Boolean, renderIcon: Function, iconProps: Object, iconPlacement: {
32
33
  type: String,
33
34
  default: 'left'
34
35
  }, attrType: {
@@ -501,11 +502,15 @@ const Button = (0, vue_1.defineComponent)({
501
502
  ], tabindex: this.mergedFocusable ? 0 : -1, type: this.attrType, style: this.cssVars, disabled: this.disabled, onClick: this.handleClick, onBlur: this.handleBlur, onMousedown: this.handleMousedown, onKeyup: this.handleKeyup, onKeydown: this.handleKeydown },
502
503
  this.iconPlacement === 'right' && children,
503
504
  (0, vue_1.h)(_internal_1.UFadeInExpandTransition, { width: true }, {
504
- default: () => (0, _utils_1.resolveWrappedSlot)(this.$slots.icon, children => (this.loading || this.renderIcon || children) && ((0, vue_1.h)("span", { class: `${mergedClsPrefix}-button__icon`, style: {
505
+ default: () => (0, _utils_1.resolveWrappedSlot)(this.$slots.icon, children => (this.loading
506
+ || children
507
+ || this.renderIcon
508
+ || this.iconProps) && ((0, vue_1.h)("span", { class: `${mergedClsPrefix}-button__icon`, style: {
505
509
  margin: (0, _utils_1.isSlotEmpty)(this.$slots.default) ? '0' : ''
506
510
  } },
507
511
  (0, vue_1.h)(_internal_1.UIconSwitchTransition, null, {
508
- default: () => this.loading ? ((0, vue_1.h)(_internal_1.UBaseLoading, { clsPrefix: mergedClsPrefix, key: "loading", class: `${mergedClsPrefix}-icon-slot`, strokeWidth: 20 })) : ((0, vue_1.h)("div", { key: "icon", class: `${mergedClsPrefix}-icon-slot`, role: "none" }, this.renderIcon ? this.renderIcon() : children))
512
+ default: () => this.loading ? ((0, vue_1.h)(_internal_1.UBaseLoading, { clsPrefix: mergedClsPrefix, key: "loading", class: `${mergedClsPrefix}-icon-slot`, strokeWidth: 20 })) : ((0, vue_1.h)("div", { key: "icon", class: `${mergedClsPrefix}-icon-slot`, role: "none" }, children
513
+ || (this.renderIcon ? (this.renderIcon()) : this.iconProps ? ((0, vue_1.h)(icon_1.UIcon, Object.assign({}, this.iconProps))) : null)))
509
514
  }))))
510
515
  }),
511
516
  this.iconPlacement === 'left' && children,
@@ -9114,7 +9114,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
9114
9114
  }>> & Readonly<{}>, {
9115
9115
  readonly disabled: boolean;
9116
9116
  readonly show: boolean;
9117
- readonly buttonProps: Partial<ButtonProps>;
9118
9117
  readonly iconProps: Partial<IconProps>;
9118
+ readonly buttonProps: Partial<ButtonProps>;
9119
9119
  }, SlotsType<ChatAttachmentButtonSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9120
9120
  export default _default;
@@ -9225,12 +9225,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
9225
9225
  readonly closeButtonText: string;
9226
9226
  readonly shareButtonTooltip: string;
9227
9227
  readonly profileButtonTooltip: string;
9228
+ readonly iconProps: Partial<IconProps>;
9228
9229
  readonly typingChatIds: import("../../interface").ChatId[];
9229
9230
  readonly onChatClose: VoidFunction;
9230
9231
  readonly onChatShare: VoidFunction;
9231
9232
  readonly onUserProfile: VoidFunction;
9232
9233
  readonly buttonProps: Partial<ButtonProps>;
9233
- readonly iconProps: Partial<IconProps>;
9234
9234
  readonly selectedChat: ChatListItemData;
9235
9235
  readonly shareButtonProps: Partial<ButtonProps>;
9236
9236
  readonly profileButtonProps: Partial<ButtonProps>;
@@ -245,7 +245,7 @@ exports.default = (0, cssr_1.cB)('chat', `
245
245
  border-radius: 18px;
246
246
  font-size: 14px;
247
247
  line-height: 20px;
248
- word-wrap: break-word;
248
+ overflow-wrap: anywhere;
249
249
  background-color: var(--u-message-bubble-background-color-other);
250
250
  color: var(--u-message-bubble-text-color-other);
251
251
  border-bottom-left-radius: 6px;
@@ -4252,6 +4252,7 @@ export declare const UButton: import("vue").DefineComponent<import("vue").Extrac
4252
4252
  };
4253
4253
  readonly dashed: BooleanConstructor;
4254
4254
  readonly renderIcon: import("vue").PropType<() => import("vue").VNodeChild>;
4255
+ readonly iconProps: import("vue").PropType<import("./icon").IconProps>;
4255
4256
  readonly iconPlacement: {
4256
4257
  readonly type: import("vue").PropType<"left" | "right">;
4257
4258
  readonly default: "left";
@@ -5026,6 +5027,7 @@ export declare const UButton: import("vue").DefineComponent<import("vue").Extrac
5026
5027
  };
5027
5028
  readonly dashed: BooleanConstructor;
5028
5029
  readonly renderIcon: import("vue").PropType<() => import("vue").VNodeChild>;
5030
+ readonly iconProps: import("vue").PropType<import("./icon").IconProps>;
5029
5031
  readonly iconPlacement: {
5030
5032
  readonly type: import("vue").PropType<"left" | "right">;
5031
5033
  readonly default: "left";
@@ -6415,6 +6417,7 @@ export declare const UxButton: new () => {
6415
6417
  readonly size?: import("./button").ButtonSize | undefined;
6416
6418
  readonly textColor?: string | undefined;
6417
6419
  readonly renderIcon?: (() => import("vue").VNodeChild) | undefined;
6420
+ readonly iconProps?: import("./icon").IconProps | undefined;
6418
6421
  } & {
6419
6422
  name?: string | undefined | undefined;
6420
6423
  placeholder?: string | undefined | undefined;
@@ -106682,6 +106685,7 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
106682
106685
  readonly autofocus: BooleanConstructor;
106683
106686
  readonly maxLength: NumberConstructor;
106684
106687
  readonly maxRows: NumberConstructor;
106688
+ readonly showCount: BooleanConstructor;
106685
106689
  readonly toolbarButtonProps: import("vue").PropType<Partial<import("./button").ButtonProps>>;
106686
106690
  readonly toolbarIconProps: import("vue").PropType<Partial<import("./icon").IconProps>>;
106687
106691
  readonly toolbarDropdownProps: import("vue").PropType<Partial<import("./select").SelectProps>>;
@@ -106746,6 +106750,9 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
106746
106750
  markdownH2LineHeight: string;
106747
106751
  markdownH3LineHeight: string;
106748
106752
  markdownTextLineHeight: string;
106753
+ countTextColor: string;
106754
+ countFontSize: string;
106755
+ countLineHeight: string;
106749
106756
  }, {
106750
106757
  Button: import("./_mixins").Theme<"Button", {
106751
106758
  heightTiny: string;
@@ -107381,6 +107388,9 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
107381
107388
  markdownH2LineHeight: string;
107382
107389
  markdownH3LineHeight: string;
107383
107390
  markdownTextLineHeight: string;
107391
+ countTextColor: string;
107392
+ countFontSize: string;
107393
+ countLineHeight: string;
107384
107394
  }, {
107385
107395
  Button: import("./_mixins").Theme<"Button", {
107386
107396
  heightTiny: string;
@@ -108016,6 +108026,9 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
108016
108026
  markdownH2LineHeight: string;
108017
108027
  markdownH3LineHeight: string;
108018
108028
  markdownTextLineHeight: string;
108029
+ countTextColor: string;
108030
+ countFontSize: string;
108031
+ countLineHeight: string;
108019
108032
  }, {
108020
108033
  Button: import("./_mixins").Theme<"Button", {
108021
108034
  heightTiny: string;
@@ -108654,6 +108667,7 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
108654
108667
  readonly autofocus: BooleanConstructor;
108655
108668
  readonly maxLength: NumberConstructor;
108656
108669
  readonly maxRows: NumberConstructor;
108670
+ readonly showCount: BooleanConstructor;
108657
108671
  readonly toolbarButtonProps: import("vue").PropType<Partial<import("./button").ButtonProps>>;
108658
108672
  readonly toolbarIconProps: import("vue").PropType<Partial<import("./icon").IconProps>>;
108659
108673
  readonly toolbarDropdownProps: import("vue").PropType<Partial<import("./select").SelectProps>>;
@@ -108718,6 +108732,9 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
108718
108732
  markdownH2LineHeight: string;
108719
108733
  markdownH3LineHeight: string;
108720
108734
  markdownTextLineHeight: string;
108735
+ countTextColor: string;
108736
+ countFontSize: string;
108737
+ countLineHeight: string;
108721
108738
  }, {
108722
108739
  Button: import("./_mixins").Theme<"Button", {
108723
108740
  heightTiny: string;
@@ -109353,6 +109370,9 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
109353
109370
  markdownH2LineHeight: string;
109354
109371
  markdownH3LineHeight: string;
109355
109372
  markdownTextLineHeight: string;
109373
+ countTextColor: string;
109374
+ countFontSize: string;
109375
+ countLineHeight: string;
109356
109376
  }, {
109357
109377
  Button: import("./_mixins").Theme<"Button", {
109358
109378
  heightTiny: string;
@@ -109988,6 +110008,9 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
109988
110008
  markdownH2LineHeight: string;
109989
110009
  markdownH3LineHeight: string;
109990
110010
  markdownTextLineHeight: string;
110011
+ countTextColor: string;
110012
+ countFontSize: string;
110013
+ countLineHeight: string;
109991
110014
  }, {
109992
110015
  Button: import("./_mixins").Theme<"Button", {
109993
110016
  heightTiny: string;
@@ -110580,6 +110603,7 @@ export declare const UEditor: import("vue").DefineComponent<import("vue").Extrac
110580
110603
  readonly disabled: boolean;
110581
110604
  readonly readonly: boolean;
110582
110605
  readonly autofocus: boolean;
110606
+ readonly showCount: boolean;
110583
110607
  readonly toolbar: import("./editor").EditorToolbar;
110584
110608
  readonly showSendButton: boolean;
110585
110609
  readonly sendOnEnter: boolean;
@@ -110649,6 +110673,9 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
110649
110673
  markdownH2LineHeight: string;
110650
110674
  markdownH3LineHeight: string;
110651
110675
  markdownTextLineHeight: string;
110676
+ countTextColor: string;
110677
+ countFontSize: string;
110678
+ countLineHeight: string;
110652
110679
  }, {
110653
110680
  Button: import("./_mixins").Theme<"Button", {
110654
110681
  heightTiny: string;
@@ -111284,6 +111311,9 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
111284
111311
  markdownH2LineHeight: string;
111285
111312
  markdownH3LineHeight: string;
111286
111313
  markdownTextLineHeight: string;
111314
+ countTextColor: string;
111315
+ countFontSize: string;
111316
+ countLineHeight: string;
111287
111317
  }, {
111288
111318
  Button: import("./_mixins").Theme<"Button", {
111289
111319
  heightTiny: string;
@@ -111919,6 +111949,9 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
111919
111949
  markdownH2LineHeight: string;
111920
111950
  markdownH3LineHeight: string;
111921
111951
  markdownTextLineHeight: string;
111952
+ countTextColor: string;
111953
+ countFontSize: string;
111954
+ countLineHeight: string;
111922
111955
  }, {
111923
111956
  Button: import("./_mixins").Theme<"Button", {
111924
111957
  heightTiny: string;
@@ -113344,6 +113377,9 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
113344
113377
  markdownH2LineHeight: string;
113345
113378
  markdownH3LineHeight: string;
113346
113379
  markdownTextLineHeight: string;
113380
+ countTextColor: string;
113381
+ countFontSize: string;
113382
+ countLineHeight: string;
113347
113383
  }, {
113348
113384
  Button: import("./_mixins").Theme<"Button", {
113349
113385
  heightTiny: string;
@@ -113979,6 +114015,9 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
113979
114015
  markdownH2LineHeight: string;
113980
114016
  markdownH3LineHeight: string;
113981
114017
  markdownTextLineHeight: string;
114018
+ countTextColor: string;
114019
+ countFontSize: string;
114020
+ countLineHeight: string;
113982
114021
  }, {
113983
114022
  Button: import("./_mixins").Theme<"Button", {
113984
114023
  heightTiny: string;
@@ -114614,6 +114653,9 @@ export declare const UEditorToolbar: import("vue").DefineComponent<import("vue")
114614
114653
  markdownH2LineHeight: string;
114615
114654
  markdownH3LineHeight: string;
114616
114655
  markdownTextLineHeight: string;
114656
+ countTextColor: string;
114657
+ countFontSize: string;
114658
+ countLineHeight: string;
114617
114659
  }, {
114618
114660
  Button: import("./_mixins").Theme<"Button", {
114619
114661
  heightTiny: string;
@@ -115215,6 +115257,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
115215
115257
  };
115216
115258
  readonly sendDisabled: BooleanConstructor;
115217
115259
  readonly maxRows: NumberConstructor;
115260
+ readonly showCount: BooleanConstructor;
115261
+ readonly maxLength: NumberConstructor;
115218
115262
  readonly sendTooltip: StringConstructor;
115219
115263
  readonly disabled: BooleanConstructor;
115220
115264
  readonly sendButtonProps: import("vue").PropType<Partial<import("./button").ButtonProps>>;
@@ -115269,6 +115313,9 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
115269
115313
  markdownH2LineHeight: string;
115270
115314
  markdownH3LineHeight: string;
115271
115315
  markdownTextLineHeight: string;
115316
+ countTextColor: string;
115317
+ countFontSize: string;
115318
+ countLineHeight: string;
115272
115319
  }, {
115273
115320
  Button: import("./_mixins").Theme<"Button", {
115274
115321
  heightTiny: string;
@@ -115904,6 +115951,9 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
115904
115951
  markdownH2LineHeight: string;
115905
115952
  markdownH3LineHeight: string;
115906
115953
  markdownTextLineHeight: string;
115954
+ countTextColor: string;
115955
+ countFontSize: string;
115956
+ countLineHeight: string;
115907
115957
  }, {
115908
115958
  Button: import("./_mixins").Theme<"Button", {
115909
115959
  heightTiny: string;
@@ -116539,6 +116589,9 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
116539
116589
  markdownH2LineHeight: string;
116540
116590
  markdownH3LineHeight: string;
116541
116591
  markdownTextLineHeight: string;
116592
+ countTextColor: string;
116593
+ countFontSize: string;
116594
+ countLineHeight: string;
116542
116595
  }, {
116543
116596
  Button: import("./_mixins").Theme<"Button", {
116544
116597
  heightTiny: string;
@@ -117359,6 +117412,10 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
117359
117412
  mergedSendButtonProps: import("vue").ComputedRef<Partial<import("./button").ButtonProps> | undefined>;
117360
117413
  mergedSendIconProps: import("vue").ComputedRef<Partial<import("./icon").IconProps> | undefined>;
117361
117414
  mergedContentProps: import("vue").ComputedRef<import("vue").HTMLAttributes | undefined>;
117415
+ mergedShowCount: import("vue").ComputedRef<boolean>;
117416
+ mergedMaxLength: import("vue").ComputedRef<number | undefined>;
117417
+ countAvailable: import("vue").ComputedRef<boolean>;
117418
+ characterCount: import("vue").Ref<number, number>;
117362
117419
  scrollbarInstRef: import("vue").Ref<{
117363
117420
  $el: HTMLElement;
117364
117421
  containerRef: HTMLElement | null;
@@ -117405,6 +117462,8 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
117405
117462
  };
117406
117463
  readonly sendDisabled: BooleanConstructor;
117407
117464
  readonly maxRows: NumberConstructor;
117465
+ readonly showCount: BooleanConstructor;
117466
+ readonly maxLength: NumberConstructor;
117408
117467
  readonly sendTooltip: StringConstructor;
117409
117468
  readonly disabled: BooleanConstructor;
117410
117469
  readonly sendButtonProps: import("vue").PropType<Partial<import("./button").ButtonProps>>;
@@ -117459,6 +117518,9 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
117459
117518
  markdownH2LineHeight: string;
117460
117519
  markdownH3LineHeight: string;
117461
117520
  markdownTextLineHeight: string;
117521
+ countTextColor: string;
117522
+ countFontSize: string;
117523
+ countLineHeight: string;
117462
117524
  }, {
117463
117525
  Button: import("./_mixins").Theme<"Button", {
117464
117526
  heightTiny: string;
@@ -118094,6 +118156,9 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
118094
118156
  markdownH2LineHeight: string;
118095
118157
  markdownH3LineHeight: string;
118096
118158
  markdownTextLineHeight: string;
118159
+ countTextColor: string;
118160
+ countFontSize: string;
118161
+ countLineHeight: string;
118097
118162
  }, {
118098
118163
  Button: import("./_mixins").Theme<"Button", {
118099
118164
  heightTiny: string;
@@ -118729,6 +118794,9 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
118729
118794
  markdownH2LineHeight: string;
118730
118795
  markdownH3LineHeight: string;
118731
118796
  markdownTextLineHeight: string;
118797
+ countTextColor: string;
118798
+ countFontSize: string;
118799
+ countLineHeight: string;
118732
118800
  }, {
118733
118801
  Button: import("./_mixins").Theme<"Button", {
118734
118802
  heightTiny: string;
@@ -119318,6 +119386,7 @@ export declare const UEditorContent: import("vue").DefineComponent<import("vue")
119318
119386
  }>>>;
119319
119387
  }>> & Readonly<{}>, {
119320
119388
  readonly disabled: boolean;
119389
+ readonly showCount: boolean;
119321
119390
  readonly showSendButton: boolean;
119322
119391
  readonly sendDisabled: boolean;
119323
119392
  }, import("vue").SlotsType<import("./editor").EditorSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -179615,8 +179684,8 @@ export declare const UText: import("vue").DefineComponent<import("vue").ExtractP
179615
179684
  color: string;
179616
179685
  code: boolean;
179617
179686
  strong: boolean;
179618
- text: string;
179619
179687
  delete: boolean;
179688
+ text: string;
179620
179689
  variant: import("./typography").TypographyVariant;
179621
179690
  italic: boolean;
179622
179691
  variantOptions: import("./typography").TypographyVariantOptions;