@pisell/materials 6.11.4 → 6.11.6
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +7 -7
- package/build/lowcode/preview.js +9 -9
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +16 -16
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +15 -15
- package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +1 -1
- package/es/components/PisellSuperTabs/PisellSuperTabs.js +7 -4
- package/es/components/PisellSuperTabs/hooks/useTabsState.js +3 -8
- package/es/components/PisellSuperTabs/types.d.ts +2 -0
- package/es/components/PisellTabbar/PisellTabbar.d.ts +1 -1
- package/es/components/PisellTabbar/PisellTabbar.js +411 -62
- package/es/components/PisellTabbar/constants.d.ts +2 -1
- package/es/components/PisellTabbar/constants.js +5 -4
- package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +6 -0
- package/es/components/PisellTabbar/hooks/useActiveKey.js +21 -2
- package/es/components/PisellTabbar/hooks/useExpand.d.ts +1 -0
- package/es/components/PisellTabbar/hooks/useExpand.js +9 -1
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +3 -18
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.js +124 -28
- package/es/components/PisellTabbar/template/Template1/constants.js +1 -1
- package/es/components/PisellTabbar/types.d.ts +5 -26
- package/es/components/PisellTabbar/utils/index.d.ts +2 -1
- package/es/components/PisellTabbar/utils/index.js +2 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/es/components/page/index.js +6 -1
- package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +47 -34
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +19 -0
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.js +74 -0
- package/es/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +6 -1
- package/es/components/pisellDateTimeDisplay/components/DateDisplay.js +10 -3
- package/es/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +7 -0
- package/es/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.js +81 -0
- package/es/components/pisellDateTimeDisplay/formats/index.d.ts +1 -0
- package/es/components/pisellDateTimeDisplay/formats/index.js +1 -0
- package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +2 -2
- package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.js +2 -2
- package/es/components/pisellDateTimeDisplay/index.d.ts +1 -0
- package/es/components/pisellDateTimeDisplay/index.js +2 -1
- package/es/components/pisellDateTimeDisplay/types.d.ts +48 -2
- package/es/components/pisellDateTimeDisplay/utils/formatDate.js +25 -6
- package/es/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +17 -0
- package/es/components/pisellDateTimeDisplay/utils/formatDateOrRelative.js +38 -0
- package/es/components/pisellDateTimeDisplay/utils/formatWeekday.js +11 -12
- package/es/components/pisellDateTimeDisplay/utils/index.d.ts +3 -1
- package/es/components/pisellDateTimeDisplay/utils/index.js +3 -1
- package/es/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +2 -7
- package/es/components/pisellDateTimeDisplay/utils/localeUtils.js +4 -17
- package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +23 -0
- package/es/components/pisellDateTimeDisplay/utils/relativeDay.js +45 -0
- package/es/components/pisellEmail/PisellEmail.less +2 -2
- package/es/components/pisellFind/PisellFind.stories.d.ts +45 -0
- package/es/components/pisellFind/PisellFind.stories.js +479 -0
- package/es/components/pisellFind/index.d.ts +40 -0
- package/es/components/pisellFind/index.js +72 -0
- package/es/components/pisellLongText/PisellLongText.less +2 -2
- package/es/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/es/components/pisellLookup/PisellLookup.js +636 -0
- package/es/components/pisellLookup/PisellLookup.less +640 -0
- package/es/components/pisellLookup/PisellLookup.stories.d.ts +129 -0
- package/es/components/pisellLookup/PisellLookup.stories.js +1012 -0
- package/es/components/pisellLookup/components/HotWords.d.ts +7 -0
- package/es/components/pisellLookup/components/HotWords.js +49 -0
- package/es/components/pisellLookup/components/LookupAuxiliary.d.ts +7 -0
- package/es/components/pisellLookup/components/LookupAuxiliary.js +59 -0
- package/es/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
- package/es/components/pisellLookup/components/LookupResultHost.js +185 -0
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/es/components/pisellLookup/components/LookupTrigger.js +358 -0
- package/es/components/pisellLookup/components/SearchHistory.d.ts +7 -0
- package/es/components/pisellLookup/components/SearchHistory.js +68 -0
- package/es/components/pisellLookup/components/SuggestWords.d.ts +7 -0
- package/es/components/pisellLookup/components/SuggestWords.js +53 -0
- package/es/components/pisellLookup/components/index.d.ts +9 -0
- package/es/components/pisellLookup/components/index.js +10 -0
- package/es/components/pisellLookup/hooks/index.d.ts +6 -0
- package/es/components/pisellLookup/hooks/index.js +7 -0
- package/es/components/pisellLookup/hooks/useDebounceSearch.d.ts +40 -0
- package/es/components/pisellLookup/hooks/useDebounceSearch.js +78 -0
- package/es/components/pisellLookup/hooks/useSearchHistory.d.ts +48 -0
- package/es/components/pisellLookup/hooks/useSearchHistory.js +125 -0
- package/es/components/pisellLookup/hooks/useSearchState.d.ts +80 -0
- package/es/components/pisellLookup/hooks/useSearchState.js +113 -0
- package/es/components/pisellLookup/index.d.ts +6 -0
- package/es/components/pisellLookup/index.js +5 -0
- package/es/components/pisellLookup/types.d.ts +666 -0
- package/es/components/pisellLookup/types.js +1 -0
- package/es/components/pisellLookup/utils/index.d.ts +5 -0
- package/es/components/pisellLookup/utils/index.js +6 -0
- package/es/components/pisellLookup/utils/storage.d.ts +42 -0
- package/es/components/pisellLookup/utils/storage.js +118 -0
- package/es/components/pisellLookup/utils/trigger.d.ts +42 -0
- package/es/components/pisellLookup/utils/trigger.js +76 -0
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.less +7 -7
- package/es/components/pisellSingleLineText/PisellSingleLineText.less +143 -4
- package/es/components/pisellSingleSelect/PisellSingleSelect.less +6 -6
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.js +197 -0
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.less +49 -0
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +61 -0
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.js +209 -0
- package/es/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +20 -0
- package/es/components/pisellTimeRangeDisplay/components/DateBlock.js +30 -0
- package/es/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +19 -0
- package/es/components/pisellTimeRangeDisplay/components/DurationBlock.js +25 -0
- package/es/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +30 -0
- package/es/components/pisellTimeRangeDisplay/components/TimeRangeBlock.js +86 -0
- package/es/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +18 -0
- package/es/components/pisellTimeRangeDisplay/components/WeekdayBlock.js +23 -0
- package/es/components/pisellTimeRangeDisplay/components/index.d.ts +8 -0
- package/es/components/pisellTimeRangeDisplay/components/index.js +4 -0
- package/es/components/pisellTimeRangeDisplay/index.d.ts +3 -0
- package/es/components/pisellTimeRangeDisplay/index.js +1 -0
- package/es/components/pisellTimeRangeDisplay/types.d.ts +137 -0
- package/es/components/pisellTimeRangeDisplay/types.js +1 -0
- package/es/components/pisellTimeRangeDisplay/utils/formatDuration.d.ts +14 -0
- package/es/components/pisellTimeRangeDisplay/utils/formatDuration.js +53 -0
- package/es/components/pisellTimeRangeDisplay/utils/index.d.ts +4 -0
- package/es/components/pisellTimeRangeDisplay/utils/index.js +5 -0
- package/es/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +23 -0
- package/es/components/pisellTimeRangeDisplay/utils/parseTimeRange.js +27 -0
- package/es/components/pisellUrl/PisellUrl.less +1 -1
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/es/index.d.ts +6 -0
- package/es/index.js +10 -1
- package/es/locales/en-US.d.ts +14 -0
- package/es/locales/en-US.js +16 -0
- package/es/locales/zh-CN.d.ts +14 -0
- package/es/locales/zh-CN.js +16 -0
- package/es/locales/zh-TW.d.ts +14 -0
- package/es/locales/zh-TW.js +16 -0
- package/es/theme/tokens.js +105 -125
- package/es/utils/index.d.ts +1 -1
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +1 -1
- package/lib/components/PisellSuperTabs/PisellSuperTabs.js +6 -4
- package/lib/components/PisellSuperTabs/hooks/useTabsState.js +1 -2
- package/lib/components/PisellSuperTabs/types.d.ts +2 -0
- package/lib/components/PisellTabbar/PisellTabbar.d.ts +1 -1
- package/lib/components/PisellTabbar/PisellTabbar.js +522 -139
- package/lib/components/PisellTabbar/constants.d.ts +2 -1
- package/lib/components/PisellTabbar/constants.js +5 -4
- package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +6 -0
- package/lib/components/PisellTabbar/hooks/useActiveKey.js +14 -1
- package/lib/components/PisellTabbar/hooks/useExpand.d.ts +1 -0
- package/lib/components/PisellTabbar/hooks/useExpand.js +9 -1
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +3 -18
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.js +171 -55
- package/lib/components/PisellTabbar/template/Template1/constants.js +1 -1
- package/lib/components/PisellTabbar/types.d.ts +5 -26
- package/lib/components/PisellTabbar/utils/index.d.ts +2 -1
- package/lib/components/PisellTabbar/utils/index.js +2 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/lib/components/page/index.js +3 -0
- package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +27 -17
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +19 -0
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.js +63 -0
- package/lib/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +6 -1
- package/lib/components/pisellDateTimeDisplay/components/DateDisplay.js +5 -1
- package/lib/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +7 -0
- package/lib/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.js +98 -0
- package/lib/components/pisellDateTimeDisplay/formats/index.d.ts +1 -0
- package/lib/components/pisellDateTimeDisplay/formats/index.js +29 -0
- package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +2 -2
- package/lib/components/pisellDateTimeDisplay/index.d.ts +1 -0
- package/lib/components/pisellDateTimeDisplay/index.js +3 -1
- package/lib/components/pisellDateTimeDisplay/types.d.ts +48 -2
- package/lib/components/pisellDateTimeDisplay/utils/formatDate.js +14 -1
- package/lib/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +17 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatDateOrRelative.js +54 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatWeekday.js +6 -6
- package/lib/components/pisellDateTimeDisplay/utils/index.d.ts +3 -1
- package/lib/components/pisellDateTimeDisplay/utils/index.js +8 -2
- package/lib/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +2 -7
- package/lib/components/pisellDateTimeDisplay/utils/localeUtils.js +2 -11
- package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +23 -0
- package/lib/components/pisellDateTimeDisplay/utils/relativeDay.js +54 -0
- package/lib/components/pisellEmail/PisellEmail.less +2 -2
- package/lib/components/pisellFind/PisellFind.stories.d.ts +45 -0
- package/lib/components/pisellFind/PisellFind.stories.js +343 -0
- package/lib/components/pisellFind/index.d.ts +40 -0
- package/lib/components/pisellFind/index.js +68 -0
- package/lib/components/pisellLongText/PisellLongText.less +2 -2
- package/lib/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/lib/components/pisellLookup/PisellLookup.js +434 -0
- package/lib/components/pisellLookup/PisellLookup.less +640 -0
- package/lib/components/pisellLookup/PisellLookup.stories.d.ts +129 -0
- package/lib/components/pisellLookup/PisellLookup.stories.js +631 -0
- package/lib/components/pisellLookup/components/HotWords.d.ts +7 -0
- package/lib/components/pisellLookup/components/HotWords.js +63 -0
- package/lib/components/pisellLookup/components/LookupAuxiliary.d.ts +7 -0
- package/lib/components/pisellLookup/components/LookupAuxiliary.js +93 -0
- package/lib/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
- package/lib/components/pisellLookup/components/LookupResultHost.js +190 -0
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/lib/components/pisellLookup/components/LookupTrigger.js +293 -0
- package/lib/components/pisellLookup/components/SearchHistory.d.ts +7 -0
- package/lib/components/pisellLookup/components/SearchHistory.js +73 -0
- package/lib/components/pisellLookup/components/SuggestWords.d.ts +7 -0
- package/lib/components/pisellLookup/components/SuggestWords.js +71 -0
- package/lib/components/pisellLookup/components/index.d.ts +9 -0
- package/lib/components/pisellLookup/components/index.js +44 -0
- package/lib/components/pisellLookup/hooks/index.d.ts +6 -0
- package/lib/components/pisellLookup/hooks/index.js +27 -0
- package/lib/components/pisellLookup/hooks/useDebounceSearch.d.ts +40 -0
- package/lib/components/pisellLookup/hooks/useDebounceSearch.js +66 -0
- package/lib/components/pisellLookup/hooks/useSearchHistory.d.ts +48 -0
- package/lib/components/pisellLookup/hooks/useSearchHistory.js +107 -0
- package/lib/components/pisellLookup/hooks/useSearchState.d.ts +80 -0
- package/lib/components/pisellLookup/hooks/useSearchState.js +91 -0
- package/lib/components/pisellLookup/index.d.ts +6 -0
- package/lib/components/pisellLookup/index.js +29 -0
- package/lib/components/pisellLookup/types.d.ts +666 -0
- package/lib/components/pisellLookup/types.js +17 -0
- package/lib/components/pisellLookup/utils/index.d.ts +5 -0
- package/lib/components/pisellLookup/utils/index.js +25 -0
- package/lib/components/pisellLookup/utils/storage.d.ts +42 -0
- package/lib/components/pisellLookup/utils/storage.js +96 -0
- package/lib/components/pisellLookup/utils/trigger.d.ts +42 -0
- package/lib/components/pisellLookup/utils/trigger.js +66 -0
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.less +7 -7
- package/lib/components/pisellSingleLineText/PisellSingleLineText.less +143 -4
- package/lib/components/pisellSingleSelect/PisellSingleSelect.less +6 -6
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.js +193 -0
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.less +49 -0
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +61 -0
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.js +187 -0
- package/lib/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +20 -0
- package/lib/components/pisellTimeRangeDisplay/components/DateBlock.js +69 -0
- package/lib/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +19 -0
- package/lib/components/pisellTimeRangeDisplay/components/DurationBlock.js +65 -0
- package/lib/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +30 -0
- package/lib/components/pisellTimeRangeDisplay/components/TimeRangeBlock.js +120 -0
- package/lib/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +18 -0
- package/lib/components/pisellTimeRangeDisplay/components/WeekdayBlock.js +64 -0
- package/lib/components/pisellTimeRangeDisplay/components/index.d.ts +8 -0
- package/lib/components/pisellTimeRangeDisplay/components/index.js +38 -0
- package/lib/components/pisellTimeRangeDisplay/index.d.ts +3 -0
- package/lib/components/{PisellTabbar/components → pisellTimeRangeDisplay}/index.js +8 -7
- package/lib/components/pisellTimeRangeDisplay/types.d.ts +137 -0
- package/lib/components/pisellTimeRangeDisplay/types.js +17 -0
- package/lib/components/pisellTimeRangeDisplay/utils/formatDuration.d.ts +14 -0
- package/lib/components/pisellTimeRangeDisplay/utils/formatDuration.js +52 -0
- package/lib/components/pisellTimeRangeDisplay/utils/index.d.ts +4 -0
- package/lib/components/pisellTimeRangeDisplay/utils/index.js +47 -0
- package/lib/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +23 -0
- package/lib/components/pisellTimeRangeDisplay/utils/parseTimeRange.js +49 -0
- package/lib/components/pisellUrl/PisellUrl.less +1 -1
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/lib/index.d.ts +6 -0
- package/lib/index.js +9 -0
- package/lib/locales/en-US.d.ts +14 -0
- package/lib/locales/en-US.js +16 -0
- package/lib/locales/zh-CN.d.ts +14 -0
- package/lib/locales/zh-CN.js +16 -0
- package/lib/locales/zh-TW.d.ts +14 -0
- package/lib/locales/zh-TW.js +16 -0
- package/lib/theme/tokens.js +105 -114
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/platform.d.ts +1 -1
- package/lowcode/pisell-find/meta.ts +365 -0
- package/lowcode/pisell-find/snippets.ts +37 -0
- package/lowcode/pisell-lookup/meta.ts +845 -0
- package/lowcode/pisell-lookup/snippets.ts +93 -0
- package/lowcode/pisell-time-range-display/index.ts +3 -0
- package/lowcode/pisell-time-range-display/meta.ts +375 -0
- package/lowcode/pisell-time-range-display/snippets.ts +1 -0
- package/package.json +3 -3
- package/es/components/PisellTabbar/components/TabbarLevel.d.ts +0 -8
- package/es/components/PisellTabbar/components/TabbarLevel.js +0 -275
- package/es/components/PisellTabbar/components/index.d.ts +0 -1
- package/es/components/PisellTabbar/components/index.js +0 -2
- package/lib/components/PisellTabbar/components/TabbarLevel.d.ts +0 -8
- package/lib/components/PisellTabbar/components/TabbarLevel.js +0 -295
- package/lib/components/PisellTabbar/components/index.d.ts +0 -1
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
2
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
5
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
6
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
7
|
+
/**
|
|
8
|
+
* localStorage 工具函数
|
|
9
|
+
* 用于管理搜索历史的存储
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* 从 localStorage 加载历史记录
|
|
14
|
+
* @param key 存储的 key
|
|
15
|
+
* @returns 历史记录数组
|
|
16
|
+
*/
|
|
17
|
+
export var loadHistory = function loadHistory(key) {
|
|
18
|
+
try {
|
|
19
|
+
var data = localStorage.getItem(key);
|
|
20
|
+
if (!data) return [];
|
|
21
|
+
return JSON.parse(data);
|
|
22
|
+
} catch (error) {
|
|
23
|
+
console.error('Failed to load history from localStorage:', error);
|
|
24
|
+
return [];
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* 保存历史记录到 localStorage
|
|
30
|
+
* @param key 存储的 key
|
|
31
|
+
* @param history 历史记录数组
|
|
32
|
+
* @param maxCount 最大数量限制
|
|
33
|
+
*/
|
|
34
|
+
export var saveHistory = function saveHistory(key, history, maxCount) {
|
|
35
|
+
try {
|
|
36
|
+
// 限制数量
|
|
37
|
+
var limitedHistory = history.slice(0, maxCount);
|
|
38
|
+
localStorage.setItem(key, JSON.stringify(limitedHistory));
|
|
39
|
+
} catch (error) {
|
|
40
|
+
console.error('Failed to save history to localStorage:', error);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* 清除历史记录
|
|
46
|
+
* @param key 存储的 key
|
|
47
|
+
*/
|
|
48
|
+
export var clearHistory = function clearHistory(key) {
|
|
49
|
+
try {
|
|
50
|
+
localStorage.removeItem(key);
|
|
51
|
+
} catch (error) {
|
|
52
|
+
console.error('Failed to clear history from localStorage:', error);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* 添加历史记录项
|
|
58
|
+
* @param key 存储的 key
|
|
59
|
+
* @param item 新的历史记录项
|
|
60
|
+
* @param maxCount 最大数量限制
|
|
61
|
+
* @returns 更新后的历史记录数组
|
|
62
|
+
*/
|
|
63
|
+
export var addHistoryItem = function addHistoryItem(key, item, maxCount) {
|
|
64
|
+
try {
|
|
65
|
+
// 加载现有历史
|
|
66
|
+
var history = loadHistory(key);
|
|
67
|
+
|
|
68
|
+
// 去重:如果已存在,先移除
|
|
69
|
+
var filteredHistory = history.filter(function (h) {
|
|
70
|
+
return h !== item;
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
// 添加到开头
|
|
74
|
+
var newHistory = [item].concat(_toConsumableArray(filteredHistory));
|
|
75
|
+
|
|
76
|
+
// 保存
|
|
77
|
+
saveHistory(key, newHistory, maxCount);
|
|
78
|
+
return newHistory.slice(0, maxCount);
|
|
79
|
+
} catch (error) {
|
|
80
|
+
console.error('Failed to add history item:', error);
|
|
81
|
+
return [];
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* 删除历史记录项
|
|
87
|
+
* @param key 存储的 key
|
|
88
|
+
* @param item 要删除的历史记录项
|
|
89
|
+
* @returns 更新后的历史记录数组
|
|
90
|
+
*/
|
|
91
|
+
export var removeHistoryItem = function removeHistoryItem(key, item) {
|
|
92
|
+
try {
|
|
93
|
+
var history = loadHistory(key);
|
|
94
|
+
var newHistory = history.filter(function (h) {
|
|
95
|
+
return h !== item;
|
|
96
|
+
});
|
|
97
|
+
localStorage.setItem(key, JSON.stringify(newHistory));
|
|
98
|
+
return newHistory;
|
|
99
|
+
} catch (error) {
|
|
100
|
+
console.error('Failed to remove history item:', error);
|
|
101
|
+
return [];
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* 检查 localStorage 是否可用
|
|
107
|
+
* @returns 是否可用
|
|
108
|
+
*/
|
|
109
|
+
export var isLocalStorageAvailable = function isLocalStorageAvailable() {
|
|
110
|
+
try {
|
|
111
|
+
var testKey = '__pisell_lookup_test__';
|
|
112
|
+
localStorage.setItem(testKey, 'test');
|
|
113
|
+
localStorage.removeItem(testKey);
|
|
114
|
+
return true;
|
|
115
|
+
} catch (_unused) {
|
|
116
|
+
return false;
|
|
117
|
+
}
|
|
118
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { DisplayType, TriggerType } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* 触发器相关工具函数
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* 根据触发器类型获取默认的展示类型
|
|
7
|
+
* @param triggerType 触发器类型
|
|
8
|
+
* @param hasTrigger 是否有自定义触发器
|
|
9
|
+
* @returns 默认的展示类型
|
|
10
|
+
*/
|
|
11
|
+
export declare const getDefaultDisplayType: (triggerType?: TriggerType, hasTrigger?: boolean) => DisplayType;
|
|
12
|
+
/**
|
|
13
|
+
* 判断是否为输入框触发器
|
|
14
|
+
* @param triggerType 触发器类型
|
|
15
|
+
* @returns 是否为输入框触发器
|
|
16
|
+
*/
|
|
17
|
+
export declare const isInputTrigger: (triggerType?: TriggerType) => boolean;
|
|
18
|
+
/**
|
|
19
|
+
* 判断是否为按钮类触发器(button、icon、text、自定义)
|
|
20
|
+
* @param triggerType 触发器类型
|
|
21
|
+
* @param hasTrigger 是否有自定义触发器
|
|
22
|
+
* @returns 是否为按钮类触发器
|
|
23
|
+
*/
|
|
24
|
+
export declare const isButtonLikeTrigger: (triggerType?: TriggerType, hasTrigger?: boolean) => boolean;
|
|
25
|
+
/**
|
|
26
|
+
* 判断展示类型是否需要容器(modal、drawer)
|
|
27
|
+
* @param displayType 展示类型
|
|
28
|
+
* @returns 是否需要容器
|
|
29
|
+
*/
|
|
30
|
+
export declare const needsContainer: (displayType?: DisplayType) => boolean;
|
|
31
|
+
/**
|
|
32
|
+
* 判断展示类型是否需要浮层(popup)
|
|
33
|
+
* @param displayType 展示类型
|
|
34
|
+
* @returns 是否需要浮层
|
|
35
|
+
*/
|
|
36
|
+
export declare const needsPopup: (displayType?: DisplayType) => boolean;
|
|
37
|
+
/**
|
|
38
|
+
* 判断展示类型是否为内联(inline)
|
|
39
|
+
* @param displayType 展示类型
|
|
40
|
+
* @returns 是否为内联
|
|
41
|
+
*/
|
|
42
|
+
export declare const isInline: (displayType?: DisplayType) => boolean;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 触发器相关工具函数
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 根据触发器类型获取默认的展示类型
|
|
7
|
+
* @param triggerType 触发器类型
|
|
8
|
+
* @param hasTrigger 是否有自定义触发器
|
|
9
|
+
* @returns 默认的展示类型
|
|
10
|
+
*/
|
|
11
|
+
export var getDefaultDisplayType = function getDefaultDisplayType(triggerType, hasTrigger) {
|
|
12
|
+
// 如果有自定义触发器,默认使用 modal
|
|
13
|
+
if (hasTrigger) {
|
|
14
|
+
return 'modal';
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// 根据触发器类型判断
|
|
18
|
+
if (triggerType === 'input') {
|
|
19
|
+
return 'inline';
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// button、icon、text 默认使用 modal
|
|
23
|
+
if (triggerType === 'button' || triggerType === 'icon' || triggerType === 'text') {
|
|
24
|
+
return 'modal';
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// 默认使用 detached
|
|
28
|
+
return 'detached';
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* 判断是否为输入框触发器
|
|
33
|
+
* @param triggerType 触发器类型
|
|
34
|
+
* @returns 是否为输入框触发器
|
|
35
|
+
*/
|
|
36
|
+
export var isInputTrigger = function isInputTrigger(triggerType) {
|
|
37
|
+
return triggerType === 'input';
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* 判断是否为按钮类触发器(button、icon、text、自定义)
|
|
42
|
+
* @param triggerType 触发器类型
|
|
43
|
+
* @param hasTrigger 是否有自定义触发器
|
|
44
|
+
* @returns 是否为按钮类触发器
|
|
45
|
+
*/
|
|
46
|
+
export var isButtonLikeTrigger = function isButtonLikeTrigger(triggerType, hasTrigger) {
|
|
47
|
+
if (hasTrigger) return true;
|
|
48
|
+
return triggerType === 'button' || triggerType === 'icon' || triggerType === 'text';
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* 判断展示类型是否需要容器(modal、drawer)
|
|
53
|
+
* @param displayType 展示类型
|
|
54
|
+
* @returns 是否需要容器
|
|
55
|
+
*/
|
|
56
|
+
export var needsContainer = function needsContainer(displayType) {
|
|
57
|
+
return displayType === 'modal' || displayType === 'drawer';
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* 判断展示类型是否需要浮层(popup)
|
|
62
|
+
* @param displayType 展示类型
|
|
63
|
+
* @returns 是否需要浮层
|
|
64
|
+
*/
|
|
65
|
+
export var needsPopup = function needsPopup(displayType) {
|
|
66
|
+
return displayType === 'popup';
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* 判断展示类型是否为内联(inline)
|
|
71
|
+
* @param displayType 展示类型
|
|
72
|
+
* @returns 是否为内联
|
|
73
|
+
*/
|
|
74
|
+
export var isInline = function isInline(displayType) {
|
|
75
|
+
return displayType === 'inline';
|
|
76
|
+
};
|
|
@@ -64,16 +64,16 @@
|
|
|
64
64
|
// 多选模式下的特殊样式(Token 部分支持,Less 补充细节)
|
|
65
65
|
:global {
|
|
66
66
|
// 选择框垂直内边距(多选时需要更小的内边距以容纳标签)
|
|
67
|
-
.
|
|
67
|
+
.pisell-lowcode-select-multiple .pisell-lowcode-select-selector {
|
|
68
68
|
padding: 6px 16px !important;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
// 标签圆角(Token 不支持 multipleItemBorderRadius)
|
|
72
|
-
.
|
|
72
|
+
.pisell-lowcode-select-selection-item {
|
|
73
73
|
border-radius: 6px !important;
|
|
74
74
|
padding: 6px 10px !important;
|
|
75
75
|
margin-inline-end: 4px !important;
|
|
76
|
-
|
|
76
|
+
|
|
77
77
|
// 确保标签内容垂直居中
|
|
78
78
|
&-content {
|
|
79
79
|
line-height: 24px !important;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
// hover 边框颜色(Token 不支持 colorBorderHover)
|
|
93
|
-
.
|
|
93
|
+
.pisell-lowcode-select-multiple:not(.pisell-lowcode-select-disabled):not(.pisell-lowcode-select-customize-input):not(.ant-select-open) {
|
|
94
94
|
.ant-select-selector:hover {
|
|
95
95
|
border-color: #D6BBFB !important;
|
|
96
96
|
}
|
|
@@ -108,17 +108,17 @@
|
|
|
108
108
|
.pisell-select-search-input {
|
|
109
109
|
padding: 9px 10px !important;
|
|
110
110
|
font-size: 14px;
|
|
111
|
-
|
|
111
|
+
|
|
112
112
|
.ant-input {
|
|
113
113
|
font-size: 14px !important;
|
|
114
114
|
color: #344054 !important;
|
|
115
|
-
|
|
115
|
+
|
|
116
116
|
&::placeholder {
|
|
117
117
|
color: #98A2B3 !important;
|
|
118
118
|
font-size: 12px !important;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
|
|
121
|
+
|
|
122
122
|
&:hover,
|
|
123
123
|
&:focus-within {
|
|
124
124
|
background-color: transparent !important;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* PisellSingleLineText 组件样式
|
|
3
|
+
* 不依赖全局 antd token,使用内置样式
|
|
3
4
|
*/
|
|
4
5
|
|
|
5
6
|
.pisell-single-line-text {
|
|
@@ -7,16 +8,154 @@
|
|
|
7
8
|
position: relative;
|
|
8
9
|
width: 100%;
|
|
9
10
|
|
|
10
|
-
//
|
|
11
|
-
.ant-input
|
|
12
|
-
|
|
11
|
+
// Input 组件内置样式,覆盖 antd token 配置
|
|
12
|
+
.ant-input,
|
|
13
|
+
.ant-input-affix-wrapper {
|
|
14
|
+
// 基础样式(基于 Figma 设计规范)
|
|
15
|
+
font-size: 16px !important;
|
|
16
|
+
line-height: 24px !important;
|
|
17
|
+
|
|
18
|
+
// 边框和圆角
|
|
19
|
+
border-radius: 8px !important;
|
|
20
|
+
border: 1px solid #D0D5DD !important; // Gray/300
|
|
21
|
+
|
|
22
|
+
// 内边距(Figma: 16px 12px)
|
|
23
|
+
padding: 12px 16px !important;
|
|
24
|
+
height: 48px !important; // 12px + 24px + 12px = 48px
|
|
25
|
+
|
|
26
|
+
// 颜色
|
|
27
|
+
color: #101828 !important; // Gray/900 - 输入文本
|
|
28
|
+
background-color: #FFFFFF !important; // 背景色
|
|
29
|
+
|
|
30
|
+
&::placeholder {
|
|
31
|
+
color: #667085 !important; // Gray/500 - 占位符
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// 聚焦态
|
|
35
|
+
&:focus,
|
|
36
|
+
&:focus-within {
|
|
37
|
+
border-color: #D6BBFB !important; // Primary/300
|
|
38
|
+
box-shadow: 0 0 0 4px #F4EBFF !important; // Primary/100
|
|
39
|
+
outline: none !important;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// Hover 态
|
|
43
|
+
&:hover:not(:focus):not(:focus-within):not([disabled]) {
|
|
44
|
+
border-color: #B692F6 !important; // Primary/400
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// 禁用态
|
|
48
|
+
&[disabled],
|
|
49
|
+
&.ant-input-disabled {
|
|
50
|
+
background-color: #F9FAFB !important; // Gray/50
|
|
51
|
+
color: #98A2B3 !important; // Gray/400
|
|
52
|
+
border-color: #D0D5DD !important;
|
|
53
|
+
cursor: not-allowed !important;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// 前后缀容器样式
|
|
58
|
+
.ant-input-affix-wrapper {
|
|
59
|
+
padding: 0 !important;
|
|
60
|
+
|
|
61
|
+
.ant-input-prefix {
|
|
62
|
+
margin-right: 8px;
|
|
63
|
+
margin-left: 16px;
|
|
64
|
+
color: #667085; // Gray/500
|
|
65
|
+
font-size: 16px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ant-input-suffix {
|
|
69
|
+
margin-left: 8px;
|
|
70
|
+
margin-right: 16px;
|
|
71
|
+
color: #667085; // Gray/500
|
|
72
|
+
font-size: 16px;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.ant-input {
|
|
76
|
+
padding: 12px 0 !important;
|
|
77
|
+
border: none !important;
|
|
78
|
+
box-shadow: none !important;
|
|
79
|
+
|
|
80
|
+
&:focus {
|
|
81
|
+
box-shadow: none !important;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// 前后置标签样式
|
|
87
|
+
.ant-input-group-wrapper {
|
|
88
|
+
.ant-input-group-addon {
|
|
89
|
+
background-color: #FFFFFF !important;
|
|
90
|
+
border: 1px solid #D0D5DD !important;
|
|
91
|
+
color: #344054 !important; // Gray/700
|
|
92
|
+
font-size: 16px !important;
|
|
93
|
+
padding: 12px 16px !important;
|
|
94
|
+
|
|
95
|
+
&:first-child {
|
|
96
|
+
border-right: none !important;
|
|
97
|
+
border-radius: 8px 0 0 8px !important;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&:last-child {
|
|
101
|
+
border-left: none !important;
|
|
102
|
+
border-radius: 0 8px 8px 0 !important;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.ant-input-wrapper {
|
|
107
|
+
.ant-input,
|
|
108
|
+
.ant-input-affix-wrapper {
|
|
109
|
+
border-radius: 0 !important;
|
|
110
|
+
|
|
111
|
+
&:first-child {
|
|
112
|
+
border-radius: 8px 0 0 8px !important;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&:last-child {
|
|
116
|
+
border-radius: 0 8px 8px 0 !important;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// 清空按钮样式
|
|
123
|
+
.ant-input-clear-icon {
|
|
124
|
+
color: #667085 !important; // Gray/500
|
|
125
|
+
font-size: 14px !important;
|
|
126
|
+
|
|
127
|
+
&:hover {
|
|
128
|
+
color: #344054 !important; // Gray/700
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// 字数统计样式
|
|
133
|
+
.ant-input-show-count-suffix {
|
|
134
|
+
color: #667085 !important; // Gray/500
|
|
135
|
+
font-size: 14px !important;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// 错误状态样式
|
|
139
|
+
.ant-input-status-error,
|
|
140
|
+
.ant-input-affix-wrapper-status-error {
|
|
141
|
+
border-color: #FDA29B !important; // Error/300
|
|
142
|
+
|
|
143
|
+
&:focus,
|
|
144
|
+
&:focus-within {
|
|
145
|
+
border-color: #F97066 !important; // Error/400
|
|
146
|
+
box-shadow: 0 0 0 4px #FEE4E2 !important; // Error/100
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&:hover:not(:focus):not(:focus-within) {
|
|
150
|
+
border-color: #F97066 !important; // Error/400
|
|
151
|
+
}
|
|
13
152
|
}
|
|
14
153
|
}
|
|
15
154
|
|
|
16
155
|
&-error {
|
|
17
156
|
margin-top: 4px;
|
|
18
157
|
font-size: 12px;
|
|
19
|
-
color: #
|
|
158
|
+
color: #D92D20; // Error/600
|
|
20
159
|
line-height: 1.5;
|
|
21
160
|
animation: fadeIn 0.3s ease-in-out;
|
|
22
161
|
}
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
// hover 边框颜色(Token 不支持 colorBorderHover)
|
|
65
65
|
:global {
|
|
66
66
|
// hover 边框颜色
|
|
67
|
-
.
|
|
68
|
-
.
|
|
67
|
+
.pisell-lowcode-select:not(.pisell-lowcode-select-disabled):not(.pisell-lowcode-select-customize-input):not(.pisell-lowcode-select-open) {
|
|
68
|
+
.pisell-lowcode-select-selector:hover {
|
|
69
69
|
border-color: #D6BBFB !important;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -82,17 +82,17 @@
|
|
|
82
82
|
.pisell-select-search-input {
|
|
83
83
|
padding: 9px 10px !important;
|
|
84
84
|
font-size: 14px;
|
|
85
|
-
|
|
86
|
-
.
|
|
85
|
+
|
|
86
|
+
.pisell-lowcode-input {
|
|
87
87
|
font-size: 14px !important;
|
|
88
88
|
color: #344054 !important;
|
|
89
|
-
|
|
89
|
+
|
|
90
90
|
&::placeholder {
|
|
91
91
|
color: #98A2B3 !important;
|
|
92
92
|
font-size: 12px !important;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
|
|
96
96
|
&:hover,
|
|
97
97
|
&:focus-within {
|
|
98
98
|
background-color: transparent !important;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import 'dayjs/locale/zh-cn';
|
|
3
|
+
import 'dayjs/locale/en';
|
|
4
|
+
import type { PisellTimeRangeDisplayProps } from './types';
|
|
5
|
+
import './PisellTimeRangeDisplay.less';
|
|
6
|
+
/**
|
|
7
|
+
* PisellTimeRangeDisplay 组件
|
|
8
|
+
*
|
|
9
|
+
* @description
|
|
10
|
+
* 纯展示型时间区间组件,将 startAt / endAt 格式化为「时间区间 + 持续时间」。
|
|
11
|
+
* - 同一天:HH:mm-HH:mm,可选显示日期/星期
|
|
12
|
+
* - 跨天:起止日期时间
|
|
13
|
+
* - 持续时间:d h m s 格式
|
|
14
|
+
* - 字段顺序由 fieldOrder 控制,可将 duration 放在中间
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* <PisellTimeRangeDisplay
|
|
18
|
+
* startAt="2026-02-04 09:00"
|
|
19
|
+
* endAt="2026-02-04 18:00"
|
|
20
|
+
* />
|
|
21
|
+
* // => "09:00-18:00" + "9h"
|
|
22
|
+
*
|
|
23
|
+
* <PisellTimeRangeDisplay
|
|
24
|
+
* startAt={start}
|
|
25
|
+
* endAt={end}
|
|
26
|
+
* fields={{ fieldOrder: ['time', 'duration', 'date', 'weekday'] }}
|
|
27
|
+
* showDateForSameDay
|
|
28
|
+
* />
|
|
29
|
+
*/
|
|
30
|
+
export declare const PisellTimeRangeDisplay: React.FC<PisellTimeRangeDisplayProps>;
|
|
31
|
+
declare const _default: React.NamedExoticComponent<PisellTimeRangeDisplayProps>;
|
|
32
|
+
export default _default;
|