@pisell/materials 1.0.1054 → 1.0.1056
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/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +4 -4
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +4 -4
- package/es/components/dataSourceComponents/dataSourceSubForm/index.js +18 -5
- package/es/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +38 -32
- package/es/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +58 -26
- package/es/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
- package/es/components/dataSourceComponents/fields/Tabs/Tabs.js +1 -1
- package/es/components/dataSourceComponents/fields/Tabs/Tabs.less +2 -1
- package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +6 -2
- package/lib/components/dataSourceComponents/dataSourceSubForm/index.js +16 -3
- package/lib/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +38 -32
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +49 -21
- package/lib/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
- package/lib/components/dataSourceComponents/fields/Tabs/Tabs.js +1 -1
- package/lib/components/dataSourceComponents/fields/Tabs/Tabs.less +2 -1
- package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +7 -1
- package/lowcode/data-source-form/utils.ts +3 -0
- package/package.json +1 -1
- package/es/components/Pagination/index.d.ts +0 -12
- package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +0 -163
- package/es/components/PisellFields/index.d.ts +0 -36
- package/es/components/PisellLayouts/index.d.ts +0 -32
- package/es/components/PisellMetrics/index.d.ts +0 -23
- package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
- package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/es/components/appVersionControl/index.d.ts +0 -4
- package/es/components/cardMetricItem/index.d.ts +0 -15
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -178
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -8
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -101
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -85
- package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -7
- package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -11
- package/es/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +0 -87
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
- package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -21
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +0 -18
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/es/components/filter/components/Dropdown/index.d.ts +0 -9
- package/es/components/filter/components/FilterButton/index.d.ts +0 -4
- package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +0 -21
- package/es/components/filter/components/FilterItem/index.d.ts +0 -5
- package/es/components/page/index.d.ts +0 -8
- package/es/components/pisellAdjustPrice/index.d.ts +0 -4
- package/es/components/pisellBatchActionBar/PisellBatchActionBar.d.ts +0 -31
- package/es/components/pisellCardList/index.d.ts +0 -107
- package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/es/components/pisellCurrency/PisellCurrency.d.ts +0 -39
- package/es/components/pisellCurrency/PisellCurrency.stories.d.ts +0 -56
- package/es/components/pisellCurrency/components/DisabledView.d.ts +0 -11
- package/es/components/pisellCurrency/components/EditView.d.ts +0 -18
- package/es/components/pisellCurrency/components/ReadOnlyView.d.ts +0 -17
- package/es/components/pisellCurrency/components/index.d.ts +0 -6
- package/es/components/pisellCurrency/index.d.ts +0 -7
- package/es/components/pisellCurrency/types.d.ts +0 -56
- package/es/components/pisellCurrency/utils/currencyFormatter.d.ts +0 -31
- package/es/components/pisellCurrency/utils/index.d.ts +0 -5
- package/es/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +0 -28
- package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +0 -28
- package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +0 -9
- package/es/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +0 -14
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +0 -35
- package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +0 -195
- package/es/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +0 -48
- package/es/components/pisellDateTimeDisplay/components/TimeDisplay.d.ts +0 -42
- package/es/components/pisellDateTimeDisplay/components/WeekdayDisplay.d.ts +0 -57
- package/es/components/pisellDateTimeDisplay/components/index.d.ts +0 -6
- package/es/components/pisellDateTimeDisplay/hooks/index.d.ts +0 -2
- package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +0 -46
- package/es/components/pisellDateTimeDisplay/index.d.ts +0 -3
- package/es/components/pisellDateTimeDisplay/utils/formatDate.d.ts +0 -21
- package/es/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +0 -17
- package/es/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +0 -30
- package/es/components/pisellDateTimeDisplay/utils/index.d.ts +0 -7
- package/es/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +0 -22
- package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
- package/es/components/pisellEmail/PisellEmail.d.ts +0 -37
- package/es/components/pisellEmail/PisellEmail.stories.d.ts +0 -116
- package/es/components/pisellEmail/components/DisabledView.d.ts +0 -14
- package/es/components/pisellEmail/components/EditView.d.ts +0 -15
- package/es/components/pisellEmail/components/ReadOnlyView.d.ts +0 -15
- package/es/components/pisellEmail/index.d.ts +0 -7
- package/es/components/pisellEmail/types.d.ts +0 -176
- package/es/components/pisellEmail/utils/emailHelper.d.ts +0 -66
- package/es/components/pisellEmail/utils/emailValidator.d.ts +0 -45
- package/es/components/pisellEmail/utils/index.d.ts +0 -6
- package/es/components/pisellFilter/index.d.ts +0 -3
- package/es/components/pisellFind/PisellFind.stories.d.ts +0 -45
- package/es/components/pisellFind/index.d.ts +0 -40
- package/es/components/pisellGoodPassCard/index.d.ts +0 -50
- package/es/components/pisellLongText/PisellLongText.d.ts +0 -39
- package/es/components/pisellLongText/PisellLongText.stories.d.ts +0 -123
- package/es/components/pisellLongText/components/DisabledView.d.ts +0 -16
- package/es/components/pisellLongText/components/EditView.d.ts +0 -19
- package/es/components/pisellLongText/components/ReadOnlyView.d.ts +0 -18
- package/es/components/pisellLongText/index.d.ts +0 -7
- package/es/components/pisellLongText/types.d.ts +0 -147
- package/es/components/pisellMetricCard/PisellMetricCard.d.ts +0 -35
- package/es/components/pisellMetricCard/PisellMetricCard.stories.d.ts +0 -17
- package/es/components/pisellMetricCard/components/MetricComparison.d.ts +0 -14
- package/es/components/pisellMetricCard/components/index.d.ts +0 -7
- package/es/components/pisellMetricCard/index.d.ts +0 -6
- package/es/components/pisellMetricCard/utils/formatMetricValue.d.ts +0 -34
- package/es/components/pisellMetricCard/utils/index.d.ts +0 -5
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
- package/es/components/pisellMultipleSelect/PisellMultipleSelect.stories.d.ts +0 -70
- package/es/components/pisellMultipleSelect/components/DisabledView.d.ts +0 -8
- package/es/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
- package/es/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +0 -8
- package/es/components/pisellMultipleSelect/index.d.ts +0 -7
- package/es/components/pisellMultipleSelect/types.d.ts +0 -160
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/es/components/pisellNumber/PisellNumber.d.ts +0 -42
- package/es/components/pisellNumber/PisellNumber.stories.d.ts +0 -66
- package/es/components/pisellNumber/components/DisabledView.d.ts +0 -11
- package/es/components/pisellNumber/components/EditView.d.ts +0 -18
- package/es/components/pisellNumber/components/ReadOnlyView.d.ts +0 -16
- package/es/components/pisellNumber/components/index.d.ts +0 -6
- package/es/components/pisellNumber/index.d.ts +0 -7
- package/es/components/pisellNumber/types.d.ts +0 -168
- package/es/components/pisellPercent/PisellPercent.d.ts +0 -38
- package/es/components/pisellPercent/PisellPercent.stories.d.ts +0 -52
- package/es/components/pisellPercent/components/DisabledView.d.ts +0 -11
- package/es/components/pisellPercent/components/EditView.d.ts +0 -17
- package/es/components/pisellPercent/components/ReadOnlyView.d.ts +0 -14
- package/es/components/pisellPercent/components/index.d.ts +0 -6
- package/es/components/pisellPercent/index.d.ts +0 -7
- package/es/components/pisellPercent/types.d.ts +0 -68
- package/es/components/pisellPercent/utils/index.d.ts +0 -6
- package/es/components/pisellPercent/utils/percentFormatter.d.ts +0 -27
- package/es/components/pisellPhone/PisellPhone.d.ts +0 -36
- package/es/components/pisellPhone/PisellPhone.stories.d.ts +0 -80
- package/es/components/pisellPhone/components/DisabledView.d.ts +0 -16
- package/es/components/pisellPhone/components/EditView.d.ts +0 -19
- package/es/components/pisellPhone/components/ReadOnlyView.d.ts +0 -17
- package/es/components/pisellPhone/constants/countryCodes.d.ts +0 -20
- package/es/components/pisellPhone/index.d.ts +0 -8
- package/es/components/pisellPhone/types.d.ts +0 -209
- package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
- package/es/components/pisellPhone/utils/index.d.ts +0 -6
- package/es/components/pisellPhone/utils/phoneValidator.d.ts +0 -11
- package/es/components/pisellRating/PisellRating.d.ts +0 -31
- package/es/components/pisellRating/PisellRating.stories.d.ts +0 -53
- package/es/components/pisellRating/index.d.ts +0 -7
- package/es/components/pisellRating/types.d.ts +0 -124
- package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -8
- package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -81
- package/es/components/pisellRecordBoard/context/RecordBoardContext.d.ts +0 -3
- package/es/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +0 -11
- package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +0 -16
- package/es/components/pisellRecordBoard/index.d.ts +0 -35
- package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +0 -12
- package/es/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +0 -13
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/es/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +0 -13
- package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +0 -15
- package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
- package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
- package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
- package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
- package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
- package/es/components/pisellRecordBoard/shellFrame/index.d.ts +0 -26
- package/es/components/pisellRecordBoard/types.d.ts +0 -315
- package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -41
- package/es/components/pisellRecordBoard/utils/withRecordBoard.d.ts +0 -9
- package/es/components/pisellRow/index.d.ts +0 -22
- package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
- package/es/components/pisellSingleLineText/PisellSingleLineText.stories.d.ts +0 -102
- package/es/components/pisellSingleLineText/components/DisabledView.d.ts +0 -16
- package/es/components/pisellSingleLineText/components/EditView.d.ts +0 -19
- package/es/components/pisellSingleLineText/components/ReadOnlyView.d.ts +0 -20
- package/es/components/pisellSingleLineText/index.d.ts +0 -7
- package/es/components/pisellSingleLineText/types.d.ts +0 -139
- package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
- package/es/components/pisellSingleSelect/PisellSingleSelect.stories.d.ts +0 -66
- package/es/components/pisellSingleSelect/components/DisabledView.d.ts +0 -8
- package/es/components/pisellSingleSelect/components/EditView.d.ts +0 -8
- package/es/components/pisellSingleSelect/components/ReadOnlyView.d.ts +0 -8
- package/es/components/pisellSingleSelect/index.d.ts +0 -7
- package/es/components/pisellSingleSelect/types.d.ts +0 -92
- package/es/components/pisellText/components/Amount/index.d.ts +0 -20
- package/es/components/pisellText/components/Editable/index.d.ts +0 -32
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
- package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +0 -61
- package/es/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +0 -20
- package/es/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +0 -19
- package/es/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +0 -30
- package/es/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +0 -18
- package/es/components/pisellTimeRangeDisplay/components/index.d.ts +0 -8
- package/es/components/pisellTimeRangeDisplay/index.d.ts +0 -3
- package/es/components/pisellTimeRangeDisplay/utils/index.d.ts +0 -4
- package/es/components/pisellToast/index.d.ts +0 -17
- package/es/components/pisellUrl/PisellUrl.d.ts +0 -37
- package/es/components/pisellUrl/PisellUrl.stories.d.ts +0 -108
- package/es/components/pisellUrl/components/DisabledView.d.ts +0 -14
- package/es/components/pisellUrl/components/EditView.d.ts +0 -15
- package/es/components/pisellUrl/components/ReadOnlyView.d.ts +0 -15
- package/es/components/pisellUrl/index.d.ts +0 -7
- package/es/components/pisellUrl/types.d.ts +0 -160
- package/es/components/pisellWalletPassCard/index.d.ts +0 -146
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -29
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
- package/es/components/productCard/components/Header/index.d.ts +0 -3
- package/es/components/productCard/components/Sales/index.d.ts +0 -3
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
- package/es/components/productCard/components/Time/index.d.ts +0 -3
- package/es/components/productCard/index.d.ts +0 -7
- package/es/components/productCard/utils.d.ts +0 -33
- package/es/components/sort/index.d.ts +0 -5
- package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -7
- package/es/components/table/BasicTable/index.d.ts +0 -3
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
- package/es/components/table/Gallery/index.d.ts +0 -5
- package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
- package/es/components/table/Table/index.d.ts +0 -4
- package/es/components/table/Table/utils.d.ts +0 -167
- package/es/components/table/hooks/useTableSetting.d.ts +0 -21
- package/es/components/table/hooks/useTransDataSource.d.ts +0 -12
- package/es/components/table/index.d.ts +0 -4
- package/es/components/translation/index.d.ts +0 -18
- package/es/components/versionModal/index.d.ts +0 -24
- package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
- package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
- package/es/components/virtual-keyboard/index.d.ts +0 -25
- package/es/components/walletCard/index.d.ts +0 -79
- package/es/index.d.ts +0 -243
- package/lib/components/Pagination/index.d.ts +0 -12
- package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +0 -163
- package/lib/components/PisellFields/index.d.ts +0 -36
- package/lib/components/PisellLayouts/index.d.ts +0 -32
- package/lib/components/PisellMetrics/index.d.ts +0 -23
- package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
- package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
- package/lib/components/appVersionControl/index.d.ts +0 -4
- package/lib/components/cardMetricItem/index.d.ts +0 -15
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
- package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -178
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -8
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -101
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -85
- package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -7
- package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -11
- package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +0 -87
- package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
- package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -21
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +0 -18
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
- package/lib/components/filter/components/Dropdown/index.d.ts +0 -9
- package/lib/components/filter/components/FilterButton/index.d.ts +0 -4
- package/lib/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +0 -21
- package/lib/components/filter/components/FilterItem/index.d.ts +0 -5
- package/lib/components/page/index.d.ts +0 -8
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
- package/lib/components/pisellBatchActionBar/PisellBatchActionBar.d.ts +0 -31
- package/lib/components/pisellCardList/index.d.ts +0 -107
- package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
- package/lib/components/pisellCurrency/PisellCurrency.d.ts +0 -39
- package/lib/components/pisellCurrency/PisellCurrency.stories.d.ts +0 -56
- package/lib/components/pisellCurrency/components/DisabledView.d.ts +0 -11
- package/lib/components/pisellCurrency/components/EditView.d.ts +0 -18
- package/lib/components/pisellCurrency/components/ReadOnlyView.d.ts +0 -17
- package/lib/components/pisellCurrency/components/index.d.ts +0 -6
- package/lib/components/pisellCurrency/index.d.ts +0 -7
- package/lib/components/pisellCurrency/types.d.ts +0 -56
- package/lib/components/pisellCurrency/utils/currencyFormatter.d.ts +0 -31
- package/lib/components/pisellCurrency/utils/index.d.ts +0 -5
- package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +0 -28
- package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +0 -28
- package/lib/components/pisellDataSourceContainer/components/Table/index.d.ts +0 -9
- package/lib/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +0 -14
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +0 -35
- package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +0 -195
- package/lib/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +0 -48
- package/lib/components/pisellDateTimeDisplay/components/TimeDisplay.d.ts +0 -42
- package/lib/components/pisellDateTimeDisplay/components/WeekdayDisplay.d.ts +0 -57
- package/lib/components/pisellDateTimeDisplay/components/index.d.ts +0 -6
- package/lib/components/pisellDateTimeDisplay/hooks/index.d.ts +0 -2
- package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +0 -46
- package/lib/components/pisellDateTimeDisplay/index.d.ts +0 -3
- package/lib/components/pisellDateTimeDisplay/utils/formatDate.d.ts +0 -21
- package/lib/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +0 -17
- package/lib/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +0 -30
- package/lib/components/pisellDateTimeDisplay/utils/index.d.ts +0 -7
- package/lib/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +0 -22
- package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
- package/lib/components/pisellEmail/PisellEmail.d.ts +0 -37
- package/lib/components/pisellEmail/PisellEmail.stories.d.ts +0 -116
- package/lib/components/pisellEmail/components/DisabledView.d.ts +0 -14
- package/lib/components/pisellEmail/components/EditView.d.ts +0 -15
- package/lib/components/pisellEmail/components/ReadOnlyView.d.ts +0 -15
- package/lib/components/pisellEmail/index.d.ts +0 -7
- package/lib/components/pisellEmail/types.d.ts +0 -176
- package/lib/components/pisellEmail/utils/emailHelper.d.ts +0 -66
- package/lib/components/pisellEmail/utils/emailValidator.d.ts +0 -45
- package/lib/components/pisellEmail/utils/index.d.ts +0 -6
- package/lib/components/pisellFilter/index.d.ts +0 -3
- package/lib/components/pisellFind/PisellFind.stories.d.ts +0 -45
- package/lib/components/pisellFind/index.d.ts +0 -40
- package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
- package/lib/components/pisellLongText/PisellLongText.d.ts +0 -39
- package/lib/components/pisellLongText/PisellLongText.stories.d.ts +0 -123
- package/lib/components/pisellLongText/components/DisabledView.d.ts +0 -16
- package/lib/components/pisellLongText/components/EditView.d.ts +0 -19
- package/lib/components/pisellLongText/components/ReadOnlyView.d.ts +0 -18
- package/lib/components/pisellLongText/index.d.ts +0 -7
- package/lib/components/pisellLongText/types.d.ts +0 -147
- package/lib/components/pisellMetricCard/PisellMetricCard.d.ts +0 -35
- package/lib/components/pisellMetricCard/PisellMetricCard.stories.d.ts +0 -17
- package/lib/components/pisellMetricCard/components/MetricComparison.d.ts +0 -14
- package/lib/components/pisellMetricCard/components/index.d.ts +0 -7
- package/lib/components/pisellMetricCard/index.d.ts +0 -6
- package/lib/components/pisellMetricCard/utils/formatMetricValue.d.ts +0 -34
- package/lib/components/pisellMetricCard/utils/index.d.ts +0 -5
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
- package/lib/components/pisellMultipleSelect/PisellMultipleSelect.stories.d.ts +0 -70
- package/lib/components/pisellMultipleSelect/components/DisabledView.d.ts +0 -8
- package/lib/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
- package/lib/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +0 -8
- package/lib/components/pisellMultipleSelect/index.d.ts +0 -7
- package/lib/components/pisellMultipleSelect/types.d.ts +0 -160
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/lib/components/pisellNumber/PisellNumber.d.ts +0 -42
- package/lib/components/pisellNumber/PisellNumber.stories.d.ts +0 -66
- package/lib/components/pisellNumber/components/DisabledView.d.ts +0 -11
- package/lib/components/pisellNumber/components/EditView.d.ts +0 -18
- package/lib/components/pisellNumber/components/ReadOnlyView.d.ts +0 -16
- package/lib/components/pisellNumber/components/index.d.ts +0 -6
- package/lib/components/pisellNumber/index.d.ts +0 -7
- package/lib/components/pisellNumber/types.d.ts +0 -168
- package/lib/components/pisellPercent/PisellPercent.d.ts +0 -38
- package/lib/components/pisellPercent/PisellPercent.stories.d.ts +0 -52
- package/lib/components/pisellPercent/components/DisabledView.d.ts +0 -11
- package/lib/components/pisellPercent/components/EditView.d.ts +0 -17
- package/lib/components/pisellPercent/components/ReadOnlyView.d.ts +0 -14
- package/lib/components/pisellPercent/components/index.d.ts +0 -6
- package/lib/components/pisellPercent/index.d.ts +0 -7
- package/lib/components/pisellPercent/types.d.ts +0 -68
- package/lib/components/pisellPercent/utils/index.d.ts +0 -6
- package/lib/components/pisellPercent/utils/percentFormatter.d.ts +0 -27
- package/lib/components/pisellPhone/PisellPhone.d.ts +0 -36
- package/lib/components/pisellPhone/PisellPhone.stories.d.ts +0 -80
- package/lib/components/pisellPhone/components/DisabledView.d.ts +0 -16
- package/lib/components/pisellPhone/components/EditView.d.ts +0 -19
- package/lib/components/pisellPhone/components/ReadOnlyView.d.ts +0 -17
- package/lib/components/pisellPhone/constants/countryCodes.d.ts +0 -20
- package/lib/components/pisellPhone/index.d.ts +0 -8
- package/lib/components/pisellPhone/types.d.ts +0 -209
- package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
- package/lib/components/pisellPhone/utils/index.d.ts +0 -6
- package/lib/components/pisellPhone/utils/phoneValidator.d.ts +0 -11
- package/lib/components/pisellRating/PisellRating.d.ts +0 -31
- package/lib/components/pisellRating/PisellRating.stories.d.ts +0 -53
- package/lib/components/pisellRating/index.d.ts +0 -7
- package/lib/components/pisellRating/types.d.ts +0 -124
- package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -8
- package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -81
- package/lib/components/pisellRecordBoard/context/RecordBoardContext.d.ts +0 -3
- package/lib/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +0 -11
- package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +0 -16
- package/lib/components/pisellRecordBoard/index.d.ts +0 -35
- package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +0 -12
- package/lib/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +0 -13
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
- package/lib/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +0 -13
- package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +0 -15
- package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
- package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
- package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
- package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
- package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +0 -26
- package/lib/components/pisellRecordBoard/types.d.ts +0 -315
- package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -41
- package/lib/components/pisellRecordBoard/utils/withRecordBoard.d.ts +0 -9
- package/lib/components/pisellRow/index.d.ts +0 -22
- package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
- package/lib/components/pisellSingleLineText/PisellSingleLineText.stories.d.ts +0 -102
- package/lib/components/pisellSingleLineText/components/DisabledView.d.ts +0 -16
- package/lib/components/pisellSingleLineText/components/EditView.d.ts +0 -19
- package/lib/components/pisellSingleLineText/components/ReadOnlyView.d.ts +0 -20
- package/lib/components/pisellSingleLineText/index.d.ts +0 -7
- package/lib/components/pisellSingleLineText/types.d.ts +0 -139
- package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
- package/lib/components/pisellSingleSelect/PisellSingleSelect.stories.d.ts +0 -66
- package/lib/components/pisellSingleSelect/components/DisabledView.d.ts +0 -8
- package/lib/components/pisellSingleSelect/components/EditView.d.ts +0 -8
- package/lib/components/pisellSingleSelect/components/ReadOnlyView.d.ts +0 -8
- package/lib/components/pisellSingleSelect/index.d.ts +0 -7
- package/lib/components/pisellSingleSelect/types.d.ts +0 -92
- package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
- package/lib/components/pisellText/components/Editable/index.d.ts +0 -32
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
- package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +0 -61
- package/lib/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +0 -20
- package/lib/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +0 -19
- package/lib/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +0 -30
- package/lib/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +0 -18
- package/lib/components/pisellTimeRangeDisplay/components/index.d.ts +0 -8
- package/lib/components/pisellTimeRangeDisplay/index.d.ts +0 -3
- package/lib/components/pisellTimeRangeDisplay/utils/index.d.ts +0 -4
- package/lib/components/pisellToast/index.d.ts +0 -17
- package/lib/components/pisellUrl/PisellUrl.d.ts +0 -37
- package/lib/components/pisellUrl/PisellUrl.stories.d.ts +0 -108
- package/lib/components/pisellUrl/components/DisabledView.d.ts +0 -14
- package/lib/components/pisellUrl/components/EditView.d.ts +0 -15
- package/lib/components/pisellUrl/components/ReadOnlyView.d.ts +0 -15
- package/lib/components/pisellUrl/index.d.ts +0 -7
- package/lib/components/pisellUrl/types.d.ts +0 -160
- package/lib/components/pisellWalletPassCard/index.d.ts +0 -146
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -29
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
- package/lib/components/productCard/components/Header/index.d.ts +0 -3
- package/lib/components/productCard/components/Sales/index.d.ts +0 -3
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
- package/lib/components/productCard/components/Time/index.d.ts +0 -3
- package/lib/components/productCard/index.d.ts +0 -7
- package/lib/components/productCard/utils.d.ts +0 -33
- package/lib/components/sort/index.d.ts +0 -5
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -7
- package/lib/components/table/BasicTable/index.d.ts +0 -3
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
- package/lib/components/table/Gallery/index.d.ts +0 -5
- package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
- package/lib/components/table/Table/index.d.ts +0 -4
- package/lib/components/table/Table/utils.d.ts +0 -167
- package/lib/components/table/hooks/useTableSetting.d.ts +0 -21
- package/lib/components/table/hooks/useTransDataSource.d.ts +0 -12
- package/lib/components/table/index.d.ts +0 -4
- package/lib/components/translation/index.d.ts +0 -18
- package/lib/components/versionModal/index.d.ts +0 -24
- package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
- package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
- package/lib/components/virtual-keyboard/index.d.ts +0 -25
- package/lib/components/walletCard/index.d.ts +0 -79
- package/lib/index.d.ts +0 -243
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PaginationProps } from 'antd';
|
|
2
|
-
import './index.less';
|
|
3
|
-
declare const Pagination: (props: PaginationProps) => JSX.Element | null;
|
|
4
|
-
export declare const paginationConfig: {
|
|
5
|
-
className: string;
|
|
6
|
-
defaultCurrent: number;
|
|
7
|
-
showTotal: (total: number, range: [number, number]) => string;
|
|
8
|
-
responsive: boolean;
|
|
9
|
-
size: string;
|
|
10
|
-
};
|
|
11
|
-
export default Pagination;
|
|
12
|
-
export declare const FormPagination: ({ value, onChange, page, pageSize, ...other }: any) => JSX.Element;
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import GraphicTextCard from './GraphicTextCard';
|
|
3
|
-
/**
|
|
4
|
-
* GraphicTextCard 图文卡片组件
|
|
5
|
-
*
|
|
6
|
-
* 结合图标/图片、文本和状态标识,专为标签页、分类导航等场景设计。
|
|
7
|
-
* 支持 4 种样式变体、3 种尺寸、4 种状态,以及丰富的自定义配置。
|
|
8
|
-
*/
|
|
9
|
-
declare const meta: Meta<typeof GraphicTextCard>;
|
|
10
|
-
export default meta;
|
|
11
|
-
declare type Story = StoryObj<typeof GraphicTextCard>;
|
|
12
|
-
/**
|
|
13
|
-
* 基础用法 - 默认渲染
|
|
14
|
-
*/
|
|
15
|
-
export declare const Default: Story;
|
|
16
|
-
/**
|
|
17
|
-
* 基础用法 - 多个卡片
|
|
18
|
-
*/
|
|
19
|
-
export declare const MultipleCards: Story;
|
|
20
|
-
/**
|
|
21
|
-
* ReactNode 文本
|
|
22
|
-
*/
|
|
23
|
-
export declare const ReactNodeText: Story;
|
|
24
|
-
/**
|
|
25
|
-
* 样式变体 - 垂直布局-图片(vertical-image)
|
|
26
|
-
*/
|
|
27
|
-
export declare const VariantVerticalImage: Story;
|
|
28
|
-
/**
|
|
29
|
-
* 样式变体 - 垂直布局-图标(vertical-icon)
|
|
30
|
-
*/
|
|
31
|
-
export declare const VariantVerticalIcon: Story;
|
|
32
|
-
/**
|
|
33
|
-
* 样式变体 - 横向布局(horizontal)
|
|
34
|
-
*/
|
|
35
|
-
export declare const VariantHorizontal: Story;
|
|
36
|
-
/**
|
|
37
|
-
* 样式变体 - 卡片式(card)
|
|
38
|
-
*/
|
|
39
|
-
export declare const VariantCard: Story;
|
|
40
|
-
/**
|
|
41
|
-
* 尺寸 - Small
|
|
42
|
-
*/
|
|
43
|
-
export declare const SizeSmall: Story;
|
|
44
|
-
/**
|
|
45
|
-
* 尺寸 - Default
|
|
46
|
-
*/
|
|
47
|
-
export declare const SizeDefault: Story;
|
|
48
|
-
/**
|
|
49
|
-
* 尺寸 - Large
|
|
50
|
-
*/
|
|
51
|
-
export declare const SizeLarge: Story;
|
|
52
|
-
/**
|
|
53
|
-
* 状态 - Active
|
|
54
|
-
*/
|
|
55
|
-
export declare const StateActive: Story;
|
|
56
|
-
/**
|
|
57
|
-
* 状态 - Disabled
|
|
58
|
-
*/
|
|
59
|
-
export declare const StateDisabled: Story;
|
|
60
|
-
/**
|
|
61
|
-
* 状态 - Loading
|
|
62
|
-
*/
|
|
63
|
-
export declare const StateLoading: Story;
|
|
64
|
-
/**
|
|
65
|
-
* 状态 - 优先级测试
|
|
66
|
-
*/
|
|
67
|
-
export declare const StatePriority: Story;
|
|
68
|
-
/**
|
|
69
|
-
* 图形区域 - 图片优先
|
|
70
|
-
*/
|
|
71
|
-
export declare const GraphicImagePriority: Story;
|
|
72
|
-
/**
|
|
73
|
-
* 图形区域配置 - 自定义尺寸
|
|
74
|
-
*/
|
|
75
|
-
export declare const GraphicConfigSize: Story;
|
|
76
|
-
/**
|
|
77
|
-
* 图形区域配置 - 图标样式
|
|
78
|
-
*/
|
|
79
|
-
export declare const GraphicConfigIcon: Story;
|
|
80
|
-
/**
|
|
81
|
-
* 图形区域插槽
|
|
82
|
-
*/
|
|
83
|
-
export declare const GraphicSlot: Story;
|
|
84
|
-
/**
|
|
85
|
-
* 角标 - 红点角标
|
|
86
|
-
*/
|
|
87
|
-
export declare const BadgeDot: Story;
|
|
88
|
-
/**
|
|
89
|
-
* 角标 - 数字角标
|
|
90
|
-
*/
|
|
91
|
-
export declare const BadgeNumber: Story;
|
|
92
|
-
/**
|
|
93
|
-
* 角标 - 文本角标
|
|
94
|
-
*/
|
|
95
|
-
export declare const BadgeText: Story;
|
|
96
|
-
/**
|
|
97
|
-
* 角标 - 不同位置(通过 offset 控制)
|
|
98
|
-
*/
|
|
99
|
-
export declare const BadgePositions: Story;
|
|
100
|
-
/**
|
|
101
|
-
* 角标 - 大小控制
|
|
102
|
-
*/
|
|
103
|
-
export declare const BadgeSizes: Story;
|
|
104
|
-
/**
|
|
105
|
-
* 角标 - 显示零值
|
|
106
|
-
*/
|
|
107
|
-
export declare const BadgeShowZero: Story;
|
|
108
|
-
/**
|
|
109
|
-
* 边界值 - 角标大小和 offset 位置
|
|
110
|
-
*/
|
|
111
|
-
export declare const BadgeSizeAndOffset: Story;
|
|
112
|
-
/**
|
|
113
|
-
* 插槽 - 前置插槽
|
|
114
|
-
*/
|
|
115
|
-
export declare const PrefixSlot: Story;
|
|
116
|
-
/**
|
|
117
|
-
* 插槽 - 后置插槽
|
|
118
|
-
*/
|
|
119
|
-
export declare const SuffixSlot: Story;
|
|
120
|
-
/**
|
|
121
|
-
* 文本配置 - 字体样式
|
|
122
|
-
*/
|
|
123
|
-
export declare const TextConfig: Story;
|
|
124
|
-
/**
|
|
125
|
-
* 文本配置 - 文本省略
|
|
126
|
-
*/
|
|
127
|
-
export declare const TextEllipsis: Story;
|
|
128
|
-
/**
|
|
129
|
-
* 文本配置 - 文本对齐
|
|
130
|
-
*/
|
|
131
|
-
export declare const TextAlign: Story;
|
|
132
|
-
/**
|
|
133
|
-
* 宽度模式 - 自动宽度(auto)
|
|
134
|
-
*/
|
|
135
|
-
export declare const WidthModeAuto: Story;
|
|
136
|
-
/**
|
|
137
|
-
* 宽度模式 - 固定宽度(fixed)
|
|
138
|
-
*/
|
|
139
|
-
export declare const WidthModeFixed: Story;
|
|
140
|
-
/**
|
|
141
|
-
* 宽度模式 - 撑满容器(full)
|
|
142
|
-
*/
|
|
143
|
-
export declare const WidthModeFull: Story;
|
|
144
|
-
/**
|
|
145
|
-
* 交互 - 点击事件
|
|
146
|
-
*/
|
|
147
|
-
export declare const ClickInteraction: Story;
|
|
148
|
-
/**
|
|
149
|
-
* 交互 - 不可点击
|
|
150
|
-
*/
|
|
151
|
-
export declare const NotClickable: Story;
|
|
152
|
-
/**
|
|
153
|
-
* 综合示例 - 导航菜单
|
|
154
|
-
*/
|
|
155
|
-
export declare const NavigationMenu: Story;
|
|
156
|
-
/**
|
|
157
|
-
* 综合示例 - 商品分类
|
|
158
|
-
*/
|
|
159
|
-
export declare const ProductCategories: Story;
|
|
160
|
-
/**
|
|
161
|
-
* 综合示例 - 完整配置
|
|
162
|
-
*/
|
|
163
|
-
export declare const CompleteExample: Story;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellFields 命名空间
|
|
3
|
-
* 字段组件集合 - 支持编辑态、只读态、禁用态三种视图模式
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* import { PisellFields } from '@pisell/materials';
|
|
7
|
-
*
|
|
8
|
-
* <PisellFields.SingleLineText value="hello" viewMode="edit" />
|
|
9
|
-
* <PisellFields.Number value={123} viewMode="readonly" />
|
|
10
|
-
* <PisellFields.Currency value={1000} currencySymbol="$" />
|
|
11
|
-
*/
|
|
12
|
-
declare const PisellFields: {
|
|
13
|
-
SingleLineText: import("react").NamedExoticComponent<import("../pisellSingleLineText").PisellSingleLineTextProps>;
|
|
14
|
-
LongText: import("react").NamedExoticComponent<import("../pisellLongText").PisellLongTextProps>;
|
|
15
|
-
Number: import("react").NamedExoticComponent<import("../pisellNumber").PisellNumberProps>;
|
|
16
|
-
Currency: import("react").NamedExoticComponent<import("../pisellCurrency").PisellCurrencyProps>;
|
|
17
|
-
Percent: import("react").NamedExoticComponent<import("../pisellPercent").PisellPercentProps>;
|
|
18
|
-
Phone: import("react").NamedExoticComponent<import("../pisellPhone").PisellPhoneProps>;
|
|
19
|
-
Email: import("react").NamedExoticComponent<import("../pisellEmail").PisellEmailProps>;
|
|
20
|
-
Url: import("react").NamedExoticComponent<import("../pisellUrl").PisellUrlProps>;
|
|
21
|
-
Rating: import("react").NamedExoticComponent<import("../pisellRating").PisellRatingProps>;
|
|
22
|
-
SingleSelect: import("react").ForwardRefExoticComponent<import("../pisellSingleSelect").PisellSingleSelectProps<string | number> & import("react").RefAttributes<import("../pisellSingleSelect").SingleSelectRef<string | number>>>;
|
|
23
|
-
MultipleSelect: import("react").ForwardRefExoticComponent<import("../pisellMultipleSelect").PisellMultipleSelectProps<string | number> & import("react").RefAttributes<import("../pisellMultipleSelect").MultipleSelectRef<string | number>>>;
|
|
24
|
-
};
|
|
25
|
-
export default PisellFields;
|
|
26
|
-
export type { PisellSingleLineTextProps, } from '../pisellSingleLineText';
|
|
27
|
-
export type { PisellLongTextProps, } from '../pisellLongText';
|
|
28
|
-
export type { PisellNumberProps, } from '../pisellNumber';
|
|
29
|
-
export type { PisellCurrencyProps, } from '../pisellCurrency';
|
|
30
|
-
export type { PisellPercentProps, } from '../pisellPercent';
|
|
31
|
-
export type { PisellPhoneProps, CountryCode, } from '../pisellPhone';
|
|
32
|
-
export type { PisellEmailProps, MailtoOptions, } from '../pisellEmail';
|
|
33
|
-
export type { PisellUrlProps, } from '../pisellUrl';
|
|
34
|
-
export type { PisellRatingProps, } from '../pisellRating';
|
|
35
|
-
export type { PisellSingleSelectProps, SingleSelectRef, } from '../pisellSingleSelect';
|
|
36
|
-
export type { PisellMultipleSelectProps, MultipleSelectRef, } from '../pisellMultipleSelect';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellLayouts 命名空间
|
|
3
|
-
* 布局组件集合
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* import { PisellLayouts } from '@pisell/materials';
|
|
7
|
-
*
|
|
8
|
-
* <PisellLayouts.BasicGrid columns={3} gap={16}>
|
|
9
|
-
* {items.map(item => <Card key={item.id} {...item} />)}
|
|
10
|
-
* </PisellLayouts.BasicGrid>
|
|
11
|
-
*
|
|
12
|
-
* <PisellLayouts.ScrollView direction="horizontal">
|
|
13
|
-
* <Content />
|
|
14
|
-
* </PisellLayouts.ScrollView>
|
|
15
|
-
*/
|
|
16
|
-
declare const PisellLayouts: {
|
|
17
|
-
BasicGrid: <T>(props: import("../PisellBasicGrid").PisellBasicGridProps<T>) => JSX.Element;
|
|
18
|
-
ScrollView: import("react").ForwardRefExoticComponent<Omit<import("../PisellScrollView").PisellScrollViewProps, "ref"> & import("react").RefAttributes<import("../PisellScrollView").PisellScrollViewRef>>;
|
|
19
|
-
Layout: import("../pisellLayout").CompoundedComponent;
|
|
20
|
-
Content: import("react").FC<import("../pisellLayout/content").PisellContentProps>;
|
|
21
|
-
Footer: import("react").FC<import("../pisellLayout/footer").PisellFooterProps>;
|
|
22
|
-
Header: import("react").FC<import("../pisellLayout/header").PisellHeaderProps>;
|
|
23
|
-
Sider: import("react").FC<import("../pisellLayout/sider").PisellSiderProps>;
|
|
24
|
-
Container: <T_1 extends import("../pisellContainer").RenderType>(props: import("../pisellContainer").PisellContainerProps<T_1>) => any;
|
|
25
|
-
Row: (props: import("../pisellRow").PisellRowProps) => JSX.Element;
|
|
26
|
-
ViewGrid: import("react").FC<import("../pisellViewGrid").PisellViewGridProps>;
|
|
27
|
-
};
|
|
28
|
-
export default PisellLayouts;
|
|
29
|
-
export type { PisellBasicGridProps, } from '../PisellBasicGrid';
|
|
30
|
-
export type { PisellScrollViewProps, } from '../PisellScrollView';
|
|
31
|
-
export type { PisellLayoutProps, CompoundedComponent, } from '../pisellLayout';
|
|
32
|
-
export type { PisellRowProps, } from '../pisellRow';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PisellMetrics 命名空间
|
|
3
|
-
* 数据指标展示组件集合
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* import { PisellMetrics } from '@pisell/materials';
|
|
7
|
-
*
|
|
8
|
-
* <PisellMetrics.MetricCard
|
|
9
|
-
* title="Total Sales"
|
|
10
|
-
* value={1580}
|
|
11
|
-
* comparison={120}
|
|
12
|
-
* showTrendIcon
|
|
13
|
-
* />
|
|
14
|
-
* <PisellMetrics.StatisticList data={[...]} />
|
|
15
|
-
*/
|
|
16
|
-
declare const PisellMetrics: {
|
|
17
|
-
MetricCard: import("react").FC<import("../pisellMetricCard").PisellMetricCardProps>;
|
|
18
|
-
StatisticList: (props: import("../pisellStatisticList").PisellStatisticListProps) => JSX.Element;
|
|
19
|
-
MetricItem: (props: import("../cardMetricItem").PisellStatisticProps) => JSX.Element;
|
|
20
|
-
};
|
|
21
|
-
export default PisellMetrics;
|
|
22
|
-
export type { PisellMetricCardProps } from '../pisellMetricCard';
|
|
23
|
-
export type { PisellStatisticProps } from '../cardMetricItem';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './PisellTabbar.less';
|
|
3
|
-
import { PisellTabbarProps } from './types';
|
|
4
|
-
/**
|
|
5
|
-
* PisellTabbar - 多层级 Tabbar 组件
|
|
6
|
-
*
|
|
7
|
-
* 支持最多 3 层级的 Tab 导航,每层级可独立展开/收起
|
|
8
|
-
*
|
|
9
|
-
* @component
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* <PisellTabbar
|
|
13
|
-
* dataSource={categoryData}
|
|
14
|
-
* value={[1, 10, 100]}
|
|
15
|
-
* onChange={(value) => console.log('当前选中:', value)}
|
|
16
|
-
* />
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
declare const PisellTabbar: React.FC<PisellTabbarProps>;
|
|
20
|
-
export default PisellTabbar;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
/**
|
|
4
|
-
* CardMetricItem 组件 Props
|
|
5
|
-
*/
|
|
6
|
-
export interface PisellStatisticProps {
|
|
7
|
-
title: string;
|
|
8
|
-
number: string | number;
|
|
9
|
-
hint?: React.ReactNode;
|
|
10
|
-
tags?: React.ReactNode;
|
|
11
|
-
showCurrencySymbol?: boolean;
|
|
12
|
-
style?: any;
|
|
13
|
-
}
|
|
14
|
-
declare const CardMetricItem: (props: PisellStatisticProps) => JSX.Element;
|
|
15
|
-
export default CardMetricItem;
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
export interface DataSourceType {
|
|
2
|
-
key: string;
|
|
3
|
-
displayName: string;
|
|
4
|
-
status: string;
|
|
5
|
-
type: string;
|
|
6
|
-
isDBInstance: boolean;
|
|
7
|
-
collections: Collection[];
|
|
8
|
-
}
|
|
9
|
-
export declare type ActionsItem = {
|
|
10
|
-
method: string;
|
|
11
|
-
path: string;
|
|
12
|
-
params: {
|
|
13
|
-
name: string;
|
|
14
|
-
value: string;
|
|
15
|
-
}[];
|
|
16
|
-
headers: {
|
|
17
|
-
name: string;
|
|
18
|
-
value: string;
|
|
19
|
-
}[];
|
|
20
|
-
body: Record<string, any>;
|
|
21
|
-
};
|
|
22
|
-
export interface Collection {
|
|
23
|
-
name: string;
|
|
24
|
-
title: string;
|
|
25
|
-
tableName: string;
|
|
26
|
-
timestamps: boolean;
|
|
27
|
-
autoGenId: boolean;
|
|
28
|
-
filterTargetKey: string;
|
|
29
|
-
fields: Field[];
|
|
30
|
-
introspected: boolean;
|
|
31
|
-
unavailableActions: any[];
|
|
32
|
-
actions: {
|
|
33
|
-
get: ActionsItem;
|
|
34
|
-
update: ActionsItem;
|
|
35
|
-
create: ActionsItem;
|
|
36
|
-
delete: ActionsItem;
|
|
37
|
-
list: ActionsItem;
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
interface Field {
|
|
41
|
-
name: string;
|
|
42
|
-
type: string;
|
|
43
|
-
allowNull: boolean;
|
|
44
|
-
primaryKey: boolean;
|
|
45
|
-
unique: boolean;
|
|
46
|
-
autoIncrement: boolean;
|
|
47
|
-
description?: (null | string)[];
|
|
48
|
-
possibleTypes?: string[];
|
|
49
|
-
rawType: string;
|
|
50
|
-
interface: string;
|
|
51
|
-
uiSchema: UiSchema;
|
|
52
|
-
key?: string;
|
|
53
|
-
collectionName?: string;
|
|
54
|
-
collectionKey?: any;
|
|
55
|
-
dataSourceKey?: string;
|
|
56
|
-
defaultValue?: any;
|
|
57
|
-
}
|
|
58
|
-
interface UiSchema {
|
|
59
|
-
type?: string;
|
|
60
|
-
'x-component': string;
|
|
61
|
-
'x-component-props'?: Xcomponentprops;
|
|
62
|
-
'x-validator'?: string;
|
|
63
|
-
title: string;
|
|
64
|
-
default?: any;
|
|
65
|
-
enum?: any[];
|
|
66
|
-
}
|
|
67
|
-
interface Xcomponentprops {
|
|
68
|
-
style?: Style;
|
|
69
|
-
autoSize?: AutoSize;
|
|
70
|
-
stringMode?: boolean;
|
|
71
|
-
step?: string;
|
|
72
|
-
dateFormat?: string;
|
|
73
|
-
showTime?: boolean;
|
|
74
|
-
}
|
|
75
|
-
interface AutoSize {
|
|
76
|
-
minRows: number;
|
|
77
|
-
}
|
|
78
|
-
interface Style {
|
|
79
|
-
width: string;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* 获取nocobase自定义数据源
|
|
83
|
-
*/
|
|
84
|
-
export declare const getNocobaseDataSource: () => Promise<DataSourceType[]>;
|
|
85
|
-
/**
|
|
86
|
-
* 获取nocobase主数据源
|
|
87
|
-
*/
|
|
88
|
-
export declare const getNocobaseMainDataSource: () => Promise<any>;
|
|
89
|
-
/**
|
|
90
|
-
* 获取nocobase数据源设置
|
|
91
|
-
*/
|
|
92
|
-
export declare const getNocobaseDataSourceOptions: () => Promise<any>;
|
|
93
|
-
/**
|
|
94
|
-
* 创建nocobase数据
|
|
95
|
-
*/
|
|
96
|
-
export declare const createNocobaseData: (params: {
|
|
97
|
-
key: string;
|
|
98
|
-
data: any;
|
|
99
|
-
headers?: any;
|
|
100
|
-
}) => Promise<any>;
|
|
101
|
-
/**
|
|
102
|
-
* nocobase get数据
|
|
103
|
-
*/
|
|
104
|
-
export declare const getNocobaseData: (params: {
|
|
105
|
-
key: string;
|
|
106
|
-
query: Record<string, any>;
|
|
107
|
-
headers?: any;
|
|
108
|
-
}) => Promise<any>;
|
|
109
|
-
/**
|
|
110
|
-
* 自定义api接口
|
|
111
|
-
*/
|
|
112
|
-
export declare const customApi: (url: string, data: Record<string, any>, options: {
|
|
113
|
-
method: 'GET' | 'POST' | 'PUT' | 'DELETE';
|
|
114
|
-
baseUrl?: string | undefined;
|
|
115
|
-
headers?: {
|
|
116
|
-
name: string;
|
|
117
|
-
value: any;
|
|
118
|
-
}[] | undefined;
|
|
119
|
-
params?: {
|
|
120
|
-
name: string;
|
|
121
|
-
value: any;
|
|
122
|
-
}[] | undefined;
|
|
123
|
-
body?: Record<string, any> | undefined;
|
|
124
|
-
dataSourceKey?: string | undefined;
|
|
125
|
-
}) => Promise<any>;
|
|
126
|
-
/**
|
|
127
|
-
* 更新nocobase数据
|
|
128
|
-
*/
|
|
129
|
-
export declare const updateNocobaseData: (params: {
|
|
130
|
-
key: string;
|
|
131
|
-
data: any;
|
|
132
|
-
headers?: any;
|
|
133
|
-
query?: Record<string, any> | undefined;
|
|
134
|
-
}) => Promise<any>;
|
|
135
|
-
/**
|
|
136
|
-
* 获取nocobase数据列表
|
|
137
|
-
*/
|
|
138
|
-
export declare const getNocobaseDataList: (allParams: {
|
|
139
|
-
key: string;
|
|
140
|
-
params: {
|
|
141
|
-
page: number;
|
|
142
|
-
pageSize: number;
|
|
143
|
-
};
|
|
144
|
-
headers?: any;
|
|
145
|
-
}) => Promise<any>;
|
|
146
|
-
/**
|
|
147
|
-
* 删除nocobase数据
|
|
148
|
-
*/
|
|
149
|
-
export declare const deleteNocobaseData: (key: string, id: string, headers?: any) => Promise<any>;
|
|
150
|
-
/**
|
|
151
|
-
* 获取formSettingMeta数据
|
|
152
|
-
* @param params 请求参数
|
|
153
|
-
* @param params.sectionCodes 配置段代码数组,如 ['payment']
|
|
154
|
-
* @param params.businessCode 业务代码
|
|
155
|
-
* @param params.channelCode 渠道代码
|
|
156
|
-
* @param params.isBoard 是否包含board_code参数
|
|
157
|
-
* @returns Promise<any> 返回设置元数据
|
|
158
|
-
*/
|
|
159
|
-
export declare const getFormSettingMetaData: (params: {
|
|
160
|
-
sectionCodes: string[];
|
|
161
|
-
scope: string;
|
|
162
|
-
target?: string | undefined;
|
|
163
|
-
}) => Promise<any>;
|
|
164
|
-
/**
|
|
165
|
-
* 更新租户设置数据
|
|
166
|
-
* @param params 请求参数
|
|
167
|
-
* @param params.businessCode 业务代码
|
|
168
|
-
* @param params.channelCode 渠道代码
|
|
169
|
-
* @param params.boardCode 板块代码
|
|
170
|
-
* @param params.data 要更新的数据对象,如 {"order.prefix":"","order.suffix":"","payment.number":""}
|
|
171
|
-
* @returns Promise<any> 返回更新结果
|
|
172
|
-
*/
|
|
173
|
-
export declare const updateTenantSetting: (params: {
|
|
174
|
-
scope: string;
|
|
175
|
-
target?: string | undefined;
|
|
176
|
-
data: Record<string, any>;
|
|
177
|
-
}) => Promise<any>;
|
|
178
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonProps } from 'antd';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export interface SubmitButtonProps extends ButtonProps {
|
|
5
|
-
status: 'normal' | 'disabled' | 'hidden';
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
childrenString?: string;
|
|
8
|
-
confirmConfig?: {
|
|
9
|
-
enable: boolean;
|
|
10
|
-
title: string;
|
|
11
|
-
content: string;
|
|
12
|
-
icon: React.ReactNode;
|
|
13
|
-
okText: string;
|
|
14
|
-
cancelText: string;
|
|
15
|
-
};
|
|
16
|
-
toastConfig?: {
|
|
17
|
-
enable: boolean;
|
|
18
|
-
icon: React.ReactNode;
|
|
19
|
-
title: string;
|
|
20
|
-
showAfterSubmit?: boolean;
|
|
21
|
-
};
|
|
22
|
-
refreshData?: boolean;
|
|
23
|
-
afterSubmitType?: 'none' | 'close' | 'showModal' | 'showNotification';
|
|
24
|
-
afterSubmitModalConfig?: {
|
|
25
|
-
title: string;
|
|
26
|
-
content: string;
|
|
27
|
-
okText: string;
|
|
28
|
-
onOk?: () => void;
|
|
29
|
-
};
|
|
30
|
-
afterSubmitNotificationConfig?: {
|
|
31
|
-
title: string;
|
|
32
|
-
content: string;
|
|
33
|
-
icon: React.ReactNode;
|
|
34
|
-
duration: number;
|
|
35
|
-
placement: 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight';
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
declare const SubmitButton: (props: SubmitButtonProps) => JSX.Element | null;
|
|
39
|
-
export default SubmitButton;
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DataSourceTableProps } from '../type';
|
|
3
|
-
import { OperationItem } from '../type';
|
|
4
|
-
interface UseTablePropsProps {
|
|
5
|
-
data: any;
|
|
6
|
-
originProps: DataSourceTableProps;
|
|
7
|
-
openDrawer: (type: OperationItem) => void;
|
|
8
|
-
closeDrawer: () => void;
|
|
9
|
-
refreshData: () => void;
|
|
10
|
-
handleFilterChange: (changedFields: any, allFields: any) => void;
|
|
11
|
-
tableRef: any;
|
|
12
|
-
getInitialValues: () => Record<string, any>;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* 处理table的props
|
|
16
|
-
* 转换title
|
|
17
|
-
* @param props
|
|
18
|
-
* @returns
|
|
19
|
-
*/
|
|
20
|
-
declare const useTableProps: (props: UseTablePropsProps) => {
|
|
21
|
-
currentComponentId: any;
|
|
22
|
-
title: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
|
|
23
|
-
pagination: {
|
|
24
|
-
total: number;
|
|
25
|
-
current: number;
|
|
26
|
-
pageSize: number;
|
|
27
|
-
size: string;
|
|
28
|
-
showSizeChanger: boolean;
|
|
29
|
-
};
|
|
30
|
-
columns: import("./useColumns").Column[];
|
|
31
|
-
subTitle: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
|
|
32
|
-
buttons: any[] | null;
|
|
33
|
-
filter: {
|
|
34
|
-
dom: any;
|
|
35
|
-
items: any;
|
|
36
|
-
} | null;
|
|
37
|
-
onRow: (record: any) => any;
|
|
38
|
-
actionButtons: any[] | null;
|
|
39
|
-
__id?: string | undefined;
|
|
40
|
-
currentSettingKey?: string | undefined;
|
|
41
|
-
titleButtons?: {
|
|
42
|
-
show: boolean;
|
|
43
|
-
maxCount: number;
|
|
44
|
-
items: OperationItem[];
|
|
45
|
-
} | undefined;
|
|
46
|
-
tableButtons?: {
|
|
47
|
-
show: boolean;
|
|
48
|
-
maxCount: number;
|
|
49
|
-
items: OperationItem[];
|
|
50
|
-
} | undefined;
|
|
51
|
-
operation?: {
|
|
52
|
-
show: boolean;
|
|
53
|
-
title: string;
|
|
54
|
-
width: number;
|
|
55
|
-
align: "center" | "left" | "right";
|
|
56
|
-
fixed: false | "left" | "right";
|
|
57
|
-
type: "link" | "button";
|
|
58
|
-
items: OperationItem[];
|
|
59
|
-
} | undefined;
|
|
60
|
-
operationContent?: {
|
|
61
|
-
[key: string]: React.ReactNode;
|
|
62
|
-
} | undefined;
|
|
63
|
-
dataSource: import("../../provider/dataSource/DataSourceContext").DataSourceType;
|
|
64
|
-
search?: {
|
|
65
|
-
show: boolean;
|
|
66
|
-
placeholder: string;
|
|
67
|
-
} | undefined;
|
|
68
|
-
__designMode: string;
|
|
69
|
-
componentId: string;
|
|
70
|
-
clickToDetail?: {
|
|
71
|
-
show: boolean;
|
|
72
|
-
useCustomAction: boolean;
|
|
73
|
-
actionType: string;
|
|
74
|
-
openMode: "modal" | "drawer";
|
|
75
|
-
openContentSize: "large" | "middle" | "small";
|
|
76
|
-
openTitle: string;
|
|
77
|
-
key: string;
|
|
78
|
-
} | undefined;
|
|
79
|
-
filterBy?: Record<string, any> | undefined;
|
|
80
|
-
sortBy: string;
|
|
81
|
-
tabs?: {
|
|
82
|
-
show: boolean;
|
|
83
|
-
type: string;
|
|
84
|
-
items: {
|
|
85
|
-
name: string;
|
|
86
|
-
filterBy: Record<string, any>;
|
|
87
|
-
sortBy: string;
|
|
88
|
-
}[];
|
|
89
|
-
} | undefined;
|
|
90
|
-
onValuesChange?: ((changedValues: any, values: any) => void) | undefined;
|
|
91
|
-
onDeleteFinish?: ((record: Record<string, any>) => void) | undefined;
|
|
92
|
-
extraParams?: {
|
|
93
|
-
list?: Record<string, any> | undefined;
|
|
94
|
-
get?: Record<string, any> | undefined;
|
|
95
|
-
update?: Record<string, any> | undefined;
|
|
96
|
-
create?: Record<string, any> | undefined;
|
|
97
|
-
destroy?: Record<string, any> | undefined;
|
|
98
|
-
} | undefined;
|
|
99
|
-
localSettings?: import("../../../table/types").LocalSettingsType | undefined;
|
|
100
|
-
};
|
|
101
|
-
export default useTableProps;
|