@pisell/materials 6.11.273 → 6.11.274

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 (78) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +3 -3
  5. package/build/lowcode/preview.js +1 -1
  6. package/build/lowcode/render/default/view.css +1 -1
  7. package/build/lowcode/render/default/view.js +8 -8
  8. package/build/lowcode/view.css +1 -1
  9. package/build/lowcode/view.js +8 -8
  10. package/es/components/PisellCards/index.d.ts +0 -1
  11. package/es/components/PisellFields/index.d.ts +0 -1
  12. package/es/components/PisellLayouts/index.d.ts +0 -1
  13. package/es/components/PisellMetrics/index.d.ts +0 -1
  14. package/es/components/appVersionControl/types.d.ts +0 -1
  15. package/es/components/calendar/index.d.ts +0 -1
  16. package/es/components/checkbox/index.d.ts +0 -1
  17. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  18. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -1
  19. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +0 -1
  20. package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +0 -1
  21. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  22. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  23. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
  24. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -1
  25. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -1
  26. package/es/components/date-picker/index.d.ts +0 -1
  27. package/es/components/drag-sort-tree/types.d.ts +0 -1
  28. package/es/components/filter/components/FilterButton/types.d.ts +0 -1
  29. package/es/components/input/index.d.ts +0 -1
  30. package/es/components/pisell-config-provider/context.d.ts +0 -1
  31. package/es/components/pisellDatePicker/index.d.ts +0 -1
  32. package/es/components/pisellGridPro/ToolBar/type.d.ts +0 -1
  33. package/es/components/pisellLookup/PisellLookup.less +24 -2
  34. package/es/components/pisellLookup/components/LookupResultHost.js +1 -1
  35. package/es/components/pisellMenu/types.d.ts +0 -1
  36. package/es/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.js +4 -3
  37. package/es/components/pisellQuickFilter/type.d.ts +0 -1
  38. package/es/components/radio/index.d.ts +0 -1
  39. package/es/components/section-footers/index.d.ts +0 -1
  40. package/es/components/skeleton/index.d.ts +0 -1
  41. package/es/components/time-picker/index.d.ts +0 -1
  42. package/es/components/upload/index.d.ts +0 -1
  43. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -1
  44. package/lib/components/PisellCards/index.d.ts +0 -1
  45. package/lib/components/PisellFields/index.d.ts +0 -1
  46. package/lib/components/PisellLayouts/index.d.ts +0 -1
  47. package/lib/components/PisellMetrics/index.d.ts +0 -1
  48. package/lib/components/appVersionControl/types.d.ts +0 -1
  49. package/lib/components/calendar/index.d.ts +0 -1
  50. package/lib/components/checkbox/index.d.ts +0 -1
  51. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  52. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -1
  53. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +0 -1
  54. package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +0 -1
  55. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  56. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  57. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
  58. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -1
  59. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -1
  60. package/lib/components/date-picker/index.d.ts +0 -1
  61. package/lib/components/drag-sort-tree/types.d.ts +0 -1
  62. package/lib/components/filter/components/FilterButton/types.d.ts +0 -1
  63. package/lib/components/input/index.d.ts +0 -1
  64. package/lib/components/pisell-config-provider/context.d.ts +0 -1
  65. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  66. package/lib/components/pisellGridPro/ToolBar/type.d.ts +0 -1
  67. package/lib/components/pisellLookup/PisellLookup.less +24 -2
  68. package/lib/components/pisellLookup/components/LookupResultHost.js +1 -1
  69. package/lib/components/pisellMenu/types.d.ts +0 -1
  70. package/lib/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.js +6 -3
  71. package/lib/components/pisellQuickFilter/type.d.ts +0 -1
  72. package/lib/components/radio/index.d.ts +0 -1
  73. package/lib/components/section-footers/index.d.ts +0 -1
  74. package/lib/components/skeleton/index.d.ts +0 -1
  75. package/lib/components/time-picker/index.d.ts +0 -1
  76. package/lib/components/upload/index.d.ts +0 -1
  77. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -1
  78. package/package.json +3 -3
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellBasicCardProps } from "./types.js";
3
2
  import { ImageDataSource, ImageFillMode, PisellImageCardProps } from "./components/PisellImageCard/types.js";
