@pisell/materials 3.3.85 → 3.3.86
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/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +2 -3
- 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/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/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/select/index.d.ts +0 -1
- package/es/components/table/Table/fields/text/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/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +2 -3
- 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/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/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/select/index.d.ts +0 -1
- package/lib/components/table/Table/fields/text/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/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
- package/es/components/PisellProcedure/index.d.ts +0 -5
- package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
- 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/LookupTrigger.d.ts +0 -3
- 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/PisellProcedure/PisellProcedure.stories.d.ts +0 -163
- package/lib/components/PisellProcedure/index.d.ts +0 -5
- package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
- 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/LookupTrigger.d.ts +0 -3
- 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
|
@@ -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
|
+
}
|
|
@@ -58,7 +58,7 @@ module.exports = __toCommonJS(PisellUrl_stories_exports);
|
|
|
58
58
|
var import_PisellUrl = require("./PisellUrl");
|
|
59
59
|
var import_react = __toESM(require("react"));
|
|
60
60
|
var meta = {
|
|
61
|
-
title: "
|
|
61
|
+
title: "表单/表单组件/PisellUrl",
|
|
62
62
|
component: import_PisellUrl.PisellUrl,
|
|
63
63
|
parameters: {
|
|
64
64
|
layout: "centered",
|
|
@@ -29,11 +29,19 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
29
29
|
// src/components/pisellUrl/index.tsx
|
|
30
30
|
var pisellUrl_exports = {};
|
|
31
31
|
__export(pisellUrl_exports, {
|
|
32
|
-
PisellUrl: () => import_PisellUrl.
|
|
33
|
-
default: () =>
|
|
32
|
+
PisellUrl: () => import_PisellUrl.default,
|
|
33
|
+
default: () => pisellUrl_default
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(pisellUrl_exports);
|
|
36
|
+
var import_locales = require("../../locales");
|
|
36
37
|
var import_PisellUrl = __toESM(require("./PisellUrl"));
|
|
38
|
+
import_PisellUrl.default.SortOptions = {
|
|
39
|
+
getSortItems: (fieldKey) => [
|
|
40
|
+
{ key: `${fieldKey}:asc`, label: (0, import_locales.getText)("sort-a-z") },
|
|
41
|
+
{ key: `${fieldKey}:desc`, label: (0, import_locales.getText)("sort-z-a") }
|
|
42
|
+
]
|
|
43
|
+
};
|
|
44
|
+
var pisellUrl_default = import_PisellUrl.default;
|
|
37
45
|
// Annotate the CommonJS export names for ESM import in node:
|
|
38
46
|
0 && (module.exports = {
|
|
39
47
|
PisellUrl
|
|
@@ -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
|
+
}
|
|
@@ -85,6 +85,16 @@ var sortChildrenMap = {
|
|
|
85
85
|
key: `${key}:desc${isLocal ? ":number" : ""}`,
|
|
86
86
|
label: /* @__PURE__ */ import_react.default.createElement(Label, { content: (0, import_locales.getText)("sort-9-0") })
|
|
87
87
|
}
|
|
88
|
+
],
|
|
89
|
+
option: (key, isLocal) => [
|
|
90
|
+
{
|
|
91
|
+
key: `${key}:asc${isLocal ? ":option" : ""}`,
|
|
92
|
+
label: /* @__PURE__ */ import_react.default.createElement(Label, { content: (0, import_locales.getText)("sort-first-last") })
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
key: `${key}:desc${isLocal ? ":option" : ""}`,
|
|
96
|
+
label: /* @__PURE__ */ import_react.default.createElement(Label, { content: (0, import_locales.getText)("sort-last-first") })
|
|
97
|
+
}
|
|
88
98
|
]
|
|
89
99
|
};
|
|
90
100
|
var Sort = ({
|
|
@@ -98,12 +108,12 @@ var Sort = ({
|
|
|
98
108
|
}) => {
|
|
99
109
|
const sortItems = (0, import_react.useMemo)(() => {
|
|
100
110
|
return list.map((d) => {
|
|
111
|
+
const children = d.getSortItems ? d.getSortItems(d.name).map(({ key, label }) => ({ key, label: /* @__PURE__ */ import_react.default.createElement(Label, { content: label }) })) : sortChildrenMap[d.type](d.name, !!(d == null ? void 0 : d.localFilter));
|
|
101
112
|
return {
|
|
102
113
|
key: d.name,
|
|
103
114
|
label: d.label,
|
|
104
|
-
children
|
|
115
|
+
children,
|
|
105
116
|
popupClassName: `${prefix}sort-sub-menu-popup-wrap ${prefix}dropdown-css-var`,
|
|
106
|
-
// 增加显示隐藏配置
|
|
107
117
|
className: `${d.isHidden ? `${prefix}sort-menu-wrap-hide` : ""}`
|
|
108
118
|
};
|
|
109
119
|
});
|
|
@@ -156,7 +166,7 @@ var Sort = ({
|
|
|
156
166
|
items: sortItems,
|
|
157
167
|
onClick,
|
|
158
168
|
selectable: true,
|
|
159
|
-
selectedKeys: value
|
|
169
|
+
selectedKeys: value != null && value !== "" ? [value] : []
|
|
160
170
|
}
|
|
161
171
|
},
|
|
162
172
|
btnContent
|
|
@@ -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
|
+
}) => ("column_setting" | "gallery_setting" | "order_by" | "group_by" | "filters" | "view_mode" | "filter_setting")[];
|
|
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/lib/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/lib/index.js
CHANGED
|
@@ -173,10 +173,12 @@ __export(src_exports, {
|
|
|
173
173
|
PisellQrcode: () => import_pisellQrcode.default,
|
|
174
174
|
PisellQuickFilter: () => import_pisellQuickFilter.default,
|
|
175
175
|
PisellRating: () => import_pisellRating.PisellRating,
|
|
176
|
+
PisellRecordBoard: () => import_pisellRecordBoard.default,
|
|
176
177
|
PisellRow: () => import_pisellRow.default,
|
|
177
178
|
PisellScan: () => import_pisellScan.default,
|
|
178
179
|
PisellScrollView: () => import_PisellScrollView.default,
|
|
179
180
|
PisellSectionHeaders: () => import_pisellSectionHeaders.default,
|
|
181
|
+
PisellShellFrame: () => import_pisellShellFrame.PisellShellFrame,
|
|
180
182
|
PisellSider: () => import_sider.default,
|
|
181
183
|
PisellSingleLineText: () => import_pisellSingleLineText.PisellSingleLineText,
|
|
182
184
|
PisellSingleSelect: () => import_pisellSingleSelect.PisellSingleSelect,
|
|
@@ -365,6 +367,8 @@ var import_dataSourceTypography = __toESM(require("./components/dataSourceCompon
|
|
|
365
367
|
var import_dataSourceTable = __toESM(require("./components/dataSourceComponents/dataSourceTable"));
|
|
366
368
|
var import_dataSourceWrapper = __toESM(require("./components/dataSourceComponents/dataSourceWrapper"));
|
|
367
369
|
var import_pisellDataSourceContainer = __toESM(require("./components/pisellDataSourceContainer"));
|
|
370
|
+
var import_pisellRecordBoard = __toESM(require("./components/pisellRecordBoard"));
|
|
371
|
+
var import_pisellShellFrame = require("./components/pisellShellFrame");
|
|
368
372
|
var import_Checkbox = __toESM(require("./components/dataSourceComponents/fields/Checkbox"));
|
|
369
373
|
var import_Switch = __toESM(require("./components/dataSourceComponents/fields/Switch"));
|
|
370
374
|
var import_ColorPicker = __toESM(require("./components/dataSourceComponents/fields/ColorPicker"));
|
|
@@ -579,10 +583,12 @@ var import_usePisellConfig = __toESM(require("./components/pisell-config-provide
|
|
|
579
583
|
PisellQrcode,
|
|
580
584
|
PisellQuickFilter,
|
|
581
585
|
PisellRating,
|
|
586
|
+
PisellRecordBoard,
|
|
582
587
|
PisellRow,
|
|
583
588
|
PisellScan,
|
|
584
589
|
PisellScrollView,
|
|
585
590
|
PisellSectionHeaders,
|
|
591
|
+
PisellShellFrame,
|
|
586
592
|
PisellSider,
|
|
587
593
|
PisellSingleLineText,
|
|
588
594
|
PisellSingleSelect,
|
package/lib/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/lib/locales/en-US.js
CHANGED
|
@@ -43,8 +43,10 @@ var en_US_default = {
|
|
|
43
43
|
"sort-z-a": "Z to A",
|
|
44
44
|
"sort-from-morning-to-night": "From morning to night",
|
|
45
45
|
"sort-from-evening-to-morning": "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": "Filter",
|
|
49
51
|
"table-action-filter-quick-filter": "Quick Filter",
|
|
50
52
|
"table-action-filter-quick-filter-tip": (count) => `Enable quick filtering directly on the page for convenient filtering operations, with a maximum of ${count} filters allowed.`,
|
|
@@ -55,8 +57,12 @@ var en_US_default = {
|
|
|
55
57
|
"table-action-column-title": "Header settings",
|
|
56
58
|
"table-column-group-records": "records",
|
|
57
59
|
"table-column-group-lock-tip": "Fixed column immutable order",
|
|
60
|
+
"record-board-uniform-summary-empty": "-",
|
|
61
|
+
"record-board-uniform-summary-same": "Same",
|
|
58
62
|
"table-column-drag-sort-disabled-tip": "Automatic sorting is enabled, manual dragging is disabled.",
|
|
59
63
|
"table-action-filter-no-filter": "No filter options available.",
|
|
64
|
+
"table-action-range-picker-placeholder-start": "Start date",
|
|
65
|
+
"table-action-range-picker-placeholder-end": "End date",
|
|
60
66
|
"table-action-range-picker-presets-today": "Today",
|
|
61
67
|
"table-action-range-picker-presets-yesterday": "Yesterday",
|
|
62
68
|
"table-action-range-picker-presets-last-3-day": "Last 3 Days",
|
|
@@ -82,6 +88,8 @@ var en_US_default = {
|
|
|
82
88
|
// PisellFind
|
|
83
89
|
"pisell-find-button-text": "Find",
|
|
84
90
|
"pisell-find-placeholder": "Please enter search content",
|
|
91
|
+
// PisellExport
|
|
92
|
+
"pisell-export-button-text": "Export",
|
|
85
93
|
"batch-editor-actions": "Actions",
|
|
86
94
|
"batch-editor-remove": "Remove",
|
|
87
95
|
"batch-editor-price": "Price",
|
|
@@ -105,6 +113,38 @@ var en_US_default = {
|
|
|
105
113
|
"batch-action-bar-delete-confirm-content": (count) => `Are you sure you want to delete ${count} selected ${count > 1 ? "items" : "item"}?`,
|
|
106
114
|
"batch-action-bar-delete-confirm-ok": "OK",
|
|
107
115
|
"batch-action-bar-delete-confirm-cancel": "Cancel",
|
|
116
|
+
// RecordBoard Toolbar
|
|
117
|
+
"record-board-toolbar-reset": "Reset",
|
|
118
|
+
"record-board-toolbar-default-filter-status": "Status",
|
|
119
|
+
"record-board-toolbar-default-filter-all": "All",
|
|
120
|
+
"record-board-toolbar-default-filter-enabled": "Enabled",
|
|
121
|
+
"record-board-toolbar-default-filter-disabled": "Disabled",
|
|
122
|
+
"record-board-toolbar-default-filter-keyword": "Keyword",
|
|
123
|
+
"record-board-toolbar-default-placeholder": "Please enter",
|
|
124
|
+
// RecordBoard 通用文案(ToolBar / 翻页 / 批量操作栏,与 utils 同 key 供 fallback)
|
|
125
|
+
"pisell2.recordBoard.toolbar.find": "Find",
|
|
126
|
+
"pisell2.recordBoard.toolbar.findPlaceholder": "Please enter search content",
|
|
127
|
+
"pisell2.recordBoard.toolbar.sort": "Sort",
|
|
128
|
+
"pisell2.recordBoard.toolbar.filter": "Filter",
|
|
129
|
+
"pisell2.recordBoard.toolbar.reset": "Reset",
|
|
130
|
+
"pisell2.salesManagement.pagination.previous": "Previous",
|
|
131
|
+
"pisell2.salesManagement.pagination.next": "Next",
|
|
132
|
+
"pisell2.salesManagement.pagination.showTotal": (start, end) => `Page ${start} of ${end}`,
|
|
133
|
+
"pisell2.salesManagement.pagination.total": (current, max) => `Page ${current} of ${max}`,
|
|
134
|
+
"pisell2.salesManagement.batchActionBar.selectedCount": (count) => `${count} item(s) selected`,
|
|
135
|
+
"pisell2.salesManagement.batchActionBar.more": "More",
|
|
136
|
+
"pisell2.salesManagement.batchActionBar.selectAll": "Select All",
|
|
137
|
+
"pisell2.salesManagement.batchActionBar.invert": "Invert Selection",
|
|
138
|
+
"pisell2.salesManagement.batchActionBar.clear": "Clear Selection",
|
|
139
|
+
"pisell2.salesManagement.batchActionBar.delete": "Delete",
|
|
140
|
+
"pisell2.salesManagement.batchActionBar.confirmTitle": "Confirm",
|
|
141
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmTitle": "Confirm Delete",
|
|
142
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmContent": (count) => `Are you sure you want to delete ${count} selected item(s)?`,
|
|
143
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmOk": "OK",
|
|
144
|
+
"pisell2.salesManagement.batchActionBar.deleteConfirmCancel": "Cancel",
|
|
145
|
+
// ShellFrame statistic collapse
|
|
146
|
+
"shell-frame-statistic-expand": "Expand statistics",
|
|
147
|
+
"shell-frame-statistic-collapse": "Collapse statistics",
|
|
108
148
|
// 导出
|
|
109
149
|
"table-action-export-import-export-success": "Export successful! ",
|
|
110
150
|
"table-action-export-import-button": "Export",
|
package/lib/locales/index.js
CHANGED
|
@@ -45,8 +45,8 @@ var langMap = {
|
|
|
45
45
|
"zh-HK": import_zh_TW.default,
|
|
46
46
|
en: import_en_US.default,
|
|
47
47
|
original: import_en_US.default,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
ja: import_ja.default,
|
|
49
|
+
pt: import_pt.default
|
|
50
50
|
};
|
|
51
51
|
var getText = (id) => {
|
|
52
52
|
var _a;
|
package/lib/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/lib/locales/ja.js
CHANGED
|
@@ -55,6 +55,8 @@ var ja_default = {
|
|
|
55
55
|
"table-action-column-title": "ヘッダー設定",
|
|
56
56
|
"table-column-group-records": "件のレコード",
|
|
57
57
|
"table-column-group-lock-tip": "固定列は順序を変更できません",
|
|
58
|
+
"record-board-uniform-summary-empty": "-",
|
|
59
|
+
"record-board-uniform-summary-same": "同一",
|
|
58
60
|
"table-column-drag-sort-disabled-tip": "自動並び替えが有効になっているため、手動ドラッグは無効です。",
|
|
59
61
|
"table-action-filter-no-filter": "利用可能なフィルターオプションがありません。",
|
|
60
62
|
"table-action-range-picker-presets-today": "今日",
|
package/lib/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/lib/locales/pt.js
CHANGED
|
@@ -55,6 +55,8 @@ var pt_default = {
|
|
|
55
55
|
"table-action-column-title": "Configurações do cabeçalho",
|
|
56
56
|
"table-column-group-records": "registros",
|
|
57
57
|
"table-column-group-lock-tip": "Ordem da coluna fixa imutável",
|
|
58
|
+
"record-board-uniform-summary-empty": "-",
|
|
59
|
+
"record-board-uniform-summary-same": "Mesmo",
|
|
58
60
|
"table-column-drag-sort-disabled-tip": "A ordenação automática está ativada, o arrasto manual está desativado.",
|
|
59
61
|
"table-action-filter-no-filter": "Nenhuma opção de filtro disponível.",
|
|
60
62
|
"table-action-range-picker-presets-today": "Hoje",
|
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;
|