@baishuyun/ui-base 6.12.0 → 6.13.1
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/Amap/AmapCircle/index.js +1 -1
- package/dist/Amap/AmapMarker/index.js +1 -1
- package/dist/Amap/AmapMarkerCluster/index.js +1 -1
- package/dist/Amap/AmapProvider/index.js +4 -4
- package/dist/Amap/{AmapProvider-CvRHhN42.js → AmapProvider-BwyzXpEj.js} +1 -1
- package/dist/Amap/hooks/index.js +1 -1
- package/dist/Amap/index.js +4 -4
- package/dist/Calendar/{AllDaySection-CTaXpCmK.js → AllDaySection-D9YHhwIa.js} +1 -1
- package/dist/Calendar/{Calendar-BOLbbip1.js → Calendar-BnhRvSrX.js} +5 -5
- package/dist/Calendar/{TimeGrid-Ci8Dfama.js → TimeGrid-5zMy9Hks.js} +1 -1
- package/dist/Calendar/context/index.js +1 -1
- package/dist/Calendar/index.js +8 -8
- package/dist/Calendar/subcomponents/AllDaySection/index.js +3 -3
- package/dist/Calendar/subcomponents/CurrentTimeIndicator/index.js +1 -1
- package/dist/Calendar/subcomponents/EventCard/index.js +1 -1
- package/dist/Calendar/subcomponents/TimeAxis/index.js +1 -1
- package/dist/Calendar/subcomponents/TimeGrid/index.js +3 -3
- package/dist/Calendar/utils/index.js +1 -1
- package/dist/Calendar/utils/layout/index.js +1 -1
- package/dist/Calendar/utils/theme/index.js +1 -1
- package/dist/Card/{Card-C8A4XaJZ.js → Card-DDbQQsCc.js} +1 -1
- package/dist/Card/index.js +3 -3
- package/dist/CheckBox/{CheckBox-DBzTOuRy.js → CheckBox-CwfrMEFb.js} +1 -1
- package/dist/CheckBox/{CheckBox-Dt4x6IqH.js → CheckBox-DFfNiPGM.js} +1 -1
- package/dist/CheckBox/index.js +4 -4
- package/dist/ColorPicker/{ColorPicker-Buku806Y.js → ColorPicker-Cm_-e0Hz.js} +34 -31
- package/dist/ColorPicker/index.js +5 -5
- package/dist/ConfigProvider/index.js +3 -3
- package/dist/DatePicker/{DatePicker-Vi3wfsfz.js → DatePicker-CWMePqTh.js} +9 -9
- package/dist/DatePicker/{DatePickerPanel-Cwmb-4UR.js → DatePickerPanel-D1nt3h5X.js} +4 -4
- package/dist/DatePicker/index.js +4 -4
- package/dist/DatePicker/style/index.js +1 -1
- package/dist/DropDown/DropDown-DV1IuuQD.js +290 -0
- package/dist/DropDown/index.js +7 -7
- package/dist/DropDown/style/index.js +1 -1
- package/dist/Editor/Buttons-C6whbXgn.js +1740 -0
- package/dist/Editor/ToolbarPlugin/Buttons/index.js +12 -12
- package/dist/Editor/constants/index.js +10 -3
- package/dist/Editor/index.js +1572 -909
- package/dist/Gantt/GanttChart/index.js +9 -9
- package/dist/Gantt/{GanttChart-WIrD6Z7O.js → GanttChart-DEGOIgRD.js} +3 -3
- package/dist/Gantt/GanttTable/index.js +5 -5
- package/dist/Gantt/{GanttTable-CdXhMHF6.js → GanttTable-Dwb00N8Z.js} +1 -1
- package/dist/Gantt/GanttToolBar/index.js +8 -8
- package/dist/Gantt/{GanttToolBar-C1gAS9v2.js → GanttToolBar-BcJB6sKY.js} +3 -3
- package/dist/Gantt/index.js +11 -11
- package/dist/Gantt/utils/index.js +1 -1
- package/dist/Gantt/utils/theme/index.js +1 -1
- package/dist/Icon/{Icon-oQ_uBooE.js → Icon-DDHx0R18.js} +1 -1
- package/dist/Icon/index.js +2 -2
- package/dist/InputTag/{InputTag-BQpIRPtc.js → InputTag-CBnG1R7g.js} +2 -2
- package/dist/InputTag/index.js +5 -5
- package/dist/Loading/{Loading-CiRe7i2R.js → Loading-DYayeRbT.js} +1 -1
- package/dist/Loading/index.js +4 -4
- package/dist/Modal/{Modal-17rLsxN4.js → Modal-BnF6CUrn.js} +20 -17
- package/dist/Modal/index.js +3 -3
- package/dist/NotFoundContent/index.js +1 -1
- package/dist/Overlay/index.js +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/ScrollBar/index.js +1 -1
- package/dist/Segmented/index.js +1 -1
- package/dist/Select/{Select-p_ly7xmz.js → Select-CG5wFTL4.js} +13 -13
- package/dist/Select/{SelectInputSearch-BBwVIb8u.js → SelectInputSearch-DiuwwOWz.js} +2 -2
- package/dist/Select/index.js +10 -10
- package/dist/Table/{Table-CSPdFGYn.js → Table-B7J-IK2_.js} +1 -1
- package/dist/Table/hooks/index.js +1 -1
- package/dist/Table/index.js +4 -4
- package/dist/Table/style/index.js +1 -1
- package/dist/Table/utils/index.js +1 -1
- package/dist/Tabs/{Tabs-D2A8nJl8.js → Tabs-CObQtF37.js} +7 -7
- package/dist/Tabs/index.js +6 -6
- package/dist/Tooltip/index.js +1 -1
- package/dist/Tree/index.js +4 -4
- package/dist/Tree/utils/index.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.type.d.ts +2 -0
- package/dist/components/ColorPicker/useFloatingColorPicker.d.ts +1 -1
- package/dist/components/DropDown/DropDownOpenContext.d.ts +4 -0
- package/dist/components/DropDown/MenuItem/MenuItem.d.ts +4 -0
- package/dist/components/DropDown/interface.d.ts +5 -1
- package/dist/components/Editor/Preview/EditorPreview.d.ts +9 -0
- package/dist/components/Editor/Preview/HtmlPreview.d.ts +5 -0
- package/dist/components/Editor/Preview/PolishModal.d.ts +14 -0
- package/dist/components/Editor/Preview/Thinking.d.ts +23 -0
- package/dist/components/Editor/Preview/TypesetModal.d.ts +12 -0
- package/dist/components/Editor/ToolbarPlugin/BaseButton/BaseButton.d.ts +5 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/AiButton.d.ts +3 -0
- package/dist/components/Editor/ToolbarPlugin/Buttons/AlignButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/BoldButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/BulletListButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/ClearFormatButton.d.ts +3 -0
- package/dist/components/Editor/ToolbarPlugin/Buttons/CodeButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/FillButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/FontColorButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/FontSizeButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/HeadingButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/IndentButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/ItalicButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/LinkButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/NumberListButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/OutdentButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/PictureButton/PictureButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/PictureButton/UploadImage.d.ts +1 -0
- package/dist/components/Editor/ToolbarPlugin/Buttons/RedoButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/SourceButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/StrikeThroughButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/SubscriptButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/SuperscriptButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/TableButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/UnLinkButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/UnderLineButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/UndoButton.d.ts +2 -1
- package/dist/components/Editor/ToolbarPlugin/Buttons/index.d.ts +26 -23
- package/dist/components/Editor/ToolbarPlugin/Buttons/registry.d.ts +4 -1
- package/dist/components/Editor/ToolbarPlugin/context/TextFormatsContext.d.ts +1 -0
- package/dist/components/Editor/ToolbarPlugin/interface.d.ts +2 -2
- package/dist/components/Editor/constants/ai.d.ts +12 -0
- package/dist/components/Editor/constants/index.d.ts +3 -0
- package/dist/components/Editor/constants/portableEditorStyles.d.ts +11 -0
- package/dist/components/Editor/constants/toolbarSize.d.ts +12 -0
- package/dist/components/Editor/context/EditorContainerContext.d.ts +27 -1
- package/dist/components/Editor/index.d.ts +2 -2
- package/dist/components/Editor/interface.d.ts +60 -13
- package/dist/components/Editor/utils/applyAiPolish.d.ts +8 -0
- package/dist/components/Editor/utils/applyAiTypeset.d.ts +5 -0
- package/dist/components/Editor/utils/clearInlineTextFormat.d.ts +1 -0
- package/dist/components/Editor/utils/computeToolbarOverflowSplit.d.ts +12 -0
- package/dist/components/Editor/utils/extractCodePlaceholders.d.ts +6 -0
- package/dist/components/Editor/utils/formatEditorHtml.d.ts +1 -1
- package/dist/components/Editor/utils/htmlText.d.ts +2 -0
- package/dist/components/Editor/utils/prepareTypesetProposed.d.ts +2 -0
- package/dist/components/Editor/utils/readEditorAiSnapshot.d.ts +9 -0
- package/dist/components/Editor/utils/resolveEditorAlign.d.ts +3 -0
- package/dist/components/Editor/utils/resolveEditorImageUpload.d.ts +8 -0
- package/dist/components/Editor/utils/resolveEditorToolbarThemeVars.d.ts +5 -5
- package/dist/components/Editor/utils/stitchCodePlaceholders.d.ts +6 -0
- package/dist/components/Editor/utils/toPortableEditorHtml.d.ts +1 -0
- package/dist/components/Editor/utils/unwrapTypesetFence.d.ts +5 -0
- package/dist/components/Modal/Modal.type.d.ts +1 -0
- package/dist/hooks/useFloatingPortal.d.ts +2 -0
- package/dist/index.js +24 -24
- package/dist/locale/lang/en-US.json.d.ts +22 -2
- package/dist/locale/lang/zh-CN.json.d.ts +22 -2
- package/dist/locale/lang/zh-TW.json.d.ts +22 -2
- package/dist/style.css +1 -1
- package/dist/vendors/{ConfigProvider-4xHyyeop.js → ConfigProvider-BDyxjj6K.js} +45 -5
- package/dist/vendors/{LocaleContext-I4PW9j4M.js → LocaleContext-w5ODGcJX.js} +22 -2
- package/dist/vendors/{Tree-B8cR9y6U.js → Tree-B7XeC9Mi.js} +2 -2
- package/dist/vendors/{useFloatingPortal-CmVJbuRm.js → useFloatingPortal-B3N1viK2.js} +8 -7
- package/dist/vendors/{useLocale-FGYsRWSe.js → useLocale-CEDl6cUK.js} +1 -1
- package/dist/vendors/{version-CJyzNHuS.js → version-BlinfPSN.js} +1 -1
- package/package.json +2 -3
- package/dist/DropDown/DropDown-CuL1Qq25.js +0 -178
- package/dist/Editor/Buttons-CMkFTv6y.js +0 -1016
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import "../../../vendors/version-
|
|
1
|
+
import "../../../vendors/version-BlinfPSN.js";
|
|
2
2
|
import "../../../ScrollBar/style-D26azwz6.js";
|
|
3
|
-
import "../../../Icon/Icon-
|
|
4
|
-
import "../../../vendors/LocaleContext-
|
|
3
|
+
import "../../../Icon/Icon-DDHx0R18.js";
|
|
4
|
+
import "../../../vendors/LocaleContext-w5ODGcJX.js";
|
|
5
5
|
import "../../../Overlay/OverlayContext-CVSFoyqN.js";
|
|
6
|
-
import "../../../Modal/Modal-
|
|
7
|
-
import "../../../ColorPicker/ColorPicker-
|
|
6
|
+
import "../../../Modal/Modal-BnF6CUrn.js";
|
|
7
|
+
import "../../../ColorPicker/ColorPicker-Cm_-e0Hz.js";
|
|
8
8
|
import "../../../vendors/useFloatingOverlay-B3M9k8nj.js";
|
|
9
|
-
import "../../../vendors/useLocale-
|
|
9
|
+
import "../../../vendors/useLocale-CEDl6cUK.js";
|
|
10
10
|
import "../../../vendors/useLatchedPopupPortalRoot-4fVhqVT4.js";
|
|
11
|
-
import "../../../Select/SelectInputSearch-
|
|
12
|
-
import "../../../CheckBox/CheckBox-
|
|
13
|
-
import "../../../CheckBox/CheckBox-
|
|
11
|
+
import "../../../Select/SelectInputSearch-DiuwwOWz.js";
|
|
12
|
+
import "../../../CheckBox/CheckBox-DFfNiPGM.js";
|
|
13
|
+
import "../../../CheckBox/CheckBox-CwfrMEFb.js";
|
|
14
14
|
import "../../../NotFoundContent/NotFoundContent-BLmzWNBi.js";
|
|
15
15
|
import "../../../ScrollBar/ScrollBar-N2pOLv-8.js";
|
|
16
|
-
import "../../../vendors/useFloatingPortal-
|
|
17
|
-
import "../../../DropDown/DropDown-
|
|
16
|
+
import "../../../vendors/useFloatingPortal-B3N1viK2.js";
|
|
17
|
+
import "../../../DropDown/DropDown-DV1IuuQD.js";
|
|
18
18
|
import "../../../DropDown/style-LLDVPpPa.js";
|
|
19
|
-
import { a as e, i as t, n, r, t as i } from "../../Buttons-
|
|
19
|
+
import { a as e, i as t, n, r, t as i } from "../../Buttons-C6whbXgn.js";
|
|
20
20
|
export { i as default, n as getToolbarButton, r as listRegisteredToolbarButtons, t as registerToolbarButton, e as unregisterToolbarButton };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../vendors/version-
|
|
1
|
+
import "../../vendors/version-BlinfPSN.js";
|
|
2
2
|
//#region src/components/Editor/constants/index.ts
|
|
3
3
|
var e = [
|
|
4
4
|
{
|
|
@@ -49,6 +49,13 @@ var e = [
|
|
|
49
49
|
label: "128",
|
|
50
50
|
value: "128px"
|
|
51
51
|
}
|
|
52
|
-
], t = "16px", n = "#000", r = "transparent", i = 5 * 1024 * 1024, a = 10, o =
|
|
52
|
+
], t = "16px", n = "#000", r = "transparent", i = 5 * 1024 * 1024, a = 10, o = [
|
|
53
|
+
"jpg",
|
|
54
|
+
"jpeg",
|
|
55
|
+
"png",
|
|
56
|
+
"gif",
|
|
57
|
+
"bmp",
|
|
58
|
+
"tif"
|
|
59
|
+
], s = o.map((e) => `.${e}`).join(","), c = 10;
|
|
53
60
|
//#endregion
|
|
54
|
-
export { r as DEFAULT_BACKGROUND_COLOR, n as DEFAULT_FONT_COLOR, t as DEFAULT_FONT_SIZE, e as FONT_SIZES, i as IMAGE_MAX_BYTES, a as IMAGE_MAX_COUNT,
|
|
61
|
+
export { r as DEFAULT_BACKGROUND_COLOR, n as DEFAULT_FONT_COLOR, t as DEFAULT_FONT_SIZE, s as EDITOR_IMAGE_ACCEPT, o as EDITOR_IMAGE_FILE_TYPES, e as FONT_SIZES, i as IMAGE_MAX_BYTES, a as IMAGE_MAX_COUNT, c as TABLE_GRID_SIZE };
|