@pisell/materials 1.0.696 → 1.0.697
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +6 -6
- package/build/lowcode/preview.js +142 -147
- package/build/lowcode/render/default/view.js +29 -61
- package/build/lowcode/view.js +28 -60
- 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 +11 -13
- package/es/components/Pagination/index.d.ts +3 -3
- package/es/components/Pagination/index.js +1 -1
- package/es/components/TimeResourceSelector/index.js +3 -3
- package/es/components/appVersionControl/index.d.ts +1 -2
- package/es/components/appVersionControl/index.js +5 -5
- package/es/components/auto-complete-number/index.d.ts +2 -2
- package/es/components/badge/index.d.ts +2 -2
- 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 +2 -2
- package/es/components/batch-editor/index.d.ts +2 -2
- 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.js +6 -7
- package/es/components/buttonGroupPreview/index.js +8 -7
- package/es/components/calendar/index.d.ts +1 -1
- package/es/components/cardMetricItem/index.d.ts +1 -1
- package/es/components/cardPro/index.d.ts +2 -2
- package/es/components/checkbox/index.d.ts +1 -1
- package/es/components/classicLayout/index.d.ts +2 -2
- package/es/components/classicLayout/index.js +4 -5
- package/es/components/collapse/index.js +5 -5
- package/es/components/colorPicker/index.d.ts +1 -2
- package/es/components/config-provider/index.d.ts +2 -2
- 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 -2
- 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 -2
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -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.js +7 -7
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +2 -2
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +6 -6
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +3 -3
- 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/useDesignMode.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +2 -3
- 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.js +13 -13
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +9 -9
- 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 -2
- package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/DatePicker/WithMode.js +5 -5
- package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Email/WithMode.js +2 -2
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Json/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +4 -5
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.js +8 -8
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +2 -2
- 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.js +8 -8
- package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Subdomain/WithMode.js +7 -7
- package/es/components/dataSourceComponents/fields/Input.Subdomain/serve.js +2 -2
- package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +2 -2
- 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 -2
- package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +47 -48
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Upload/serve.js +4 -4
- package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.js +9 -9
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/Upload/utils.js +3 -3
- package/es/components/dataSourceComponents/fields/index.d.ts +3 -3
- 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.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 -2
- 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 +1 -1
- package/es/components/div/index.d.ts +1 -1
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +2 -2
- package/es/components/drag-sort-tree/TreeItem/index.js +10 -10
- 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 -2
- 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 +6 -7
- package/es/components/filter/components/items/text/Editor/index.d.ts +1 -2
- package/es/components/filter/components/items/text/Preview/index.d.ts +1 -2
- package/es/components/filter/components/items/text/index.d.ts +2 -3
- package/es/components/filter/index.d.ts +2 -2
- 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 +0 -1
- package/es/components/input-number-range/index.js +6 -6
- package/es/components/list/index.d.ts +2 -2
- 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 -2
- package/es/components/organizationTenantSwitcher/index.js +1 -1
- package/es/components/page/index.d.ts +2 -2
- package/es/components/page/index.js +11 -13
- package/es/components/page-header/index.d.ts +1 -1
- package/es/components/pisell-config-provider/context.js +3 -3
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -2
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.js +2 -2
- package/es/components/pisellAdjustPrice/index.d.ts +2 -2
- 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.js +6 -6
- package/es/components/pisellAvatar/index.js +5 -5
- 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 +9 -7
- 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.js +1 -1
- package/es/components/pisellDatePicker/datePickerCpt.d.ts +2 -2
- package/es/components/pisellDatePicker/datePickerCpt.js +4 -4
- package/es/components/pisellDatePicker/index.d.ts +1 -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/pisellFloatingPanel/index.d.ts +1 -1
- package/es/components/pisellFloatingPanel/index.js +6 -6
- package/es/components/pisellHeaderProgressBar/index.js +5 -5
- 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 -2
- package/es/components/pisellInformationEntry/Scan/index.js +2 -2
- package/es/components/pisellInformationEntry/hooks/useTerminalPeripherals.js +5 -5
- 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 -2
- package/es/components/pisellInput/components/BankCard/index.js +5 -5
- package/es/components/pisellInput/components/Copy/index.d.ts +2 -2
- package/es/components/pisellInput/components/Copy/index.js +5 -5
- package/es/components/pisellInput/components/SecurityCode/index.d.ts +2 -2
- package/es/components/pisellInput/components/SecurityCode/index.js +2 -2
- package/es/components/pisellInput/index.d.ts +5 -5
- 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.js +2 -2
- package/es/components/pisellLoading/index.d.ts +2 -2
- 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 -2
- package/es/components/pisellModal/components/MobileModal/index.d.ts +2 -2
- 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 +3 -3
- package/es/components/pisellModal/index.d.ts +2 -2
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +8 -8
- package/es/components/pisellQRScanner/index.js +15 -7
- 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.js +5 -5
- package/es/components/pisellStatisticList/index.d.ts +1 -1
- package/es/components/pisellTags/index.d.ts +1 -1
- package/es/components/pisellTags/index.js +9 -5
- package/es/components/pisellText/components/Amount/index.d.ts +1 -1
- package/es/components/pisellText/index.d.ts +2 -2
- package/es/components/pisellTooltip/index.d.ts +2 -2
- package/es/components/pisellUpload/index.d.ts +2 -2
- package/es/components/pisellViewGrid/index.js +5 -5
- package/es/components/pisellWalletPassCard/index.d.ts +2 -2
- package/es/components/pisellWalletPassCard/index.js +5 -5
- package/es/components/productCard/components/MultiDay/index.js +7 -7
- package/es/components/productCard/components/MultiDay/utils.js +7 -5
- package/es/components/productCard/components/Packages/components/collapsibleList/index.js +1 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +2 -2
- package/es/components/productCard/components/Packages/index.js +5 -5
- package/es/components/productCard/components/Sales/index.js +5 -5
- package/es/components/productCard/components/Time/components/Like/index.js +1 -1
- 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/utils.js +3 -3
- package/es/components/profileMenu/index.js +6 -6
- package/es/components/qrcode/index.d.ts +2 -2
- package/es/components/qrcode/index.js +1 -1
- package/es/components/radio/index.d.ts +1 -1
- package/es/components/record-view/index.js +1 -1
- package/es/components/segmented/index.d.ts +2 -2
- package/es/components/select/index.js +6 -6
- package/es/components/select-time/RightPanel/index.d.ts +2 -2
- package/es/components/select-time/index.d.ts +2 -2
- package/es/components/select-time/index.js +2 -2
- package/es/components/skeleton/index.d.ts +1 -1
- package/es/components/slider/index.d.ts +2 -2
- package/es/components/sort/components/InlineMenu/index.d.ts +2 -2
- 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 -2
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -2
- 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 +1 -2
- 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 +1 -2
- 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 +1 -2
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.js +7 -7
- package/es/components/table/Actions/component/ExportImport/index.js +3 -3
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -2
- package/es/components/table/Actions/component/Group/PopoverContent.d.ts +2 -2
- package/es/components/table/Actions/component/Group/PopoverContent.js +2 -2
- package/es/components/table/Actions/component/Group/index.d.ts +1 -2
- package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -2
- package/es/components/table/Actions/component/ViewMode/index.js +1 -1
- package/es/components/table/Actions/index.d.ts +1 -2
- package/es/components/table/BasicTable/index.d.ts +1 -2
- package/es/components/table/BasicTable/index.js +9 -9
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -2
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +2 -2
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -2
- 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.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 -2
- package/es/components/table/Table/AddFieldModal/index.js +6 -6
- package/es/components/table/Table/SelectField/index.d.ts +1 -2
- package/es/components/table/Table/SelectField/index.js +4 -4
- package/es/components/table/Table/fields/date/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/date/Edit/index.js +1 -1
- package/es/components/table/Table/fields/date/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/date/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/date/index.d.ts +3 -3
- package/es/components/table/Table/fields/image/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/image/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/image/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/image/index.d.ts +3 -3
- package/es/components/table/Table/fields/index.d.ts +77 -77
- package/es/components/table/Table/fields/link/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/link/Edit/index.js +5 -5
- package/es/components/table/Table/fields/link/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/link/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/link/index.d.ts +3 -3
- package/es/components/table/Table/fields/number/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/number/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/number/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/number/index.d.ts +3 -3
- package/es/components/table/Table/fields/numberRange/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/numberRange/index.d.ts +3 -3
- package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/oldRangePicker/Edit/index.js +7 -7
- package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/oldRangePicker/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +3 -3
- package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/pSwitch/index.d.ts +3 -3
- package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/rangePicker/Edit/index.js +7 -7
- package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/rangePicker/index.d.ts +3 -3
- package/es/components/table/Table/fields/search/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/search/Edit/index.js +2 -2
- package/es/components/table/Table/fields/search/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/search/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
- package/es/components/table/Table/fields/search/index.d.ts +3 -3
- package/es/components/table/Table/fields/select/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/select/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/select/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/select/index.d.ts +3 -3
- package/es/components/table/Table/fields/text/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/text/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/text/Show/index.js +4 -4
- package/es/components/table/Table/fields/text/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
- package/es/components/table/Table/fields/text/index.d.ts +3 -3
- package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +2 -2
- package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +2 -2
- package/es/components/table/Table/fields/treeSelect/index.d.ts +3 -3
- package/es/components/table/Table/index.js +11 -11
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -2
- 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 +1 -2
- package/es/components/table/Table/utils.js +13 -8
- package/es/components/table/TableFilter/SortIcon.d.ts +2 -2
- 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 +1 -2
- package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
- package/es/components/table/hooks/useTableSetting.js +13 -14
- package/es/components/table/hooks/useTransColumns.js +9 -9
- 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/utils.js +3 -3
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/tabs/index.js +7 -5
- package/es/components/time-picker/index.d.ts +1 -1
- package/es/components/translation/index.js +10 -10
- package/es/components/translation/utils.js +5 -5
- package/es/components/upload/index.d.ts +1 -1
- package/es/components/versionModal/index.js +1 -1
- package/es/components/versionSelect/index.d.ts +2 -2
- 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 -2
- 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 -2
- 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 +1 -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 -2
- 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 -2
- package/es/components/walletCard/Guest/index.js +3 -3
- package/es/components/walletCard/index.js +60 -38
- 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 +8 -9
- 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/appVersionControl/index.d.ts +1 -2
- package/lib/components/appVersionControl/utils.js +4 -8
- package/lib/components/auto-complete-number/index.d.ts +2 -2
- package/lib/components/badge/index.d.ts +2 -2
- 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 +2 -2
- package/lib/components/batch-editor/index.d.ts +2 -2
- package/lib/components/browserSelect/index.d.ts +1 -1
- package/lib/components/buttonGroupEdit/index.js +7 -14
- package/lib/components/calendar/index.d.ts +1 -1
- package/lib/components/cardMetricItem/index.d.ts +1 -1
- package/lib/components/cardPro/index.d.ts +2 -2
- package/lib/components/checkbox/index.d.ts +1 -1
- package/lib/components/classicLayout/index.d.ts +2 -2
- package/lib/components/colorPicker/index.d.ts +1 -2
- package/lib/components/config-provider/index.d.ts +2 -2
- package/lib/components/customSelect/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +2 -2
- 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 +3 -6
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -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/filter/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +3 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +2 -4
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +1 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +2 -3
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +1 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
- package/lib/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +1 -2
- package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.js +2 -4
- package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.js +2 -4
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.js +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +1 -2
- package/lib/components/dataSourceComponents/fields/InputNumber/WithMode.js +2 -4
- package/lib/components/dataSourceComponents/fields/InputNumber/utils.js +2 -4
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.js +4 -8
- package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +4 -8
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.js +1 -2
- package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.js +1 -2
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/Upload/utils.js +11 -22
- package/lib/components/dataSourceComponents/fields/index.d.ts +3 -3
- package/lib/components/dataSourceComponents/hooks/useActions.js +3 -6
- package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.js +1 -2
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +1 -2
- package/lib/components/dataSourceComponents/provider/variables/utils.js +2 -4
- package/lib/components/date-picker/datePickerCpt.d.ts +2 -2
- package/lib/components/date-picker/datePickerCpt.js +1 -2
- package/lib/components/date-picker/index.d.ts +1 -1
- package/lib/components/div/index.d.ts +1 -1
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +2 -2
- package/lib/components/drag-sort-tree/TreeItem/index.js +1 -2
- package/lib/components/drag-sort-tree/index.js +1 -2
- package/lib/components/dropdown/index.d.ts +2 -2
- package/lib/components/filter/components/items/index.d.ts +6 -7
- package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -2
- package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -2
- package/lib/components/filter/components/items/text/index.d.ts +2 -3
- package/lib/components/filter/index.d.ts +2 -2
- package/lib/components/filter/index.js +1 -2
- package/lib/components/form/index.js +1 -4
- package/lib/components/iconSelect/index.js +1 -2
- package/lib/components/iconSelect/utils.js +1 -2
- package/lib/components/list/index.d.ts +2 -2
- package/lib/components/lowCodePage/index.d.ts +2 -2
- package/lib/components/lowCodePage/index.js +1 -2
- package/lib/components/page/index.d.ts +2 -2
- package/lib/components/page-header/index.d.ts +1 -1
- package/lib/components/pisell-config-provider/context.js +1 -1
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +2 -2
- package/lib/components/pisellAdjustPrice/index.d.ts +2 -2
- package/lib/components/pisellAlert/index.d.ts +1 -1
- package/lib/components/pisellAnchor/index.js +5 -10
- package/lib/components/pisellCardList/index.d.ts +1 -1
- package/lib/components/pisellCheckboxGroup/index.d.ts +1 -1
- package/lib/components/pisellCheckboxGroup/index.js +1 -2
- package/lib/components/pisellCountdown/index.d.ts +1 -1
- package/lib/components/pisellDatePicker/datePickerCpt.d.ts +2 -2
- package/lib/components/pisellDatePicker/datePickerCpt.js +1 -2
- package/lib/components/pisellDatePicker/index.d.ts +1 -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 +3 -6
- package/lib/components/pisellDropSort/components/SortableItem/index.d.ts +1 -1
- package/lib/components/pisellFloatingPanel/index.d.ts +1 -1
- package/lib/components/pisellInformationEntry/Input/index.d.ts +1 -1
- package/lib/components/pisellInformationEntry/Scan/index.d.ts +2 -2
- package/lib/components/pisellInput/components/BankCard/index.d.ts +2 -2
- package/lib/components/pisellInput/components/Copy/index.d.ts +2 -2
- package/lib/components/pisellInput/components/SecurityCode/index.d.ts +2 -2
- package/lib/components/pisellInput/index.d.ts +5 -5
- package/lib/components/pisellLoading/index.d.ts +2 -2
- 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 -2
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +2 -2
- package/lib/components/pisellModal/components/PcModal/index.d.ts +1 -1
- package/lib/components/pisellModal/components/index.d.ts +3 -3
- package/lib/components/pisellModal/index.d.ts +2 -2
- package/lib/components/pisellQRScanner/index.js +9 -18
- package/lib/components/pisellRow/index.d.ts +1 -1
- package/lib/components/pisellStatisticList/index.d.ts +1 -1
- package/lib/components/pisellTags/index.d.ts +1 -1
- package/lib/components/pisellText/components/Amount/index.d.ts +1 -1
- package/lib/components/pisellText/index.d.ts +2 -2
- package/lib/components/pisellTooltip/index.d.ts +2 -2
- package/lib/components/pisellUpload/index.d.ts +2 -2
- package/lib/components/pisellWalletPassCard/index.d.ts +2 -2
- package/lib/components/productCard/components/AmountFooter/index.js +1 -2
- package/lib/components/productCard/components/MultiDay/index.js +1 -2
- package/lib/components/productCard/utils.js +1 -2
- package/lib/components/profileMenu/index.js +1 -2
- package/lib/components/qrcode/index.d.ts +2 -2
- package/lib/components/radio/index.d.ts +1 -1
- package/lib/components/segmented/index.d.ts +2 -2
- package/lib/components/select/index.js +2 -4
- package/lib/components/select-time/RightPanel/index.d.ts +2 -2
- package/lib/components/select-time/index.d.ts +2 -2
- package/lib/components/skeleton/index.d.ts +1 -1
- package/lib/components/slider/index.d.ts +2 -2
- package/lib/components/sort/components/InlineMenu/index.d.ts +2 -2
- package/lib/components/table/Actions/component/ColumnsSetting/PopoverContent.d.ts +1 -1
- package/lib/components/table/Actions/component/ColumnsSetting/PopoverContent.js +1 -2
- package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +2 -2
- package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ExportImport/index.js +1 -2
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -2
- package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +2 -2
- package/lib/components/table/Actions/component/Group/index.d.ts +1 -2
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -2
- package/lib/components/table/Actions/index.d.ts +1 -2
- package/lib/components/table/BasicTable/index.d.ts +1 -2
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -2
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +2 -2
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -2
- package/lib/components/table/Gallery/components/VirtualGrid/index.d.ts +1 -1
- package/lib/components/table/Header/index.d.ts +1 -1
- package/lib/components/table/Summary/index.d.ts +2 -2
- package/lib/components/table/Table/SelectField/index.d.ts +1 -2
- package/lib/components/table/Table/fields/date/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/date/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/date/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
- package/lib/components/table/Table/fields/date/index.d.ts +3 -3
- package/lib/components/table/Table/fields/image/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/image/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/image/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/image/index.d.ts +3 -3
- package/lib/components/table/Table/fields/index.d.ts +77 -77
- package/lib/components/table/Table/fields/link/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/link/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/link/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/link/index.d.ts +3 -3
- package/lib/components/table/Table/fields/number/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/number/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/number/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/number/index.d.ts +3 -3
- package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/numberRange/index.d.ts +3 -3
- package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/oldRangePicker/filterUtil/index.js +4 -8
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +3 -3
- package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +3 -3
- package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +3 -3
- package/lib/components/table/Table/fields/search/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/search/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/search/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/search/index.d.ts +3 -3
- package/lib/components/table/Table/fields/select/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/select/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/select/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/select/index.d.ts +3 -3
- package/lib/components/table/Table/fields/text/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/text/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/text/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/text/index.d.ts +3 -3
- package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +2 -2
- package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +2 -2
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +3 -3
- package/lib/components/table/Table/fields/utils/index.js +1 -2
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -2
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +1 -2
- package/lib/components/table/Table/utils.js +10 -17
- package/lib/components/table/TableFilter/SortIcon.d.ts +2 -2
- package/lib/components/table/View/index.d.ts +1 -2
- package/lib/components/table/hooks/useTransColumns.js +1 -2
- package/lib/components/table/model.d.ts +1 -1
- package/lib/components/table/utils.js +7 -7
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/tabs/index.js +59 -62
- package/lib/components/time-picker/index.d.ts +1 -1
- package/lib/components/upload/index.d.ts +1 -1
- package/lib/components/versionModal/index.js +2 -4
- package/lib/components/versionSelect/index.d.ts +2 -2
- package/lib/components/versionSelect/index.js +6 -12
- package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +2 -2
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +2 -4
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/Number/index.d.ts +2 -2
- package/lib/components/virtual-keyboard/Time/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -1
- package/lib/components/virtual-keyboard/VirtualInput/index.d.ts +1 -1
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +2 -2
- package/lib/components/virtual-keyboard/index.d.ts +1 -1
- package/lib/components/walletCard/Guest/index.d.ts +2 -2
- package/lib/components/walletCard/index.js +31 -18
- package/lib/hooks/useCssVariables.js +1 -2
- package/lib/hooks/useResponsive.js +3 -6
- package/lib/utils/hoc.d.ts +5 -5
- package/lib/utils/miniRedux.d.ts +1 -1
- package/lowcode/wallet-card/meta.ts +25 -0
- package/lowcode/wallet-card/snippets.ts +1 -0
- package/package.json +1 -1
- package/es/components/TimeResourceSelector/index.d.ts +0 -21
- package/es/components/collapse/index.d.ts +0 -15
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -79
- package/es/components/drag-sort-tree/index.d.ts +0 -4
- package/es/components/picker-view/index.d.ts +0 -2
- package/es/components/pisell-config-provider/index.d.ts +0 -12
- package/es/components/pisellAvatar/index.d.ts +0 -19
- package/es/components/pisellCard/index.d.ts +0 -20
- package/es/components/pisellCustomCheckboxGroup/index.d.ts +0 -16
- package/es/components/pisellDropdown/index.d.ts +0 -20
- package/es/components/pisellEmpty/index.d.ts +0 -19
- package/es/components/pisellHeaderProgressBar/index.d.ts +0 -29
- package/es/components/pisellImageCarousels/index.d.ts +0 -18
- package/es/components/pisellInformationEntry/index.d.ts +0 -33
- package/es/components/pisellList01/index.d.ts +0 -17
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/es/components/pisellSectionHeaders/index.d.ts +0 -21
- package/es/components/productCard/components/Action/index.d.ts +0 -4
- package/es/components/productCard/components/AmountFooter/index.d.ts +0 -4
- package/es/components/productCard/components/Divider/index.d.ts +0 -4
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
- package/es/components/productCard/components/Header/index.d.ts +0 -4
- package/es/components/productCard/components/MultiDay/index.d.ts +0 -4
- package/es/components/productCard/components/MultiDay/utils.d.ts +0 -14
- package/es/components/productCard/components/Note/index.d.ts +0 -4
- package/es/components/productCard/components/Packages/components/collapsibleList/index.d.ts +0 -10
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
- package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -4
- package/es/components/productCard/components/Packages/index.d.ts +0 -4
- package/es/components/productCard/components/Packages/utils.d.ts +0 -20
- package/es/components/productCard/components/Sales/index.d.ts +0 -4
- package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -9
- package/es/components/productCard/components/Time/index.d.ts +0 -4
- package/es/components/productCard/hooks/useOpenNote.d.ts +0 -3
- package/es/components/productCard/index.d.ts +0 -5
- package/es/components/productCard/locales.d.ts +0 -45
- package/es/components/productCard/status.d.ts +0 -32
- package/es/components/productCard/types.d.ts +0 -78
- package/es/components/productCard/utils.d.ts +0 -31
- package/es/components/section-footers/index.d.ts +0 -9
- package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -8
- package/es/components/table/Actions/component/ExportImport/utils/index.d.ts +0 -9
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
- package/es/components/table/Gallery/index.d.ts +0 -5
- package/es/components/table/Table/index.d.ts +0 -4
- package/es/components/table/Table/utils.d.ts +0 -173
- package/es/components/table/hooks/useTableSetting.d.ts +0 -22
- package/es/components/table/hooks/useTransDataSource.d.ts +0 -12
- package/es/components/table/types.d.ts +0 -253
- package/es/index.d.ts +0 -141
- package/es/locales/en-US.d.ts +0 -241
- package/es/locales/index.d.ts +0 -1
- package/es/locales/zh-CN.d.ts +0 -236
- package/es/locales/zh-TW.d.ts +0 -236
- package/lib/components/TimeResourceSelector/index.d.ts +0 -21
- package/lib/components/collapse/index.d.ts +0 -15
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -79
- package/lib/components/drag-sort-tree/index.d.ts +0 -4
- package/lib/components/picker-view/index.d.ts +0 -2
- package/lib/components/pisell-config-provider/index.d.ts +0 -12
- package/lib/components/pisellAvatar/index.d.ts +0 -19
- package/lib/components/pisellCard/index.d.ts +0 -20
- package/lib/components/pisellCustomCheckboxGroup/index.d.ts +0 -16
- package/lib/components/pisellDropdown/index.d.ts +0 -20
- package/lib/components/pisellEmpty/index.d.ts +0 -19
- package/lib/components/pisellHeaderProgressBar/index.d.ts +0 -29
- package/lib/components/pisellImageCarousels/index.d.ts +0 -18
- package/lib/components/pisellInformationEntry/index.d.ts +0 -33
- package/lib/components/pisellList01/index.d.ts +0 -17
- package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
- package/lib/components/pisellSectionHeaders/index.d.ts +0 -21
- package/lib/components/productCard/components/Action/index.d.ts +0 -4
- package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -4
- package/lib/components/productCard/components/Divider/index.d.ts +0 -4
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
- package/lib/components/productCard/components/Header/index.d.ts +0 -4
- package/lib/components/productCard/components/MultiDay/index.d.ts +0 -4
- package/lib/components/productCard/components/MultiDay/utils.d.ts +0 -14
- package/lib/components/productCard/components/Note/index.d.ts +0 -4
- package/lib/components/productCard/components/Packages/components/collapsibleList/index.d.ts +0 -10
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -4
- package/lib/components/productCard/components/Packages/index.d.ts +0 -4
- package/lib/components/productCard/components/Packages/utils.d.ts +0 -20
- package/lib/components/productCard/components/Sales/index.d.ts +0 -4
- package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -9
- package/lib/components/productCard/components/Time/index.d.ts +0 -4
- package/lib/components/productCard/hooks/useOpenNote.d.ts +0 -3
- package/lib/components/productCard/index.d.ts +0 -5
- package/lib/components/productCard/locales.d.ts +0 -45
- package/lib/components/productCard/status.d.ts +0 -32
- package/lib/components/productCard/types.d.ts +0 -78
- package/lib/components/productCard/utils.d.ts +0 -31
- package/lib/components/section-footers/index.d.ts +0 -9
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -8
- package/lib/components/table/Actions/component/ExportImport/utils/index.d.ts +0 -9
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
- package/lib/components/table/Gallery/index.d.ts +0 -5
- package/lib/components/table/Table/index.d.ts +0 -4
- package/lib/components/table/Table/utils.d.ts +0 -173
- package/lib/components/table/hooks/useTableSetting.d.ts +0 -22
- package/lib/components/table/hooks/useTransDataSource.d.ts +0 -12
- package/lib/components/table/types.d.ts +0 -253
- package/lib/index.d.ts +0 -141
- package/lib/locales/en-US.d.ts +0 -241
- package/lib/locales/index.d.ts +0 -1
- package/lib/locales/zh-CN.d.ts +0 -236
- package/lib/locales/zh-TW.d.ts +0 -236
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import React, { useEffect } from 'react';
|
|
8
8
|
import classNames from 'classnames';
|
|
9
9
|
import Iconfont from "../iconfont";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import React, { useMemo } from 'react';
|
|
8
8
|
import classNames from 'classnames';
|
|
9
9
|
import Divider from "../Divider";
|
|
@@ -14,7 +14,7 @@ import "./index.less";
|
|
|
14
14
|
import { formatDateRanges } from "./utils";
|
|
15
15
|
var prefix = 'pisell-lowcode-';
|
|
16
16
|
var MultiDay = function MultiDay(_ref) {
|
|
17
|
-
var _context$appHelper
|
|
17
|
+
var _context$appHelper;
|
|
18
18
|
var dataSource = _ref.dataSource,
|
|
19
19
|
hideDivider = _ref.hideDivider;
|
|
20
20
|
var items = dataSource.items,
|
|
@@ -24,7 +24,7 @@ var MultiDay = function MultiDay(_ref) {
|
|
|
24
24
|
return '';
|
|
25
25
|
};
|
|
26
26
|
var context = useEngineContext();
|
|
27
|
-
translationOriginal = context === null || context === void 0
|
|
27
|
+
translationOriginal = context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.translationOriginal;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* @title: 商品单价 + 套餐价格
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import dayjs from 'dayjs';
|
|
8
8
|
|
|
9
9
|
// 定义输入数据的接口
|
|
10
10
|
|
|
11
|
+
// 定义输出数据的接口
|
|
12
|
+
|
|
11
13
|
export function formatDateRanges(list) {
|
|
12
14
|
var result = [];
|
|
13
15
|
var currentGroup = null;
|
|
@@ -6,7 +6,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
6
6
|
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."); }
|
|
7
7
|
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); }
|
|
8
8
|
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; }
|
|
9
|
-
function _iterableToArrayLimit(
|
|
9
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
10
10
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
11
|
import React, { useState, useMemo } from 'react';
|
|
12
12
|
import { locales } from '@pisell/utils';
|
|
@@ -6,12 +6,12 @@ import { _formatAmount } from "../../utils";
|
|
|
6
6
|
import Options from "../options";
|
|
7
7
|
var prefix = 'pisell-lowcode-';
|
|
8
8
|
export var renderBundles = function renderBundles(item, hidePrice, isShowPackageNote) {
|
|
9
|
-
var _context$appHelper
|
|
9
|
+
var _context$appHelper;
|
|
10
10
|
var translationOriginal = function translationOriginal(text) {
|
|
11
11
|
return '';
|
|
12
12
|
};
|
|
13
13
|
var context = useEngineContext();
|
|
14
|
-
translationOriginal = context === null || context === void 0
|
|
14
|
+
translationOriginal = context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.translationOriginal;
|
|
15
15
|
var title = item.title,
|
|
16
16
|
name = item.name,
|
|
17
17
|
id = item.id,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import Divider from "../Divider";
|
|
9
9
|
import { locales } from '@pisell/utils';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import CollapsibleList from "../Packages/components/collapsibleList";
|
|
9
9
|
import { renderBundles } from "../Packages/components/collapsibleList/utils";
|
|
@@ -19,7 +19,7 @@ var Like = function Like(_ref) {
|
|
|
19
19
|
}
|
|
20
20
|
e.preventDefault();
|
|
21
21
|
e.stopPropagation();
|
|
22
|
-
onLike === null || onLike === void 0
|
|
22
|
+
onLike === null || onLike === void 0 || onLike(status === 'like' ? 'common' : 'like');
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
import React, { useMemo } from 'react';
|
|
8
8
|
import { getServiceTime } from "../../utils";
|
|
9
9
|
import Divider from "../Divider";
|
|
@@ -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(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import React, { useState, forwardRef, useImperativeHandle } from 'react';
|
|
8
8
|
import { locales, isMobile } from '@pisell/utils';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
var _excluded = ["dataSource", "isShowImage", "isShowHolder", "isShowNote", "isShowDelete", "isShowPackageNote", "onAction", "onDelete", "onNote", "onLike", "onCard"];
|
|
3
|
-
function ownKeys(
|
|
4
|
-
function _objectSpread(
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
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); }
|
|
6
6
|
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; }
|
|
7
|
-
function _toPropertyKey(
|
|
8
|
-
function _toPrimitive(
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
8
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
9
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
10
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
11
11
|
import React, { useMemo, useRef } from 'react';
|
|
@@ -28,7 +28,7 @@ import { defaultValue } from "./status";
|
|
|
28
28
|
import useEngineContext from "../../hooks/useEngineContext";
|
|
29
29
|
import "./index.less";
|
|
30
30
|
var ProductCard = function ProductCard(props) {
|
|
31
|
-
var _utils$storage,
|
|
31
|
+
var _utils$storage, _dataSource$items;
|
|
32
32
|
var context = useEngineContext();
|
|
33
33
|
var utils = context.appHelper.utils || {};
|
|
34
34
|
var _props$dataSource = props.dataSource,
|
|
@@ -50,7 +50,7 @@ var ProductCard = function ProductCard(props) {
|
|
|
50
50
|
onCard = props.onCard,
|
|
51
51
|
other = _objectWithoutProperties(props, _excluded);
|
|
52
52
|
var useOpenNoteRef = useRef();
|
|
53
|
-
var locale = (utils === null || utils === void 0
|
|
53
|
+
var locale = (utils === null || utils === void 0 || (_utils$storage = utils.storage) === null || _utils$storage === void 0 ? void 0 : _utils$storage.get('umi_locale')) || localStorage.getItem('umi_locale');
|
|
54
54
|
locales.init(localeTexts, locale || 'en');
|
|
55
55
|
console.log(dataSource, isShowImage, isShowNote, 'dataSource');
|
|
56
56
|
var image = dataSource.image,
|
|
@@ -94,13 +94,13 @@ var ProductCard = function ProductCard(props) {
|
|
|
94
94
|
return _onDelete === null || _onDelete === void 0 ? void 0 : _onDelete(dataSource);
|
|
95
95
|
}
|
|
96
96
|
})), /*#__PURE__*/React.createElement(CardPro, {
|
|
97
|
-
className: classNames('pisell-lowcode-product-card', (
|
|
97
|
+
className: classNames('pisell-lowcode-product-card', _defineProperty(_defineProperty({}, 'pisell-lowcode-product-card-image', !showImage), 'pisell-lowcode-normal-product-card', !showImage && isNormalProduct)),
|
|
98
98
|
key: _id
|
|
99
99
|
}, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
100
100
|
onClick: function onClick(e) {
|
|
101
101
|
e.preventDefault();
|
|
102
102
|
e.stopPropagation();
|
|
103
|
-
onCard === null || onCard === void 0
|
|
103
|
+
onCard === null || onCard === void 0 || onCard(dataSource);
|
|
104
104
|
}
|
|
105
105
|
}, /*#__PURE__*/React.createElement(Header, _extends({}, other, {
|
|
106
106
|
item: dataSource,
|
|
@@ -108,7 +108,7 @@ var ProductCard = function ProductCard(props) {
|
|
|
108
108
|
isShowDelete: isShowDelete,
|
|
109
109
|
showImage: showImage,
|
|
110
110
|
onDelete: function onDelete() {
|
|
111
|
-
_onDelete === null || _onDelete === void 0
|
|
111
|
+
_onDelete === null || _onDelete === void 0 || _onDelete(dataSource);
|
|
112
112
|
}
|
|
113
113
|
})), /*#__PURE__*/React.createElement(Time, {
|
|
114
114
|
item: dataSource,
|
|
@@ -149,7 +149,7 @@ var ProductCard = function ProductCard(props) {
|
|
|
149
149
|
}) : null), /*#__PURE__*/React.createElement(UseOpenNote, {
|
|
150
150
|
ref: useOpenNoteRef,
|
|
151
151
|
onNoteChange: function onNoteChange(e) {
|
|
152
|
-
onNote === null || onNote === void 0
|
|
152
|
+
onNote === null || onNote === void 0 || onNote(_objectSpread(_objectSpread({}, dataSource), {}, {
|
|
153
153
|
note: e || ''
|
|
154
154
|
}));
|
|
155
155
|
}
|
|
@@ -58,7 +58,7 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
|
|
|
58
58
|
if (!dayjs(currentDate).isValid()) return '';
|
|
59
59
|
var context = useEngineContext();
|
|
60
60
|
var utils = context.appHelper.utils || {};
|
|
61
|
-
var locale = (item === null || item === void 0 ? void 0 : item.locale) || (utils === null || utils === void 0
|
|
61
|
+
var locale = (item === null || item === void 0 ? void 0 : item.locale) || (utils === null || utils === void 0 || (_utils$storage = utils.storage) === null || _utils$storage === void 0 ? void 0 : _utils$storage.get('umi_locale')) || 'en-US';
|
|
62
62
|
var isEn = locale === 'en-US' || locale === 'en';
|
|
63
63
|
var localeTypes = {
|
|
64
64
|
'en-US': 'en',
|
|
@@ -72,9 +72,9 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
|
|
|
72
72
|
var _format = isEn ? 'ddd, DD/MM/YYYY' : 'YYYY-MM-DD,ddd';
|
|
73
73
|
|
|
74
74
|
// 是否自定义格式
|
|
75
|
-
if (item !== null && item !== void 0 && item.hasOwnProperty('format') && (item === null || item === void 0
|
|
75
|
+
if (item !== null && item !== void 0 && item.hasOwnProperty('format') && (item === null || item === void 0 || (_item$format = item.format) === null || _item$format === void 0 ? void 0 : _item$format.length) > 0) {
|
|
76
76
|
var _item$format2, _item$format3;
|
|
77
|
-
_format = isEn ? item === null || item === void 0
|
|
77
|
+
_format = isEn ? item === null || item === void 0 || (_item$format2 = item.format) === null || _item$format2 === void 0 ? void 0 : _item$format2[0] : item === null || item === void 0 || (_item$format3 = item.format) === null || _item$format3 === void 0 ? void 0 : _item$format3[1];
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
// 是否显示时间
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
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(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
8
8
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread 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); }
|
|
@@ -47,7 +47,7 @@ var ProfileMenu = function ProfileMenu(_ref) {
|
|
|
47
47
|
}, []);
|
|
48
48
|
var handleClick = function handleClick(e) {
|
|
49
49
|
e.preventDefault();
|
|
50
|
-
onClick === null || onClick === void 0
|
|
50
|
+
onClick === null || onClick === void 0 || onClick();
|
|
51
51
|
};
|
|
52
52
|
var renderAvatar = function renderAvatar(avatarProps) {
|
|
53
53
|
return /*#__PURE__*/React.createElement(PisellAvatar, {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const QRCode: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const QRCode: (props: any) => JSX.Element;
|
|
3
3
|
export default QRCode;
|
|
@@ -3,7 +3,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
3
3
|
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."); }
|
|
4
4
|
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); }
|
|
5
5
|
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; }
|
|
6
|
-
function _iterableToArrayLimit(
|
|
6
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
7
7
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
8
|
import React, { useMemo } from "react";
|
|
9
9
|
import { QRCode as AntQRCode, Modal } from "antd";
|
|
@@ -4,7 +4,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
4
4
|
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."); }
|
|
5
5
|
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); }
|
|
6
6
|
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; }
|
|
7
|
-
function _iterableToArrayLimit(
|
|
7
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
8
8
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
9
9
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
10
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { SegmentedProps } from "antd";
|
|
3
3
|
import "./index.less";
|
|
4
|
-
declare const Segmented: (props: SegmentedProps) =>
|
|
4
|
+
declare const Segmented: (props: SegmentedProps) => JSX.Element;
|
|
5
5
|
export default Segmented;
|
|
@@ -3,7 +3,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
3
3
|
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."); }
|
|
4
4
|
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); }
|
|
5
5
|
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; }
|
|
6
|
-
function _iterableToArrayLimit(
|
|
6
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
7
7
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
8
|
import React, { useCallback, useMemo, useRef, forwardRef, useState } from 'react';
|
|
9
9
|
import { Checkbox, Divider, Select as OriginalSelect, Input } from 'antd';
|
|
@@ -63,21 +63,21 @@ var SelectBase = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
63
63
|
if (platform === 'pc') {
|
|
64
64
|
setTimeout(function () {
|
|
65
65
|
var _searchInputRef$curre;
|
|
66
|
-
(_searchInputRef$curre = searchInputRef.current) === null || _searchInputRef$curre === void 0
|
|
66
|
+
(_searchInputRef$curre = searchInputRef.current) === null || _searchInputRef$curre === void 0 || _searchInputRef$curre.focus();
|
|
67
67
|
}, 200);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
onDropdownVisibleChange === null || onDropdownVisibleChange === void 0
|
|
70
|
+
onDropdownVisibleChange === null || onDropdownVisibleChange === void 0 || onDropdownVisibleChange(visible);
|
|
71
71
|
});
|
|
72
72
|
var isShowSelectAll = useMemo(function () {
|
|
73
73
|
return mode === 'multiple' && isShowDropdown && selectAll;
|
|
74
74
|
}, [mode, selectAll, isShowDropdown]);
|
|
75
75
|
var checkboxChecked = useMemo(function () {
|
|
76
|
-
var _state$sort, _filteredOptions$map
|
|
76
|
+
var _state$sort, _filteredOptions$map;
|
|
77
77
|
if (mode !== 'multiple') return false;
|
|
78
|
-
return (state === null || state === void 0 ? void 0 : state.length) === (filteredOptions === null || filteredOptions === void 0 ? void 0 : filteredOptions.length) && (state === null || state === void 0
|
|
78
|
+
return (state === null || state === void 0 ? void 0 : state.length) === (filteredOptions === null || filteredOptions === void 0 ? void 0 : filteredOptions.length) && (state === null || state === void 0 || (_state$sort = state.sort()) === null || _state$sort === void 0 ? void 0 : _state$sort.join('')) === (filteredOptions === null || filteredOptions === void 0 || (_filteredOptions$map = filteredOptions.map(function (item) {
|
|
79
79
|
return item.value;
|
|
80
|
-
})) === null || _filteredOptions$map === void 0
|
|
80
|
+
})) === null || _filteredOptions$map === void 0 || (_filteredOptions$map = _filteredOptions$map.sort()) === null || _filteredOptions$map === void 0 ? void 0 : _filteredOptions$map.join(''));
|
|
81
81
|
}, [state, filteredOptions]);
|
|
82
82
|
var dropdownRender = useCallback(propsDropdownRender ? propsDropdownRender : function (originNode) {
|
|
83
83
|
return /*#__PURE__*/React.createElement(React.Fragment, null, showSearch && /*#__PURE__*/React.createElement(Input, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import './index.less';
|
|
3
3
|
interface RightPanelProps {
|
|
4
4
|
value: string;
|
|
5
5
|
onChange: (value: string) => void;
|
|
6
6
|
slice: number;
|
|
7
7
|
}
|
|
8
|
-
declare const RightPanel: (props: RightPanelProps) =>
|
|
8
|
+
declare const RightPanel: (props: RightPanelProps) => JSX.Element;
|
|
9
9
|
export default RightPanel;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time";
|
|
3
3
|
import { PopoverProps, TimePickerProps } from "antd";
|
|
4
4
|
import "./index.less";
|
|
@@ -10,5 +10,5 @@ interface SelectTimeProps {
|
|
|
10
10
|
timeProps: VirtualKeyboardTimeProps;
|
|
11
11
|
slice: number;
|
|
12
12
|
}
|
|
13
|
-
declare const SelectTime: (props: SelectTimeProps) =>
|
|
13
|
+
declare const SelectTime: (props: SelectTimeProps) => JSX.Element;
|
|
14
14
|
export default SelectTime;
|
|
@@ -3,7 +3,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
3
3
|
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."); }
|
|
4
4
|
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); }
|
|
5
5
|
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; }
|
|
6
|
-
function _iterableToArrayLimit(
|
|
6
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
7
7
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
8
|
import React, { useState, useMemo, useEffect } from "react";
|
|
9
9
|
import Time from "../virtual-keyboard/Time";
|
|
@@ -70,7 +70,7 @@ var SelectTime = function SelectTime(props) {
|
|
|
70
70
|
if (_val === value) {
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
|
-
onChange === null || onChange === void 0
|
|
73
|
+
onChange === null || onChange === void 0 || onChange(_val);
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SliderOuter: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const SliderOuter: (props: any) => JSX.Element;
|
|
3
3
|
export default SliderOuter;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { MenuProps } from "antd";
|
|
3
3
|
import "./index.less";
|
|
4
4
|
interface InlineMenuProps {
|
|
@@ -11,5 +11,5 @@ interface InlineMenuProps {
|
|
|
11
11
|
* @param props
|
|
12
12
|
* @constructor
|
|
13
13
|
*/
|
|
14
|
-
declare const InlineMenu: (props: InlineMenuProps) =>
|
|
14
|
+
declare const InlineMenu: (props: InlineMenuProps) => JSX.Element;
|
|
15
15
|
export default InlineMenu;
|
|
@@ -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(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import React, { useMemo } from "react";
|
|
8
8
|
import { Menu, Divider } from "antd";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
function _typeof(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
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; }
|
|
3
|
-
function _toPropertyKey(
|
|
4
|
-
function _toPrimitive(
|
|
3
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
4
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
5
5
|
import React, { useMemo } from 'react';
|
|
6
6
|
import { Button, Dropdown, Popover } from 'antd';
|
|
7
7
|
import classNames from 'classnames';
|
|
@@ -96,10 +96,10 @@ var Sort = function Sort(_ref2) {
|
|
|
96
96
|
var onClick = function onClick(detail) {
|
|
97
97
|
var _detail$keyPath, _detail$keyPath2;
|
|
98
98
|
if (((_detail$keyPath = detail.keyPath) === null || _detail$keyPath === void 0 ? void 0 : _detail$keyPath[0]) === value) {
|
|
99
|
-
onChange === null || onChange === void 0
|
|
99
|
+
onChange === null || onChange === void 0 || onChange('', detail);
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
|
-
onChange === null || onChange === void 0
|
|
102
|
+
onChange === null || onChange === void 0 || onChange(detail === null || detail === void 0 || (_detail$keyPath2 = detail.keyPath) === null || _detail$keyPath2 === void 0 ? void 0 : _detail$keyPath2[0], detail);
|
|
103
103
|
};
|
|
104
104
|
var isMobileBool = isMobile();
|
|
105
105
|
var btnContent = useMemo(function () {
|