4
3
  import { GraphicConfig, GraphicTextCardProps, GraphicTextCardSize, GraphicTextCardVariant } from "./components/GraphicTextCard/types.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellSingleLineTextProps } from "../pisellSingleLineText/types.js";
3
2
  import { PisellLongTextProps } from "../pisellLongText/types.js";
4
3
  import { PisellNumberProps } from "../pisellNumber/types.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellBasicGridProps } from "../PisellBasicGrid/types.js";
3
2
  import { PisellScrollViewProps, PisellScrollViewRef } from "../PisellScrollView/types.js";
4
3
  import { FloorMapFullscreenMode, FloorMapItemBase, FloorMapLayoutContextValue, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef } from "../pisellFloorMapLayout/types.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellMetricCardProps } from "../pisellMetricCard/types.js";
3
2
  import { PisellStatisticListProps } from "../pisellStatisticList/index.js";
4
3
  import { PisellStatisticProps } from "../cardMetricItem/index.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  //#region src/components/appVersionControl/types.d.ts
3
2
  interface Version {
4
3
  id: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/calendar/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/checkbox/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LocalSettingsType } from "../../table/types.js";
3
2
  import { DataSourceType } from "../provider/dataSource/DataSourceContext.js";
4
3
  import { ColumnType } from "antd/es/table";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxGroupProps } from "./type.js";
3
2
  import { WithModeProps } from "../../dataSourceForm/utils.js";
4
3
  import * as _$react from "react";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WithModeProps } from "../../dataSourceForm/utils.js";
3
2
  import { RadioGroupProps } from "./type.js";
4
3
  import * as _$react from "react";
@@ -5,7 +5,7 @@ import React from "react";
5
5
  //#region src/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts
