@pisell/materials 1.0.693 → 1.0.694
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 +5 -5
- package/build/lowcode/preview.js +147 -142
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +61 -29
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +60 -28
- package/es/components/DragSortList/index.d.ts +1 -1
- package/es/components/DragSortList/index.js +6 -6
- package/es/components/MultipleContainersSortList/index.d.ts +1 -1
- package/es/components/MultipleContainersSortList/index.js +13 -11
- package/es/components/Pagination/index.d.ts +3 -3
- package/es/components/Pagination/index.js +1 -1
- package/es/components/TimeResourceSelector/index.d.ts +21 -0
- package/es/components/TimeResourceSelector/index.js +3 -3
- package/es/components/appVersionControl/index.d.ts +2 -1
- package/es/components/appVersionControl/index.js +5 -5
- package/es/components/auto-complete-number/index.d.ts +2 -1
- package/es/components/badge/index.d.ts +8 -0
- package/es/components/badge/index.js +5 -5
- package/es/components/batch-editor/fields/Image/index.d.ts +1 -1
- package/es/components/batch-editor/fields/Text/index.d.ts +1 -1
- package/es/components/batch-editor/fields/index.d.ts +3 -2
- package/es/components/batch-editor/index.d.ts +2 -1
- package/es/components/batch-editor/index.js +12 -12
- package/es/components/browserSelect/index.d.ts +1 -1
- package/es/components/browserSelect/index.js +6 -6
- package/es/components/buttonGroupEdit/index.d.ts +8 -0
- package/es/components/buttonGroupEdit/index.js +7 -6
- package/es/components/buttonGroupPreview/index.d.ts +19 -0
- package/es/components/buttonGroupPreview/index.js +7 -8
- package/es/components/calendar/index.d.ts +2 -1
- package/es/components/cardMetricItem/index.d.ts +12 -0
- package/es/components/cardPro/index.d.ts +4 -0
- package/es/components/checkbox/index.d.ts +2 -1
- package/es/components/classicLayout/index.d.ts +2 -1
- package/es/components/classicLayout/index.js +5 -4
- package/es/components/collapse/index.d.ts +15 -0
- package/es/components/collapse/index.js +5 -5
- package/es/components/colorPicker/index.d.ts +2 -1
- package/es/components/config-provider/index.d.ts +2 -1
- package/es/components/cropPhoto/index.d.ts +3 -0
- package/es/components/cropPhoto/index.js +5 -5
- package/es/components/customSelect/index.d.ts +1 -1
- package/es/components/customSelect/index.js +5 -5
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +11 -11
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +2 -1
- package/es/components/dataSourceComponents/dataSourceForm/formItem.js +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider.js +5 -5
- package/es/components/dataSourceComponents/dataSourceForm/serve.js +7 -7
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +8 -8
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +3 -3
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +10 -10
- package/es/components/dataSourceComponents/dataSourceMenu/Basic.js +2 -2
- package/es/components/dataSourceComponents/dataSourceMenu/index.js +2 -2
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +2 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceShow/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceShow/utils.js +7 -7
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +7 -7
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +2 -1
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +6 -6
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +3 -2
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.js +14 -14
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +5 -5
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +3 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +6 -6
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +6 -6
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +98 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +13 -13
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +9 -9
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
- package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.js +1 -1
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/DatePicker/WithMode.js +5 -5
- package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input.Email/WithMode.js +2 -2
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input.Json/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +5 -4
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.js +8 -8
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.js +4 -4
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.js +8 -8
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/WithMode.js +7 -7
- package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Input.Subdomain/serve.js +2 -2
- package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/TimePicker/WithMode.js +5 -5
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.js +7 -7
- package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +48 -47
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Upload/WithMode.d.ts +4 -0
- package/es/components/dataSourceComponents/fields/Upload/serve.d.ts +20 -0
- package/es/components/dataSourceComponents/fields/Upload/serve.js +4 -4
- package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +56 -0
- package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.js +9 -9
- package/es/components/dataSourceComponents/fields/Upload/type.d.ts +37 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +18 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.js +3 -3
- package/es/components/dataSourceComponents/fields/index.d.ts +13 -12
- package/es/components/dataSourceComponents/fields/utils.js +4 -4
- package/es/components/dataSourceComponents/hooks/useActions.js +12 -12
- package/es/components/dataSourceComponents/hooks/useParseActionsVariable.js +6 -6
- package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
- package/es/components/dataSourceComponents/hooks/usePlatform.js +2 -2
- package/es/components/dataSourceComponents/provider/actions/ActionsProvider.js +5 -5
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +5 -5
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.js +8 -8
- package/es/components/dataSourceComponents/provider/variables/utils.js +3 -3
- package/es/components/date-picker/datePickerCpt.d.ts +2 -1
- package/es/components/date-picker/datePickerCpt.js +10 -10
- package/es/components/date-picker/hooks/useMediaQuery.js +1 -1
- package/es/components/date-picker/index.d.ts +2 -1
- package/es/components/div/index.d.ts +1 -1
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +2 -1
- package/es/components/drag-sort-tree/TreeItem/index.js +10 -10
- package/es/components/drag-sort-tree/index.d.ts +4 -0
- package/es/components/drag-sort-tree/index.js +6 -6
- package/es/components/drawer/index.js +6 -6
- package/es/components/dropdown/index.d.ts +2 -1
- package/es/components/filter/components/Dropdown/index.js +10 -10
- package/es/components/filter/components/FilterButton/index.js +7 -7
- package/es/components/filter/components/items/index.d.ts +7 -6
- package/es/components/filter/components/items/text/Editor/index.d.ts +2 -1
- package/es/components/filter/components/items/text/Preview/index.d.ts +2 -1
- package/es/components/filter/components/items/text/index.d.ts +3 -2
- package/es/components/filter/index.d.ts +2 -1
- package/es/components/filter/index.js +1 -1
- package/es/components/form/index.js +3 -3
- package/es/components/icon/index.js +5 -5
- package/es/components/iconSelect/index.js +2 -2
- package/es/components/iconSelect/utils.js +2 -2
- package/es/components/iconfont/index.js +1 -0
- package/es/components/input-number-range/index.js +6 -6
- package/es/components/list/index.d.ts +2 -1
- package/es/components/list/index.js +6 -6
- package/es/components/login-and-register/index.js +10 -10
- package/es/components/lowCodePage/index.d.ts +2 -1
- package/es/components/organizationTenantSwitcher/index.js +1 -1
- package/es/components/page/index.d.ts +2 -1
- package/es/components/page/index.js +13 -11
- package/es/components/page-header/index.d.ts +1 -1
- package/es/components/picker-view/index.d.ts +2 -0
- package/es/components/pisell-config-provider/context.js +3 -3
- package/es/components/pisell-config-provider/index.d.ts +12 -0
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -1
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.js +2 -2
- package/es/components/pisellAdjustPrice/index.d.ts +2 -1
- package/es/components/pisellAdjustPrice/index.js +6 -6
- package/es/components/pisellAlert/index.d.ts +1 -1
- package/es/components/pisellAlert/index.js +2 -2
- package/es/components/pisellAnchor/index.d.ts +23 -0
- package/es/components/pisellAnchor/index.js +6 -6
- package/es/components/pisellAvatar/index.d.ts +19 -0
- package/es/components/pisellAvatar/index.js +5 -5
- package/es/components/pisellCard/index.d.ts +20 -0
- package/es/components/pisellCard/index.js +5 -5
- package/es/components/pisellCardList/index.d.ts +1 -1
- package/es/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/es/components/pisellCheckboxGroup/index.js +7 -9
- package/es/components/pisellCountdown/index.d.ts +1 -1
- package/es/components/pisellCountdown/index.js +8 -8
- package/es/components/pisellCountdown/utils.js +1 -1
- package/es/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
- package/es/components/pisellCustomCheckboxGroup/index.js +1 -1
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +2 -1
- package/es/components/pisellDatePicker/datePickerCpt.js +4 -4
- package/es/components/pisellDatePicker/index.d.ts +2 -1
- package/es/components/pisellDraggable/components/Action/Action.js +5 -5
- package/es/components/pisellDraggable/components/Remove/Remove.d.ts +2 -2
- package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +2 -2
- package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.js +5 -5
- package/es/components/pisellDraggable/components/TreeItem/TreeItem.js +5 -5
- package/es/components/pisellDraggable/index.d.ts +2 -2
- package/es/components/pisellDraggable/index.js +10 -10
- package/es/components/pisellDraggable/utilities.js +5 -5
- package/es/components/pisellDropSort/PisellDropSort.js +1 -1
- package/es/components/pisellDropSort/components/SortableItem/index.d.ts +1 -1
- package/es/components/pisellDropSort/components/SortableItem/index.js +5 -5
- package/es/components/pisellDropdown/index.d.ts +20 -0
- package/es/components/pisellEmpty/index.d.ts +19 -0
- package/es/components/pisellFloatingPanel/index.d.ts +1 -1
- package/es/components/pisellFloatingPanel/index.js +6 -6
- package/es/components/pisellHeaderProgressBar/index.d.ts +29 -0
- package/es/components/pisellHeaderProgressBar/index.js +5 -5
- package/es/components/pisellImageCarousels/index.d.ts +18 -0
- package/es/components/pisellImageCarousels/index.js +5 -5
- package/es/components/pisellInformationEntry/Input/index.d.ts +1 -1
- package/es/components/pisellInformationEntry/Input/index.js +1 -1
- package/es/components/pisellInformationEntry/Scan/index.d.ts +2 -1
- package/es/components/pisellInformationEntry/Scan/index.js +2 -2
- package/es/components/pisellInformationEntry/hooks/useTerminalPeripherals.js +5 -5
- package/es/components/pisellInformationEntry/index.d.ts +33 -0
- package/es/components/pisellInformationEntry/index.js +6 -6
- package/es/components/pisellInformationEntry/utils.js +2 -2
- package/es/components/pisellInput/components/BankCard/index.d.ts +2 -1
- package/es/components/pisellInput/components/BankCard/index.js +5 -5
- package/es/components/pisellInput/components/Copy/index.d.ts +2 -1
- package/es/components/pisellInput/components/Copy/index.js +5 -5
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +2 -1
- package/es/components/pisellInput/components/SecurityCode/index.js +2 -2
- package/es/components/pisellInput/index.d.ts +5 -4
- package/es/components/pisellLayout/content.js +7 -7
- package/es/components/pisellLayout/footer.js +5 -5
- package/es/components/pisellLayout/header.js +5 -5
- package/es/components/pisellLayout/sider.js +2 -2
- package/es/components/pisellList01/index.d.ts +17 -0
- package/es/components/pisellList01/index.js +2 -2
- package/es/components/pisellLoading/index.d.ts +2 -1
- package/es/components/pisellMenu/PisellMenu.d.ts +1 -1
- package/es/components/pisellModal/components/Information/index.d.ts +1 -1
- package/es/components/pisellModal/components/IpadModal/index.d.ts +2 -1
- package/es/components/pisellModal/components/MobileModal/index.d.ts +2 -1
- package/es/components/pisellModal/components/MobileModal/index.js +3 -3
- package/es/components/pisellModal/components/PcModal/index.d.ts +1 -1
- package/es/components/pisellModal/components/PcModal/index.js +7 -7
- package/es/components/pisellModal/components/functions/index.js +5 -5
- package/es/components/pisellModal/components/index.d.ts +4 -3
- package/es/components/pisellModal/index.d.ts +2 -2
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +8 -8
- package/es/components/pisellQRScanner/index.js +7 -15
- package/es/components/pisellQrcode/index.d.ts +10 -0
- package/es/components/pisellQrcode/index.js +1 -1
- package/es/components/pisellRow/index.d.ts +1 -1
- package/es/components/pisellRow/index.js +5 -5
- package/es/components/pisellScan/index.js +6 -6
- package/es/components/pisellSectionHeaders/index.d.ts +21 -0
- package/es/components/pisellSectionHeaders/index.js +5 -5
- package/es/components/pisellStatisticList/index.d.ts +21 -0
- package/es/components/pisellTags/index.d.ts +1 -1
- package/es/components/pisellTags/index.js +5 -9
- package/es/components/pisellText/components/Amount/index.d.ts +20 -0
- package/es/components/pisellText/index.d.ts +2 -2
- package/es/components/pisellTooltip/index.d.ts +2 -1
- package/es/components/pisellUpload/index.d.ts +2 -1
- package/es/components/pisellViewGrid/index.js +5 -5
- package/es/components/pisellWalletPassCard/index.d.ts +56 -0
- package/es/components/pisellWalletPassCard/index.js +5 -5
- package/es/components/productCard/components/Action/index.d.ts +4 -0
- package/es/components/productCard/components/AmountFooter/index.d.ts +4 -0
- package/es/components/productCard/components/Divider/index.d.ts +4 -0
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
- package/es/components/productCard/components/Header/index.d.ts +4 -0
- package/es/components/productCard/components/MultiDay/index.d.ts +4 -0
- package/es/components/productCard/components/MultiDay/index.js +7 -7
- package/es/components/productCard/components/MultiDay/utils.d.ts +14 -0
- package/es/components/productCard/components/MultiDay/utils.js +5 -7
- package/es/components/productCard/components/Note/index.d.ts +4 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/index.d.ts +10 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/index.js +1 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +2 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +2 -2
- package/es/components/productCard/components/Packages/components/options/index.d.ts +4 -0
- package/es/components/productCard/components/Packages/index.d.ts +4 -0
- package/es/components/productCard/components/Packages/index.js +5 -5
- package/es/components/productCard/components/Packages/utils.d.ts +20 -0
- package/es/components/productCard/components/Sales/index.d.ts +4 -0
- package/es/components/productCard/components/Sales/index.js +5 -5
- package/es/components/productCard/components/Time/components/Like/index.d.ts +9 -0
- package/es/components/productCard/components/Time/components/Like/index.js +1 -1
- package/es/components/productCard/components/Time/index.d.ts +4 -0
- package/es/components/productCard/components/Time/index.js +5 -5
- package/es/components/productCard/hooks/useOpenNote.js +1 -1
- package/es/components/productCard/index.js +11 -11
- package/es/components/productCard/locales.d.ts +45 -0
- package/es/components/productCard/status.d.ts +32 -0
- package/es/components/productCard/types.d.ts +78 -0
- package/es/components/productCard/utils.d.ts +31 -0
- package/es/components/productCard/utils.js +3 -3
- package/es/components/profileMenu/index.js +6 -6
- package/es/components/qrcode/index.d.ts +2 -1
- package/es/components/qrcode/index.js +1 -1
- package/es/components/radio/index.d.ts +2 -1
- package/es/components/record-view/index.d.ts +37 -0
- package/es/components/record-view/index.js +1 -1
- package/es/components/section-footers/index.d.ts +9 -0
- package/es/components/segmented/index.d.ts +2 -1
- package/es/components/select/index.js +6 -6
- package/es/components/select-time/RightPanel/index.d.ts +2 -1
- package/es/components/select-time/index.d.ts +2 -1
- package/es/components/select-time/index.js +2 -2
- package/es/components/skeleton/index.d.ts +2 -1
- package/es/components/slider/index.d.ts +2 -1
- package/es/components/sort/components/InlineMenu/index.d.ts +2 -1
- package/es/components/sort/components/InlineMenu/index.js +1 -1
- package/es/components/sort/index.js +5 -5
- package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
- package/es/components/table/Actions/component/ColumnsSetting/PopoverContent.d.ts +1 -1
- package/es/components/table/Actions/component/ColumnsSetting/PopoverContent.js +7 -7
- package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +2 -1
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +2 -1
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.js +8 -8
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.js +9 -9
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +2 -1
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.js +1 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/Detail.js +5 -5
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +2 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.js +7 -7
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +2 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.js +7 -7
- package/es/components/table/Actions/component/ExportImport/index.d.ts +8 -0
- package/es/components/table/Actions/component/ExportImport/index.js +3 -3
- package/es/components/table/Actions/component/ExportImport/utils/index.d.ts +9 -0
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +2 -1
- package/es/components/table/Actions/component/Group/PopoverContent.d.ts +2 -1
- package/es/components/table/Actions/component/Group/PopoverContent.js +2 -2
- package/es/components/table/Actions/component/Group/index.d.ts +2 -1
- package/es/components/table/Actions/component/ViewMode/index.d.ts +2 -1
- package/es/components/table/Actions/component/ViewMode/index.js +1 -1
- package/es/components/table/Actions/index.d.ts +2 -1
- package/es/components/table/BasicTable/index.d.ts +2 -1
- package/es/components/table/BasicTable/index.js +9 -9
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +2 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +2 -1
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +5 -4
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +2 -1
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/es/components/table/Gallery/components/VirtualGrid/index.d.ts +1 -1
- package/es/components/table/Gallery/components/VirtualGrid/index.js +5 -5
- package/es/components/table/Gallery/index.d.ts +5 -0
- package/es/components/table/Gallery/index.js +1 -1
- package/es/components/table/Header/Buttons/index.js +5 -5
- package/es/components/table/Header/index.d.ts +1 -1
- package/es/components/table/Summary/index.d.ts +2 -1
- package/es/components/table/Table/AddFieldModal/index.js +6 -6
- package/es/components/table/Table/SelectField/index.d.ts +2 -1
- package/es/components/table/Table/SelectField/index.js +4 -4
- package/es/components/table/Table/fields/date/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/date/Edit/index.js +1 -1
- package/es/components/table/Table/fields/date/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/date/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/date/index.d.ts +4 -3
- package/es/components/table/Table/fields/image/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/image/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/image/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/image/index.d.ts +4 -3
- package/es/components/table/Table/fields/index.d.ts +78 -77
- package/es/components/table/Table/fields/link/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/link/Edit/index.js +5 -5
- package/es/components/table/Table/fields/link/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/link/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/link/index.d.ts +4 -3
- package/es/components/table/Table/fields/number/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/number/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/number/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/number/index.d.ts +4 -3
- package/es/components/table/Table/fields/numberRange/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/numberRange/index.d.ts +4 -3
- package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/oldRangePicker/Edit/index.js +7 -7
- package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/oldRangePicker/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +4 -3
- package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/pSwitch/index.d.ts +4 -3
- package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/rangePicker/Edit/index.js +7 -7
- package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/rangePicker/index.d.ts +4 -3
- package/es/components/table/Table/fields/search/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/search/Edit/index.js +2 -2
- package/es/components/table/Table/fields/search/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/search/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/search/filterUtil/index.js +1 -0
- package/es/components/table/Table/fields/search/index.d.ts +4 -3
- package/es/components/table/Table/fields/select/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/select/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/select/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/select/index.d.ts +4 -3
- package/es/components/table/Table/fields/text/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/text/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/text/Show/index.js +4 -4
- package/es/components/table/Table/fields/text/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/text/filterUtil/index.js +1 -0
- package/es/components/table/Table/fields/text/index.d.ts +4 -3
- package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +2 -1
- package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +2 -1
- package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +2 -1
- package/es/components/table/Table/fields/treeSelect/index.d.ts +4 -3
- package/es/components/table/Table/index.d.ts +4 -0
- package/es/components/table/Table/index.js +11 -11
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +2 -1
- package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
- package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
- package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
- package/es/components/table/Table/tableConfig/body/index.js +6 -6
- package/es/components/table/Table/tableConfig/header/index.js +5 -5
- package/es/components/table/Table/tableConfig/summary/index.d.ts +2 -1
- package/es/components/table/Table/utils.d.ts +173 -0
- package/es/components/table/Table/utils.js +8 -13
- package/es/components/table/TableFilter/SortIcon.d.ts +2 -1
- package/es/components/table/TableFilter/numberFilter.js +7 -7
- package/es/components/table/TableFilter/selectFilter.js +1 -1
- package/es/components/table/Tabs/index.js +5 -5
- package/es/components/table/View/index.d.ts +2 -1
- package/es/components/table/hooks/useMergeColumnSetting.js +2 -1
- package/es/components/table/hooks/useTableSetting.d.ts +22 -0
- package/es/components/table/hooks/useTableSetting.js +14 -13
- package/es/components/table/hooks/useTransColumns.js +9 -9
- package/es/components/table/hooks/useTransDataSource.d.ts +12 -0
- package/es/components/table/hooks/useTransDataSource.js +1 -1
- package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
- package/es/components/table/hooks/useTransFilterSetting.js +5 -5
- package/es/components/table/hooks/useTransSortSetting.js +5 -5
- package/es/components/table/hooks/useTriggerValuesChange.js +2 -2
- package/es/components/table/index.js +13 -13
- package/es/components/table/model.d.ts +1 -1
- package/es/components/table/model.js +5 -5
- package/es/components/table/serve.js +9 -9
- package/es/components/table/types.d.ts +253 -0
- package/es/components/table/utils.js +3 -3
- package/es/components/tabs/index.d.ts +16 -0
- package/es/components/tabs/index.js +5 -7
- package/es/components/time-picker/index.d.ts +2 -1
- package/es/components/translation/index.js +10 -10
- package/es/components/translation/utils.js +5 -5
- package/es/components/upload/index.d.ts +2 -1
- package/es/components/versionModal/index.js +1 -1
- package/es/components/versionSelect/index.d.ts +2 -1
- package/es/components/versionSelect/index.js +1 -1
- package/es/components/virtual-keyboard/Amount/index.d.ts +1 -1
- package/es/components/virtual-keyboard/Amount/index.js +1 -1
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +2 -1
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +1 -1
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.js +3 -3
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +1 -1
- package/es/components/virtual-keyboard/Keyboard/index.js +8 -8
- package/es/components/virtual-keyboard/Number/index.d.ts +2 -1
- package/es/components/virtual-keyboard/Number/index.js +1 -1
- package/es/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/es/components/virtual-keyboard/Time/index.js +4 -4
- package/es/components/virtual-keyboard/Time/utils.d.ts +2 -1
- package/es/components/virtual-keyboard/VirtualInput/index.d.ts +1 -1
- package/es/components/virtual-keyboard/VirtualInput/index.js +1 -1
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +2 -1
- package/es/components/virtual-keyboard/VirtualKeyInput/index.js +4 -4
- package/es/components/virtual-keyboard/index.d.ts +1 -1
- package/es/components/walletCard/Guest/index.d.ts +2 -1
- package/es/components/walletCard/Guest/index.js +6 -6
- package/es/components/walletCard/Guest/index.less +1 -0
- package/es/components/walletCard/index.js +9 -11
- package/es/components/walletCard/index.less +25 -20
- package/es/hooks/useCssVariables.js +1 -1
- package/es/hooks/useEngineContext.js +5 -5
- package/es/hooks/useResponsive.js +2 -2
- package/es/hooks/useSetRequest.js +2 -2
- package/es/hooks/useTranslationOriginal.js +2 -2
- package/es/locales/en-US.js +5 -5
- package/es/locales/index.js +1 -1
- package/es/locales/zh-CN.js +5 -5
- package/es/utils/hoc.d.ts +5 -5
- package/es/utils/hoc.js +1 -1
- package/es/utils/mergeWith.js +1 -1
- package/es/utils/miniRedux.d.ts +1 -1
- package/es/utils/miniRedux.js +9 -8
- package/lib/components/DragSortList/index.d.ts +1 -1
- package/lib/components/MultipleContainersSortList/index.d.ts +1 -1
- package/lib/components/Pagination/index.d.ts +3 -3
- package/lib/components/TimeResourceSelector/index.d.ts +21 -0
- package/lib/components/appVersionControl/index.d.ts +2 -1
- package/lib/components/appVersionControl/utils.js +8 -4
- package/lib/components/auto-complete-number/index.d.ts +2 -1
- package/lib/components/badge/index.d.ts +8 -0
- package/lib/components/batch-editor/fields/Image/index.d.ts +1 -1
- package/lib/components/batch-editor/fields/Text/index.d.ts +1 -1
- package/lib/components/batch-editor/fields/index.d.ts +3 -2
- package/lib/components/batch-editor/index.d.ts +2 -1
- package/lib/components/browserSelect/index.d.ts +1 -1
- package/lib/components/buttonGroupEdit/index.d.ts +8 -0
- package/lib/components/buttonGroupEdit/index.js +14 -7
- package/lib/components/buttonGroupPreview/index.d.ts +19 -0
- package/lib/components/calendar/index.d.ts +2 -1
- package/lib/components/cardMetricItem/index.d.ts +12 -0
- package/lib/components/cardPro/index.d.ts +4 -0
- package/lib/components/checkbox/index.d.ts +2 -1
- package/lib/components/classicLayout/index.d.ts +2 -1
- package/lib/components/collapse/index.d.ts +15 -0
- package/lib/components/colorPicker/index.d.ts +2 -1
- package/lib/components/config-provider/index.d.ts +2 -1
- package/lib/components/cropPhoto/index.d.ts +3 -0
- package/lib/components/customSelect/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +2 -1
- package/lib/components/dataSourceComponents/dataSourceForm/group/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +3 -3
- package/lib/components/dataSourceComponents/dataSourceForm/utils.js +6 -3
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceShow/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +3 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +4 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +2 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +3 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +2 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +98 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
- package/lib/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +2 -1
- package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.js +4 -2
- package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.js +4 -2
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.js +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +2 -1
- package/lib/components/dataSourceComponents/fields/InputNumber/WithMode.js +4 -2
- package/lib/components/dataSourceComponents/fields/InputNumber/utils.js +4 -2
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.js +8 -4
- package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +8 -4
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.js +2 -1
- package/lib/components/dataSourceComponents/fields/Upload/WithMode.d.ts +4 -0
- package/lib/components/dataSourceComponents/fields/Upload/serve.d.ts +20 -0
- package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.d.ts +56 -0
- package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.js +2 -1
- package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +37 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +18 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.js +22 -11
- package/lib/components/dataSourceComponents/fields/index.d.ts +13 -12
- package/lib/components/dataSourceComponents/hooks/useActions.js +6 -3
- package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.js +2 -1
- package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +2 -1
- package/lib/components/dataSourceComponents/provider/variables/utils.js +4 -2
- package/lib/components/date-picker/datePickerCpt.d.ts +2 -1
- package/lib/components/date-picker/datePickerCpt.js +2 -1
- package/lib/components/date-picker/index.d.ts +2 -1
- package/lib/components/div/index.d.ts +1 -1
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +2 -1
- package/lib/components/drag-sort-tree/TreeItem/index.js +2 -1
- package/lib/components/drag-sort-tree/index.d.ts +4 -0
- package/lib/components/drag-sort-tree/index.js +2 -1
- package/lib/components/dropdown/index.d.ts +2 -1
- package/lib/components/filter/components/items/index.d.ts +7 -6
- package/lib/components/filter/components/items/text/Editor/index.d.ts +2 -1
- package/lib/components/filter/components/items/text/Preview/index.d.ts +2 -1
- package/lib/components/filter/components/items/text/index.d.ts +3 -2
- package/lib/components/filter/index.d.ts +2 -1
- package/lib/components/filter/index.js +2 -1
- package/lib/components/form/index.js +4 -1
- package/lib/components/iconSelect/index.js +2 -1
- package/lib/components/iconSelect/utils.js +2 -1
- package/lib/components/list/index.d.ts +2 -1
- package/lib/components/lowCodePage/index.d.ts +2 -1
- package/lib/components/lowCodePage/index.js +2 -1
- package/lib/components/page/index.d.ts +2 -1
- package/lib/components/page-header/index.d.ts +1 -1
- package/lib/components/picker-view/index.d.ts +2 -0
- package/lib/components/pisell-config-provider/context.js +1 -1
- package/lib/components/pisell-config-provider/index.d.ts +12 -0
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -1
- package/lib/components/pisellAdjustPrice/index.d.ts +2 -1
- package/lib/components/pisellAlert/index.d.ts +1 -1
- package/lib/components/pisellAnchor/index.d.ts +23 -0
- package/lib/components/pisellAnchor/index.js +10 -5
- package/lib/components/pisellAvatar/index.d.ts +19 -0
- package/lib/components/pisellCard/index.d.ts +20 -0
- package/lib/components/pisellCardList/index.d.ts +1 -1
- package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/lib/components/pisellCheckboxGroup/index.js +2 -1
- package/lib/components/pisellCountdown/index.d.ts +1 -1
- package/lib/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +2 -1
- package/lib/components/pisellDatePicker/datePickerCpt.js +2 -1
- package/lib/components/pisellDatePicker/index.d.ts +2 -1
- package/lib/components/pisellDraggable/components/Remove/Remove.d.ts +2 -2
- package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +2 -2
- package/lib/components/pisellDraggable/index.d.ts +2 -2
- package/lib/components/pisellDraggable/index.js +6 -3
- package/lib/components/pisellDropSort/components/SortableItem/index.d.ts +1 -1
- package/lib/components/pisellDropdown/index.d.ts +20 -0
- package/lib/components/pisellEmpty/index.d.ts +19 -0
- package/lib/components/pisellFloatingPanel/index.d.ts +1 -1
- package/lib/components/pisellHeaderProgressBar/index.d.ts +29 -0
- package/lib/components/pisellImageCarousels/index.d.ts +18 -0
- package/lib/components/pisellInformationEntry/Input/index.d.ts +1 -1
- package/lib/components/pisellInformationEntry/Scan/index.d.ts +2 -1
- package/lib/components/pisellInformationEntry/index.d.ts +33 -0
- package/lib/components/pisellInput/components/BankCard/index.d.ts +2 -1
- package/lib/components/pisellInput/components/Copy/index.d.ts +2 -1
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +2 -1
- package/lib/components/pisellInput/index.d.ts +5 -4
- package/lib/components/pisellList01/index.d.ts +17 -0
- package/lib/components/pisellLoading/index.d.ts +2 -1
- package/lib/components/pisellMenu/PisellMenu.d.ts +1 -1
- package/lib/components/pisellModal/components/Information/index.d.ts +1 -1
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +2 -1
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +2 -1
- package/lib/components/pisellModal/components/PcModal/index.d.ts +1 -1
- package/lib/components/pisellModal/components/index.d.ts +4 -3
- package/lib/components/pisellModal/index.d.ts +2 -2
- package/lib/components/pisellQRScanner/index.js +18 -9
- package/lib/components/pisellQrcode/index.d.ts +10 -0
- package/lib/components/pisellRow/index.d.ts +1 -1
- package/lib/components/pisellSectionHeaders/index.d.ts +21 -0
- package/lib/components/pisellStatisticList/index.d.ts +21 -0
- package/lib/components/pisellTags/index.d.ts +1 -1
- package/lib/components/pisellText/components/Amount/index.d.ts +20 -0
- package/lib/components/pisellText/index.d.ts +2 -2
- package/lib/components/pisellTooltip/index.d.ts +2 -1
- package/lib/components/pisellUpload/index.d.ts +2 -1
- package/lib/components/pisellWalletPassCard/index.d.ts +56 -0
- package/lib/components/productCard/components/Action/index.d.ts +4 -0
- package/lib/components/productCard/components/AmountFooter/index.d.ts +4 -0
- package/lib/components/productCard/components/AmountFooter/index.js +2 -1
- package/lib/components/productCard/components/Divider/index.d.ts +4 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
- package/lib/components/productCard/components/Header/index.d.ts +4 -0
- package/lib/components/productCard/components/MultiDay/index.d.ts +4 -0
- package/lib/components/productCard/components/MultiDay/index.js +2 -1
- package/lib/components/productCard/components/MultiDay/utils.d.ts +14 -0
- package/lib/components/productCard/components/Note/index.d.ts +4 -0
- package/lib/components/productCard/components/Packages/components/collapsibleList/index.d.ts +10 -0
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +2 -0
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +4 -0
- package/lib/components/productCard/components/Packages/index.d.ts +4 -0
- package/lib/components/productCard/components/Packages/utils.d.ts +20 -0
- package/lib/components/productCard/components/Sales/index.d.ts +4 -0
- package/lib/components/productCard/components/Time/components/Like/index.d.ts +9 -0
- package/lib/components/productCard/components/Time/index.d.ts +4 -0
- package/lib/components/productCard/locales.d.ts +45 -0
- package/lib/components/productCard/status.d.ts +32 -0
- package/lib/components/productCard/types.d.ts +78 -0
- package/lib/components/productCard/utils.d.ts +31 -0
- package/lib/components/productCard/utils.js +2 -1
- package/lib/components/profileMenu/index.js +2 -1
- package/lib/components/qrcode/index.d.ts +2 -1
- package/lib/components/radio/index.d.ts +2 -1
- package/lib/components/record-view/index.d.ts +37 -0
- package/lib/components/section-footers/index.d.ts +9 -0
- package/lib/components/segmented/index.d.ts +2 -1
- package/lib/components/select/index.js +4 -2
- package/lib/components/select-time/RightPanel/index.d.ts +2 -1
- package/lib/components/select-time/index.d.ts +2 -1
- package/lib/components/skeleton/index.d.ts +2 -1
- package/lib/components/slider/index.d.ts +2 -1
- package/lib/components/sort/components/InlineMenu/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ColumnsSetting/PopoverContent.d.ts +1 -1
- package/lib/components/table/Actions/component/ColumnsSetting/PopoverContent.js +2 -1
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +8 -0
- package/lib/components/table/Actions/component/ExportImport/index.js +2 -1
- package/lib/components/table/Actions/component/ExportImport/utils/index.d.ts +9 -0
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +2 -1
- package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +2 -1
- package/lib/components/table/Actions/component/Group/index.d.ts +2 -1
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +2 -1
- package/lib/components/table/Actions/index.d.ts +2 -1
- package/lib/components/table/BasicTable/index.d.ts +2 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +2 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +2 -1
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +2 -1
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
- package/lib/components/table/Gallery/components/VirtualGrid/index.d.ts +1 -1
- package/lib/components/table/Gallery/index.d.ts +5 -0
- package/lib/components/table/Header/index.d.ts +1 -1
- package/lib/components/table/Summary/index.d.ts +2 -1
- package/lib/components/table/Table/SelectField/index.d.ts +2 -1
- package/lib/components/table/Table/fields/date/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/date/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/date/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/date/filterUtil/index.js +6 -3
- package/lib/components/table/Table/fields/date/index.d.ts +4 -3
- package/lib/components/table/Table/fields/image/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/image/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/image/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/image/index.d.ts +4 -3
- package/lib/components/table/Table/fields/index.d.ts +78 -77
- package/lib/components/table/Table/fields/link/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/link/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/link/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/link/index.d.ts +4 -3
- package/lib/components/table/Table/fields/number/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/number/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/number/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/number/index.d.ts +4 -3
- package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/numberRange/index.d.ts +4 -3
- package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/oldRangePicker/filterUtil/index.js +8 -4
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +4 -3
- package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +4 -3
- package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +8 -4
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +4 -3
- package/lib/components/table/Table/fields/search/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/search/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/search/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/search/index.d.ts +4 -3
- package/lib/components/table/Table/fields/select/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/select/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/select/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/select/index.d.ts +4 -3
- package/lib/components/table/Table/fields/text/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/text/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/text/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/text/index.d.ts +4 -3
- package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +2 -1
- package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +2 -1
- package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +2 -1
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +4 -3
- package/lib/components/table/Table/fields/utils/index.js +2 -1
- package/lib/components/table/Table/index.d.ts +4 -0
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +2 -1
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +2 -1
- package/lib/components/table/Table/utils.d.ts +173 -0
- package/lib/components/table/Table/utils.js +17 -10
- package/lib/components/table/TableFilter/SortIcon.d.ts +2 -1
- package/lib/components/table/View/index.d.ts +2 -1
- package/lib/components/table/hooks/useTableSetting.d.ts +22 -0
- package/lib/components/table/hooks/useTransColumns.js +2 -1
- package/lib/components/table/hooks/useTransDataSource.d.ts +12 -0
- package/lib/components/table/model.d.ts +1 -1
- package/lib/components/table/types.d.ts +253 -0
- package/lib/components/table/utils.js +7 -7
- package/lib/components/tabs/index.d.ts +16 -0
- package/lib/components/tabs/index.js +62 -59
- package/lib/components/time-picker/index.d.ts +2 -1
- package/lib/components/upload/index.d.ts +2 -1
- package/lib/components/versionModal/index.js +4 -2
- package/lib/components/versionSelect/index.d.ts +2 -1
- package/lib/components/versionSelect/index.js +12 -6
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +2 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +4 -2
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/Number/index.d.ts +2 -1
- package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/Time/utils.d.ts +2 -1
- package/lib/components/virtual-keyboard/VirtualInput/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +2 -1
- package/lib/components/virtual-keyboard/index.d.ts +1 -1
- package/lib/components/walletCard/Guest/index.d.ts +2 -1
- package/lib/components/walletCard/Guest/index.js +8 -6
- package/lib/components/walletCard/Guest/index.less +1 -0
- package/lib/components/walletCard/index.js +8 -3
- package/lib/components/walletCard/index.less +25 -20
- package/lib/hooks/useCssVariables.js +2 -1
- package/lib/hooks/useResponsive.js +6 -3
- package/lib/utils/hoc.d.ts +5 -5
- package/lib/utils/miniRedux.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
7
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
9
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
10
10
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
|
-
function _iterableToArrayLimit(
|
|
11
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import { Card, QRCode } from 'antd';
|
|
14
14
|
import classNames from 'classnames';
|
|
@@ -23,8 +23,6 @@ import "./index.less";
|
|
|
23
23
|
|
|
24
24
|
// 添加JSX类型声明
|
|
25
25
|
|
|
26
|
-
// 类型定义
|
|
27
|
-
|
|
28
26
|
// 默认值
|
|
29
27
|
var DEFAULT_PROPS = {
|
|
30
28
|
symbol: '$',
|
|
@@ -77,7 +75,7 @@ var useCodeModal = function useCodeModal(cardNo, onCodeClick) {
|
|
|
77
75
|
}
|
|
78
76
|
};
|
|
79
77
|
var closeModal = function closeModal(e) {
|
|
80
|
-
e === null || e === void 0
|
|
78
|
+
e === null || e === void 0 ? void 0 : e.stopPropagation();
|
|
81
79
|
setIsModalOpen(false);
|
|
82
80
|
};
|
|
83
81
|
return {
|
|
@@ -290,7 +288,7 @@ var WalletCard = function WalletCard(props) {
|
|
|
290
288
|
};
|
|
291
289
|
}
|
|
292
290
|
}, [props.customBackgroundImage, mode]);
|
|
293
|
-
console.log(isLogin, 'wh987976');
|
|
291
|
+
console.log(isLogin, props, 'wh987976');
|
|
294
292
|
return /*#__PURE__*/React.createElement("div", {
|
|
295
293
|
className: classNames('pisell-wallet-card-wrapper', className),
|
|
296
294
|
style: style,
|
|
@@ -305,7 +303,7 @@ var WalletCard = function WalletCard(props) {
|
|
|
305
303
|
flexDirection: codeDirection === 'top' ? 'column-reverse' : 'column'
|
|
306
304
|
}
|
|
307
305
|
}, /*#__PURE__*/React.createElement("div", {
|
|
308
|
-
className: classNames('pisell-wallet-card-content', mode),
|
|
306
|
+
className: classNames('pisell-wallet-card-content', mode, !isLogin && 'pisell-wallet-card-guest-content'),
|
|
309
307
|
style: backgroundStyle
|
|
310
308
|
}, isLogin ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(CardHeader, {
|
|
311
309
|
showWalletName: showWalletName,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
border-radius: 12px;
|
|
5
5
|
width: 100%;
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
// 卡片容器
|
|
8
8
|
.pisell-wallet-card-container {
|
|
9
9
|
width: 100%;
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
|
|
21
21
|
// 暗色主题
|
|
22
22
|
&.dark {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
background-color: #000;
|
|
24
|
+
|
|
25
25
|
.pisell-wallet-card-header-left {
|
|
26
26
|
color: #fff;
|
|
27
27
|
}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
// 亮色主题
|
|
41
41
|
&.light {
|
|
42
42
|
background-color: #fff;
|
|
43
|
-
|
|
43
|
+
|
|
44
44
|
.pisell-wallet-card-header-left {
|
|
45
45
|
color: #101828;
|
|
46
46
|
}
|
|
@@ -57,6 +57,10 @@
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
+
.pisell-wallet-card-guest-content {
|
|
61
|
+
padding: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
60
64
|
// 卡片头部
|
|
61
65
|
.pisell-wallet-card-header {
|
|
62
66
|
display: flex;
|
|
@@ -95,7 +99,7 @@
|
|
|
95
99
|
}
|
|
96
100
|
|
|
97
101
|
// 头部左侧其他信息
|
|
98
|
-
>div {
|
|
102
|
+
> div {
|
|
99
103
|
margin-bottom: 4px;
|
|
100
104
|
|
|
101
105
|
&:last-child {
|
|
@@ -110,7 +114,7 @@
|
|
|
110
114
|
.pisell-wallet-card-icon-wrapper {
|
|
111
115
|
cursor: pointer;
|
|
112
116
|
}
|
|
113
|
-
|
|
117
|
+
|
|
114
118
|
// 图标
|
|
115
119
|
.pisell-wallet-card-icon {
|
|
116
120
|
font-size: 40px;
|
|
@@ -174,7 +178,7 @@
|
|
|
174
178
|
justify-content: center;
|
|
175
179
|
align-items: center;
|
|
176
180
|
border: 1px solid #d0d5de;
|
|
177
|
-
|
|
181
|
+
|
|
178
182
|
// 当二维码/条形码在底部显示时
|
|
179
183
|
&.code-bottom {
|
|
180
184
|
border-top: none;
|
|
@@ -183,7 +187,7 @@
|
|
|
183
187
|
border-bottom-left-radius: 12px;
|
|
184
188
|
border-bottom-right-radius: 12px;
|
|
185
189
|
}
|
|
186
|
-
|
|
190
|
+
|
|
187
191
|
// 当二维码/条形码在顶部显示时
|
|
188
192
|
&.code-top {
|
|
189
193
|
border-bottom: none;
|
|
@@ -193,18 +197,18 @@
|
|
|
193
197
|
border-top-right-radius: 12px;
|
|
194
198
|
}
|
|
195
199
|
|
|
196
|
-
.pisell-wallet-card-code{
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
+
.pisell-wallet-card-code {
|
|
201
|
+
display: flex;
|
|
202
|
+
justify-content: center;
|
|
203
|
+
}
|
|
200
204
|
// 条形码样式
|
|
201
205
|
.pisell-wallet-card-code {
|
|
202
206
|
width: 100%;
|
|
203
|
-
|
|
207
|
+
|
|
204
208
|
// 覆盖react-barcode生成的SVG文本样式
|
|
205
209
|
svg {
|
|
206
210
|
width: 100%;
|
|
207
|
-
|
|
211
|
+
|
|
208
212
|
text {
|
|
209
213
|
fill: #000;
|
|
210
214
|
font-family: Inter;
|
|
@@ -218,7 +222,7 @@
|
|
|
218
222
|
}
|
|
219
223
|
|
|
220
224
|
// 二维码下方文本样式
|
|
221
|
-
.pisell-wallet-card-code-qrcode-value{
|
|
225
|
+
.pisell-wallet-card-code-qrcode-value {
|
|
222
226
|
color: #000;
|
|
223
227
|
font-family: Inter;
|
|
224
228
|
font-size: 12px;
|
|
@@ -227,7 +231,7 @@
|
|
|
227
231
|
line-height: normal;
|
|
228
232
|
}
|
|
229
233
|
}
|
|
230
|
-
|
|
234
|
+
|
|
231
235
|
// 卡片内容区域
|
|
232
236
|
.pisell-lowcode-card-body {
|
|
233
237
|
padding: 0;
|
|
@@ -251,13 +255,14 @@
|
|
|
251
255
|
width: 100%;
|
|
252
256
|
display: flex;
|
|
253
257
|
justify-content: center;
|
|
254
|
-
|
|
258
|
+
|
|
255
259
|
// 覆盖react-barcode生成的SVG文本样式
|
|
256
260
|
svg {
|
|
257
261
|
max-width: 100%;
|
|
258
|
-
|
|
262
|
+
|
|
259
263
|
text {
|
|
260
|
-
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
|
264
|
+
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
|
265
|
+
Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
261
266
|
font-weight: 500 !important;
|
|
262
267
|
font-size: 14px !important;
|
|
263
268
|
fill: #101828 !important;
|
|
@@ -293,4 +298,4 @@
|
|
|
293
298
|
}
|
|
294
299
|
}
|
|
295
300
|
}
|
|
296
|
-
}
|
|
301
|
+
}
|
|
@@ -2,7 +2,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
3
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
4
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
|
-
function _iterableToArrayLimit(
|
|
5
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import { useEffect } from "react";
|
|
8
8
|
var useCssVariables = function useCssVariables(props) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
5
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
7
|
import { createContext, useContext } from "react";
|
|
8
8
|
var defaultContext = /*#__PURE__*/createContext({});
|
|
9
9
|
var useEngineContext = function useEngineContext() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _iterableToArrayLimit(
|
|
3
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
4
4
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
5
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(
|
|
5
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
6
6
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
7
7
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
8
|
import { useEffect, useState, useMemo } from 'react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import useEngineContext from "./useEngineContext";
|
|
2
2
|
import { request } from "../components/table/utils";
|
|
3
3
|
var useSetRequest = function useSetRequest() {
|
|
4
|
-
var _context$appHelper;
|
|
4
|
+
var _context$appHelper, _context$appHelper$ut;
|
|
5
5
|
var context = useEngineContext();
|
|
6
|
-
request.setRequest((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0
|
|
6
|
+
request.setRequest((_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : (_context$appHelper$ut = _context$appHelper.utils) === null || _context$appHelper$ut === void 0 ? void 0 : _context$appHelper$ut.request);
|
|
7
7
|
};
|
|
8
8
|
export default useSetRequest;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import useEngineContext from "./useEngineContext";
|
|
2
2
|
import { isString } from "@pisell/utils";
|
|
3
3
|
var useTranslationOriginal = function useTranslationOriginal() {
|
|
4
|
-
var _context$appHelper;
|
|
4
|
+
var _context$appHelper, _context$appHelper$ut;
|
|
5
5
|
var context = useEngineContext();
|
|
6
|
-
return (context === null || context === void 0
|
|
6
|
+
return (context === null || context === void 0 ? void 0 : (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : (_context$appHelper$ut = _context$appHelper.utils) === null || _context$appHelper$ut === void 0 ? void 0 : _context$appHelper$ut.translationOriginal) || function (val) {
|
|
7
7
|
return isString(val) ? val : val === null || val === void 0 ? void 0 : val.original;
|
|
8
8
|
};
|
|
9
9
|
};
|
package/es/locales/en-US.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var _tableFilterSearch$;
|
|
2
|
-
function _typeof(
|
|
2
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
3
3
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
-
function _toPropertyKey(
|
|
5
|
-
function _toPrimitive(
|
|
4
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
5
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
6
|
export default (_tableFilterSearch$ = {
|
|
7
7
|
"table-filter-search": "Search",
|
|
8
8
|
"table-filter-clear": "Clear",
|
|
@@ -263,6 +263,6 @@ export default (_tableFilterSearch$ = {
|
|
|
263
263
|
'pisell-icon-select-iconfont': 'Iconfont',
|
|
264
264
|
'pisell-icon-select-search': 'Search icon',
|
|
265
265
|
'pisell-icon-select-select': 'Select icon'
|
|
266
|
-
}, _defineProperty(
|
|
266
|
+
}, _defineProperty(_tableFilterSearch$, "subdomain-error-too-short", 'Subdomain must be at least 2 characters long'), _defineProperty(_tableFilterSearch$, "subdomain-error-too-long", 'Subdomain cannot exceed 60 characters'), _defineProperty(_tableFilterSearch$, "subdomain-error-pattern", 'Subdomain can only contain lowercase letters, numbers and hyphens'), _defineProperty(_tableFilterSearch$, "subdomain-error-numbers-only", 'Subdomain cannot contain only numbers'), _defineProperty(_tableFilterSearch$, "subdomain-error-hyphen-ends", 'Subdomain cannot start or end with a hyphen'), _defineProperty(_tableFilterSearch$, "subdomain-error-consecutive-hyphens", 'Subdomain cannot contain consecutive hyphens'), _defineProperty(_tableFilterSearch$, "subdomain-error-required", 'Please enter subdomain'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-live', 'Live'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-draft', 'Draft'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-deprecated', 'Deprecated'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-new-version', 'New version'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-to-live', 'Promote to live'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version', function pisellLowcodeAppVersionControlPromoteVersion(version) {
|
|
267
267
|
return "Promote version ".concat(version || "", "?");
|
|
268
|
-
}), 'pisell-lowcode-app-version-control-promote-version-describe', 'Are you sure you want to promote this version?'), 'pisell-lowcode-app-version-control-promote-version-ok', 'Promote'), 'pisell-lowcode-app-version-control-promote-version-cancel', 'Cancel'), 'pisell-lowcode-app-version-control-version-exists', 'Version already exists'), 'pisell-lowcode-drop-sort-add', 'Add'), 'pisell-lowcode-navigation-menu-add-sub-menu', 'Add submenu'), 'pisell-lowcode-navigation-menu-add-page', 'Add page'), _defineProperty(
|
|
268
|
+
}), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-describe', 'Are you sure you want to promote this version?'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-ok', 'Promote'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-cancel', 'Cancel'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-version-exists', 'Version already exists'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-drop-sort-add', 'Add'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-add-sub-menu', 'Add submenu'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-add-page', 'Add page'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-add-page-tip', 'No navigation found. Please add a submenu or page.'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-tag-base', "Base"), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-tag-pisell1', "Pisell 1.0"), _defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-pattern', 'Can only contain lowercase letters, numbers, hyphens, dots, and underscores'), _defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-start-with-letter', 'Must start with a letter'), _defineProperty(_tableFilterSearch$, 'pisell-group-permissions-rule-required', 'Required'), _defineProperty(_tableFilterSearch$, 'pisell-group-permissions-rule-limit', 'Maximum {{num}} characters'), _defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-letters-only', 'Must start with a letter'), _defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-alphanumeric', 'Can only contain letters, numbers, hyphens, dots, and underscores'), _defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-special-ends', 'Cannot end with a hyphen, dot, or underscore'), _defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-consecutive-special', 'Cannot contain consecutive hyphens, dots, or underscores'), _defineProperty(_tableFilterSearch$, "qrscanner-loading", "Recognizing QR code..."), _defineProperty(_tableFilterSearch$, "qrscanner-success", "Successfully recognized: "), _defineProperty(_tableFilterSearch$, "qrscanner-success-qrcode", "QR code successfully recognized: "), _defineProperty(_tableFilterSearch$, "qrscanner-success-barcode", "Barcode successfully recognized: "), _defineProperty(_tableFilterSearch$, "qrscanner-error-upload-image", "Please upload an image file"), _defineProperty(_tableFilterSearch$, "qrscanner-error-load-failed", "Failed to read file"), _defineProperty(_tableFilterSearch$, "qrscanner-error-no-code", "No QR code or barcode detected."), _defineProperty(_tableFilterSearch$, "qrscanner-error-camera-init", "Cannot start camera. Please make sure it's authorized."), _defineProperty(_tableFilterSearch$, "qrscanner-error-process-image", "Error processing image"), _tableFilterSearch$);
|
package/es/locales/index.js
CHANGED
|
@@ -18,5 +18,5 @@ export var getText = function getText(id) {
|
|
|
18
18
|
}
|
|
19
19
|
var locale = getCurrentLocale();
|
|
20
20
|
//@ts-ignore
|
|
21
|
-
return (langMap === null || langMap === void 0
|
|
21
|
+
return (langMap === null || langMap === void 0 ? void 0 : (_langMap$locale = langMap[locale]) === null || _langMap$locale === void 0 ? void 0 : _langMap$locale[id]) || id;
|
|
22
22
|
};
|
package/es/locales/zh-CN.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var _tableFilterSearch$;
|
|
2
|
-
function _typeof(
|
|
2
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
3
3
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
-
function _toPropertyKey(
|
|
5
|
-
function _toPrimitive(
|
|
4
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
5
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
6
6
|
export default (_tableFilterSearch$ = {
|
|
7
7
|
"table-filter-search": "搜索",
|
|
8
8
|
"table-filter-clear": "清除",
|
|
@@ -260,6 +260,6 @@ export default (_tableFilterSearch$ = {
|
|
|
260
260
|
'pisell-icon-select-iconfont': 'Iconfont',
|
|
261
261
|
'pisell-icon-select-search': '搜索图标',
|
|
262
262
|
'pisell-icon-select-select': '选择图标'
|
|
263
|
-
}, _defineProperty(
|
|
263
|
+
}, _defineProperty(_tableFilterSearch$, "subdomain-error-too-short", '子域名长度不能小于2个字符'), _defineProperty(_tableFilterSearch$, "subdomain-error-too-long", '子域名长度不能超过60个字符'), _defineProperty(_tableFilterSearch$, "subdomain-error-pattern", '子域名只能包含小写字母、数字和连字符'), _defineProperty(_tableFilterSearch$, "subdomain-error-numbers-only", '子域名不能全为数字'), _defineProperty(_tableFilterSearch$, "subdomain-error-hyphen-ends", '子域名不能以连字符开头或结尾'), _defineProperty(_tableFilterSearch$, "subdomain-error-consecutive-hyphens", '子域名不能包含连续的连字符'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-live', '正式版'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-draft', '草稿'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-deprecated', '已废弃'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-new-version', '新版本'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-to-live', '发布正式版'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version', function pisellLowcodeAppVersionControlPromoteVersion(version) {
|
|
264
264
|
return "\u53D1\u5E03\u7248\u672C ".concat(version || "", "?");
|
|
265
|
-
}), 'pisell-lowcode-app-version-control-promote-version-describe', '您确定要发布此版本吗?'), 'pisell-lowcode-app-version-control-promote-version-ok', '发布'), 'pisell-lowcode-app-version-control-promote-version-cancel', '取消'), 'pisell-lowcode-app-version-control-version-exists', '版本已存在'), 'pisell-lowcode-drop-sort-add', '添加'), 'pisell-lowcode-navigation-menu-add-sub-menu', '添加子菜单'), 'pisell-lowcode-navigation-menu-add-page', '添加页面'), 'pisell-lowcode-navigation-menu-add-page-tip', '没有找到导航,请添加子菜单或页面。'), _defineProperty(
|
|
265
|
+
}), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-describe', '您确定要发布此版本吗?'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-ok', '发布'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-promote-version-cancel', '取消'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-app-version-control-version-exists', '版本已存在'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-drop-sort-add', '添加'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-add-sub-menu', '添加子菜单'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-add-page', '添加页面'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-add-page-tip', '没有找到导航,请添加子菜单或页面。'), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-tag-base', "基础"), _defineProperty(_tableFilterSearch$, 'pisell-lowcode-navigation-menu-tag-pisell1', "Pisell 1.0"), _defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-pattern', '只能包含小写字母、数字、连字符、点和下划线'), _defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-start-with-letter', '必须以字母开头'), _defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-special-ends', '不能以连字符、点或下划线结尾'), _defineProperty(_tableFilterSearch$, 'pisell-data-source-form-app-identifier-consecutive-special', '不能包含连续的连字符、点或下划线'), _defineProperty(_tableFilterSearch$, "qrscanner-loading", "正在识别二维码..."), _defineProperty(_tableFilterSearch$, "qrscanner-success", "识别成功: "), _defineProperty(_tableFilterSearch$, "qrscanner-success-qrcode", "二维码识别成功: "), _defineProperty(_tableFilterSearch$, "qrscanner-success-barcode", "条形码识别成功: "), _defineProperty(_tableFilterSearch$, "qrscanner-error-upload-image", "请上传图片文件"), _defineProperty(_tableFilterSearch$, "qrscanner-error-load-failed", "读取文件失败"), _defineProperty(_tableFilterSearch$, "qrscanner-error-no-code", "未检测到二维码或条形码"), _defineProperty(_tableFilterSearch$, "qrscanner-error-camera-init", "无法启动摄像头,请确保已授权"), _defineProperty(_tableFilterSearch$, "qrscanner-error-process-image", "处理图像时出错"), _tableFilterSearch$);
|
package/es/utils/hoc.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
1
|
+
import React, { ComponentType } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* 简单包装,不做任何处理
|
|
4
4
|
* 部分组件ref比较特殊,包一层会解决这个问题
|
|
5
5
|
*/
|
|
6
|
-
export declare function withWrap<T extends ComponentType<any>>(Comp: T): (props: any) => JSX.Element;
|
|
6
|
+
export declare function withWrap<T extends ComponentType<any>>(Comp: T): (props: any) => React.JSX.Element;
|
|
7
7
|
/**
|
|
8
8
|
* 某些组件会用React.Children.only检查子节点
|
|
9
9
|
* 需要做处理避免报错
|
|
10
10
|
*/
|
|
11
|
-
export declare function withSingleChild(Comp: ComponentType<any>, needsConvert?: string[]): (props: any) => JSX.Element;
|
|
12
|
-
export declare function withSingleFunctionChild(Comp: ComponentType<any>): (props: any) => JSX.Element;
|
|
11
|
+
export declare function withSingleChild(Comp: ComponentType<any>, needsConvert?: string[]): (props: any) => React.JSX.Element;
|
|
12
|
+
export declare function withSingleFunctionChild(Comp: ComponentType<any>): (props: any) => React.JSX.Element;
|
|
13
13
|
/**
|
|
14
14
|
* moment对象在序列化后会被转为字符串
|
|
15
15
|
* 需要让日期类组件支持接受字符串值
|
|
16
16
|
*/
|
|
17
|
-
export declare function withMomentProps(Comp: ComponentType<any>, needsConvert?: string[]): (props: any) => JSX.Element;
|
|
17
|
+
export declare function withMomentProps(Comp: ComponentType<any>, needsConvert?: string[]): (props: any) => React.JSX.Element;
|
package/es/utils/hoc.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
function _typeof(
|
|
2
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { get, set, has } from 'lodash';
|
|
5
5
|
import dayjs from "dayjs";
|
package/es/utils/mergeWith.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
2
|
export function mergeWith(obj, source, customizer) {
|
|
3
3
|
if (typeof customizer !== 'function') {
|
|
4
4
|
throw new Error('Customizer must be a function');
|
package/es/utils/miniRedux.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ declare const _default: <State extends Record<string, any>, Namespace extends st
|
|
|
12
12
|
payload: any;
|
|
13
13
|
}) => void;
|
|
14
14
|
}>;
|
|
15
|
-
Provider: (ComponentUi: any) => (props: any, ref: any) => JSX.Element;
|
|
15
|
+
Provider: (ComponentUi: any) => (props: any, ref: any) => React.JSX.Element;
|
|
16
16
|
};
|
|
17
17
|
export default _default;
|
package/es/utils/miniRedux.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
-
function ownKeys(
|
|
4
|
-
function _objectSpread(
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
-
function _toPropertyKey(
|
|
7
|
-
function _toPrimitive(
|
|
6
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
8
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
9
9
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
10
10
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
11
11
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
12
|
-
function _iterableToArrayLimit(
|
|
12
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
13
13
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
14
14
|
import React, { createContext, useCallback, useReducer } from 'react';
|
|
15
15
|
export default (function (_ref2) {
|
|
@@ -23,6 +23,7 @@ export default (function (_ref2) {
|
|
|
23
23
|
var Context = /*#__PURE__*/createContext({});
|
|
24
24
|
var Provider = function Provider(ComponentUi) {
|
|
25
25
|
var Components = function Components(props, ref) {
|
|
26
|
+
var _objectSpread2, _ref5;
|
|
26
27
|
var _useReducer = useReducer(function (state, _ref3) {
|
|
27
28
|
var type = _ref3.type,
|
|
28
29
|
payload = _ref3.payload;
|
|
@@ -47,14 +48,14 @@ export default (function (_ref2) {
|
|
|
47
48
|
});
|
|
48
49
|
}
|
|
49
50
|
}, []);
|
|
50
|
-
var _props = _objectSpread(_objectSpread({}, props), {},
|
|
51
|
+
var _props = _objectSpread(_objectSpread({}, props), {}, (_objectSpread2 = {}, _defineProperty(_objectSpread2, namespace, providerState), _defineProperty(_objectSpread2, "dispatch", _dispatch), _objectSpread2));
|
|
51
52
|
var _ref = ref;
|
|
52
53
|
// if (_props.forwardedRef) {
|
|
53
54
|
// _ref = _props.forwardedRef;
|
|
54
55
|
// delete _props.forwardedRef;
|
|
55
56
|
// }
|
|
56
57
|
return /*#__PURE__*/React.createElement(Context.Provider, {
|
|
57
|
-
value:
|
|
58
|
+
value: (_ref5 = {}, _defineProperty(_ref5, namespace, providerState), _defineProperty(_ref5, "dispatch", _dispatch), _ref5)
|
|
58
59
|
}, /*#__PURE__*/React.createElement(ComponentUi, _extends({}, _props, {
|
|
59
60
|
ref: _ref
|
|
60
61
|
})));
|
|
@@ -18,7 +18,7 @@ export interface Props<T> {
|
|
|
18
18
|
attributes: DraggableAttributes;
|
|
19
19
|
}) => React.ReactElement<HTMLElement>;
|
|
20
20
|
}
|
|
21
|
-
export default function Sortable<T extends Record<string, any>>({ list, onChange, rowKey, children, activationConstraint, }: Props<T>): JSX.Element;
|
|
21
|
+
export default function Sortable<T extends Record<string, any>>({ list, onChange, rowKey, children, activationConstraint, }: Props<T>): React.JSX.Element;
|
|
22
22
|
export interface SortableItemProps<T> {
|
|
23
23
|
id: number;
|
|
24
24
|
index: number;
|
|
@@ -22,5 +22,5 @@ interface DefaultRenderContainerProps {
|
|
|
22
22
|
}) => React.ReactElement;
|
|
23
23
|
children: any;
|
|
24
24
|
}
|
|
25
|
-
declare const MultipleContainersSortList: <T extends Record<string, any>>(props: MultipleContainersSortListProps<T>) => JSX.Element;
|
|
25
|
+
declare const MultipleContainersSortList: <T extends Record<string, any>>(props: MultipleContainersSortListProps<T>) => React.JSX.Element;
|
|
26
26
|
export default MultipleContainersSortList;
|
|
@@ -5,10 +5,10 @@ export declare const paginationConfig: {
|
|
|
5
5
|
className: string;
|
|
6
6
|
defaultCurrent: number;
|
|
7
7
|
showTotal: (total: number, range: [number, number]) => string;
|
|
8
|
-
itemRender: (page: number, type: "
|
|
8
|
+
itemRender: (page: number, type: "next" | "page" | "prev" | "jump-prev" | "jump-next", element: React.ReactNode) => React.ReactNode;
|
|
9
9
|
responsive: boolean;
|
|
10
10
|
size: string;
|
|
11
11
|
};
|
|
12
|
-
declare const Pagination: (props: PaginationProps) => JSX.Element | null;
|
|
12
|
+
declare const Pagination: (props: PaginationProps) => React.JSX.Element | null;
|
|
13
13
|
export default Pagination;
|
|
14
|
-
export declare const FormPagination: ({ value, onChange, page, pageSize, ...other }: any) => JSX.Element;
|
|
14
|
+
export declare const FormPagination: ({ value, onChange, page, pageSize, ...other }: any) => React.JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface TimeSlot {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
time: string;
|
|
7
|
+
remainingCount: number;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface TimeResourceSelectorProps {
|
|
11
|
+
timeSlots?: TimeSlot[];
|
|
12
|
+
multiple?: boolean;
|
|
13
|
+
showUnavailable?: boolean;
|
|
14
|
+
defaultExpanded?: boolean;
|
|
15
|
+
defaultSelectFirst?: boolean;
|
|
16
|
+
onChange?: (values: string | string[]) => void;
|
|
17
|
+
className?: string;
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
declare const TimeResourceSelector: React.FC<TimeResourceSelectorProps>;
|
|
21
|
+
export default TimeResourceSelector;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { AppVersionControlProps } from './types';
|
|
2
3
|
import './index.less';
|
|
3
|
-
declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
|
|
4
|
+
declare const AppVersionControl: (props: AppVersionControlProps) => React.JSX.Element;
|
|
4
5
|
export default AppVersionControl;
|
|
@@ -29,15 +29,19 @@ var compareVersions = (version1, version2) => {
|
|
|
29
29
|
for (let i = 0; i < Math.max(v1Parts.length, v2Parts.length); i++) {
|
|
30
30
|
const v1Part = v1Parts[i] || 0;
|
|
31
31
|
const v2Part = v2Parts[i] || 0;
|
|
32
|
-
if (v1Part > v2Part)
|
|
33
|
-
|
|
32
|
+
if (v1Part > v2Part)
|
|
33
|
+
return 1;
|
|
34
|
+
if (v1Part < v2Part)
|
|
35
|
+
return -1;
|
|
34
36
|
}
|
|
35
37
|
return 0;
|
|
36
38
|
};
|
|
37
39
|
var getMaxVersion = (versions) => {
|
|
38
|
-
if (!versions || versions.length === 0)
|
|
40
|
+
if (!versions || versions.length === 0)
|
|
41
|
+
return void 0;
|
|
39
42
|
return versions.reduce((max, current) => {
|
|
40
|
-
if (!max)
|
|
43
|
+
if (!max)
|
|
44
|
+
return current;
|
|
41
45
|
return compareVersions(current, max) > 0 ? current : max;
|
|
42
46
|
}, versions[0]);
|
|
43
47
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { AutoCompleteProps, InputNumberProps } from "antd";
|
|
2
3
|
interface AutoCompleteNumberProps {
|
|
3
4
|
autoCompleteProps: AutoCompleteProps;
|
|
@@ -5,5 +6,5 @@ interface AutoCompleteNumberProps {
|
|
|
5
6
|
value?: any;
|
|
6
7
|
onChange?: any;
|
|
7
8
|
}
|
|
8
|
-
declare const AutoCompleteNumber: (props: AutoCompleteNumberProps) => JSX.Element;
|
|
9
|
+
declare const AutoCompleteNumber: (props: AutoCompleteNumberProps) => React.JSX.Element;
|
|
9
10
|
export default AutoCompleteNumber;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BadgeProps as OriginalBadgeprops } from 'antd';
|
|
3
|
+
import './index.less';
|
|
4
|
+
export interface Badgeprops extends OriginalBadgeprops {
|
|
5
|
+
styleType: 'default' | 'warning';
|
|
6
|
+
}
|
|
7
|
+
declare const Badge: (props: any) => React.JSX.Element;
|
|
8
|
+
export default Badge;
|