@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
|
@@ -10,6 +10,7 @@ import 'dayjs/locale/zh-cn';
|
|
|
10
10
|
import 'dayjs/locale/en';
|
|
11
11
|
import { parseTimeRange, getDayjsLocale, getRelativeDay } from "./utils";
|
|
12
12
|
import { TimeRangeBlock, DateBlock, WeekdayBlock, DurationBlock } from "./components";
|
|
13
|
+
import useEngineContext from "../../hooks/useEngineContext";
|
|
13
14
|
import "./PisellTimeRangeDisplay.less";
|
|
14
15
|
|
|
15
16
|
/**
|
|
@@ -37,7 +38,7 @@ import "./PisellTimeRangeDisplay.less";
|
|
|
37
38
|
* />
|
|
38
39
|
*/
|
|
39
40
|
export var PisellTimeRangeDisplay = function PisellTimeRangeDisplay(props) {
|
|
40
|
-
var _durationFormat$showS;
|
|
41
|
+
var _context$engine, _durationFormat$showS;
|
|
41
42
|
var startAt = props.startAt,
|
|
42
43
|
endAt = props.endAt,
|
|
43
44
|
_props$textAlign = props.textAlign,
|
|
@@ -58,9 +59,11 @@ export var PisellTimeRangeDisplay = function PisellTimeRangeDisplay(props) {
|
|
|
58
59
|
className = props.className,
|
|
59
60
|
style = props.style,
|
|
60
61
|
onClick = props.onClick;
|
|
62
|
+
var context = useEngineContext();
|
|
63
|
+
var resolvedLocale = localeProp || (context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 || (_context$engine = _context$engine.props) === null || _context$engine === void 0 ? void 0 : _context$engine.locale) || 'en';
|
|
61
64
|
var effectiveLocale = useMemo(function () {
|
|
62
|
-
return
|
|
63
|
-
}, [
|
|
65
|
+
return getDayjsLocale(resolvedLocale);
|
|
66
|
+
}, [resolvedLocale]);
|
|
64
67
|
var _useMemo = useMemo(function () {
|
|
65
68
|
return parseTimeRange(startAt, endAt, effectiveLocale);
|
|
66
69
|
}, [startAt, endAt, effectiveLocale]),
|
|
@@ -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;
|
|
@@ -546,7 +546,7 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
|
|
|
546
546
|
fontSize: 20,
|
|
547
547
|
color: 'var(--Primary-600, #7F56D9)'
|
|
548
548
|
}
|
|
549
|
-
}))),
|
|
549
|
+
}))), disabled && disabledReason && showDisabledReason && /*#__PURE__*/React.createElement("div", {
|
|
550
550
|
className: "pisell-card-warn-message"
|
|
551
551
|
}, /*#__PURE__*/React.createElement(Iconfont, {
|
|
552
552
|
className: "pisell-card-icon",
|
|
@@ -5,16 +5,32 @@
|
|
|
5
5
|
&-select-dropdown-render-divider {
|
|
6
6
|
margin: 8px 0;
|
|
7
7
|
}
|
|
8
|
+
|
|
8
9
|
&-select-dropdown-render-options-wrap {
|
|
9
10
|
padding: 0 5px 5px;
|
|
10
11
|
}
|
|
12
|
+
|
|
13
|
+
&-select-clear {
|
|
14
|
+
color: #667085;
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
min-width: 36px;
|
|
19
|
+
min-height: 36px;
|
|
20
|
+
margin: -18px -6px;
|
|
21
|
+
padding: 8px 6px;
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
color: #344054;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
11
27
|
}
|
|
12
28
|
|
|
13
29
|
// 添加选项间距
|
|
14
30
|
.pisell-base-select-dropdown {
|
|
15
31
|
.pisell-lowcode-select-item {
|
|
16
32
|
margin-bottom: 4px;
|
|
17
|
-
|
|
33
|
+
|
|
18
34
|
&:last-child {
|
|
19
35
|
margin-bottom: 0;
|
|
20
36
|
}
|
|
@@ -27,4 +43,4 @@
|
|
|
27
43
|
|
|
28
44
|
box-shadow: none !important;
|
|
29
45
|
border-color: transparent !important;
|
|
30
|
-
}
|
|
46
|
+
}
|
|
@@ -70,6 +70,19 @@ var sortChildrenMap = {
|
|
|
70
70
|
content: getText('sort-9-0')
|
|
71
71
|
})
|
|
72
72
|
}];
|
|
73
|
+
},
|
|
74
|
+
option: function option(key, isLocal) {
|
|
75
|
+
return [{
|
|
76
|
+
key: "".concat(key, ":asc").concat(isLocal ? ':option' : ''),
|
|
77
|
+
label: /*#__PURE__*/React.createElement(Label, {
|
|
78
|
+
content: getText('sort-first-last')
|
|
79
|
+
})
|
|
80
|
+
}, {
|
|
81
|
+
key: "".concat(key, ":desc").concat(isLocal ? ':option' : ''),
|
|
82
|
+
label: /*#__PURE__*/React.createElement(Label, {
|
|
83
|
+
content: getText('sort-last-first')
|
|
84
|
+
})
|
|
85
|
+
}];
|
|
73
86
|
}
|
|
74
87
|
};
|
|
75
88
|
var Sort = function Sort(_ref2) {
|
|
@@ -83,12 +96,21 @@ var Sort = function Sort(_ref2) {
|
|
|
83
96
|
localPagination = _ref2.localPagination;
|
|
84
97
|
var sortItems = useMemo(function () {
|
|
85
98
|
return list.map(function (d) {
|
|
99
|
+
var children = d.getSortItems ? d.getSortItems(d.name).map(function (_ref3) {
|
|
100
|
+
var key = _ref3.key,
|
|
101
|
+
label = _ref3.label;
|
|
102
|
+
return {
|
|
103
|
+
key: key,
|
|
104
|
+
label: /*#__PURE__*/React.createElement(Label, {
|
|
105
|
+
content: label
|
|
106
|
+
})
|
|
107
|
+
};
|
|
108
|
+
}) : sortChildrenMap[d.type](d.name, !!(d !== null && d !== void 0 && d.localFilter));
|
|
86
109
|
return {
|
|
87
110
|
key: d.name,
|
|
88
111
|
label: d.label,
|
|
89
|
-
children:
|
|
112
|
+
children: children,
|
|
90
113
|
popupClassName: "".concat(prefix, "sort-sub-menu-popup-wrap ").concat(prefix, "dropdown-css-var"),
|
|
91
|
-
// 增加显示隐藏配置
|
|
92
114
|
className: "".concat(d.isHidden ? "".concat(prefix, "sort-menu-wrap-hide") : '')
|
|
93
115
|
};
|
|
94
116
|
});
|
|
@@ -133,7 +155,7 @@ var Sort = function Sort(_ref2) {
|
|
|
133
155
|
items: sortItems,
|
|
134
156
|
onClick: onClick,
|
|
135
157
|
selectable: true,
|
|
136
|
-
selectedKeys: value
|
|
158
|
+
selectedKeys: value != null && value !== '' ? [value] : []
|
|
137
159
|
}
|
|
138
160
|
}, btnContent);
|
|
139
161
|
};
|
|
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
155
155
|
sort?: SortType | undefined;
|
|
156
156
|
mode: "" | "localStorage" | "remote";
|
|
157
157
|
currentViewMode: ModeType;
|
|
158
|
-
}) => ("
|
|
158
|
+
}) => ("view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting" | "filters")[];
|
|
159
159
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
160
160
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
161
161
|
export {};
|
package/es/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export type { PisellSingleLineTextProps, PisellLongTextProps, PisellNumberProps,
|
|
|
14
14
|
* <PisellMetrics.MetricCard title="Total Sales" value={1580} />
|
|
15
15
|
*/
|
|
16
16
|
export { default as PisellMetrics } from './components/PisellMetrics';
|
|
17
|
-
export type { PisellMetricCardProps, PisellStatisticProps } from './components/PisellMetrics';
|
|
17
|
+
export type { PisellMetricCardProps, PisellStatisticProps, } from './components/PisellMetrics';
|
|
18
18
|
/**
|
|
19
19
|
* PisellLayouts - 布局组件命名空间
|
|
20
20
|
* @example
|
|
@@ -134,7 +134,7 @@ export { default as CropPhoto } from './components/cropPhoto';
|
|
|
134
134
|
export { default as PisellUpload } from './components/pisellUpload';
|
|
135
135
|
export { default as Translation } from './components/translation';
|
|
136
136
|
export { PisellLookup } from './components/pisellLookup';
|
|
137
|
-
export type { PisellLookupProps, PisellLookupRef } from './components/pisellLookup';
|
|
137
|
+
export type { PisellLookupProps, PisellLookupRef, } from './components/pisellLookup';
|
|
138
138
|
export { PisellFind } from './components/pisellFind';
|
|
139
139
|
export type { PisellFindProps, PisellFindRef } from './components/pisellFind';
|
|
140
140
|
export { default as DataSourceForm } from './components/dataSourceComponents/dataSourceForm';
|
|
@@ -148,6 +148,10 @@ export { default as DataSourceTypography } from './components/dataSourceComponen
|
|
|
148
148
|
export { default as DataSourceTable } from './components/dataSourceComponents/dataSourceTable';
|
|
149
149
|
export { default as DataSourceWrapper } from './components/dataSourceComponents/dataSourceWrapper';
|
|
150
150
|
export { default as PisellDataSourceContainer } from './components/pisellDataSourceContainer';
|
|
151
|
+
export { default as PisellRecordBoard } from './components/pisellRecordBoard';
|
|
152
|
+
export type { RecordBoardContextValue, RecordBoardChildComponentProps, RecordBoardColumnType, } from './components/pisellRecordBoard';
|
|
153
|
+
export { PisellShellFrame } from './components/pisellShellFrame';
|
|
154
|
+
export type { PisellShellFrameProps, PisellShellFrameConfig, PisellShellFrameScrollConfig, } from './components/pisellShellFrame';
|
|
151
155
|
export type { DataSourceContainerProps } from './components/pisellDataSourceContainer';
|
|
152
156
|
export { default as FormItemCheckbox } from './components/dataSourceComponents/fields/Checkbox';
|
|
153
157
|
export { default as FormItemSwitch } from './components/dataSourceComponents/fields/Switch';
|
package/es/index.js
CHANGED
|
@@ -167,6 +167,8 @@ export { default as DataSourceTypography } from "./components/dataSourceComponen
|
|
|
167
167
|
export { default as DataSourceTable } from "./components/dataSourceComponents/dataSourceTable";
|
|
168
168
|
export { default as DataSourceWrapper } from "./components/dataSourceComponents/dataSourceWrapper";
|
|
169
169
|
export { default as PisellDataSourceContainer } from "./components/pisellDataSourceContainer";
|
|
170
|
+
export { default as PisellRecordBoard } from "./components/pisellRecordBoard";
|
|
171
|
+
export { PisellShellFrame } from "./components/pisellShellFrame";
|
|
170
172
|
export { default as FormItemCheckbox } from "./components/dataSourceComponents/fields/Checkbox";
|
|
171
173
|
export { default as FormItemSwitch } from "./components/dataSourceComponents/fields/Switch";
|
|
172
174
|
export { default as FormItemColorPicker } from "./components/dataSourceComponents/fields/ColorPicker";
|
package/es/locales/en-US.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/es/locales/en-US.js
CHANGED
|
@@ -21,8 +21,10 @@ export default {
|
|
|
21
21
|
'sort-z-a': 'Z to A',
|
|
22
22
|
'sort-from-morning-to-night': 'From morning to night',
|
|
23
23
|
'sort-from-evening-to-morning': 'From evening to morning',
|
|
24
|
-
'sort-0-9': '0
|
|
25
|
-
'sort-9-0': '9
|
|
24
|
+
'sort-0-9': '0 → 9',
|
|
25
|
+
'sort-9-0': '9 → 0',
|
|
26
|
+
'sort-first-last': 'First → Last',
|
|
27
|
+
'sort-last-first': 'Last → First',
|
|
26
28
|
'table-action-filter-button': 'Filter',
|
|
27
29
|
'table-action-filter-quick-filter': 'Quick Filter',
|
|
28
30
|
'table-action-filter-quick-filter-tip': function tableActionFilterQuickFilterTip(count) {
|
|
@@ -37,8 +39,12 @@ export default {
|
|
|
37
39
|
'table-action-column-title': 'Header settings',
|
|
38
40
|
'table-column-group-records': 'records',
|
|
39
41
|
'table-column-group-lock-tip': 'Fixed column immutable order',
|
|
42
|
+
'record-board-uniform-summary-empty': '-',
|
|
43
|
+
'record-board-uniform-summary-same': 'Same',
|
|
40
44
|
'table-column-drag-sort-disabled-tip': 'Automatic sorting is enabled, manual dragging is disabled.',
|
|
41
45
|
'table-action-filter-no-filter': 'No filter options available.',
|
|
46
|
+
'table-action-range-picker-placeholder-start': 'Start date',
|
|
47
|
+
'table-action-range-picker-placeholder-end': 'End date',
|
|
42
48
|
'table-action-range-picker-presets-today': 'Today',
|
|
43
49
|
'table-action-range-picker-presets-yesterday': 'Yesterday',
|
|
44
50
|
'table-action-range-picker-presets-last-3-day': 'Last 3 Days',
|
|
@@ -64,6 +70,8 @@ export default {
|
|
|
64
70
|
// PisellFind
|
|
65
71
|
'pisell-find-button-text': 'Find',
|
|
66
72
|
'pisell-find-placeholder': 'Please enter search content',
|
|
73
|
+
// PisellExport
|
|
74
|
+
'pisell-export-button-text': 'Export',
|
|
67
75
|
'batch-editor-actions': 'Actions',
|
|
68
76
|
'batch-editor-remove': 'Remove',
|
|
69
77
|
'batch-editor-price': 'Price',
|
|
@@ -95,6 +103,46 @@ export default {
|
|
|
95
103
|
},
|
|
96
104
|
'batch-action-bar-delete-confirm-ok': 'OK',
|
|
97
105
|
'batch-action-bar-delete-confirm-cancel': 'Cancel',
|
|
106
|
+
// RecordBoard Toolbar
|
|
107
|
+
'record-board-toolbar-reset': 'Reset',
|
|
108
|
+
'record-board-toolbar-default-filter-status': 'Status',
|
|
109
|
+
'record-board-toolbar-default-filter-all': 'All',
|
|
110
|
+
'record-board-toolbar-default-filter-enabled': 'Enabled',
|
|
111
|
+
'record-board-toolbar-default-filter-disabled': 'Disabled',
|
|
112
|
+
'record-board-toolbar-default-filter-keyword': 'Keyword',
|
|
113
|
+
'record-board-toolbar-default-placeholder': 'Please enter',
|
|
114
|
+
// RecordBoard 通用文案(ToolBar / 翻页 / 批量操作栏,与 utils 同 key 供 fallback)
|
|
115
|
+
'pisell2.recordBoard.toolbar.find': 'Find',
|
|
116
|
+
'pisell2.recordBoard.toolbar.findPlaceholder': 'Please enter search content',
|
|
117
|
+
'pisell2.recordBoard.toolbar.sort': 'Sort',
|
|
118
|
+
'pisell2.recordBoard.toolbar.filter': 'Filter',
|
|
119
|
+
'pisell2.recordBoard.toolbar.reset': 'Reset',
|
|
120
|
+
'pisell2.salesManagement.pagination.previous': 'Previous',
|
|
121
|
+
'pisell2.salesManagement.pagination.next': 'Next',
|
|
122
|
+
'pisell2.salesManagement.pagination.showTotal': function pisell2SalesManagementPaginationShowTotal(start, end) {
|
|
123
|
+
return "Page ".concat(start, " of ").concat(end);
|
|
124
|
+
},
|
|
125
|
+
'pisell2.salesManagement.pagination.total': function pisell2SalesManagementPaginationTotal(current, max) {
|
|
126
|
+
return "Page ".concat(current, " of ").concat(max);
|
|
127
|
+
},
|
|
128
|
+
'pisell2.salesManagement.batchActionBar.selectedCount': function pisell2SalesManagementBatchActionBarSelectedCount(count) {
|
|
129
|
+
return "".concat(count, " item(s) selected");
|
|
130
|
+
},
|
|
131
|
+
'pisell2.salesManagement.batchActionBar.more': 'More',
|
|
132
|
+
'pisell2.salesManagement.batchActionBar.selectAll': 'Select All',
|
|
133
|
+
'pisell2.salesManagement.batchActionBar.invert': 'Invert Selection',
|
|
134
|
+
'pisell2.salesManagement.batchActionBar.clear': 'Clear Selection',
|
|
135
|
+
'pisell2.salesManagement.batchActionBar.delete': 'Delete',
|
|
136
|
+
'pisell2.salesManagement.batchActionBar.confirmTitle': 'Confirm',
|
|
137
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmTitle': 'Confirm Delete',
|
|
138
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmContent': function pisell2SalesManagementBatchActionBarDeleteConfirmContent(count) {
|
|
139
|
+
return "Are you sure you want to delete ".concat(count, " selected item(s)?");
|
|
140
|
+
},
|
|
141
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmOk': 'OK',
|
|
142
|
+
'pisell2.salesManagement.batchActionBar.deleteConfirmCancel': 'Cancel',
|
|
143
|
+
// ShellFrame statistic collapse
|
|
144
|
+
'shell-frame-statistic-expand': 'Expand statistics',
|
|
145
|
+
'shell-frame-statistic-collapse': 'Collapse statistics',
|
|
98
146
|
// 导出
|
|
99
147
|
'table-action-export-import-export-success': 'Export successful! ',
|
|
100
148
|
'table-action-export-import-button': 'Export',
|
package/es/locales/index.js
CHANGED
package/es/locales/ja.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ declare const _default: {
|
|
|
31
31
|
'table-action-column-title': string;
|
|
32
32
|
'table-column-group-records': string;
|
|
33
33
|
'table-column-group-lock-tip': string;
|
|
34
|
+
'record-board-uniform-summary-empty': string;
|
|
35
|
+
'record-board-uniform-summary-same': string;
|
|
34
36
|
'table-column-drag-sort-disabled-tip': string;
|
|
35
37
|
'table-action-filter-no-filter': string;
|
|
36
38
|
'table-action-range-picker-presets-today': string;
|
package/es/locales/ja.js
CHANGED
|
@@ -37,6 +37,8 @@ export default {
|
|
|
37
37
|
'table-action-column-title': 'ヘッダー設定',
|
|
38
38
|
'table-column-group-records': '件のレコード',
|
|
39
39
|
'table-column-group-lock-tip': '固定列は順序を変更できません',
|
|
40
|
+
'record-board-uniform-summary-empty': '-',
|
|
41
|
+
'record-board-uniform-summary-same': '同一',
|
|
40
42
|
'table-column-drag-sort-disabled-tip': '自動並び替えが有効になっているため、手動ドラッグは無効です。',
|
|
41
43
|
'table-action-filter-no-filter': '利用可能なフィルターオプションがありません。',
|
|
42
44
|
'table-action-range-picker-presets-today': '今日',
|
package/es/locales/pt.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ declare const _default: {
|
|
|
31
31
|
'table-action-column-title': string;
|
|
32
32
|
'table-column-group-records': string;
|
|
33
33
|
'table-column-group-lock-tip': string;
|
|
34
|
+
'record-board-uniform-summary-empty': string;
|
|
35
|
+
'record-board-uniform-summary-same': string;
|
|
34
36
|
'table-column-drag-sort-disabled-tip': string;
|
|
35
37
|
'table-action-filter-no-filter': string;
|
|
36
38
|
'table-action-range-picker-presets-today': string;
|
package/es/locales/pt.js
CHANGED
|
@@ -37,6 +37,8 @@ export default {
|
|
|
37
37
|
'table-action-column-title': 'Configurações do cabeçalho',
|
|
38
38
|
'table-column-group-records': 'registros',
|
|
39
39
|
'table-column-group-lock-tip': 'Ordem da coluna fixa imutável',
|
|
40
|
+
'record-board-uniform-summary-empty': '-',
|
|
41
|
+
'record-board-uniform-summary-same': 'Mesmo',
|
|
40
42
|
'table-column-drag-sort-disabled-tip': 'A ordenação automática está ativada, o arrasto manual está desativado.',
|
|
41
43
|
'table-action-filter-no-filter': 'Nenhuma opção de filtro disponível.',
|
|
42
44
|
'table-action-range-picker-presets-today': 'Hoje',
|