6
6
  declare const RecordListWrapperWithDataSource: (props: RecordListWrapperProps & WithModeProps & WithFormItemProps & {
7
7
  options?: any;
8
- optionSourceType?: "custom" | "default" | "api" | undefined;
8
+ optionSourceType?: "default" | "custom" | "api" | undefined;
9
9
  labelField: string;
10
10
  valueField: string;
11
11
  extraParams?: Record<string, any> | undefined;
@@ -6,7 +6,7 @@ import * as _$antd_es_select0 from "antd/es/select";
6
6
  //#region src/components/dataSourceComponents/fields/Select/index.d.ts
7
7
  declare const SelectWithDataSource: (props: _$antd.SelectProps<any, _$antd_es_select0.DefaultOptionType> & WithModeProps & WithFormItemProps & {
8
8
  options?: any;
9
- optionSourceType?: "custom" | "default" | "api" | undefined;
9
+ optionSourceType?: "default" | "custom" | "api" | undefined;
10
10
  labelField: string;
11
11
  valueField: string;
12
12
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
3
2
  import { TabsProps } from "./type.js";
4
3
  import * as _$react from "react";
@@ -7,7 +6,7 @@ import * as _$react from "react";
7
6
  /** 包装 DataSource 层(提供数据源上下文) */
8
7
  declare const FormItemTabs: (props: TabsProps & WithModeProps & WithFormItemProps & {
9
8
  options?: any;
10
- optionSourceType?: "custom" | "default" | "api" | undefined;
9
+ optionSourceType?: "default" | "custom" | "api" | undefined;
11
10
  labelField: string;
12
11
  valueField: string;
13
12
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ModeType } from "../../dataSourceForm/type.js";
3
2
 
4
3
  //#region src/components/dataSourceComponents/fields/Translation/type.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionsItem } from "../../dataSourceForm/serve.js";
3
2
  import { Result } from "ahooks/es/useRequest/src/types";
4
3
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/date-picker/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  //#region src/components/drag-sort-tree/types.d.ts
3
2
  type IdType = string | number;
4
3
  type ValueProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterItemProps } from "../../types.js";
3
2
 
4
3
  //#region src/components/filter/components/FilterButton/types.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
  import { InputProps, InputRef } from "antd";
4
3
  import * as _$antd_es_input0 from "antd/es/input";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/pisell-config-provider/context.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/pisellDatePicker/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  //#region src/components/pisellGridPro/ToolBar/type.d.ts
3
2
  interface ToolBarProps {
4
3
  className?: string;
@@ -538,6 +538,12 @@
538
538
  line-height: 24px;
539
539
  flex-shrink: 0;
540
540
 
541
+ > .pisell-lowcode-btn-icon,
542
+ > .ant-btn-icon {
543
+ margin-right: 0 !important;
544
+ margin-inline-end: 0 !important;
545
+ }
546
+
541
547
  &:hover {
542
548
  background-color: #f9fafb !important;
543
549
  border-color: #d0d5dd !important;
@@ -616,7 +622,8 @@
616
622
  }
617
623
 
618
624
  .pisell-lowcode-modal-body {
619
- padding: 0;
625
+ // PcModal 的 #body 规则默认左右 24px;仅搜索弹窗覆盖为 12px。
626
+ padding: 0 12px !important;
620
627
  }
621
628
 
622
629
  .pisell-lowcode-modal-content {
@@ -632,7 +639,7 @@
632
639
 
633
640
  .pisell-lookup-modal-custom-container {
634
641
  position: absolute !important;
635
- top: var(env(safe-area-inset-top), 0) !important;
642
+ top: env(safe-area-inset-top, 0px) !important;
636
643
  left: 0 !important;
637
644
  right: 0 !important;
638
645
  bottom: 0 !important;
@@ -649,6 +656,21 @@
649
656
  }
650
657
  }
651
658
 
659
+ // 顶部搜索浮层统一预留 10px,并兼顾系统安全区。
660
+ .pisell-lookup-modal-wrapper-top {
661
+ margin-top: max(10px, env(safe-area-inset-top, 0px));
662
+
663
+ // 自定义挂载点已包含安全区,避免重复叠加。
664
+ .pisell-lookup-modal-custom-container & {
665
+ margin-top: max(0px, calc(10px - env(safe-area-inset-top, 0px)));
666
+ }
667
+
668
+ .pisell-lookup-search-area-with-close .pisell-lookup-modal-close-btn {
669
+ min-width: 44px;
670
+ min-height: 48px;
671
+ }
672
+ }
673
+
652
674
  // ============ Drawer 全局样式覆盖 ============
653
675
 
654
676
  .pisell-lookup-drawer-container {
@@ -85,7 +85,7 @@ const LookupResultHost = (props) => {
85
85
  }
86
86
  }
87
87
  }, /* @__PURE__ */ React.createElement("div", {
88
- className: "pisell-lookup-modal-wrapper",
88
+ className: ["pisell-lookup-modal-wrapper", !modalCentered ? "pisell-lookup-modal-wrapper-top" : ""].filter(Boolean).join(" "),
89
89
  style: portalContentStyle
90
90
  }, children));
91
91
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuProps } from "antd";
3
2
 
4
3
  //#region src/components/pisellMenu/types.d.ts
@@ -5,7 +5,8 @@ import { PISELL_MOBILE_DATE_RANGE_PICKER_FILTER_POPUP_CLASS } from "./types.js";
5
5
  import React, { useCallback, useEffect, useMemo, useState } from "react";
6
6
  import classNames from "classnames";
7
7
  import dayjs from "dayjs";
8
- import { CalendarPicker, ConfigProvider } from "antd-mobile";
8
+ import CalendarPicker from "antd-mobile/es/components/calendar-picker";
9
+ import AntMobileConfigProvider from "antd-mobile/es/components/config-provider";
9
10
  import Calendar from "@pisell/icon/es/Calendar";
10
11
  import antdMobileZhCN from "antd-mobile/es/locales/zh-CN";
11
12
  import antdMobileZhTW from "antd-mobile/es/locales/zh-TW";
@@ -13,7 +14,7 @@ import antdMobileZhHK from "antd-mobile/es/locales/zh-HK";
13
14
  import antdMobileEnUS from "antd-mobile/es/locales/en-US";
14
15
  import antdMobileJaJP from "antd-mobile/es/locales/ja-JP";
15
16
  import antdMobilePtBR from "antd-mobile/es/locales/pt-BR";
16
- import "antd-mobile/es/global/global.css";
17
+ import "antd-mobile/es/global/theme-default.css";
17
18
  import "./PisellMobileDateRangePicker.less";
18
19
  //#region src/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.tsx
19
20
  /**
@@ -126,7 +127,7 @@ const PisellMobileDateRangePicker = ({ value, onChange, format = "DD/MM/YYYY", p
126
127
  }, /* @__PURE__ */ React.createElement("span", { className: "pisell-mobile-date-range-picker__trigger-text" }, formatRangeLabel(dayjsRange, format, resolvedPlaceholder)), isFilterVariant ? /* @__PURE__ */ React.createElement(Calendar, {
127
128
  className: "pisell-mobile-date-range-picker__trigger-icon",
128
129
  "aria-hidden": true
129
- }) : null), /* @__PURE__ */ React.createElement(ConfigProvider, { locale: antMobileLocale }, /* @__PURE__ */ React.createElement(CalendarPicker, {
130
+ }) : null), /* @__PURE__ */ React.createElement(AntMobileConfigProvider, { locale: antMobileLocale }, /* @__PURE__ */ React.createElement(CalendarPicker, {
130
131
  visible,
131
132
  selectionMode: "range",
132
133
  value: innerValue !== null && innerValue !== void 0 ? innerValue : void 0,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterItemProps } from "../filter/types.js";
3
2
  import { FormInstance } from "antd";
4
3
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/radio/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/section-footers/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/skeleton/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/time-picker/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/upload/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BaseNumberKeyboardProps } from "../BaseNumberKeyboard/index.js";
3
2
 
4
3
  //#region src/components/virtual-keyboard/Amount/types.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellBasicCardProps } from "./types.js";
3
2
  import { ImageDataSource, ImageFillMode, PisellImageCardProps } from "./components/PisellImageCard/types.js";
4
3
  import { GraphicConfig, GraphicTextCardProps, GraphicTextCardSize, GraphicTextCardVariant } from "./components/GraphicTextCard/types.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellSingleLineTextProps } from "../pisellSingleLineText/types.js";
3
2
  import { PisellLongTextProps } from "../pisellLongText/types.js";
4
3
  import { PisellNumberProps } from "../pisellNumber/types.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellBasicGridProps } from "../PisellBasicGrid/types.js";
3
2
  import { PisellScrollViewProps, PisellScrollViewRef } from "../PisellScrollView/types.js";
4
3
  import { FloorMapFullscreenMode, FloorMapItemBase, FloorMapLayoutContextValue, PisellFloorMapLayoutProps, PisellFloorMapLayoutRef } from "../pisellFloorMapLayout/types.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellMetricCardProps } from "../pisellMetricCard/types.js";
3
2
  import { PisellStatisticListProps } from "../pisellStatisticList/index.js";
4
3
  import { PisellStatisticProps } from "../cardMetricItem/index.js";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  //#region src/components/appVersionControl/types.d.ts
3
2
  interface Version {
4
3
  id: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/calendar/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/checkbox/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LocalSettingsType } from "../../table/types.js";
3
2
  import { DataSourceType } from "../provider/dataSource/DataSourceContext.js";
4
3
  import { ColumnType } from "antd/es/table";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxGroupProps } from "./type.js";
3
2
  import { WithModeProps } from "../../dataSourceForm/utils.js";
4
3
  import * as _$react from "react";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WithModeProps } from "../../dataSourceForm/utils.js";
