@pisell/materials 1.8.12 → 1.8.13
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 +150 -164
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +27 -40
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +27 -40
- package/es/components/Pagination/index.d.ts +3 -5
- package/es/components/Pagination/index.js +77 -59
- package/es/components/Pagination/index.less +13 -7
- package/es/components/PisellFields/index.d.ts +2 -2
- package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +8 -0
- package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +7 -0
- package/es/components/PisellSuperTabs/types.d.ts +212 -0
- package/es/components/PisellTabbar/PisellTabbar.d.ts +20 -0
- package/es/components/PisellTabbar/constants.d.ts +47 -0
- package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
- package/es/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
- package/es/components/PisellTabbar/locales.d.ts +23 -0
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
- package/es/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/es/components/PisellTabbar/types.d.ts +90 -0
- package/es/components/PisellTabbar/utils/index.d.ts +69 -0
- package/es/components/PisellTabbar2/locales.d.ts +23 -0
- package/es/components/PisellTabbar3/locales.d.ts +23 -0
- package/es/components/config-provider/index.d.ts +9 -0
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +6 -8
- package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +5 -6
- package/es/components/dataSourceComponents/dataSourceForm/serve.js +39 -33
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +27 -30
- package/es/components/dataSourceComponents/dataSourceForm/urlUtils.js +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +5 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +33 -15
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +26 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +27 -0
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.js +6 -3
- package/es/components/dataSourceComponents/fields/Translation/type.d.ts +21 -0
- package/es/components/dataSourceComponents/fields/Upload/constants.d.ts +9 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +18 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +8 -6
- package/es/components/dataSourceComponents/hooks/useActions.js +3 -2
- package/es/components/dataSourceComponents/hooks/useFormSettingParams.d.ts +7 -0
- package/es/components/dataSourceComponents/hooks/useFormSettingParams.js +32 -0
- package/es/components/filter/components/Dropdown/index.js +6 -2
- package/es/components/filter/components/FilterButton/index.js +19 -4
- package/es/components/filter/components/FilterButton/types.d.ts +8 -0
- package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +21 -0
- package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.js +90 -0
- package/es/components/filter/components/FilterItem/index.d.ts +3 -3
- package/es/components/filter/components/FilterItem/index.js +138 -7
- package/es/components/filter/components/FilterItem/index.less +90 -0
- package/es/components/filter/types.d.ts +4 -2
- package/es/components/media/index.d.ts +18 -0
- package/es/components/media/index.js +340 -0
- package/es/components/media/index.less +100 -0
- package/es/components/page/index.d.ts +8 -0
- package/es/components/pisellBatchActionBar/PisellBatchActionBar.js +38 -29
- package/es/components/pisellCurrency/PisellCurrency.less +163 -25
- package/es/components/pisellCurrency/PisellCurrency.stories.js +1 -1
- package/es/components/pisellCurrency/index.d.ts +2 -1
- package/es/components/pisellCurrency/index.js +16 -1
- package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +18 -12
- package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.js +15 -64
- package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +6 -0
- package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +35 -0
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +21 -15
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.less +2 -1
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +195 -0
- package/es/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +48 -0
- package/es/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +7 -0
- package/es/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.js +5 -5
- package/es/components/pisellDateTimeDisplay/formats/index.d.ts +1 -0
- package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +46 -0
- package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.js +6 -4
- package/es/components/pisellDateTimeDisplay/index.d.ts +3 -0
- package/es/components/pisellDateTimeDisplay/types.d.ts +352 -0
- package/es/components/pisellDateTimeDisplay/utils/formatDate.d.ts +21 -0
- package/es/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +17 -0
- package/es/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +30 -0
- package/es/components/pisellDateTimeDisplay/utils/index.d.ts +7 -0
- package/es/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +22 -0
- package/es/components/pisellDateTimeDisplay/utils/localeUtils.js +15 -4
- package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +24 -0
- package/es/components/pisellDateTimeDisplay/utils/relativeDay.js +4 -2
- package/es/components/pisellEmail/PisellEmail.less +119 -10
- package/es/components/pisellEmail/PisellEmail.stories.js +1 -1
- package/es/components/pisellEmail/index.d.ts +3 -1
- package/es/components/pisellEmail/index.js +17 -1
- package/es/components/pisellFilter/index.js +76 -10
- package/es/components/pisellFind/PisellFind.stories.d.ts +45 -0
- package/es/components/pisellFind/index.d.ts +40 -0
- package/es/components/pisellFind/index.js +11 -2
- package/es/components/pisellGridPro/ToolBar/index.less +23 -0
- package/es/components/pisellLongText/PisellLongText.less +72 -4
- package/es/components/pisellLongText/PisellLongText.stories.js +1 -1
- package/es/components/pisellLongText/index.d.ts +2 -1
- package/es/components/pisellLongText/index.js +16 -1
- package/es/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/es/components/pisellLookup/PisellLookup.js +18 -9
- package/es/components/pisellLookup/PisellLookup.less +39 -16
- package/es/components/pisellLookup/PisellLookup.stories.d.ts +129 -0
- package/es/components/pisellLookup/components/HotWords.d.ts +7 -0
- package/es/components/pisellLookup/components/LookupAuxiliary.d.ts +7 -0
- package/es/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
- package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/es/components/pisellLookup/components/LookupTrigger.js +30 -17
- package/es/components/pisellLookup/components/SearchHistory.d.ts +7 -0
- package/es/components/pisellLookup/components/SuggestWords.d.ts +7 -0
- package/es/components/pisellLookup/components/index.d.ts +9 -0
- package/es/components/pisellLookup/hooks/index.d.ts +6 -0
- package/es/components/pisellLookup/hooks/useDebounceSearch.d.ts +40 -0
- package/es/components/pisellLookup/hooks/useSearchHistory.d.ts +48 -0
- package/es/components/pisellLookup/hooks/useSearchState.d.ts +80 -0
- package/es/components/pisellLookup/index.d.ts +6 -0
- package/es/components/pisellLookup/types.d.ts +667 -0
- package/es/components/pisellLookup/utils/index.d.ts +5 -0
- package/es/components/pisellLookup/utils/storage.d.ts +42 -0
- package/es/components/pisellLookup/utils/trigger.d.ts +42 -0
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.less +159 -124
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.stories.js +1 -1
- package/es/components/pisellMultipleSelect/components/EditView.js +8 -2
- package/es/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +1 -1
- package/es/components/pisellMultipleSelect/components/ReadOnlyView.js +15 -11
- package/es/components/pisellMultipleSelect/index.d.ts +2 -1
- package/es/components/pisellMultipleSelect/index.js +16 -1
- package/es/components/pisellNumber/PisellNumber.less +135 -17
- package/es/components/pisellNumber/PisellNumber.stories.js +1 -1
- package/es/components/pisellNumber/index.d.ts +2 -1
- package/es/components/pisellNumber/index.js +16 -1
- package/es/components/pisellPercent/PisellPercent.less +142 -24
- package/es/components/pisellPercent/PisellPercent.stories.js +1 -1
- package/es/components/pisellPercent/index.d.ts +2 -1
- package/es/components/pisellPercent/index.js +16 -1
- package/es/components/pisellPhone/PisellPhone.less +122 -27
- package/es/components/pisellPhone/PisellPhone.stories.js +1 -1
- package/es/components/pisellPhone/components/EditView.js +1 -1
- package/es/components/pisellPhone/components/ReadOnlyView.js +15 -6
- package/es/components/pisellPhone/index.d.ts +2 -1
- package/es/components/pisellPhone/index.js +16 -1
- package/es/components/pisellRating/PisellRating.less +20 -12
- package/es/components/pisellRating/PisellRating.stories.js +1 -1
- package/es/components/pisellRating/index.d.ts +2 -1
- package/es/components/pisellRating/index.js +16 -1
- package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +9 -0
- package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts.map +1 -0
- package/es/components/pisellRecordBoard/PisellRecordBoard.js +243 -0
- package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +81 -0
- package/es/components/pisellRecordBoard/PisellRecordBoard.stories.js +2358 -0
- package/es/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
- package/es/components/pisellRecordBoard/context/RecordBoardContext.js +2 -0
- package/es/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
- package/es/components/pisellRecordBoard/context/RecordBoardProvider.js +13 -0
- package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
- package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.js +29 -0
- package/es/components/pisellRecordBoard/index.d.ts +35 -0
- package/es/components/pisellRecordBoard/index.js +23 -0
- package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
- package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.js +36 -0
- package/es/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
- package/es/components/pisellRecordBoard/layouts/CardLayout/index.js +20 -0
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +242 -0
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.less +100 -0
- package/es/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
- package/es/components/pisellRecordBoard/layouts/GridLayout/index.js +20 -0
- package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.js +90 -0
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.js +138 -0
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +66 -0
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.less +2 -0
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.js +66 -0
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.less +78 -0
- package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
- package/es/components/pisellRecordBoard/shellFrame/Search/index.js +41 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +112 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +12 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts.map +1 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +215 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +77 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +17 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts.map +1 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.js +65 -0
- package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.less +41 -0
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +26 -0
- package/es/components/pisellRecordBoard/shellFrame/index.js +104 -0
- package/es/components/pisellRecordBoard/types.d.ts +316 -0
- package/es/components/pisellRecordBoard/types.d.ts.map +1 -0
- package/es/components/pisellRecordBoard/types.js +1 -0
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +41 -0
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.js +508 -0
- package/es/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
- package/es/components/pisellRecordBoard/utils/withRecordBoard.js +27 -0
- package/es/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
- package/es/components/pisellShellFrame/PisellShellFrame.js +107 -0
- package/es/components/pisellShellFrame/PisellShellFrame.less +78 -0
- package/es/components/pisellShellFrame/PisellShellFrame.stories.d.ts +15 -0
- package/es/components/pisellShellFrame/PisellShellFrame.stories.js +195 -0
- package/es/components/pisellShellFrame/index.d.ts +2 -0
- package/es/components/pisellShellFrame/index.js +1 -0
- package/es/components/pisellShellFrame/types.d.ts +56 -0
- package/es/components/pisellShellFrame/types.js +1 -0
- package/es/components/pisellSingleLineText/PisellSingleLineText.stories.js +1 -1
- package/es/components/pisellSingleLineText/index.d.ts +2 -1
- package/es/components/pisellSingleLineText/index.js +16 -1
- package/es/components/pisellSingleSelect/PisellSingleSelect.less +103 -46
- package/es/components/pisellSingleSelect/PisellSingleSelect.stories.js +1 -1
- package/es/components/pisellSingleSelect/components/EditView.js +8 -2
- package/es/components/pisellSingleSelect/components/ReadOnlyView.d.ts +1 -1
- package/es/components/pisellSingleSelect/components/ReadOnlyView.js +10 -6
- package/es/components/pisellSingleSelect/index.d.ts +2 -1
- package/es/components/pisellSingleSelect/index.js +16 -1
- package/es/components/pisellStatisticList/index.d.ts +1 -0
- package/es/components/pisellStatisticList/index.js +5 -2
- package/es/components/pisellText/components/Editable/index.d.ts +32 -0
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.js +8 -5
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +61 -0
- package/es/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +20 -0
- package/es/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +19 -0
- package/es/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +30 -0
- package/es/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +18 -0
- package/es/components/pisellTimeRangeDisplay/components/index.d.ts +8 -0
- package/es/components/pisellTimeRangeDisplay/index.d.ts +3 -0
- package/es/components/pisellTimeRangeDisplay/types.d.ts +137 -0
- package/es/components/pisellTimeRangeDisplay/utils/formatDuration.d.ts +14 -0
- package/es/components/pisellTimeRangeDisplay/utils/index.d.ts +4 -0
- package/es/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +23 -0
- package/es/components/pisellUrl/PisellUrl.less +120 -11
- package/es/components/pisellUrl/PisellUrl.stories.js +1 -1
- package/es/components/pisellUrl/index.d.ts +3 -1
- package/es/components/pisellUrl/index.js +17 -1
- package/es/components/pisellVHFix/index.d.ts +13 -0
- package/es/components/pisellVHFix/index.js +36 -0
- package/es/components/pisellVHFix/index.less +10 -0
- package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +4 -0
- package/es/components/productCard/cartSkuCard/components/Gift/index.js +1 -1
- package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
- package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +36 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +5 -3
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +1 -1
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +11 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +8 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.js +1 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
- package/es/components/productCard/cartSkuCard/index.js +5 -1
- package/es/components/productCard/cartSkuCard/locales.d.ts +178 -0
- package/es/components/productCard/cartSkuCard/locales.js +12 -2
- package/es/components/productCard/components/Header/EditButton/index.d.ts +3 -0
- package/es/components/productCard/locales.d.ts +138 -0
- package/es/components/productCard/status.d.ts +32 -0
- package/es/components/productCard/types.d.ts +95 -0
- package/es/components/productCard/utils.d.ts +33 -0
- package/es/components/select/index.less +18 -2
- package/es/components/sort/index.js +25 -3
- package/es/components/sort/types.d.ts +20 -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/components/table/Table/utils.d.ts +1 -1
- package/es/components/translation/index.d.ts +17 -0
- package/es/components/translation/utils.d.ts +9 -0
- package/es/components/virtualInput/BaseVirtualInput/index.less +2 -2
- package/es/components/virtualInput/index.d.ts +5 -0
- package/es/components/virtualInput/index.js +6 -2
- package/es/components/walletCard/index.d.ts +79 -0
- package/es/hooks/useThemeTokens.d.ts +7 -0
- package/es/hooks/useThemeTokens.js +20 -0
- package/es/index.d.ts +235 -0
- package/es/index.js +23 -21
- package/es/locales/en-US.d.ts +384 -0
- package/es/locales/en-US.js +51 -2
- package/es/locales/index.d.ts +1 -0
- package/es/locales/index.js +2 -2
- package/es/locales/ja.d.ts +348 -0
- package/es/locales/ja.js +13 -1
- package/es/locales/pt.d.ts +348 -0
- package/es/locales/pt.js +12 -1
- package/es/locales/zh-CN.d.ts +379 -0
- package/es/locales/zh-CN.js +55 -6
- package/es/locales/zh-TW.d.ts +379 -0
- package/es/locales/zh-TW.js +55 -6
- package/es/theme/tokens.d.ts +22 -0
- package/es/utils/index.d.ts +1 -1
- package/es/utils/platform.d.ts +1 -1
- package/es/utils/tagColor.d.ts +7 -0
- package/es/utils/tagColor.js +39 -0
- package/lib/components/Pagination/index.d.ts +3 -5
- package/lib/components/Pagination/index.js +44 -21
- package/lib/components/Pagination/index.less +13 -7
- package/lib/components/PisellFields/index.d.ts +2 -2
- package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +8 -0
- package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +7 -0
- package/lib/components/PisellSuperTabs/types.d.ts +212 -0
- package/lib/components/PisellTabbar/PisellTabbar.d.ts +20 -0
- package/lib/components/PisellTabbar/constants.d.ts +47 -0
- package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
- package/lib/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
- package/lib/components/PisellTabbar/locales.d.ts +23 -0
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
- package/lib/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
- package/lib/components/PisellTabbar/types.d.ts +90 -0
- package/lib/components/PisellTabbar/utils/index.d.ts +69 -0
- package/lib/components/PisellTabbar2/locales.d.ts +23 -0
- package/lib/components/PisellTabbar3/locales.d.ts +23 -0
- package/lib/components/config-provider/index.d.ts +9 -0
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +3 -3
- package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +5 -6
- package/lib/components/dataSourceComponents/dataSourceForm/serve.js +38 -22
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.js +4 -8
- package/lib/components/dataSourceComponents/dataSourceForm/urlUtils.js +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/utils.js +2 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +33 -15
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +26 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +27 -0
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.js +6 -3
- package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +21 -0
- package/lib/components/dataSourceComponents/fields/Upload/constants.d.ts +9 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +18 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +8 -6
- package/lib/components/dataSourceComponents/hooks/useActions.js +6 -2
- package/lib/components/dataSourceComponents/hooks/useFormSettingParams.d.ts +7 -0
- package/lib/components/dataSourceComponents/hooks/useFormSettingParams.js +63 -0
- package/lib/components/filter/components/Dropdown/index.js +9 -2
- package/lib/components/filter/components/FilterButton/index.js +14 -3
- package/lib/components/filter/components/FilterButton/types.d.ts +8 -0
- package/lib/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +21 -0
- package/lib/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.js +69 -0
- package/lib/components/filter/components/FilterItem/index.d.ts +3 -3
- package/lib/components/filter/components/FilterItem/index.js +133 -4
- package/lib/components/filter/components/FilterItem/index.less +90 -0
- package/lib/components/filter/types.d.ts +4 -2
- package/lib/components/media/index.d.ts +18 -0
- package/lib/components/media/index.js +265 -0
- package/lib/components/media/index.less +100 -0
- package/lib/components/page/index.d.ts +8 -0
- package/lib/components/pisellBatchActionBar/PisellBatchActionBar.js +26 -23
- package/lib/components/pisellCurrency/PisellCurrency.less +163 -25
- package/lib/components/pisellCurrency/PisellCurrency.stories.js +1 -1
- package/lib/components/pisellCurrency/index.d.ts +2 -1
- package/lib/components/pisellCurrency/index.js +7 -0
- package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +18 -12
- package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.js +8 -48
- package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +6 -0
- package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +35 -0
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +17 -11
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.less +2 -1
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +195 -0
- package/lib/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +48 -0
- package/lib/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +7 -0
- package/lib/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.js +3 -3
- package/lib/components/pisellDateTimeDisplay/formats/index.d.ts +1 -0
- package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +46 -0
- package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.js +7 -1
- package/lib/components/pisellDateTimeDisplay/index.d.ts +3 -0
- package/lib/components/pisellDateTimeDisplay/types.d.ts +352 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatDate.d.ts +21 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +17 -0
- package/lib/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +30 -0
- package/lib/components/pisellDateTimeDisplay/utils/index.d.ts +7 -0
- package/lib/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +22 -0
- package/lib/components/pisellDateTimeDisplay/utils/localeUtils.js +10 -2
- package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +24 -0
- package/lib/components/pisellDateTimeDisplay/utils/relativeDay.js +2 -1
- package/lib/components/pisellEmail/PisellEmail.less +119 -10
- package/lib/components/pisellEmail/PisellEmail.stories.js +1 -1
- package/lib/components/pisellEmail/index.d.ts +3 -1
- package/lib/components/pisellEmail/index.js +10 -2
- package/lib/components/pisellFilter/index.js +79 -8
- package/lib/components/pisellFind/PisellFind.stories.d.ts +45 -0
- package/lib/components/pisellFind/index.d.ts +40 -0
- package/lib/components/pisellFind/index.js +11 -2
- package/lib/components/pisellGridPro/ToolBar/index.less +23 -0
- package/lib/components/pisellLongText/PisellLongText.less +72 -4
- package/lib/components/pisellLongText/PisellLongText.stories.js +1 -1
- package/lib/components/pisellLongText/index.d.ts +2 -1
- package/lib/components/pisellLongText/index.js +7 -0
- package/lib/components/pisellLookup/PisellLookup.d.ts +4 -0
- package/lib/components/pisellLookup/PisellLookup.js +12 -6
- package/lib/components/pisellLookup/PisellLookup.less +39 -16
- package/lib/components/pisellLookup/PisellLookup.stories.d.ts +129 -0
- package/lib/components/pisellLookup/components/HotWords.d.ts +7 -0
- package/lib/components/pisellLookup/components/LookupAuxiliary.d.ts +7 -0
- package/lib/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
- package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
- package/lib/components/pisellLookup/components/LookupTrigger.js +17 -11
- package/lib/components/pisellLookup/components/SearchHistory.d.ts +7 -0
- package/lib/components/pisellLookup/components/SuggestWords.d.ts +7 -0
- package/lib/components/pisellLookup/components/index.d.ts +9 -0
- package/lib/components/pisellLookup/hooks/index.d.ts +6 -0
- package/lib/components/pisellLookup/hooks/useDebounceSearch.d.ts +40 -0
- package/lib/components/pisellLookup/hooks/useSearchHistory.d.ts +48 -0
- package/lib/components/pisellLookup/hooks/useSearchState.d.ts +80 -0
- package/lib/components/pisellLookup/index.d.ts +6 -0
- package/lib/components/pisellLookup/types.d.ts +667 -0
- package/lib/components/pisellLookup/utils/index.d.ts +5 -0
- package/lib/components/pisellLookup/utils/storage.d.ts +42 -0
- package/lib/components/pisellLookup/utils/trigger.d.ts +42 -0
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.less +159 -124
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.stories.js +1 -1
- package/lib/components/pisellMultipleSelect/components/EditView.js +4 -1
- package/lib/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +1 -1
- package/lib/components/pisellMultipleSelect/components/ReadOnlyView.js +29 -1
- package/lib/components/pisellMultipleSelect/index.d.ts +2 -1
- package/lib/components/pisellMultipleSelect/index.js +7 -0
- package/lib/components/pisellNumber/PisellNumber.less +135 -17
- package/lib/components/pisellNumber/PisellNumber.stories.js +1 -1
- package/lib/components/pisellNumber/index.d.ts +2 -1
- package/lib/components/pisellNumber/index.js +7 -0
- package/lib/components/pisellPercent/PisellPercent.less +142 -24
- package/lib/components/pisellPercent/PisellPercent.stories.js +1 -1
- package/lib/components/pisellPercent/index.d.ts +2 -1
- package/lib/components/pisellPercent/index.js +7 -0
- package/lib/components/pisellPhone/PisellPhone.less +122 -27
- package/lib/components/pisellPhone/PisellPhone.stories.js +1 -1
- package/lib/components/pisellPhone/components/EditView.js +1 -1
- package/lib/components/pisellPhone/components/ReadOnlyView.js +18 -4
- package/lib/components/pisellPhone/index.d.ts +2 -1
- package/lib/components/pisellPhone/index.js +7 -0
- package/lib/components/pisellRating/PisellRating.less +20 -12
- package/lib/components/pisellRating/PisellRating.stories.js +1 -1
- package/lib/components/pisellRating/index.d.ts +2 -1
- package/lib/components/pisellRating/index.js +7 -0
- package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +9 -0
- package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts.map +1 -0
- package/lib/components/pisellRecordBoard/PisellRecordBoard.js +263 -0
- package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +81 -0
- package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.js +1673 -0
- package/lib/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
- package/lib/components/pisellRecordBoard/context/RecordBoardContext.js +30 -0
- package/lib/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
- package/lib/components/pisellRecordBoard/context/RecordBoardProvider.js +46 -0
- package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
- package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.js +47 -0
- package/lib/components/pisellRecordBoard/index.d.ts +35 -0
- package/lib/components/pisellRecordBoard/index.js +59 -0
- package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
- package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.js +46 -0
- package/lib/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
- package/lib/components/pisellRecordBoard/layouts/CardLayout/index.js +46 -0
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +264 -0
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.less +100 -0
- package/lib/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
- package/lib/components/pisellRecordBoard/layouts/GridLayout/index.js +46 -0
- package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.js +108 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.js +173 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +100 -0
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.less +2 -0
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +14 -0
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.js +90 -0
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.less +78 -0
- package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
- package/lib/components/pisellRecordBoard/shellFrame/Search/index.js +53 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +112 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +12 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts.map +1 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +247 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +93 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +17 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts.map +1 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.js +85 -0
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.less +41 -0
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +26 -0
- package/lib/components/pisellRecordBoard/shellFrame/index.js +137 -0
- package/lib/components/pisellRecordBoard/types.d.ts +316 -0
- package/lib/components/pisellRecordBoard/types.d.ts.map +1 -0
- package/lib/components/pisellRecordBoard/types.js +17 -0
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +41 -0
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.js +365 -0
- package/lib/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
- package/lib/components/pisellRecordBoard/utils/withRecordBoard.js +49 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.js +113 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.less +78 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.stories.d.ts +15 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.stories.js +129 -0
- package/lib/components/pisellShellFrame/index.d.ts +2 -0
- package/lib/components/pisellShellFrame/index.js +40 -0
- package/lib/components/pisellShellFrame/types.d.ts +56 -0
- package/lib/components/pisellShellFrame/types.js +17 -0
- package/lib/components/pisellSingleLineText/PisellSingleLineText.stories.js +1 -1
- package/lib/components/pisellSingleLineText/index.d.ts +2 -1
- package/lib/components/pisellSingleLineText/index.js +7 -0
- package/lib/components/pisellSingleSelect/PisellSingleSelect.less +103 -46
- package/lib/components/pisellSingleSelect/PisellSingleSelect.stories.js +1 -1
- package/lib/components/pisellSingleSelect/components/EditView.js +4 -1
- package/lib/components/pisellSingleSelect/components/ReadOnlyView.d.ts +1 -1
- package/lib/components/pisellSingleSelect/components/ReadOnlyView.js +12 -9
- package/lib/components/pisellSingleSelect/index.d.ts +2 -1
- package/lib/components/pisellSingleSelect/index.js +7 -0
- package/lib/components/pisellStatisticList/index.d.ts +1 -0
- package/lib/components/pisellStatisticList/index.js +4 -2
- package/lib/components/pisellText/components/Editable/index.d.ts +32 -0
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +32 -0
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.js +7 -3
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +61 -0
- package/lib/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +20 -0
- package/lib/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +19 -0
- package/lib/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +30 -0
- package/lib/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +18 -0
- package/lib/components/pisellTimeRangeDisplay/components/index.d.ts +8 -0
- package/lib/components/pisellTimeRangeDisplay/index.d.ts +3 -0
- package/lib/components/pisellTimeRangeDisplay/types.d.ts +137 -0
- package/lib/components/pisellTimeRangeDisplay/utils/formatDuration.d.ts +14 -0
- package/lib/components/pisellTimeRangeDisplay/utils/index.d.ts +4 -0
- package/lib/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +23 -0
- package/lib/components/pisellUrl/PisellUrl.less +120 -11
- package/lib/components/pisellUrl/PisellUrl.stories.js +1 -1
- package/lib/components/pisellUrl/index.d.ts +3 -1
- package/lib/components/pisellUrl/index.js +10 -2
- package/lib/components/pisellVHFix/index.d.ts +13 -0
- package/lib/components/pisellVHFix/index.js +56 -0
- package/lib/components/pisellVHFix/index.less +10 -0
- package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +4 -0
- package/lib/components/productCard/cartSkuCard/components/Gift/index.js +1 -1
- package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
- package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +36 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +7 -1
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +1 -1
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +11 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +8 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +1 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
- package/lib/components/productCard/cartSkuCard/index.js +5 -1
- package/lib/components/productCard/cartSkuCard/locales.d.ts +178 -0
- package/lib/components/productCard/cartSkuCard/locales.js +8 -2
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +3 -0
- package/lib/components/productCard/locales.d.ts +138 -0
- package/lib/components/productCard/status.d.ts +32 -0
- package/lib/components/productCard/types.d.ts +95 -0
- package/lib/components/productCard/utils.d.ts +33 -0
- package/lib/components/select/index.less +18 -2
- package/lib/components/sort/index.js +13 -3
- package/lib/components/sort/types.d.ts +20 -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/components/table/Table/utils.d.ts +1 -1
- package/lib/components/translation/index.d.ts +17 -0
- package/lib/components/translation/utils.d.ts +9 -0
- package/lib/components/virtualInput/BaseVirtualInput/index.less +2 -2
- package/lib/components/virtualInput/index.d.ts +5 -0
- package/lib/components/virtualInput/index.js +7 -1
- package/lib/components/walletCard/index.d.ts +79 -0
- package/lib/hooks/useThemeTokens.d.ts +7 -0
- package/lib/hooks/useThemeTokens.js +40 -0
- package/lib/index.d.ts +235 -0
- package/lib/index.js +14 -8
- package/lib/locales/en-US.d.ts +384 -0
- package/lib/locales/en-US.js +43 -2
- package/lib/locales/index.d.ts +1 -0
- package/lib/locales/index.js +2 -2
- package/lib/locales/ja.d.ts +348 -0
- package/lib/locales/ja.js +13 -1
- package/lib/locales/pt.d.ts +348 -0
- package/lib/locales/pt.js +12 -1
- package/lib/locales/zh-CN.d.ts +379 -0
- package/lib/locales/zh-CN.js +47 -6
- package/lib/locales/zh-TW.d.ts +379 -0
- package/lib/locales/zh-TW.js +47 -6
- package/lib/theme/tokens.d.ts +22 -0
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/platform.d.ts +1 -1
- package/lib/utils/tagColor.d.ts +7 -0
- package/lib/utils/tagColor.js +60 -0
- package/lowcode/_utils/defaultSchema.ts +95 -30
- package/lowcode/data-source-form/utils.ts +68 -4
- package/package.json +3 -3
|
@@ -1,37 +1,135 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* PisellUrl 组件样式
|
|
3
|
+
* 基于 Figma 设计规范,与 SingleLineText / PisellEmail 设计体系一致,覆盖时使用 pisell-lowcode-xxx
|
|
3
4
|
*/
|
|
4
5
|
|
|
5
6
|
.pisell-url {
|
|
6
7
|
&-edit {
|
|
8
|
+
position: relative;
|
|
7
9
|
width: 100%;
|
|
8
10
|
|
|
9
|
-
//
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
font-size:
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
// Input 组件内置样式(Figma 设计规范)
|
|
12
|
+
.pisell-lowcode-input,
|
|
13
|
+
.pisell-lowcode-input-affix-wrapper {
|
|
14
|
+
font-size: 16px !important;
|
|
15
|
+
line-height: 24px !important;
|
|
16
|
+
border-radius: 8px !important;
|
|
17
|
+
border: 1px solid #d0d5dd !important; // Gray/300
|
|
18
|
+
padding: 12px 16px !important;
|
|
19
|
+
height: 48px !important;
|
|
20
|
+
color: #101828 !important; // Gray/900
|
|
21
|
+
background-color: #ffffff !important;
|
|
22
|
+
|
|
23
|
+
&::placeholder {
|
|
24
|
+
color: #667085 !important; // Gray/500
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&:focus,
|
|
28
|
+
&:focus-within {
|
|
29
|
+
border-color: #d6bbfb !important; // Primary/300
|
|
30
|
+
box-shadow: 0 0 0 4px #f4ebff !important; // Primary/100
|
|
31
|
+
outline: none !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:hover:not(:focus):not(:focus-within):not([disabled]) {
|
|
35
|
+
border-color: #b692f6 !important; // Primary/400
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&[disabled],
|
|
39
|
+
&.pisell-lowcode-input-disabled {
|
|
40
|
+
background-color: #f9fafb !important; // Gray/50
|
|
41
|
+
color: #98a2b3 !important; // Gray/400
|
|
42
|
+
border-color: #d0d5dd !important;
|
|
43
|
+
cursor: not-allowed !important;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// 带前缀(链接图标)的 Input 容器
|
|
48
|
+
.pisell-lowcode-input-affix-wrapper {
|
|
49
|
+
padding: 0 !important;
|
|
50
|
+
|
|
51
|
+
.pisell-lowcode-input-prefix {
|
|
52
|
+
margin-right: 8px;
|
|
53
|
+
margin-left: 16px;
|
|
54
|
+
color: #667085; // Gray/500
|
|
55
|
+
font-size: 16px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.pisell-lowcode-input-suffix {
|
|
59
|
+
margin-left: 8px;
|
|
60
|
+
margin-right: 16px;
|
|
61
|
+
color: #667085;
|
|
62
|
+
font-size: 16px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.pisell-lowcode-input {
|
|
66
|
+
padding: 12px 0 !important;
|
|
67
|
+
border: none !important;
|
|
68
|
+
box-shadow: none !important;
|
|
69
|
+
|
|
70
|
+
&:focus {
|
|
71
|
+
box-shadow: none !important;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// 清空按钮
|
|
77
|
+
.pisell-lowcode-input-clear-icon {
|
|
78
|
+
color: #667085 !important;
|
|
79
|
+
font-size: 14px !important;
|
|
80
|
+
|
|
81
|
+
&:hover {
|
|
82
|
+
color: #344054 !important; // Gray/700
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// 错误状态
|
|
87
|
+
.pisell-lowcode-input-status-error,
|
|
88
|
+
.pisell-lowcode-input-affix-wrapper-status-error {
|
|
89
|
+
border-color: #fda29b !important; // Error/300
|
|
90
|
+
|
|
91
|
+
&:focus,
|
|
92
|
+
&:focus-within {
|
|
93
|
+
border-color: #f97066 !important; // Error/400
|
|
94
|
+
box-shadow: 0 0 0 4px #fee4e2 !important; // Error/100
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&:hover:not(:focus):not(:focus-within) {
|
|
98
|
+
border-color: #f97066 !important; // Error/400
|
|
99
|
+
}
|
|
15
100
|
}
|
|
16
101
|
}
|
|
17
102
|
|
|
103
|
+
// 错误提示(与设计体系一致)
|
|
104
|
+
&-edit-error {
|
|
105
|
+
margin-top: 4px;
|
|
106
|
+
font-size: 12px;
|
|
107
|
+
color: #d92d20; // Error/600
|
|
108
|
+
line-height: 1.5;
|
|
109
|
+
animation: pisell-url-fadeIn 0.3s ease-in-out;
|
|
110
|
+
}
|
|
111
|
+
|
|
18
112
|
&-read {
|
|
19
113
|
display: inline-flex;
|
|
20
114
|
align-items: center;
|
|
21
115
|
|
|
22
|
-
// 链接样式
|
|
23
116
|
.pisell-lowcode-typography-link {
|
|
24
117
|
cursor: pointer;
|
|
25
|
-
transition:
|
|
118
|
+
transition: color 0.2s ease-in-out;
|
|
26
119
|
|
|
27
120
|
&:hover {
|
|
28
|
-
|
|
121
|
+
color: #6d48c4 !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&:active {
|
|
125
|
+
color: #5f3da8 !important;
|
|
29
126
|
}
|
|
30
127
|
}
|
|
31
128
|
|
|
32
|
-
//
|
|
33
|
-
.
|
|
129
|
+
// 链接图标(只读态 Space 内第一项)
|
|
130
|
+
.pisell-lowcode-space-item:first-child {
|
|
34
131
|
font-size: 14px;
|
|
132
|
+
line-height: 1;
|
|
35
133
|
}
|
|
36
134
|
}
|
|
37
135
|
|
|
@@ -44,3 +142,14 @@
|
|
|
44
142
|
}
|
|
45
143
|
}
|
|
46
144
|
}
|
|
145
|
+
|
|
146
|
+
@keyframes pisell-url-fadeIn {
|
|
147
|
+
from {
|
|
148
|
+
opacity: 0;
|
|
149
|
+
transform: translateY(-4px);
|
|
150
|
+
}
|
|
151
|
+
to {
|
|
152
|
+
opacity: 1;
|
|
153
|
+
transform: translateY(0);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
@@ -2,4 +2,20 @@
|
|
|
2
2
|
* PisellUrl 组件导出文件
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
import { getText } from "../../locales";
|
|
6
|
+
import PisellUrl from "./PisellUrl";
|
|
7
|
+
|
|
8
|
+
/** RecordBoard 列 type 联动排序:内置 A → Z / Z → A */
|
|
9
|
+
PisellUrl.SortOptions = {
|
|
10
|
+
getSortItems: function getSortItems(fieldKey) {
|
|
11
|
+
return [{
|
|
12
|
+
key: "".concat(fieldKey, ":asc"),
|
|
13
|
+
label: getText('sort-a-z')
|
|
14
|
+
}, {
|
|
15
|
+
key: "".concat(fieldKey, ":desc"),
|
|
16
|
+
label: getText('sort-z-a')
|
|
17
|
+
}];
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export { PisellUrl };
|
|
21
|
+
export default PisellUrl;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface PisellVHFixProps {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
height?: number;
|
|
8
|
+
minHeight?: boolean;
|
|
9
|
+
maxHeight?: boolean;
|
|
10
|
+
minusPixels?: number;
|
|
11
|
+
}
|
|
12
|
+
declare const PisellVHFix: React.FC<PisellVHFixProps>;
|
|
13
|
+
export default PisellVHFix;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
import React from 'react';
|
|
8
|
+
import { useVH } from "../../hooks/useVH";
|
|
9
|
+
import "./index.less";
|
|
10
|
+
var PisellVHFix = function PisellVHFix(_ref) {
|
|
11
|
+
var children = _ref.children,
|
|
12
|
+
className = _ref.className,
|
|
13
|
+
style = _ref.style,
|
|
14
|
+
_ref$height = _ref.height,
|
|
15
|
+
height = _ref$height === void 0 ? 100 : _ref$height,
|
|
16
|
+
_ref$minHeight = _ref.minHeight,
|
|
17
|
+
minHeight = _ref$minHeight === void 0 ? false : _ref$minHeight,
|
|
18
|
+
_ref$maxHeight = _ref.maxHeight,
|
|
19
|
+
maxHeight = _ref$maxHeight === void 0 ? false : _ref$maxHeight,
|
|
20
|
+
_ref$minusPixels = _ref.minusPixels,
|
|
21
|
+
minusPixels = _ref$minusPixels === void 0 ? 0 : _ref$minusPixels;
|
|
22
|
+
// 启用vh修复
|
|
23
|
+
useVH();
|
|
24
|
+
var containerStyle = _objectSpread(_objectSpread(_objectSpread({}, style), {}, {
|
|
25
|
+
height: minusPixels > 0 ? "calc(var(--vh, 1vh) * ".concat(height, " - ").concat(minusPixels, "px)") : "calc(var(--vh, 1vh) * ".concat(height, ")")
|
|
26
|
+
}, minHeight && {
|
|
27
|
+
minHeight: "calc(var(--vh, 1vh) * ".concat(height, ")")
|
|
28
|
+
}), maxHeight && {
|
|
29
|
+
maxHeight: "calc(var(--vh, 1vh) * ".concat(height, ")")
|
|
30
|
+
});
|
|
31
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
className: "pisell-vh-fix ".concat(className || ''),
|
|
33
|
+
style: containerStyle
|
|
34
|
+
}, children);
|
|
35
|
+
};
|
|
36
|
+
export default PisellVHFix;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useMemo, useCallback } from 'react';
|
|
2
2
|
import Icon from "../../../../icon";
|
|
3
|
-
import { locales, imageAli } from '@pisell/utils';
|
|
3
|
+
import { locales, image as imageAli } from '@pisell/utils';
|
|
4
4
|
import "./index.less";
|
|
5
5
|
var prefixCls = 'pisell-cart-sku-card__gift';
|
|
6
6
|
var Gift = function Gift(props) {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* 赠品项数据结构
|
|
4
|
+
*/
|
|
5
|
+
export interface IGiftItem {
|
|
6
|
+
/** 图片 URL */
|
|
7
|
+
image?: string;
|
|
8
|
+
/** 标题 */
|
|
9
|
+
title?: string;
|
|
10
|
+
/** 唯一标识 */
|
|
11
|
+
id?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Gift 组件 Props
|
|
15
|
+
*/
|
|
16
|
+
export interface IGiftProps {
|
|
17
|
+
/** 是否显示赠品组件 */
|
|
18
|
+
isShow?: boolean;
|
|
19
|
+
/** 赠品总数量(可选择的总数) */
|
|
20
|
+
totalCount?: number;
|
|
21
|
+
/** 已选择的赠品列表 */
|
|
22
|
+
selectedGifts?: IGiftItem[];
|
|
23
|
+
/** 选择的赠品原始数据列表 */
|
|
24
|
+
_selectedOriginGifts?: any[];
|
|
25
|
+
/** 提示文本(未选择时显示) */
|
|
26
|
+
promptText?: string;
|
|
27
|
+
/** 点击事件回调 */
|
|
28
|
+
onClick?: (e: React.MouseEvent) => void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
interface IProps {
|
|
4
|
+
isShowImage?: boolean;
|
|
5
|
+
dataSource: {
|
|
6
|
+
image?: string;
|
|
7
|
+
bundle?: any[];
|
|
8
|
+
options?: any[];
|
|
9
|
+
product_option_string?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
symbol?: string;
|
|
12
|
+
price?: string | number;
|
|
13
|
+
total?: number;
|
|
14
|
+
origin_total?: number;
|
|
15
|
+
num?: number;
|
|
16
|
+
holder_id?: any;
|
|
17
|
+
isFormSubject?: boolean;
|
|
18
|
+
totalDifference?: number;
|
|
19
|
+
};
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
/** 作为主商品卡片展示
|
|
22
|
+
* 1. 影响商品数量 tag 的位置
|
|
23
|
+
* 2. isMain 且 type 为 a5,展示holder
|
|
24
|
+
*/
|
|
25
|
+
isMainProduct?: boolean;
|
|
26
|
+
maxSpecsCount?: number;
|
|
27
|
+
type?: 'a2' | 'a5' | 'a9';
|
|
28
|
+
isBundle?: boolean;
|
|
29
|
+
showFooter?: boolean;
|
|
30
|
+
isShowOriginalPrice?: boolean;
|
|
31
|
+
isShowEditProduct?: boolean;
|
|
32
|
+
onEditProduct?: (val: any) => void;
|
|
33
|
+
disabledEditClick?: boolean;
|
|
34
|
+
}
|
|
35
|
+
declare const BasicInfo: (props: IProps) => JSX.Element;
|
|
36
|
+
export default BasicInfo;
|
|
@@ -96,14 +96,16 @@ var BasicInfo = function BasicInfo(props) {
|
|
|
96
96
|
width: 20
|
|
97
97
|
}
|
|
98
98
|
}) : null, /*#__PURE__*/React.createElement("div", {
|
|
99
|
-
className: "product-info"
|
|
99
|
+
className: "product-info product-info-a5"
|
|
100
100
|
}, /*#__PURE__*/React.createElement("div", {
|
|
101
|
-
className: "product-
|
|
101
|
+
className: "product-basic-info-wrap"
|
|
102
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
103
|
+
className: "product-name ".concat(renderEdit ? 'product-name-edit' : '')
|
|
102
104
|
}, name), (!holder_id || !(holder_id !== null && holder_id !== void 0 && holder_id.length)) && !isFormSubject ? /*#__PURE__*/React.createElement("div", {
|
|
103
105
|
className: "product-price"
|
|
104
106
|
}, formatAmount(price, 2, symbol)) : /*#__PURE__*/React.createElement(Holders, {
|
|
105
107
|
dataSource: dataSource
|
|
106
|
-
})));
|
|
108
|
+
})), renderEdit));
|
|
107
109
|
}
|
|
108
110
|
if (type === 'a9') {
|
|
109
111
|
var showAmount = isBundle && !showFooter;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
interface IProps {
|
|
3
|
+
isShowImage?: boolean;
|
|
4
|
+
dataSource: {
|
|
5
|
+
bundle?: any[];
|
|
6
|
+
symbol?: string;
|
|
7
|
+
};
|
|
8
|
+
type?: 'a2' | 'a5' | 'a9';
|
|
9
|
+
}
|
|
10
|
+
declare const Packages: ({ isShowImage, dataSource, type }: IProps) => JSX.Element | null;
|
|
11
|
+
export default Packages;
|
|
@@ -24,6 +24,7 @@ var TimeRange = function TimeRange(props) {
|
|
|
24
24
|
end_date = dataSource.end_date,
|
|
25
25
|
_dataSource$locale = dataSource.locale,
|
|
26
26
|
locale = _dataSource$locale === void 0 ? 'en-US' : _dataSource$locale;
|
|
27
|
+
if (!start_date || !end_date) return null;
|
|
27
28
|
if (!dayjs(start_date).isValid() || !dayjs(end_date).isValid()) return null;
|
|
28
29
|
useEffect(function () {
|
|
29
30
|
dayjs.locale(localeTypes[locale]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
import { ProductCardTypes } from '../types';
|
|
3
|
+
interface ISKUCardProps extends ProductCardTypes {
|
|
4
|
+
type: 'a2' | 'a5' | 'a9';
|
|
5
|
+
rightActions: any[];
|
|
6
|
+
escapeDom?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const PREFIX = "pisell-cart-sku-card";
|
|
9
|
+
declare const CartSkuCard: (props: ISKUCardProps) => JSX.Element | null;
|
|
10
|
+
export default CartSkuCard;
|
|
@@ -166,7 +166,11 @@ var CartSkuCard = function CartSkuCard(props) {
|
|
|
166
166
|
isShowImage: isShowImage,
|
|
167
167
|
dataSource: dataSource,
|
|
168
168
|
isMainProduct: true,
|
|
169
|
-
type: type
|
|
169
|
+
type: type,
|
|
170
|
+
isShowOriginalPrice: isShowOriginalPrice,
|
|
171
|
+
isShowEditProduct: isShowEditProduct,
|
|
172
|
+
disabledEditClick: disabledEditClick,
|
|
173
|
+
onEditProduct: onEditProduct
|
|
170
174
|
}), /*#__PURE__*/React.createElement(TimeRange, {
|
|
171
175
|
dataSource: dataSource
|
|
172
176
|
}), /*#__PURE__*/React.createElement(Resources, {
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.product.card.discount.reason': string;
|
|
4
|
+
'pisell2.cart.sku-card.more': string;
|
|
5
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
6
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
7
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
8
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
9
|
+
'pisell2.cart.sku-card.gift.title': string;
|
|
10
|
+
'pisell2.cart.sku-card.gift.select.title': string;
|
|
11
|
+
'pisell2.cart.sku-card.gift.total': (num: number) => string;
|
|
12
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
13
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
14
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
15
|
+
'pisell2.product.card.discount.note': string;
|
|
16
|
+
'pisell2.product.card.edit': string;
|
|
17
|
+
'pisell2.product.card.discount.add.note': string;
|
|
18
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
19
|
+
'pisell2.product.card.confirm': string;
|
|
20
|
+
'pisell2.product.card.cancel': string;
|
|
21
|
+
'pisell2.product.card.note.pla': string;
|
|
22
|
+
'pisell2.product.card.items.package': string;
|
|
23
|
+
'pisell2.product.card.view-all': string;
|
|
24
|
+
'pisell2.product.card.view-less': string;
|
|
25
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
26
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
27
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
28
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
29
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
30
|
+
'pisell2.product.card.sales': string;
|
|
31
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
32
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
33
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
34
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
35
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
36
|
+
};
|
|
37
|
+
'zh-CN': {
|
|
38
|
+
'pisell2.product.card.discount.reason': string;
|
|
39
|
+
'pisell2.cart.sku-card.more': string;
|
|
40
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
41
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
42
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
43
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
44
|
+
'pisell2.cart.sku-card.gift.title': string;
|
|
45
|
+
'pisell2.cart.sku-card.gift.select.title': string;
|
|
46
|
+
'pisell2.cart.sku-card.gift.total': (num: number) => string;
|
|
47
|
+
'pisell2.product.card.edit': string;
|
|
48
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
49
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
50
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
51
|
+
'pisell2.product.card.discount.note': string;
|
|
52
|
+
'pisell2.product.card.discount.add.note': string;
|
|
53
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
54
|
+
'pisell2.product.card.confirm': string;
|
|
55
|
+
'pisell2.product.card.cancel': string;
|
|
56
|
+
'pisell2.product.card.note.pla': string;
|
|
57
|
+
'pisell2.product.card.items.package': string;
|
|
58
|
+
'pisell2.product.card.view-all': string;
|
|
59
|
+
'pisell2.product.card.view-less': string;
|
|
60
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
61
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
62
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
63
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
64
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
65
|
+
'pisell2.product.card.sales': string;
|
|
66
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
67
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
68
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
69
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
70
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
71
|
+
};
|
|
72
|
+
'zh-HK': {
|
|
73
|
+
'pisell2.product.card.discount.reason': string;
|
|
74
|
+
'pisell2.cart.sku-card.more': string;
|
|
75
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
76
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
77
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
78
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
79
|
+
'pisell2.cart.sku-card.gift.title': string;
|
|
80
|
+
'pisell2.cart.sku-card.gift.select.title': string;
|
|
81
|
+
'pisell2.cart.sku-card.gift.total': (num: number) => string;
|
|
82
|
+
'pisell2.product.card.edit': string;
|
|
83
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
84
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
85
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
86
|
+
'pisell2.product.card.discount.note': string;
|
|
87
|
+
'pisell2.product.card.discount.add.note': string;
|
|
88
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
89
|
+
'pisell2.product.card.confirm': string;
|
|
90
|
+
'pisell2.product.card.cancel': string;
|
|
91
|
+
'pisell2.product.card.note.pla': string;
|
|
92
|
+
'pisell2.product.card.items.package': string;
|
|
93
|
+
'pisell2.product.card.view-all': string;
|
|
94
|
+
'pisell2.product.card.view-less': string;
|
|
95
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
96
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
97
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
98
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
99
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
100
|
+
'pisell2.product.card.sales': string;
|
|
101
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
102
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
103
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
104
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
105
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
106
|
+
};
|
|
107
|
+
ja: {
|
|
108
|
+
'pisell2.product.card.discount.reason': string;
|
|
109
|
+
'pisell2.cart.sku-card.more': string;
|
|
110
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
111
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
112
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
113
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
114
|
+
'pisell2.cart.sku-card.gift.title': string;
|
|
115
|
+
'pisell2.cart.sku-card.gift.select.title': string;
|
|
116
|
+
'pisell2.cart.sku-card.gift.total': (num: number) => string;
|
|
117
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
118
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
119
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
120
|
+
'pisell2.product.card.discount.note': string;
|
|
121
|
+
'pisell2.product.card.edit': string;
|
|
122
|
+
'pisell2.product.card.discount.add.note': string;
|
|
123
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
124
|
+
'pisell2.product.card.confirm': string;
|
|
125
|
+
'pisell2.product.card.cancel': string;
|
|
126
|
+
'pisell2.product.card.note.pla': string;
|
|
127
|
+
'pisell2.product.card.items.package': string;
|
|
128
|
+
'pisell2.product.card.view-all': string;
|
|
129
|
+
'pisell2.product.card.view-less': string;
|
|
130
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
131
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
132
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
133
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
134
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
135
|
+
'pisell2.product.card.sales': string;
|
|
136
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
137
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
138
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
139
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
140
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
141
|
+
};
|
|
142
|
+
pt: {
|
|
143
|
+
'pisell2.product.card.discount.reason': string;
|
|
144
|
+
'pisell2.cart.sku-card.more': string;
|
|
145
|
+
'pisell2.cart.sku-card.packages.title': string;
|
|
146
|
+
'pisell2.cart.sku-card.sales.title': string;
|
|
147
|
+
'pisell2.cart.sku-card.actions.delete': string;
|
|
148
|
+
'pisell2.cart.sku-card.unassigned': string;
|
|
149
|
+
'pisell2.cart.sku-card.gift.title': string;
|
|
150
|
+
'pisell2.cart.sku-card.gift.select.title': string;
|
|
151
|
+
'pisell2.cart.sku-card.gift.total': (num: number) => string;
|
|
152
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
153
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
154
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
155
|
+
'pisell2.product.card.discount.note': string;
|
|
156
|
+
'pisell2.product.card.edit': string;
|
|
157
|
+
'pisell2.product.card.discount.add.note': string;
|
|
158
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
159
|
+
'pisell2.product.card.confirm': string;
|
|
160
|
+
'pisell2.product.card.cancel': string;
|
|
161
|
+
'pisell2.product.card.note.pla': string;
|
|
162
|
+
'pisell2.product.card.items.package': string;
|
|
163
|
+
'pisell2.product.card.view-all': string;
|
|
164
|
+
'pisell2.product.card.view-less': string;
|
|
165
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
166
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
167
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
168
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
169
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
170
|
+
'pisell2.product.card.sales': string;
|
|
171
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
172
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
173
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
174
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
175
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
export default _default;
|
|
@@ -51,7 +51,12 @@ export default {
|
|
|
51
51
|
'pisell2.cart.sku-card.packages.title': 'パッケージ内のアイテム',
|
|
52
52
|
'pisell2.cart.sku-card.sales.title': 'セール',
|
|
53
53
|
'pisell2.cart.sku-card.actions.delete': '削除',
|
|
54
|
-
'pisell2.cart.sku-card.unassigned': '未割り当て'
|
|
54
|
+
'pisell2.cart.sku-card.unassigned': '未割り当て',
|
|
55
|
+
'pisell2.cart.sku-card.gift.title': 'プレゼント',
|
|
56
|
+
'pisell2.cart.sku-card.gift.select.title': 'プレゼントを選択',
|
|
57
|
+
'pisell2.cart.sku-card.gift.total': function pisell2CartSkuCardGiftTotal(num) {
|
|
58
|
+
return "\u8A08".concat(num, "\u70B9");
|
|
59
|
+
}
|
|
55
60
|
}),
|
|
56
61
|
pt: _objectSpread(_objectSpread({}, localeTexts.pt), {}, {
|
|
57
62
|
'pisell2.product.card.discount.reason': 'Motivo do desconto',
|
|
@@ -59,6 +64,11 @@ export default {
|
|
|
59
64
|
'pisell2.cart.sku-card.packages.title': 'Itens no pacote',
|
|
60
65
|
'pisell2.cart.sku-card.sales.title': 'Vendas',
|
|
61
66
|
'pisell2.cart.sku-card.actions.delete': 'Excluir',
|
|
62
|
-
'pisell2.cart.sku-card.unassigned': 'Não atribuído'
|
|
67
|
+
'pisell2.cart.sku-card.unassigned': 'Não atribuído',
|
|
68
|
+
'pisell2.cart.sku-card.gift.title': 'Brinde',
|
|
69
|
+
'pisell2.cart.sku-card.gift.select.title': 'Escolher brinde',
|
|
70
|
+
'pisell2.cart.sku-card.gift.total': function pisell2CartSkuCardGiftTotal(num) {
|
|
71
|
+
return "".concat(num, " itens no total");
|
|
72
|
+
}
|
|
63
73
|
})
|
|
64
74
|
};
|