@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
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
//#region src/components/Icon/Icon.module.scss
|
|
3
|
-
var t = { "bsy-icon": "_bsy-icon_gwzb9_1" }, n = /* @__PURE__ */ new Set();
|
|
4
|
-
//#endregion
|
|
5
|
-
//#region src/components/Icon/Icon.tsx
|
|
6
|
-
((e) => {
|
|
7
|
-
if (!e || n.has(e) || (n.add(e), [...document.scripts].some((t) => t.getAttribute("src") === e))) return;
|
|
8
|
-
let t = document.createElement("script");
|
|
9
|
-
t.setAttribute("src", e), document.body.appendChild(t);
|
|
10
|
-
})("https://at.alicdn.com/t/c/font_4786625_bgf4g3m46wv.js");
|
|
11
|
-
var r = ({ name: n, size: r = 16, color: i, className: a }) => /* @__PURE__ */ e("svg", {
|
|
12
|
-
className: [t["bsy-icon"], a].filter(Boolean).join(" "),
|
|
13
|
-
style: {
|
|
14
|
-
color: i,
|
|
15
|
-
fontSize: `${r}px`
|
|
16
|
-
},
|
|
17
|
-
"aria-hidden": !0,
|
|
18
|
-
focusable: "false",
|
|
19
|
-
children: /* @__PURE__ */ e("use", { href: `#icon-${n}` })
|
|
20
|
-
});
|
|
21
|
-
r.displayName = "BsyIcon";
|
|
22
|
-
//#endregion
|
|
23
|
-
export { r as t };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { EditorAi, EditorAiMode, EditorAiPreset } from './interface';
|
|
2
|
-
import { EditorSheetKind } from './toolbar/Toolbar';
|
|
3
|
-
type OptionSheetsProps = {
|
|
4
|
-
sheet: EditorSheetKind | 'aiPreset' | null;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
onTypeset: () => void;
|
|
7
|
-
onPolishMenu: () => void;
|
|
8
|
-
onPickPreset: (preset: EditorAiPreset) => void;
|
|
9
|
-
onPicture: (key: 'upload' | 'url') => void;
|
|
10
|
-
canTypeset: boolean;
|
|
11
|
-
canPolish: boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare const OptionSheets: ({ sheet, onClose, onTypeset, onPolishMenu, onPickPreset, onPicture, canTypeset, canPolish, }: OptionSheetsProps) => import("react").JSX.Element;
|
|
14
|
-
export type LinkDraft = {
|
|
15
|
-
url: string;
|
|
16
|
-
text: string;
|
|
17
|
-
newBlank: boolean;
|
|
18
|
-
};
|
|
19
|
-
type LinkPopupProps = {
|
|
20
|
-
open: boolean;
|
|
21
|
-
seed: LinkDraft | null;
|
|
22
|
-
onClose: () => void;
|
|
23
|
-
onConfirm: (draft: LinkDraft) => void;
|
|
24
|
-
};
|
|
25
|
-
export declare const LinkPopup: ({ open, seed, onClose, onConfirm }: LinkPopupProps) => import("react").JSX.Element;
|
|
26
|
-
type ImageUrlPopupProps = {
|
|
27
|
-
open: boolean;
|
|
28
|
-
onClose: () => void;
|
|
29
|
-
onConfirm: (src: string) => void;
|
|
30
|
-
};
|
|
31
|
-
export declare const ImageUrlPopup: ({ open, onClose, onConfirm }: ImageUrlPopupProps) => import("react").JSX.Element;
|
|
32
|
-
type AiResultPopupProps = {
|
|
33
|
-
open: boolean;
|
|
34
|
-
mode: EditorAiMode | null;
|
|
35
|
-
originalHtml: string;
|
|
36
|
-
ai: EditorAi | undefined;
|
|
37
|
-
polishPreset: EditorAiPreset;
|
|
38
|
-
onClose: () => void;
|
|
39
|
-
onApply: () => void;
|
|
40
|
-
onPickPreset: (preset: EditorAiPreset) => void;
|
|
41
|
-
};
|
|
42
|
-
export declare const AiResultPopup: ({ open, mode, originalHtml, ai, polishPreset, onClose, onApply, onPickPreset, }: AiResultPopupProps) => import("react").JSX.Element;
|
|
43
|
-
export {};
|
|
File without changes
|