@baishuyun/ui-mobile 0.9.1 → 0.10.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/dist/AMap/{AMap-B1GiEoPE.js → AMap-BkfhkrnK.js} +106 -106
- package/dist/AMap/index.js +4 -4
- package/dist/ActionSheet/{ActionSheet-DVck9uyS.js → ActionSheet-DJyeduZq.js} +7 -7
- package/dist/ActionSheet/index.js +6 -6
- package/dist/Calendar/{Calendar-B1TwDL1q.js → Calendar-Cf81JVOC.js} +353 -356
- package/dist/Calendar/index.js +5 -4
- package/dist/Calendar/{cssVars-DNOooryc.js → timeUtils-t4A3-Hr6.js} +1 -3
- package/dist/ConfigProvider/{ConfigProvider-xyGx046s.js → ConfigProvider-CNWefxiV.js} +14 -2
- package/dist/ConfigProvider/index.js +4 -4
- package/dist/ConfigProvider/{useLocale-Bf81I-9U.js → useLocale-DiKogqPs.js} +6 -0
- package/dist/Editor/Editor-CfA-ye-u.js +2774 -0
- package/dist/Editor/index.js +8 -8
- package/dist/Gantt/{Gantt-CbHw9RMw.js → Gantt-Bhvbj3l8.js} +220 -219
- package/dist/Gantt/index.js +8 -8
- package/dist/Icon/Icon-BKlmJSoE.js +23 -0
- package/dist/Icon/index.js +2 -2
- package/dist/Overlay/index.js +2 -2
- package/dist/Popup/{Popup-BIIDAUmB.js → Popup-Cg3t422z.js} +2 -2
- package/dist/Popup/index.js +4 -4
- package/dist/Segmented/Segmented-CxQ3Pd05.js +85 -0
- package/dist/Segmented/index.js +3 -0
- package/dist/components/Editor/{EditorHtml.d.ts → EditorHtmlPreview.d.ts} +1 -1
- package/dist/components/Editor/color/EditorColorPicker.d.ts +11 -0
- package/dist/components/Editor/color/colorUtils.d.ts +32 -0
- package/dist/components/Editor/constants/codeLanguages.d.ts +6 -0
- package/dist/components/Editor/hooks/useEditorAiSession.d.ts +20 -0
- package/dist/components/Editor/hooks/useEditorFocus.d.ts +1 -0
- package/dist/components/Editor/hooks/useEditorImageUpload.d.ts +17 -0
- package/dist/components/Editor/hooks/useEditorLink.d.ts +15 -0
- package/dist/components/Editor/hooks/useEditorValueBridge.d.ts +10 -0
- package/dist/components/Editor/htmlConfig.d.ts +2 -0
- package/dist/components/Editor/index.d.ts +1 -1
- package/dist/components/Editor/nodes/ExtendedLinkNode.d.ts +9 -0
- package/dist/components/Editor/plugins/CodeHighlightPlugin.d.ts +2 -0
- package/dist/components/Editor/plugins/EnterKeyPlugin.d.ts +1 -0
- package/dist/components/Editor/plugins/TablePlugin.d.ts +2 -0
- package/dist/components/Editor/popups/AiResultPopup.d.ts +13 -0
- package/dist/components/Editor/popups/ImageUrlPopup.d.ts +7 -0
- package/dist/components/Editor/popups/LinkPopup.d.ts +13 -0
- package/dist/components/Editor/popups/OptionSheets.d.ts +23 -0
- package/dist/components/Editor/popups/index.d.ts +4 -0
- package/dist/components/Editor/popups/shared.d.ts +11 -0
- package/dist/components/Editor/toolbar/Toolbar.d.ts +7 -1
- package/dist/components/Editor/toolbar/useTextFormats.d.ts +2 -15
- package/dist/components/Editor/utils/codeHighlighter.d.ts +12 -0
- package/dist/components/Editor/utils/placeProgrammaticCaret.d.ts +4 -0
- package/dist/components/Editor/utils/readTextFormats.d.ts +21 -0
- package/dist/components/Editor/utils/retainCodeSelection.d.ts +3 -0
- package/dist/components/Segmented/Segmented.d.ts +7 -0
- package/dist/components/Segmented/index.d.ts +2 -0
- package/dist/components/Segmented/interface.d.ts +42 -0
- package/dist/components/index.d.ts +3 -1
- package/dist/index.js +14 -13
- package/dist/locale/lang/en-US.json.d.ts +6 -0
- package/dist/locale/lang/zh-CN.json.d.ts +6 -0
- package/dist/locale/lang/zh-TW.json.d.ts +6 -0
- package/dist/style.css +1 -1
- package/dist/vendors/cssVars-BbL_cmFM.js +6 -0
- package/dist/vendors/{version-CegBK2kS.js → version-C0got4sp.js} +1 -1
- package/package.json +7 -1
- package/dist/Editor/Editor-COxP3RpF.js +0 -2059
- package/dist/Icon/Icon-D3xi1oyo.js +0 -23
- package/dist/components/Editor/sheets.d.ts +0 -43
- /package/dist/Overlay/{Overlay-CqQWOqO4.js → Overlay-DFiZYsBs.js} +0 -0
package/dist/Calendar/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
2
|
-
import
|
|
3
|
-
import "
|
|
4
|
-
import "./
|
|
1
|
+
import "../vendors/version-C0got4sp.js";
|
|
2
|
+
import "../ConfigProvider/useLocale-DiKogqPs.js";
|
|
3
|
+
import "./timeUtils-t4A3-Hr6.js";
|
|
4
|
+
import { t as e } from "./Calendar-Cf81JVOC.js";
|
|
5
|
+
import "../Segmented/Segmented-CxQ3Pd05.js";
|
|
5
6
|
export { e as default };
|
|
@@ -22,8 +22,6 @@ var a = () => e(null), o = (e, t) => !!(t && e.$x?.$timezone === t), s = (t, n)
|
|
|
22
22
|
}, c = (t) => t ? e().tz(t) : e(), l = (t) => {
|
|
23
23
|
let n = t ? e().tz(t).utcOffset() : e().utcOffset(), r = n >= 0 ? "+" : "-", i = Math.abs(n), a = Math.floor(i / 60), o = i % 60;
|
|
24
24
|
return o === 0 ? `GMT${r}${a}` : `GMT${r}${a}:${String(o).padStart(2, "0")}`;
|
|
25
|
-
}, u = (e, t, n) => {
|
|
26
|
-
n && (e[t] = n);
|
|
27
25
|
};
|
|
28
26
|
//#endregion
|
|
29
|
-
export {
|
|
27
|
+
export { l as n, s as r, c as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as e } from "../Overlay/Overlay-
|
|
2
|
-
import { a as t, i as n, n as r } from "./useLocale-
|
|
1
|
+
import { r as e } from "../Overlay/Overlay-DFiZYsBs.js";
|
|
2
|
+
import { a as t, i as n, n as r } from "./useLocale-DiKogqPs.js";
|
|
3
3
|
import { useCallback as i, useContext as a, useMemo as o } from "react";
|
|
4
4
|
import { jsx as s } from "react/jsx-runtime";
|
|
5
5
|
var c = {
|
|
@@ -118,6 +118,12 @@ var c = {
|
|
|
118
118
|
fontColor: "顏色",
|
|
119
119
|
fill: "填滿",
|
|
120
120
|
fillNone: "無填滿",
|
|
121
|
+
presetColors: "預設顏色",
|
|
122
|
+
customColor: "自訂",
|
|
123
|
+
customColors: "自訂顏色",
|
|
124
|
+
addSwatch: "新增顏色",
|
|
125
|
+
colorBack: "返回顏色面板",
|
|
126
|
+
colorSpectrum: "色譜",
|
|
121
127
|
picture: "圖片",
|
|
122
128
|
uploadImage: "上傳圖片",
|
|
123
129
|
imageUrl: "圖片URL",
|
|
@@ -267,6 +273,12 @@ var c = {
|
|
|
267
273
|
fontColor: "Font color",
|
|
268
274
|
fill: "Fill",
|
|
269
275
|
fillNone: "No fill",
|
|
276
|
+
presetColors: "Preset colors",
|
|
277
|
+
customColor: "Custom",
|
|
278
|
+
customColors: "Custom colors",
|
|
279
|
+
addSwatch: "Add color",
|
|
280
|
+
colorBack: "Back to colors",
|
|
281
|
+
colorSpectrum: "Color spectrum",
|
|
270
282
|
picture: "Image",
|
|
271
283
|
uploadImage: "Upload image",
|
|
272
284
|
imageUrl: "Image URL",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
2
|
-
import "../Overlay/Overlay-
|
|
3
|
-
import { r as e, t } from "./useLocale-
|
|
4
|
-
import { t as n } from "./ConfigProvider-
|
|
1
|
+
import "../vendors/version-C0got4sp.js";
|
|
2
|
+
import "../Overlay/Overlay-DFiZYsBs.js";
|
|
3
|
+
import { r as e, t } from "./useLocale-DiKogqPs.js";
|
|
4
|
+
import { t as n } from "./ConfigProvider-CNWefxiV.js";
|
|
5
5
|
export { n as ConfigProvider, n as default, e as useAMapConfig, t as useLocale };
|
|
@@ -115,6 +115,12 @@ var n = {
|
|
|
115
115
|
fontColor: "颜色",
|
|
116
116
|
fill: "填充",
|
|
117
117
|
fillNone: "无填充",
|
|
118
|
+
presetColors: "预设颜色",
|
|
119
|
+
customColor: "自定义",
|
|
120
|
+
customColors: "自定义颜色",
|
|
121
|
+
addSwatch: "添加颜色",
|
|
122
|
+
colorBack: "返回颜色面板",
|
|
123
|
+
colorSpectrum: "色谱",
|
|
118
124
|
picture: "图片",
|
|
119
125
|
uploadImage: "上传图片",
|
|
120
126
|
imageUrl: "图片URL",
|