3
2
  import { RadioGroupProps } from "./type.js";
4
3
  import * as _$react from "react";
@@ -5,7 +5,7 @@ import React from "react";
5
5
  //#region src/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts
6
6
  declare const RecordListWrapperWithDataSource: (props: RecordListWrapperProps & WithModeProps & WithFormItemProps & {
7
7
  options?: any;
8
- optionSourceType?: "custom" | "default" | "api" | undefined;
8
+ optionSourceType?: "default" | "custom" | "api" | undefined;
9
9
  labelField: string;
10
10
  valueField: string;
11
11
  extraParams?: Record<string, any> | undefined;
@@ -6,7 +6,7 @@ import * as _$antd_es_select0 from "antd/es/select";
6
6
  //#region src/components/dataSourceComponents/fields/Select/index.d.ts
7
7
  declare const SelectWithDataSource: (props: _$antd.SelectProps<any, _$antd_es_select0.DefaultOptionType> & WithModeProps & WithFormItemProps & {
8
8
  options?: any;
9
- optionSourceType?: "custom" | "default" | "api" | undefined;
9
+ optionSourceType?: "default" | "custom" | "api" | undefined;
10
10
  labelField: string;
11
11
  valueField: string;
12
12
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
3
2
  import { TabsProps } from "./type.js";
4
3
  import * as _$react from "react";
@@ -7,7 +6,7 @@ import * as _$react from "react";
7
6
  /** 包装 DataSource 层(提供数据源上下文) */
8
7
  declare const FormItemTabs: (props: TabsProps & WithModeProps & WithFormItemProps & {
9
8
  options?: any;
10
- optionSourceType?: "custom" | "default" | "api" | undefined;
9
+ optionSourceType?: "default" | "custom" | "api" | undefined;
11
10
  labelField: string;
12
11
  valueField: string;
13
12
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ModeType } from "../../dataSourceForm/type.js";
3
2
 
4
3
  //#region src/components/dataSourceComponents/fields/Translation/type.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionsItem } from "../../dataSourceForm/serve.js";
3
2
  import { Result } from "ahooks/es/useRequest/src/types";
4
3
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/date-picker/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  //#region src/components/drag-sort-tree/types.d.ts
3
2
  type IdType = string | number;
4
3
  type ValueProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterItemProps } from "../../types.js";
3
2
 
4
3
  //#region src/components/filter/components/FilterButton/types.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
  import { InputProps, InputRef } from "antd";
4
3
  import * as _$antd_es_input0 from "antd/es/input";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/pisell-config-provider/context.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/pisellDatePicker/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  //#region src/components/pisellGridPro/ToolBar/type.d.ts
3
2
  interface ToolBarProps {
4
3
  className?: string;
@@ -538,6 +538,12 @@
538
538
  line-height: 24px;
539
539
  flex-shrink: 0;
540
540
 
541
+ > .pisell-lowcode-btn-icon,
542
+ > .ant-btn-icon {
543
+ margin-right: 0 !important;
544
+ margin-inline-end: 0 !important;
545
+ }
546
+
541
547
  &:hover {
542
548
  background-color: #f9fafb !important;
543
549
  border-color: #d0d5dd !important;
@@ -616,7 +622,8 @@
616
622
  }
617
623
 
618
624
  .pisell-lowcode-modal-body {
619
- padding: 0;
625
+ // PcModal 的 #body 规则默认左右 24px;仅搜索弹窗覆盖为 12px。
626
+ padding: 0 12px !important;
620
627
  }
621
628
 
622
629
  .pisell-lowcode-modal-content {
@@ -632,7 +639,7 @@
632
639
 
633
640
  .pisell-lookup-modal-custom-container {
634
641
  position: absolute !important;
635
- top: var(env(safe-area-inset-top), 0) !important;
642
+ top: env(safe-area-inset-top, 0px) !important;
636
643
  left: 0 !important;
637
644
  right: 0 !important;
638
645
  bottom: 0 !important;
@@ -649,6 +656,21 @@
649
656
  }
650
657
  }
651
658
 
659
+ // 顶部搜索浮层统一预留 10px,并兼顾系统安全区。
660
+ .pisell-lookup-modal-wrapper-top {
661
+ margin-top: max(10px, env(safe-area-inset-top, 0px));
662
+
663
+ // 自定义挂载点已包含安全区,避免重复叠加。
664
+ .pisell-lookup-modal-custom-container & {
665
+ margin-top: max(0px, calc(10px - env(safe-area-inset-top, 0px)));
666
+ }
667
+
668
+ .pisell-lookup-search-area-with-close .pisell-lookup-modal-close-btn {
669
+ min-width: 44px;
670
+ min-height: 48px;
671
+ }
672
+ }
673
+
652
674
  // ============ Drawer 全局样式覆盖 ============
653
675
 
654
676
  .pisell-lookup-drawer-container {
@@ -87,7 +87,7 @@ const LookupResultHost = (props) => {
87
87
  }
88
88
  }
89
89
  }, /* @__PURE__ */ react.default.createElement("div", {
90
- className: "pisell-lookup-modal-wrapper",
90
+ className: ["pisell-lookup-modal-wrapper", !modalCentered ? "pisell-lookup-modal-wrapper-top" : ""].filter(Boolean).join(" "),
91
91
  style: portalContentStyle
92
92
  }, children));
93
93
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuProps } from "antd";
3
2
 
4
3
  //#region src/components/pisellMenu/types.d.ts
@@ -9,7 +9,10 @@ let classnames = require("classnames");
9
9
  classnames = require_runtime.__toESM(classnames);
10
10
  let dayjs = require("dayjs");
11
11
  dayjs = require_runtime.__toESM(dayjs);
12
- let antd_mobile = require("antd-mobile");
12
+ let antd_mobile_es_components_calendar_picker = require("antd-mobile/es/components/calendar-picker");
13
+ antd_mobile_es_components_calendar_picker = require_runtime.__toESM(antd_mobile_es_components_calendar_picker);
14
+ let antd_mobile_es_components_config_provider = require("antd-mobile/es/components/config-provider");
15
+ antd_mobile_es_components_config_provider = require_runtime.__toESM(antd_mobile_es_components_config_provider);
13
16
  let _pisell_icon_es_Calendar = require("@pisell/icon/es/Calendar");
14
17
  _pisell_icon_es_Calendar = require_runtime.__toESM(_pisell_icon_es_Calendar);
15
18
  let antd_mobile_es_locales_zh_CN = require("antd-mobile/es/locales/zh-CN");
@@ -24,7 +27,7 @@ let antd_mobile_es_locales_ja_JP = require("antd-mobile/es/locales/ja-JP");
24
27
  antd_mobile_es_locales_ja_JP = require_runtime.__toESM(antd_mobile_es_locales_ja_JP);
25
28
  let antd_mobile_es_locales_pt_BR = require("antd-mobile/es/locales/pt-BR");
26
29
  antd_mobile_es_locales_pt_BR = require_runtime.__toESM(antd_mobile_es_locales_pt_BR);
27
- require("antd-mobile/es/global/global.css");
30
+ require("antd-mobile/es/global/theme-default.css");
28
31
  require("./PisellMobileDateRangePicker.less");
29
32
  //#region src/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.tsx
30
33
  /**
@@ -137,7 +140,7 @@ const PisellMobileDateRangePicker = ({ value, onChange, format = "DD/MM/YYYY", p
137
140
  }, /* @__PURE__ */ react.default.createElement("span", { className: "pisell-mobile-date-range-picker__trigger-text" }, formatRangeLabel(dayjsRange, format, resolvedPlaceholder)), isFilterVariant ? /* @__PURE__ */ react.default.createElement(_pisell_icon_es_Calendar.default, {
138
141
  className: "pisell-mobile-date-range-picker__trigger-icon",
139
142
  "aria-hidden": true
140
- }) : null), /* @__PURE__ */ react.default.createElement(antd_mobile.ConfigProvider, { locale: antMobileLocale }, /* @__PURE__ */ react.default.createElement(antd_mobile.CalendarPicker, {
143
+ }) : null), /* @__PURE__ */ react.default.createElement(antd_mobile_es_components_config_provider.default, { locale: antMobileLocale }, /* @__PURE__ */ react.default.createElement(antd_mobile_es_components_calendar_picker.default, {
141
144
  visible,
142
145
  selectionMode: "range",
143
146
  value: innerValue !== null && innerValue !== void 0 ? innerValue : void 0,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterItemProps } from "../filter/types.js";
3
2
  import { FormInstance } from "antd";
4
3
 
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/radio/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/section-footers/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/skeleton/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/time-picker/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import * as _$react from "react";
3
2
 
4
3
  //#region src/components/upload/index.d.ts
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BaseNumberKeyboardProps } from "../BaseNumberKeyboard/index.js";
3
2
 
4
3
  //#region src/components/virtual-keyboard/Amount/types.d.ts