@pisell/materials 3.3.85 → 3.3.87
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 +6 -6
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +21 -21
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +21 -21
- package/es/components/Pagination/index.d.ts +4 -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/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
- package/es/components/dataSourceComponents/fields/Translation/type.d.ts +21 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +7 -7
- 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/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/index.d.ts +7 -1
- package/es/components/pisellDataSourceContainer/components/ColumnsSetting/index.js +30 -3
- package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +28 -0
- package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.js +68 -0
- package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +1 -0
- package/es/components/pisellDataSourceContainer/components/Table/index.js +5 -3
- package/es/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +1 -0
- package/es/components/pisellDataSourceContainer/components/Table/useColumns.js +37 -15
- package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +21 -15
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.less +2 -1
- package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.js +6 -4
- package/es/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +2 -2
- package/es/components/pisellDateTimeDisplay/utils/localeUtils.js +15 -4
- package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +1 -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/index.js +11 -2
- package/es/components/pisellGridPro/ToolBar/index.less +23 -0
- package/es/components/pisellGridPro/index.d.ts +4 -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.js +18 -9
- package/es/components/pisellLookup/PisellLookup.less +39 -16
- package/es/components/pisellLookup/components/LookupTrigger.js +14 -4
- 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 +8 -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.js +2 -0
- package/es/components/pisellRecordBoard/context/RecordBoardProvider.js +13 -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.js +36 -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 +11 -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 +16 -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.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.js +27 -0
- package/es/components/pisellShellFrame/PisellShellFrame.js +107 -0
- package/es/components/pisellShellFrame/PisellShellFrame.less +78 -0
- package/es/components/pisellShellFrame/PisellShellFrame.stories.js +195 -0
- package/es/components/pisellShellFrame/index.js +1 -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/pisellTimeRangeDisplay/PisellTimeRangeDisplay.js +6 -3
- 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/pisellWalletPassCard/index.js +1 -1
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/select/index.less +18 -2
- package/es/components/sort/index.js +25 -3
- package/es/components/table/Table/fields/text/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/index.d.ts +6 -2
- package/es/index.js +2 -0
- package/es/locales/en-US.d.ts +36 -0
- package/es/locales/en-US.js +50 -2
- package/es/locales/index.js +2 -2
- package/es/locales/ja.d.ts +2 -0
- package/es/locales/ja.js +2 -0
- package/es/locales/pt.d.ts +2 -0
- package/es/locales/pt.js +2 -0
- package/es/locales/zh-CN.d.ts +36 -0
- package/es/locales/zh-CN.js +54 -6
- package/es/locales/zh-TW.d.ts +36 -0
- package/es/locales/zh-TW.js +54 -6
- package/es/utils/tagColor.js +39 -0
- package/lib/components/Pagination/index.d.ts +4 -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/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
- package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +21 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +7 -7
- 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/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/index.d.ts +7 -1
- package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/index.js +18 -2
- package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +28 -0
- package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.js +81 -0
- package/lib/components/pisellDataSourceContainer/components/Table/index.d.ts +1 -0
- package/lib/components/pisellDataSourceContainer/components/Table/index.js +3 -1
- package/lib/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +1 -0
- package/lib/components/pisellDataSourceContainer/components/Table/useColumns.js +25 -14
- package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.js +17 -11
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.less +2 -1
- package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.js +7 -1
- package/lib/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +2 -2
- package/lib/components/pisellDateTimeDisplay/utils/localeUtils.js +10 -2
- package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +1 -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/index.js +11 -2
- package/lib/components/pisellGridPro/ToolBar/index.less +23 -0
- package/lib/components/pisellGridPro/index.d.ts +4 -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.js +12 -6
- package/lib/components/pisellLookup/PisellLookup.less +39 -16
- package/lib/components/pisellLookup/components/LookupTrigger.js +9 -3
- 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 +8 -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.js +30 -0
- package/lib/components/pisellRecordBoard/context/RecordBoardProvider.js +46 -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.js +46 -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 +11 -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 +16 -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.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.js +49 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.js +113 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.less +78 -0
- package/lib/components/pisellShellFrame/PisellShellFrame.stories.js +129 -0
- package/lib/components/pisellShellFrame/index.js +40 -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/pisellTimeRangeDisplay/PisellTimeRangeDisplay.js +6 -2
- 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/pisellWalletPassCard/index.js +9 -2
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/select/index.less +18 -2
- package/lib/components/sort/index.js +13 -3
- package/lib/components/table/Table/fields/text/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/index.d.ts +6 -2
- package/lib/index.js +6 -0
- package/lib/locales/en-US.d.ts +36 -0
- package/lib/locales/en-US.js +42 -2
- package/lib/locales/index.js +2 -2
- package/lib/locales/ja.d.ts +2 -0
- package/lib/locales/ja.js +2 -0
- package/lib/locales/pt.d.ts +2 -0
- package/lib/locales/pt.js +2 -0
- package/lib/locales/zh-CN.d.ts +36 -0
- package/lib/locales/zh-CN.js +46 -6
- package/lib/locales/zh-TW.d.ts +36 -0
- package/lib/locales/zh-TW.js +46 -6
- package/lib/utils/tagColor.js +60 -0
- package/lowcode/auto-resize-text/meta.ts +1 -1
- package/package.json +3 -3
- package/es/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +0 -7
- package/es/components/pisellDateTimeDisplay/formats/index.d.ts +0 -1
- package/es/components/pisellDateTimeDisplay/types.d.ts +0 -347
- package/es/components/pisellDateTimeDisplay/utils/formatTime.d.ts +0 -19
- package/es/components/pisellDateTimeDisplay/utils/getRefreshInterval.d.ts +0 -18
- package/es/components/pisellLookup/PisellLookup.d.ts +0 -4
- package/es/components/pisellLookup/PisellLookup.stories.d.ts +0 -129
- package/es/components/pisellLookup/components/HotWords.d.ts +0 -7
- package/es/components/pisellLookup/components/LookupAuxiliary.d.ts +0 -7
- package/es/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
- package/es/components/pisellLookup/components/SearchHistory.d.ts +0 -7
- package/es/components/pisellLookup/components/SuggestWords.d.ts +0 -7
- package/es/components/pisellLookup/components/index.d.ts +0 -9
- package/es/components/pisellLookup/hooks/index.d.ts +0 -6
- package/es/components/pisellLookup/hooks/useSearchHistory.d.ts +0 -48
- package/es/components/pisellLookup/index.d.ts +0 -6
- package/es/components/pisellLookup/types.d.ts +0 -666
- package/es/components/pisellLookup/utils/index.d.ts +0 -5
- package/es/components/pisellLookup/utils/trigger.d.ts +0 -42
- package/es/components/pisellSort/type.d.ts +0 -7
- package/es/components/pisellTimeRangeDisplay/types.d.ts +0 -137
- package/es/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +0 -23
- package/es/components/sort/types.d.ts +0 -20
- package/es/components/virtualInput/index.d.ts +0 -29
- package/es/hooks/useThemeTokens.d.ts +0 -7
- package/lib/components/pisellDateTimeDisplay/formats/dateTimeDisplayFormats.d.ts +0 -7
- package/lib/components/pisellDateTimeDisplay/formats/index.d.ts +0 -1
- package/lib/components/pisellDateTimeDisplay/types.d.ts +0 -347
- package/lib/components/pisellDateTimeDisplay/utils/formatTime.d.ts +0 -19
- package/lib/components/pisellDateTimeDisplay/utils/getRefreshInterval.d.ts +0 -18
- package/lib/components/pisellLookup/PisellLookup.d.ts +0 -4
- package/lib/components/pisellLookup/PisellLookup.stories.d.ts +0 -129
- package/lib/components/pisellLookup/components/HotWords.d.ts +0 -7
- package/lib/components/pisellLookup/components/LookupAuxiliary.d.ts +0 -7
- package/lib/components/pisellLookup/components/LookupResultHost.d.ts +0 -7
- package/lib/components/pisellLookup/components/SearchHistory.d.ts +0 -7
- package/lib/components/pisellLookup/components/SuggestWords.d.ts +0 -7
- package/lib/components/pisellLookup/components/index.d.ts +0 -9
- package/lib/components/pisellLookup/hooks/index.d.ts +0 -6
- package/lib/components/pisellLookup/hooks/useSearchHistory.d.ts +0 -48
- package/lib/components/pisellLookup/index.d.ts +0 -6
- package/lib/components/pisellLookup/types.d.ts +0 -666
- package/lib/components/pisellLookup/utils/index.d.ts +0 -5
- package/lib/components/pisellLookup/utils/trigger.d.ts +0 -42
- package/lib/components/pisellSort/type.d.ts +0 -7
- package/lib/components/pisellTimeRangeDisplay/types.d.ts +0 -137
- package/lib/components/pisellTimeRangeDisplay/utils/parseTimeRange.d.ts +0 -23
- package/lib/components/sort/types.d.ts +0 -20
- package/lib/components/virtualInput/index.d.ts +0 -29
- package/lib/hooks/useThemeTokens.d.ts +0 -7
package/lib/locales/zh-CN.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ declare const _default: {
|
|
|
21
21
|
'sort-from-evening-to-morning': string;
|
|
22
22
|
'sort-0-9': string;
|
|
23
23
|
'sort-9-0': string;
|
|
24
|
+
'sort-first-last': string;
|
|
25
|
+
'sort-last-first': string;
|
|
24
26
|
'table-action-filter-button': string;
|
|
25
27
|
'table-action-filter-quick-filter': string;
|
|
26
28
|
'table-action-filter-quick-filter-tip': (count: number) => string;
|
|
@@ -31,8 +33,12 @@ declare const _default: {
|
|
|
31
33
|
'table-action-column-title': string;
|
|
32
34
|
'table-column-group-records': string;
|
|
33
35
|
'table-column-group-lock-tip': string;
|
|
36
|
+
'record-board-uniform-summary-empty': string;
|
|
37
|
+
'record-board-uniform-summary-same': string;
|
|
34
38
|
'table-column-drag-sort-disabled-tip': string;
|
|
35
39
|
'table-action-filter-no-filter': string;
|
|
40
|
+
'table-action-range-picker-placeholder-start': string;
|
|
41
|
+
'table-action-range-picker-placeholder-end': string;
|
|
36
42
|
'table-action-range-picker-presets-today': string;
|
|
37
43
|
'table-action-range-picker-presets-yesterday': string;
|
|
38
44
|
'table-action-range-picker-presets-last-3-day': string;
|
|
@@ -56,6 +62,7 @@ declare const _default: {
|
|
|
56
62
|
'pisell-lookup-no-data': string;
|
|
57
63
|
'pisell-find-button-text': string;
|
|
58
64
|
'pisell-find-placeholder': string;
|
|
65
|
+
'pisell-export-button-text': string;
|
|
59
66
|
'batch-editor-actions': string;
|
|
60
67
|
'batch-editor-remove': string;
|
|
61
68
|
'batch-editor-price': string;
|
|
@@ -78,6 +85,35 @@ declare const _default: {
|
|
|
78
85
|
'batch-action-bar-delete-confirm-content': (count: number) => string;
|
|
79
86
|
'batch-action-bar-delete-confirm-ok': string;
|
|
80
87
|
'batch-action-bar-delete-confirm-cancel': string;
|
|
88
|
+
'record-board-toolbar-reset': string;
|
|
89
|
+
'record-board-toolbar-default-filter-status': string;
|
|
90
|
+
'record-board-toolbar-default-filter-all': string;
|
|
91
|
+
'record-board-toolbar-default-filter-enabled': string;
|
|
92
|
+
'record-board-toolbar-default-filter-disabled': string;
|
|
93
|
+
'record-board-toolbar-default-filter-keyword': string;
|
|
94
|
+
'record-board-toolbar-default-placeholder': string;
|
|
95
|
+
'pisell2.recordBoard.toolbar.find': string;
|
|
96
|
+
'pisell2.recordBoard.toolbar.findPlaceholder': string;
|
|
97
|
+
'pisell2.recordBoard.toolbar.sort': string;
|
|
98
|
+
'pisell2.recordBoard.toolbar.filter': string;
|
|
99
|
+
'pisell2.recordBoard.toolbar.reset': string;
|
|
100
|
+
'pisell2.salesManagement.pagination.previous': string;
|
|
101
|
+
'pisell2.salesManagement.pagination.next': string;
|
|
102
|
+
'pisell2.salesManagement.pagination.showTotal': (start: number, end: number) => string;
|
|
103
|
+
'pisell2.salesManagement.pagination.total': (current: number, max: number) => string;
|
|
104
|
+
'pisell2.salesManagement.batchActionBar.selectedCount': (count: number) => string;
|
|
105
|
+
'pisell2.salesManagement.batchActionBar.more': string;
|
|
106
|
+
'pisell2.salesManagement.batchActionBar.selectAll': string;
|
|
107
|
+
'pisell2.salesManagement.batchActionBar.invert': string;
|
|
108
|
+
'pisell2.salesManagement.batchActionBar.clear': string;
|
|
109
|
+
'pisell2.salesManagement.batchActionBar.delete': string;
|
|
110
|
+
'pisell2.salesManagement.batchActionBar.confirmTitle': string;
|
|
111
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmTitle': string;
|
|
112
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmContent': (count: number) => string;
|
|
113
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmOk': string;
|
|
114
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmCancel': string;
|
|
115
|
+
'shell-frame-statistic-expand': string;
|
|
116
|
+
'shell-frame-statistic-collapse': string;
|
|
81
117
|
'table-action-export-import-export-success': string;
|
|
82
118
|
'table-action-export-import-button': string;
|
|
83
119
|
'table-action-export-import-export-range': string;
|
package/lib/locales/zh-CN.js
CHANGED
|
@@ -39,12 +39,14 @@ var zh_CN_default = {
|
|
|
39
39
|
"sort-button-text": "排序",
|
|
40
40
|
"sort-oldest-to-newest": "从旧到新",
|
|
41
41
|
"sort-newest-to-oldest": "从新到旧",
|
|
42
|
-
"sort-a-z": "A
|
|
43
|
-
"sort-z-a": "Z
|
|
42
|
+
"sort-a-z": "A → Z",
|
|
43
|
+
"sort-z-a": "Z → A",
|
|
44
44
|
"sort-from-morning-to-night": "从早到晚",
|
|
45
45
|
"sort-from-evening-to-morning": "从晚到早",
|
|
46
|
-
"sort-0-9": "0
|
|
47
|
-
"sort-9-0": "9
|
|
46
|
+
"sort-0-9": "0 → 9",
|
|
47
|
+
"sort-9-0": "9 → 0",
|
|
48
|
+
"sort-first-last": "First → Last",
|
|
49
|
+
"sort-last-first": "Last → First",
|
|
48
50
|
"table-action-filter-button": "筛选",
|
|
49
51
|
"table-action-filter-quick-filter": "快捷筛选",
|
|
50
52
|
"table-action-filter-quick-filter-tip": (count) => `在页面上直接启用快速筛选,以便进行方便的筛选操作,最多允许使用${count}个筛选器。`,
|
|
@@ -55,8 +57,12 @@ var zh_CN_default = {
|
|
|
55
57
|
"table-action-column-title": "表头设置",
|
|
56
58
|
"table-column-group-records": "条记录",
|
|
57
59
|
"table-column-group-lock-tip": "固定列不可移动顺序",
|
|
60
|
+
"record-board-uniform-summary-empty": "-",
|
|
61
|
+
"record-board-uniform-summary-same": "重复数据",
|
|
58
62
|
"table-column-drag-sort-disabled-tip": "已开启自动排序,无法手动拖拽",
|
|
59
63
|
"table-action-filter-no-filter": "没有可用的筛选器。",
|
|
64
|
+
"table-action-range-picker-placeholder-start": "开始日期",
|
|
65
|
+
"table-action-range-picker-placeholder-end": "结束日期",
|
|
60
66
|
"table-action-range-picker-presets-today": "今天",
|
|
61
67
|
"table-action-range-picker-presets-yesterday": "昨天",
|
|
62
68
|
"table-action-range-picker-presets-last-3-day": "过去3天",
|
|
@@ -71,7 +77,7 @@ var zh_CN_default = {
|
|
|
71
77
|
"pisell-lookup-placeholder": "请输入搜索内容",
|
|
72
78
|
"pisell-lookup-button-text": "搜索",
|
|
73
79
|
"pisell-lookup-confirm-button-text": "Lookup",
|
|
74
|
-
"pisell-lookup-clear": "
|
|
80
|
+
"pisell-lookup-clear": "清空",
|
|
75
81
|
"pisell-lookup-close": "Close",
|
|
76
82
|
"pisell-lookup-search-history": "搜索历史",
|
|
77
83
|
"pisell-lookup-clear-history": "清空",
|
|
@@ -80,8 +86,10 @@ var zh_CN_default = {
|
|
|
80
86
|
"pisell-lookup-loading": "加载中...",
|
|
81
87
|
"pisell-lookup-no-data": "暂无数据",
|
|
82
88
|
// PisellFind
|
|
83
|
-
"pisell-find-button-text": "
|
|
89
|
+
"pisell-find-button-text": "搜索",
|
|
84
90
|
"pisell-find-placeholder": "请输入搜索内容",
|
|
91
|
+
// PisellExport
|
|
92
|
+
"pisell-export-button-text": "导出",
|
|
85
93
|
"batch-editor-actions": "操作",
|
|
86
94
|
"batch-editor-remove": "移除",
|
|
87
95
|
"batch-editor-price": "价格",
|
|
@@ -105,6 +113,38 @@ var zh_CN_default = {
|
|
|
105
113
|
"batch-action-bar-delete-confirm-content": (count) => `确定要删除选中的 ${count} 项吗?`,
|
|
106
114
|
"batch-action-bar-delete-confirm-ok": "确定",
|
|
107
115
|
"batch-action-bar-delete-confirm-cancel": "取消",
|
|
116
|
+
// RecordBoard 工具栏
|
|
117
|
+
"record-board-toolbar-reset": "重置",
|
|
118
|
+
"record-board-toolbar-default-filter-status": "状态",
|
|
119
|
+
"record-board-toolbar-default-filter-all": "全部",
|
|
120
|
+
"record-board-toolbar-default-filter-enabled": "启用",
|
|
121
|
+
"record-board-toolbar-default-filter-disabled": "禁用",
|
|
122
|
+
"record-board-toolbar-default-filter-keyword": "关键词",
|
|
123
|
+
"record-board-toolbar-default-placeholder": "请输入",
|
|
124
|
+
// RecordBoard 通用文案(ToolBar / 翻页 / 批量操作栏)
|
|
125
|
+
"pisell2.recordBoard.toolbar.find": "搜索",
|
|
126
|
+
"pisell2.recordBoard.toolbar.findPlaceholder": "请输入搜索内容",
|
|
127
|
+
"pisell2.recordBoard.toolbar.sort": "排序",
|
|
128
|
+
"pisell2.recordBoard.toolbar.filter": "筛选",
|
|
129
|
+
"pisell2.recordBoard.toolbar.reset": "重置",
|
|
130
|
+
"pisell2.salesManagement.pagination.previous": "上一页",
|
|
131
|
+
"pisell2.salesManagement.pagination.next": "下一页",
|
|
132
|
+
"pisell2.salesManagement.pagination.showTotal": (start, end) => `第 ${start}-${end} 条`,
|
|
133
|
+
"pisell2.salesManagement.pagination.total": (current, max) => `${current} / ${max}`,
|
|
134
|
+
"pisell2.salesManagement.batchActionBar.selectedCount": (count) => `已选择 ${count} 项`,
|
|
135
|
+
"pisell2.salesManagement.batchActionBar.more": "更多",
|
|
136
|
+
"pisell2.salesManagement.batchActionBar.selectAll": "全选",
|
|
137
|
+
"pisell2.salesManagement.batchActionBar.invert": "反选",
|
|
138
|
+
"pisell2.salesManagement.batchActionBar.clear": "取消选择",
|
|
139
|
+
"pisell2.salesManagement.batchActionBar.delete": "删除",
|
|
140
|
+
"pisell2.salesManagement.batchActionBar.confirmTitle": "确认操作",
|
|
141
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmTitle": "确认删除",
|
|
142
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmContent": (count) => `确定要删除选中的 ${count} 项吗?`,
|
|
143
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmOk": "确定",
|
|
144
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmCancel": "取消",
|
|
145
|
+
// ShellFrame 统计区折叠
|
|
146
|
+
"shell-frame-statistic-expand": "展开统计",
|
|
147
|
+
"shell-frame-statistic-collapse": "收起统计",
|
|
108
148
|
// 导出
|
|
109
149
|
"table-action-export-import-export-success": "导出成功!",
|
|
110
150
|
"table-action-export-import-button": "导出",
|
package/lib/locales/zh-TW.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ declare const _default: {
|
|
|
21
21
|
'sort-from-evening-to-morning': string;
|
|
22
22
|
'sort-0-9': string;
|
|
23
23
|
'sort-9-0': string;
|
|
24
|
+
'sort-first-last': string;
|
|
25
|
+
'sort-last-first': string;
|
|
24
26
|
'table-action-filter-button': string;
|
|
25
27
|
'table-action-filter-quick-filter': string;
|
|
26
28
|
'table-action-filter-quick-filter-tip': (count: number) => string;
|
|
@@ -31,8 +33,12 @@ declare const _default: {
|
|
|
31
33
|
'table-action-column-title': string;
|
|
32
34
|
'table-column-group-records': string;
|
|
33
35
|
'table-column-group-lock-tip': string;
|
|
36
|
+
'record-board-uniform-summary-empty': string;
|
|
37
|
+
'record-board-uniform-summary-same': string;
|
|
34
38
|
'table-column-drag-sort-disabled-tip': string;
|
|
35
39
|
'table-action-filter-no-filter': string;
|
|
40
|
+
'table-action-range-picker-placeholder-start': string;
|
|
41
|
+
'table-action-range-picker-placeholder-end': string;
|
|
36
42
|
'table-action-range-picker-presets-today': string;
|
|
37
43
|
'table-action-range-picker-presets-yesterday': string;
|
|
38
44
|
'table-action-range-picker-presets-last-3-day': string;
|
|
@@ -56,6 +62,7 @@ declare const _default: {
|
|
|
56
62
|
'pisell-lookup-no-data': string;
|
|
57
63
|
'pisell-find-button-text': string;
|
|
58
64
|
'pisell-find-placeholder': string;
|
|
65
|
+
'pisell-export-button-text': string;
|
|
59
66
|
'batch-editor-actions': string;
|
|
60
67
|
'batch-editor-remove': string;
|
|
61
68
|
'batch-editor-price': string;
|
|
@@ -78,6 +85,35 @@ declare const _default: {
|
|
|
78
85
|
'batch-action-bar-delete-confirm-content': (count: number) => string;
|
|
79
86
|
'batch-action-bar-delete-confirm-ok': string;
|
|
80
87
|
'batch-action-bar-delete-confirm-cancel': string;
|
|
88
|
+
'record-board-toolbar-reset': string;
|
|
89
|
+
'record-board-toolbar-default-filter-status': string;
|
|
90
|
+
'record-board-toolbar-default-filter-all': string;
|
|
91
|
+
'record-board-toolbar-default-filter-enabled': string;
|
|
92
|
+
'record-board-toolbar-default-filter-disabled': string;
|
|
93
|
+
'record-board-toolbar-default-filter-keyword': string;
|
|
94
|
+
'record-board-toolbar-default-placeholder': string;
|
|
95
|
+
'pisell2.recordBoard.toolbar.find': string;
|
|
96
|
+
'pisell2.recordBoard.toolbar.findPlaceholder': string;
|
|
97
|
+
'pisell2.recordBoard.toolbar.sort': string;
|
|
98
|
+
'pisell2.recordBoard.toolbar.filter': string;
|
|
99
|
+
'pisell2.recordBoard.toolbar.reset': string;
|
|
100
|
+
'pisell2.salesManagement.pagination.previous': string;
|
|
101
|
+
'pisell2.salesManagement.pagination.next': string;
|
|
102
|
+
'pisell2.salesManagement.pagination.showTotal': (start: number, end: number) => string;
|
|
103
|
+
'pisell2.salesManagement.pagination.total': (current: number, max: number) => string;
|
|
104
|
+
'pisell2.salesManagement.batchActionBar.selectedCount': (count: number) => string;
|
|
105
|
+
'pisell2.salesManagement.batchActionBar.more': string;
|
|
106
|
+
'pisell2.salesManagement.batchActionBar.selectAll': string;
|
|
107
|
+
'pisell2.salesManagement.batchActionBar.invert': string;
|
|
108
|
+
'pisell2.salesManagement.batchActionBar.clear': string;
|
|
109
|
+
'pisell2.salesManagement.batchActionBar.delete': string;
|
|
110
|
+
'pisell2.salesManagement.batchActionBar.confirmTitle': string;
|
|
111
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmTitle': string;
|
|
112
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmContent': (count: number) => string;
|
|
113
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmOk': string;
|
|
114
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmCancel': string;
|
|
115
|
+
'shell-frame-statistic-expand': string;
|
|
116
|
+
'shell-frame-statistic-collapse': string;
|
|
81
117
|
'table-action-export-import-export-success': string;
|
|
82
118
|
'table-action-export-import-button': string;
|
|
83
119
|
'table-action-export-import-export-range': string;
|
package/lib/locales/zh-TW.js
CHANGED
|
@@ -39,12 +39,14 @@ var zh_TW_default = {
|
|
|
39
39
|
"sort-button-text": "排序",
|
|
40
40
|
"sort-oldest-to-newest": "從舊到新",
|
|
41
41
|
"sort-newest-to-oldest": "從新到舊",
|
|
42
|
-
"sort-a-z": "A
|
|
43
|
-
"sort-z-a": "Z
|
|
42
|
+
"sort-a-z": "A → Z",
|
|
43
|
+
"sort-z-a": "Z → A",
|
|
44
44
|
"sort-from-morning-to-night": "從早到晚",
|
|
45
45
|
"sort-from-evening-to-morning": "從晚到早",
|
|
46
|
-
"sort-0-9": "0
|
|
47
|
-
"sort-9-0": "9
|
|
46
|
+
"sort-0-9": "0 → 9",
|
|
47
|
+
"sort-9-0": "9 → 0",
|
|
48
|
+
"sort-first-last": "First → Last",
|
|
49
|
+
"sort-last-first": "Last → First",
|
|
48
50
|
"table-action-filter-button": "篩選",
|
|
49
51
|
"table-action-filter-quick-filter": "快速篩選",
|
|
50
52
|
"table-action-filter-quick-filter-tip": (count) => `在頁面上直接啟用快速篩選,以便進行方便的篩選操作,最多允許使用${count}個篩選器。`,
|
|
@@ -55,8 +57,12 @@ var zh_TW_default = {
|
|
|
55
57
|
"table-action-column-title": "表頭設置",
|
|
56
58
|
"table-column-group-records": "條記錄",
|
|
57
59
|
"table-column-group-lock-tip": "固定列不可移動順序",
|
|
60
|
+
"record-board-uniform-summary-empty": "-",
|
|
61
|
+
"record-board-uniform-summary-same": "重複數據",
|
|
58
62
|
"table-column-drag-sort-disabled-tip": "已開啟自動排序,無法手動拖曳",
|
|
59
63
|
"table-action-filter-no-filter": "沒有可用的篩選器。",
|
|
64
|
+
"table-action-range-picker-placeholder-start": "開始日期",
|
|
65
|
+
"table-action-range-picker-placeholder-end": "結束日期",
|
|
60
66
|
"table-action-range-picker-presets-today": "今天",
|
|
61
67
|
"table-action-range-picker-presets-yesterday": "昨天",
|
|
62
68
|
"table-action-range-picker-presets-last-3-day": "過去3天",
|
|
@@ -71,7 +77,7 @@ var zh_TW_default = {
|
|
|
71
77
|
"pisell-lookup-placeholder": "請輸入搜索內容",
|
|
72
78
|
"pisell-lookup-button-text": "搜索",
|
|
73
79
|
"pisell-lookup-confirm-button-text": "Lookup",
|
|
74
|
-
"pisell-lookup-clear": "
|
|
80
|
+
"pisell-lookup-clear": "清空",
|
|
75
81
|
"pisell-lookup-close": "Close",
|
|
76
82
|
"pisell-lookup-search-history": "搜索歷史",
|
|
77
83
|
"pisell-lookup-clear-history": "清空",
|
|
@@ -80,8 +86,10 @@ var zh_TW_default = {
|
|
|
80
86
|
"pisell-lookup-loading": "加載中...",
|
|
81
87
|
"pisell-lookup-no-data": "暫無數據",
|
|
82
88
|
// PisellFind
|
|
83
|
-
"pisell-find-button-text": "
|
|
89
|
+
"pisell-find-button-text": "搜尋",
|
|
84
90
|
"pisell-find-placeholder": "請輸入搜索內容",
|
|
91
|
+
// PisellExport
|
|
92
|
+
"pisell-export-button-text": "導出",
|
|
85
93
|
"batch-editor-actions": "操作",
|
|
86
94
|
"batch-editor-remove": "移除",
|
|
87
95
|
"batch-editor-price": "價格",
|
|
@@ -105,6 +113,38 @@ var zh_TW_default = {
|
|
|
105
113
|
"batch-action-bar-delete-confirm-content": (count) => `確定要刪除選中的 ${count} 項嗎?`,
|
|
106
114
|
"batch-action-bar-delete-confirm-ok": "確定",
|
|
107
115
|
"batch-action-bar-delete-confirm-cancel": "取消",
|
|
116
|
+
// RecordBoard 工具欄
|
|
117
|
+
"record-board-toolbar-reset": "重置",
|
|
118
|
+
"record-board-toolbar-default-filter-status": "狀態",
|
|
119
|
+
"record-board-toolbar-default-filter-all": "全部",
|
|
120
|
+
"record-board-toolbar-default-filter-enabled": "啟用",
|
|
121
|
+
"record-board-toolbar-default-filter-disabled": "禁用",
|
|
122
|
+
"record-board-toolbar-default-filter-keyword": "關鍵詞",
|
|
123
|
+
"record-board-toolbar-default-placeholder": "請輸入",
|
|
124
|
+
// RecordBoard 通用文案(ToolBar / 翻页 / 批量操作栏)
|
|
125
|
+
"pisell2.recordBoard.toolbar.find": "搜尋",
|
|
126
|
+
"pisell2.recordBoard.toolbar.findPlaceholder": "請輸入搜尋內容",
|
|
127
|
+
"pisell2.recordBoard.toolbar.sort": "排序",
|
|
128
|
+
"pisell2.recordBoard.toolbar.filter": "篩選",
|
|
129
|
+
"pisell2.recordBoard.toolbar.reset": "重置",
|
|
130
|
+
"pisell2.salesManagement.pagination.previous": "上一頁",
|
|
131
|
+
"pisell2.salesManagement.pagination.next": "下一頁",
|
|
132
|
+
"pisell2.salesManagement.pagination.showTotal": (start, end) => `第 ${start}-${end} 條`,
|
|
133
|
+
"pisell2.salesManagement.pagination.total": (current, max) => `${current} / ${max}`,
|
|
134
|
+
"pisell2.salesManagement.batchActionBar.selectedCount": (count) => `已選擇 ${count} 項`,
|
|
135
|
+
"pisell2.salesManagement.batchActionBar.more": "更多",
|
|
136
|
+
"pisell2.salesManagement.batchActionBar.selectAll": "全選",
|
|
137
|
+
"pisell2.salesManagement.batchActionBar.invert": "反選",
|
|
138
|
+
"pisell2.salesManagement.batchActionBar.clear": "取消選擇",
|
|
139
|
+
"pisell2.salesManagement.batchActionBar.delete": "刪除",
|
|
140
|
+
"pisell2.salesManagement.batchActionBar.confirmTitle": "確認操作",
|
|
141
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmTitle": "確認刪除",
|
|
142
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmContent": (count) => `確定要刪除選中的 ${count} 項嗎?`,
|
|
143
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmOk": "確定",
|
|
144
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmCancel": "取消",
|
|
145
|
+
// ShellFrame 統計區摺疊
|
|
146
|
+
"shell-frame-statistic-expand": "展開統計",
|
|
147
|
+
"shell-frame-statistic-collapse": "收起統計",
|
|
108
148
|
// 导出
|
|
109
149
|
"table-action-export-import-export-success": "導出成功!",
|
|
110
150
|
"table-action-export-import-button": "匯出",
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/utils/tagColor.ts
|
|
20
|
+
var tagColor_exports = {};
|
|
21
|
+
__export(tagColor_exports, {
|
|
22
|
+
getDefaultTagColor: () => getDefaultTagColor
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(tagColor_exports);
|
|
25
|
+
var PRESET_TAG_COLORS = [
|
|
26
|
+
"blue",
|
|
27
|
+
// #1677ff
|
|
28
|
+
"green",
|
|
29
|
+
// #52c41a
|
|
30
|
+
"orange",
|
|
31
|
+
// #fa8c16
|
|
32
|
+
"purple",
|
|
33
|
+
// #722ed1
|
|
34
|
+
"cyan",
|
|
35
|
+
// #13c2c2
|
|
36
|
+
"magenta",
|
|
37
|
+
// #eb2f96
|
|
38
|
+
"gold",
|
|
39
|
+
// #faad14
|
|
40
|
+
"lime",
|
|
41
|
+
// #a0d911
|
|
42
|
+
"geekblue",
|
|
43
|
+
// #2f54eb
|
|
44
|
+
"volcano"
|
|
45
|
+
// #fa541c
|
|
46
|
+
];
|
|
47
|
+
function getDefaultTagColor(value, index) {
|
|
48
|
+
const key = value !== null && value !== void 0 && typeof value === "object" ? JSON.stringify(value) : String(value ?? "");
|
|
49
|
+
let hash = 0;
|
|
50
|
+
for (let i = 0; i < key.length; i++) {
|
|
51
|
+
hash = (hash << 5) - hash + key.charCodeAt(i);
|
|
52
|
+
hash |= 0;
|
|
53
|
+
}
|
|
54
|
+
const idx = Math.abs(hash) % PRESET_TAG_COLORS.length;
|
|
55
|
+
return PRESET_TAG_COLORS[idx];
|
|
56
|
+
}
|
|
57
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
58
|
+
0 && (module.exports = {
|
|
59
|
+
getDefaultTagColor
|
|
60
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.87",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -89,9 +89,9 @@
|
|
|
89
89
|
"styled-components": "^6.0.0-rc.3",
|
|
90
90
|
"swiper": "^8.4.7",
|
|
91
91
|
"vod-js-sdk-v6": "^1.4.11",
|
|
92
|
-
"@pisell/utils": "3.0.2",
|
|
93
92
|
"@pisell/date-picker": "3.0.4",
|
|
94
|
-
"@pisell/icon": "0.0.11"
|
|
93
|
+
"@pisell/icon": "0.0.11",
|
|
94
|
+
"@pisell/utils": "3.0.2"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
97
|
"react": "^18.0.0",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { DateTimeDisplayFormatPreset } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* PisellDateTimeDisplay 按语言预设的格式
|
|
4
|
-
* - zh-cn:完整日期 - 时间 星期(如 2025-12-31 - 2:00 周四);默认不展示相对日,可传 dateFormat.showRelativeDay: true 开启
|
|
5
|
-
* - en:时间 星期, 日期(如 2:00 Sat, 21 Mar, 2026);默认不展示相对日,可传 dateFormat.showRelativeDay: true 开启
|
|
6
|
-
*/
|
|
7
|
-
export declare const DATETIME_DISPLAY_FORMATS: Record<string, Partial<DateTimeDisplayFormatPreset>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DATETIME_DISPLAY_FORMATS } from './dateTimeDisplayFormats';
|