bitz-react-admin-ui 2.10.6 → 2.10.7-beta.2
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/dist/_virtual/dayjs.min.mjs +2 -5
- package/dist/components/BitzAddTag/index.mjs +7 -7
- package/dist/components/BitzAddressBook/index.mjs +18 -19
- package/dist/components/BitzCalendar/index.mjs +1 -1
- package/dist/components/BitzCascader/BitzCascaderMobile.mjs +1 -1
- package/dist/components/BitzCollapse/index.mjs +4 -5
- package/dist/components/BitzConfigProvider/index.mjs +5 -5
- package/dist/components/BitzConfirmModal/index.mjs +10 -10
- package/dist/components/BitzDayJs/index.mjs +1 -1
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarBody.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +28 -31
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
- package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +17 -21
- package/dist/components/BitzFullScreen/index.mjs +11 -12
- package/dist/components/BitzImage/previewImage.mjs +4 -4
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
- package/dist/components/BitzMeetingTime/index.mjs +1 -1
- package/dist/components/BitzModal/index.mjs +1 -1
- package/dist/components/BitzOrganizationSelection/index.mjs +13 -14
- package/dist/components/BitzPageHeader/index.mjs +10 -11
- package/dist/components/BitzQueryFilter/index.mjs +6 -6
- package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +6 -6
- package/dist/components/BitzTable/ActionBar/ActionBar.mjs +21 -22
- package/dist/components/BitzTable/ActionBar/Button.mjs +6 -6
- package/dist/components/BitzTable/SelectionBar/Button.mjs +8 -8
- package/dist/components/BitzTable/Store/index.mjs +30 -28
- package/dist/components/BitzTable/SubTable/index.mjs +4 -4
- package/dist/components/BitzTable/Table/SortableRow.mjs +8 -8
- package/dist/components/BitzTable/Table/index.mjs +43 -43
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +54 -53
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +5 -5
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +80 -83
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +17 -17
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +17 -17
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +11 -11
- package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +11 -11
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +10 -10
- package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +14 -15
- package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +6 -6
- package/dist/components/BitzTableSelect/SelectPopup/index.mjs +27 -28
- package/dist/components/BitzTableSelect/TableCell/index.mjs +7 -7
- package/dist/components/BitzText/index.mjs +24 -25
- package/dist/components/BitzTimer/Timer.mjs +27 -31
- package/dist/components/BitzTimer/index.mjs +27 -30
- package/dist/components/BitzUpload/index.mjs +19 -20
- package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +4 -4
- package/dist/node_modules/dayjs/dayjs.min.mjs +292 -292
- package/dist/node_modules/dayjs/locale/zh-cn.mjs +13 -13
- package/dist/node_modules/react-resizable/index.mjs +1 -1
- package/dist/node_modules/use-sync-external-store/shim/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/WithFluent.mjs +4 -5
- package/dist/utils/time.mjs +1 -1
- package/package.json +5 -1
- package/dist/_virtual/dayjs.min2.mjs +0 -4
- package/dist/node_modules/@ant-design/icons/es/icons/AlignCenterOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/AppstoreOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CaretDownFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CopyOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/EditOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/FullscreenExitOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/FullscreenOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/MenuFoldOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/MenuOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/MenuUnfoldOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/PauseCircleFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/PlayCircleFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/PlusCircleFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/PlusOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/ReloadOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/SettingFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/SwapRightOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/UploadOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons-svg/es/asn/AlignCenterOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/AppstoreOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowRightOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenExitOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuFoldOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuUnfoldOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PauseCircleFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlayCircleFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusCircleFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RedoOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SwapRightOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.mjs +0 -5
- package/dist/node_modules/lodash-es/_DataView.mjs +0 -7
- package/dist/node_modules/lodash-es/_Hash.mjs +0 -20
- package/dist/node_modules/lodash-es/_ListCache.mjs +0 -20
- package/dist/node_modules/lodash-es/_Map.mjs +0 -7
- package/dist/node_modules/lodash-es/_MapCache.mjs +0 -20
- package/dist/node_modules/lodash-es/_Promise.mjs +0 -7
- package/dist/node_modules/lodash-es/_Set.mjs +0 -7
- package/dist/node_modules/lodash-es/_SetCache.mjs +0 -13
- package/dist/node_modules/lodash-es/_Stack.mjs +0 -18
- package/dist/node_modules/lodash-es/_Symbol.mjs +0 -6
- package/dist/node_modules/lodash-es/_Uint8Array.mjs +0 -6
- package/dist/node_modules/lodash-es/_WeakMap.mjs +0 -7
- package/dist/node_modules/lodash-es/_apply.mjs +0 -16
- package/dist/node_modules/lodash-es/_arrayEach.mjs +0 -8
- package/dist/node_modules/lodash-es/_arrayFilter.mjs +0 -10
- package/dist/node_modules/lodash-es/_arrayIncludes.mjs +0 -8
- package/dist/node_modules/lodash-es/_arrayIncludesWith.mjs +0 -9
- package/dist/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -20
- package/dist/node_modules/lodash-es/_arrayMap.mjs +0 -8
- package/dist/node_modules/lodash-es/_arrayPush.mjs +0 -8
- package/dist/node_modules/lodash-es/_arraySome.mjs +0 -9
- package/dist/node_modules/lodash-es/_assignMergeValue.mjs +0 -8
- package/dist/node_modules/lodash-es/_assignValue.mjs +0 -10
- package/dist/node_modules/lodash-es/_assocIndexOf.mjs +0 -10
- package/dist/node_modules/lodash-es/_baseAssign.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseAssignIn.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseAssignValue.mjs +0 -12
- package/dist/node_modules/lodash-es/_baseAt.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseClone.mjs +0 -65
- package/dist/node_modules/lodash-es/_baseCreate.mjs +0 -18
- package/dist/node_modules/lodash-es/_baseFindIndex.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseFlatten.mjs +0 -13
- package/dist/node_modules/lodash-es/_baseFor.mjs +0 -6
- package/dist/node_modules/lodash-es/_baseForOwn.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseGet.mjs +0 -11
- package/dist/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseGetTag.mjs +0 -10
- package/dist/node_modules/lodash-es/_baseHasIn.mjs +0 -6
- package/dist/node_modules/lodash-es/_baseIndexOf.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseIsArguments.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseIsEqual.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseIsEqualDeep.mjs +0 -32
- package/dist/node_modules/lodash-es/_baseIsMap.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseIsMatch.mjs +0 -31
- package/dist/node_modules/lodash-es/_baseIsNaN.mjs +0 -6
- package/dist/node_modules/lodash-es/_baseIsNative.mjs +0 -16
- package/dist/node_modules/lodash-es/_baseIsSet.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -12
- package/dist/node_modules/lodash-es/_baseIteratee.mjs +0 -11
- package/dist/node_modules/lodash-es/_baseKeys.mjs +0 -14
- package/dist/node_modules/lodash-es/_baseKeysIn.mjs +0 -15
- package/dist/node_modules/lodash-es/_baseMatches.mjs +0 -12
- package/dist/node_modules/lodash-es/_baseMatchesProperty.mjs +0 -17
- package/dist/node_modules/lodash-es/_baseMerge.mjs +0 -20
- package/dist/node_modules/lodash-es/_baseMergeDeep.mjs +0 -31
- package/dist/node_modules/lodash-es/_baseProperty.mjs +0 -8
- package/dist/node_modules/lodash-es/_basePropertyDeep.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseRest.mjs +0 -9
- package/dist/node_modules/lodash-es/_baseSetToString.mjs +0 -15
- package/dist/node_modules/lodash-es/_baseSlice.mjs +0 -10
- package/dist/node_modules/lodash-es/_baseTimes.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseToString.mjs +0 -18
- package/dist/node_modules/lodash-es/_baseUnary.mjs +0 -8
- package/dist/node_modules/lodash-es/_baseUniq.mjs +0 -34
- package/dist/node_modules/lodash-es/_baseUnset.mjs +0 -10
- package/dist/node_modules/lodash-es/_cacheHas.mjs +0 -6
- package/dist/node_modules/lodash-es/_castPath.mjs +0 -10
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -8
- package/dist/node_modules/lodash-es/_cloneBuffer.mjs +0 -11
- package/dist/node_modules/lodash-es/_cloneDataView.mjs +0 -8
- package/dist/node_modules/lodash-es/_cloneRegExp.mjs +0 -8
- package/dist/node_modules/lodash-es/_cloneSymbol.mjs +0 -8
- package/dist/node_modules/lodash-es/_cloneTypedArray.mjs +0 -8
- package/dist/node_modules/lodash-es/_copyArray.mjs +0 -9
- package/dist/node_modules/lodash-es/_copyObject.mjs +0 -14
- package/dist/node_modules/lodash-es/_copySymbols.mjs +0 -8
- package/dist/node_modules/lodash-es/_copySymbolsIn.mjs +0 -8
- package/dist/node_modules/lodash-es/_coreJsData.mjs +0 -6
- package/dist/node_modules/lodash-es/_createAssigner.mjs +0 -15
- package/dist/node_modules/lodash-es/_createBaseFor.mjs +0 -13
- package/dist/node_modules/lodash-es/_createSet.mjs +0 -10
- package/dist/node_modules/lodash-es/_customOmitClone.mjs +0 -7
- package/dist/node_modules/lodash-es/_defineProperty.mjs +0 -12
- package/dist/node_modules/lodash-es/_equalArrays.mjs +0 -40
- package/dist/node_modules/lodash-es/_equalByTag.mjs +0 -45
- package/dist/node_modules/lodash-es/_equalObjects.mjs +0 -36
- package/dist/node_modules/lodash-es/_flatRest.mjs +0 -9
- package/dist/node_modules/lodash-es/_freeGlobal.mjs +0 -5
- package/dist/node_modules/lodash-es/_getAllKeys.mjs +0 -9
- package/dist/node_modules/lodash-es/_getAllKeysIn.mjs +0 -9
- package/dist/node_modules/lodash-es/_getMapData.mjs +0 -8
- package/dist/node_modules/lodash-es/_getMatchData.mjs +0 -12
- package/dist/node_modules/lodash-es/_getNative.mjs +0 -9
- package/dist/node_modules/lodash-es/_getPrototype.mjs +0 -6
- package/dist/node_modules/lodash-es/_getRawTag.mjs +0 -15
- package/dist/node_modules/lodash-es/_getSymbols.mjs +0 -11
- package/dist/node_modules/lodash-es/_getSymbolsIn.mjs +0 -13
- package/dist/node_modules/lodash-es/_getTag.mjs +0 -29
- package/dist/node_modules/lodash-es/_getValue.mjs +0 -6
- package/dist/node_modules/lodash-es/_hasPath.mjs +0 -19
- package/dist/node_modules/lodash-es/_hashClear.mjs +0 -7
- package/dist/node_modules/lodash-es/_hashDelete.mjs +0 -7
- package/dist/node_modules/lodash-es/_hashGet.mjs +0 -13
- package/dist/node_modules/lodash-es/_hashHas.mjs +0 -9
- package/dist/node_modules/lodash-es/_hashSet.mjs +0 -9
- package/dist/node_modules/lodash-es/_initCloneArray.mjs +0 -8
- package/dist/node_modules/lodash-es/_initCloneByTag.mjs +0 -42
- package/dist/node_modules/lodash-es/_initCloneObject.mjs +0 -9
- package/dist/node_modules/lodash-es/_isFlattenable.mjs +0 -10
- package/dist/node_modules/lodash-es/_isIndex.mjs +0 -8
- package/dist/node_modules/lodash-es/_isIterateeCall.mjs +0 -13
- package/dist/node_modules/lodash-es/_isKey.mjs +0 -12
- package/dist/node_modules/lodash-es/_isKeyable.mjs +0 -7
- package/dist/node_modules/lodash-es/_isMasked.mjs +0 -11
- package/dist/node_modules/lodash-es/_isPrototype.mjs +0 -8
- package/dist/node_modules/lodash-es/_isStrictComparable.mjs +0 -7
- package/dist/node_modules/lodash-es/_listCacheClear.mjs +0 -6
- package/dist/node_modules/lodash-es/_listCacheDelete.mjs +0 -12
- package/dist/node_modules/lodash-es/_listCacheGet.mjs +0 -8
- package/dist/node_modules/lodash-es/_listCacheHas.mjs +0 -7
- package/dist/node_modules/lodash-es/_listCacheSet.mjs +0 -8
- package/dist/node_modules/lodash-es/_mapCacheClear.mjs +0 -13
- package/dist/node_modules/lodash-es/_mapCacheDelete.mjs +0 -8
- package/dist/node_modules/lodash-es/_mapCacheGet.mjs +0 -7
- package/dist/node_modules/lodash-es/_mapCacheHas.mjs +0 -7
- package/dist/node_modules/lodash-es/_mapCacheSet.mjs +0 -8
- package/dist/node_modules/lodash-es/_mapToArray.mjs +0 -9
- package/dist/node_modules/lodash-es/_matchesStrictComparable.mjs +0 -8
- package/dist/node_modules/lodash-es/_memoizeCapped.mjs +0 -11
- package/dist/node_modules/lodash-es/_nativeCreate.mjs +0 -6
- package/dist/node_modules/lodash-es/_nativeKeys.mjs +0 -6
- package/dist/node_modules/lodash-es/_nativeKeysIn.mjs +0 -10
- package/dist/node_modules/lodash-es/_nodeUtil.mjs +0 -12
- package/dist/node_modules/lodash-es/_objectToString.mjs +0 -7
- package/dist/node_modules/lodash-es/_overArg.mjs +0 -8
- package/dist/node_modules/lodash-es/_overRest.mjs +0 -15
- package/dist/node_modules/lodash-es/_parent.mjs +0 -8
- package/dist/node_modules/lodash-es/_root.mjs +0 -6
- package/dist/node_modules/lodash-es/_safeGet.mjs +0 -7
- package/dist/node_modules/lodash-es/_setCacheAdd.mjs +0 -7
- package/dist/node_modules/lodash-es/_setCacheHas.mjs +0 -6
- package/dist/node_modules/lodash-es/_setToArray.mjs +0 -9
- package/dist/node_modules/lodash-es/_setToString.mjs +0 -7
- package/dist/node_modules/lodash-es/_shortOut.mjs +0 -16
- package/dist/node_modules/lodash-es/_stackClear.mjs +0 -7
- package/dist/node_modules/lodash-es/_stackDelete.mjs +0 -7
- package/dist/node_modules/lodash-es/_stackGet.mjs +0 -6
- package/dist/node_modules/lodash-es/_stackHas.mjs +0 -6
- package/dist/node_modules/lodash-es/_stackSet.mjs +0 -17
- package/dist/node_modules/lodash-es/_strictIndexOf.mjs +0 -9
- package/dist/node_modules/lodash-es/_stringToPath.mjs +0 -11
- package/dist/node_modules/lodash-es/_toKey.mjs +0 -11
- package/dist/node_modules/lodash-es/_toSource.mjs +0 -17
- package/dist/node_modules/lodash-es/at.mjs +0 -7
- package/dist/node_modules/lodash-es/constant.mjs +0 -8
- package/dist/node_modules/lodash-es/eq.mjs +0 -6
- package/dist/node_modules/lodash-es/flatten.mjs +0 -8
- package/dist/node_modules/lodash-es/get.mjs +0 -8
- package/dist/node_modules/lodash-es/hasIn.mjs +0 -8
- package/dist/node_modules/lodash-es/identity.mjs +0 -6
- package/dist/node_modules/lodash-es/isArguments.mjs +0 -11
- package/dist/node_modules/lodash-es/isArray.mjs +0 -5
- package/dist/node_modules/lodash-es/isArrayLike.mjs +0 -8
- package/dist/node_modules/lodash-es/isArrayLikeObject.mjs +0 -8
- package/dist/node_modules/lodash-es/isBoolean.mjs +0 -9
- package/dist/node_modules/lodash-es/isBuffer.mjs +0 -7
- package/dist/node_modules/lodash-es/isFunction.mjs +0 -12
- package/dist/node_modules/lodash-es/isLength.mjs +0 -7
- package/dist/node_modules/lodash-es/isMap.mjs +0 -8
- package/dist/node_modules/lodash-es/isObject.mjs +0 -7
- package/dist/node_modules/lodash-es/isObjectLike.mjs +0 -6
- package/dist/node_modules/lodash-es/isPlainObject.mjs +0 -16
- package/dist/node_modules/lodash-es/isSet.mjs +0 -8
- package/dist/node_modules/lodash-es/isSymbol.mjs +0 -9
- package/dist/node_modules/lodash-es/isTypedArray.mjs +0 -8
- package/dist/node_modules/lodash-es/keys.mjs +0 -9
- package/dist/node_modules/lodash-es/keysIn.mjs +0 -9
- package/dist/node_modules/lodash-es/last.mjs +0 -7
- package/dist/node_modules/lodash-es/mapValues.mjs +0 -12
- package/dist/node_modules/lodash-es/memoize.mjs +0 -18
- package/dist/node_modules/lodash-es/merge.mjs +0 -9
- package/dist/node_modules/lodash-es/noop.mjs +0 -5
- package/dist/node_modules/lodash-es/omit.mjs +0 -24
- package/dist/node_modules/lodash-es/property.mjs +0 -10
- package/dist/node_modules/lodash-es/stubArray.mjs +0 -6
- package/dist/node_modules/lodash-es/stubFalse.mjs +0 -6
- package/dist/node_modules/lodash-es/toPlainObject.mjs +0 -8
- package/dist/node_modules/lodash-es/toString.mjs +0 -7
- package/dist/node_modules/lodash-es/uniq.mjs +0 -7
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import { j as r } from "../../../../../node_modules/react/jsx-runtime.mjs";
|
|
2
|
+
import { RedoOutlined as se } from "@ant-design/icons";
|
|
2
3
|
import { css as Se } from "../../../../../node_modules/@emotion/css/dist/emotion-css.esm.mjs";
|
|
3
|
-
import { theme as Le, Flex as F, Alert as ve, Typography as q, Space as be, Checkbox as Ke, Button as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { theme as Le, Flex as F, Alert as ve, Typography as q, Space as be, Checkbox as Ke, Button as ne } from "antd";
|
|
5
|
+
import { mapValues as oe, uniq as Re, omit as Ne, merge as Ee } from "lodash-es";
|
|
6
|
+
import { forwardRef as Te, useRef as re, useState as u, useEffect as T, useMemo as v, useContext as Ie, useImperativeHandle as ze, memo as Ae } from "react";
|
|
7
|
+
import { useImmer as He } from "../../../../../node_modules/use-immer/dist/use-immer.module.mjs";
|
|
6
8
|
import "../../../index.mjs";
|
|
7
|
-
import { columnSort as
|
|
9
|
+
import { columnSort as Fe, genColumnKey as We, updateNestedObject as b, removePropertiesWithoutMutation as $e } from "../../../Store/utils/index.mjs";
|
|
8
10
|
import V from "./DndList.mjs";
|
|
9
|
-
import { BitzTableContext as
|
|
10
|
-
|
|
11
|
-
import We from "../../../../../node_modules/lodash-es/uniq.mjs";
|
|
12
|
-
import $e from "../../../../../node_modules/lodash-es/omit.mjs";
|
|
13
|
-
import Be from "../../../../../node_modules/lodash-es/merge.mjs";
|
|
14
|
-
import re from "../../../../../node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs";
|
|
15
|
-
const De = Re(
|
|
11
|
+
import { BitzTableContext as Be } from "../../../Store/index.mjs";
|
|
12
|
+
const De = Te(
|
|
16
13
|
({ display: y, height: W, postHeight: ce }, ie) => {
|
|
17
|
-
const { token: le } = Le.useToken(), $ =
|
|
14
|
+
const { token: le } = Le.useToken(), $ = re(null), G = re(null), [B, ae] = u("auto"), J = Se`
|
|
18
15
|
&:hover {
|
|
19
16
|
color: ${le.colorPrimary} !important;
|
|
20
17
|
}
|
|
@@ -39,47 +36,47 @@ const De = Re(
|
|
|
39
36
|
left: 0,
|
|
40
37
|
right: 0
|
|
41
38
|
}
|
|
42
|
-
}), [y]), { defaultColumnKeyMap: Q, baseColumns: U, columnsMap: de } =
|
|
39
|
+
}), [y]), { defaultColumnKeyMap: Q, baseColumns: U, columnsMap: de } = Ie(Be), [l, D] = He({});
|
|
43
40
|
T(() => {
|
|
44
|
-
const e =
|
|
41
|
+
const e = oe(Q, (s, t) => ({ ...s, ...de[t] }));
|
|
45
42
|
D(e);
|
|
46
43
|
}, []);
|
|
47
|
-
const X = v(() => ((s, t) => s.map((
|
|
44
|
+
const X = v(() => ((s, t) => s.map((o) => {
|
|
48
45
|
var te;
|
|
49
|
-
const { key:
|
|
50
|
-
|
|
46
|
+
const { key: n, dataIndex: c, children: i, ...g } = o, C = We(
|
|
47
|
+
o,
|
|
51
48
|
[t == null ? void 0 : t.columnKey, g.index].join("-")
|
|
52
|
-
),
|
|
49
|
+
), f = l[C || "null"] || {
|
|
53
50
|
show: !0
|
|
54
51
|
};
|
|
55
52
|
return {
|
|
56
53
|
key: C,
|
|
57
|
-
|
|
54
|
+
...Ne(g, ["className"]),
|
|
58
55
|
selectable: !1,
|
|
59
|
-
disabled:
|
|
60
|
-
disableCheckbox: typeof
|
|
56
|
+
disabled: f.disabled === !0,
|
|
57
|
+
disableCheckbox: typeof f.disabled == "boolean" ? f == null ? void 0 : f.disabled : (te = f == null ? void 0 : f.disabled) == null ? void 0 : te.checkbox,
|
|
61
58
|
isLeaf: t ? !0 : void 0,
|
|
62
|
-
...
|
|
59
|
+
...f
|
|
63
60
|
};
|
|
64
|
-
}))(U ?? []).sort(
|
|
61
|
+
}))(U ?? []).sort(Fe(l)), [l, U]);
|
|
65
62
|
T(() => {
|
|
66
|
-
var
|
|
63
|
+
var o, n;
|
|
67
64
|
const e = {}, s = {}, t = {};
|
|
68
65
|
for (const c in l)
|
|
69
|
-
((
|
|
70
|
-
|
|
66
|
+
((o = l[c]) == null ? void 0 : o.fixed) === "left" ? e[c] = l[c] : ((n = l[c]) == null ? void 0 : n.fixed) === "right" ? s[c] = l[c] : t[c] = l[c];
|
|
67
|
+
m(e), p(s), x(t);
|
|
71
68
|
}, [l]);
|
|
72
|
-
const [w, I] =
|
|
69
|
+
const [w, I] = u([]), [j, K] = u([]), [a, m] = u({}), [M, z] = u([]), [k, R] = u([]), [h, p] = u({}), [N, A] = u([]), [S, E] = u([]), [d, x] = u({});
|
|
73
70
|
T(() => {
|
|
74
|
-
const e = [], s = [], t = [],
|
|
71
|
+
const e = [], s = [], t = [], o = [], n = [], c = [];
|
|
75
72
|
X.forEach((i) => {
|
|
76
|
-
i.fixed === "left" ? (e.push(i), s.push(i.key)) : i.fixed === "right" ? (t.push(i),
|
|
77
|
-
}), I(e), K(s), z(t), R(
|
|
73
|
+
i.fixed === "left" ? (e.push(i), s.push(i.key)) : i.fixed === "right" ? (t.push(i), o.push(i.key)) : (n.push(i), c.push(i.key));
|
|
74
|
+
}), I(e), K(s), z(t), R(o), A(n), E(c);
|
|
78
75
|
}, [X]);
|
|
79
|
-
const Y = [...w, ...M],
|
|
80
|
-
|
|
81
|
-
},
|
|
82
|
-
|
|
76
|
+
const Y = [...w, ...M], ue = Y.length < 8, fe = (e) => {
|
|
77
|
+
m(e);
|
|
78
|
+
}, me = (e, s) => {
|
|
79
|
+
m(e), K(s);
|
|
83
80
|
}, pe = (e) => {
|
|
84
81
|
p(e);
|
|
85
82
|
}, xe = (e, s) => {
|
|
@@ -88,32 +85,32 @@ const De = Re(
|
|
|
88
85
|
x(e);
|
|
89
86
|
}, Ce = (e, s) => {
|
|
90
87
|
x(e), E(s);
|
|
91
|
-
}, Z = (e, s, t,
|
|
92
|
-
const
|
|
88
|
+
}, Z = (e, s, t, o) => {
|
|
89
|
+
const n = { ...s[e] };
|
|
93
90
|
delete s[e], x({
|
|
94
91
|
...d,
|
|
95
|
-
[e]: { ...
|
|
92
|
+
[e]: { ...n, fixed: void 0, order: N.length }
|
|
96
93
|
});
|
|
97
94
|
const c = t.findIndex((C) => C.key === e), i = t.splice(c, 1)[0];
|
|
98
95
|
A([...N, { ...i, fixed: void 0 }]);
|
|
99
|
-
const g =
|
|
100
|
-
return E([...S, ...g]), { map: s, list: t, keys:
|
|
101
|
-
}, _ = (e, s, t,
|
|
102
|
-
const
|
|
103
|
-
delete s[e],
|
|
96
|
+
const g = o.splice(c, 1);
|
|
97
|
+
return E([...S, ...g]), { map: s, list: t, keys: o };
|
|
98
|
+
}, _ = (e, s, t, o) => {
|
|
99
|
+
const n = { ...s[e] };
|
|
100
|
+
delete s[e], m({
|
|
104
101
|
...a,
|
|
105
|
-
[e]: { ...
|
|
102
|
+
[e]: { ...n, fixed: "left", order: w.length, show: !0 }
|
|
106
103
|
});
|
|
107
104
|
const c = t.findIndex((C) => C.key === e), i = t.splice(c, 1)[0];
|
|
108
105
|
I([...w, { ...i, fixed: "left" }]);
|
|
109
|
-
const g =
|
|
110
|
-
return K([...j, ...g]), { map: s, list: t, keys:
|
|
111
|
-
}, ee = (e, s, t,
|
|
112
|
-
const
|
|
106
|
+
const g = o.splice(c, 1);
|
|
107
|
+
return K([...j, ...g]), { map: s, list: t, keys: o };
|
|
108
|
+
}, ee = (e, s, t, o) => {
|
|
109
|
+
const n = { ...s[e] };
|
|
113
110
|
delete s[e], p({
|
|
114
111
|
...h,
|
|
115
112
|
[e]: {
|
|
116
|
-
...
|
|
113
|
+
...n,
|
|
117
114
|
fixed: "right",
|
|
118
115
|
order: M.length,
|
|
119
116
|
show: !0
|
|
@@ -121,80 +118,80 @@ const De = Re(
|
|
|
121
118
|
});
|
|
122
119
|
const c = t.findIndex((C) => C.key === e), i = t.splice(c, 1)[0];
|
|
123
120
|
z([...M, { ...i, fixed: "right" }]);
|
|
124
|
-
const g =
|
|
125
|
-
return R([...k, ...g]), { map: s, list: t, keys:
|
|
121
|
+
const g = o.splice(c, 1);
|
|
122
|
+
return R([...k, ...g]), { map: s, list: t, keys: o };
|
|
126
123
|
}, O = (e, s) => {
|
|
127
124
|
if (s === "left") {
|
|
128
|
-
const { map: t, list:
|
|
125
|
+
const { map: t, list: o, keys: n } = Z(
|
|
129
126
|
e,
|
|
130
127
|
a,
|
|
131
128
|
w,
|
|
132
129
|
j
|
|
133
130
|
);
|
|
134
|
-
|
|
131
|
+
m({ ...t }), I([...o]), K([...n]);
|
|
135
132
|
} else if (s === "center") {
|
|
136
|
-
const { map: t, list:
|
|
133
|
+
const { map: t, list: o, keys: n } = _(
|
|
137
134
|
e,
|
|
138
135
|
d,
|
|
139
136
|
N,
|
|
140
137
|
S
|
|
141
138
|
);
|
|
142
|
-
x({ ...t }), A([...
|
|
139
|
+
x({ ...t }), A([...o]), E([...n]);
|
|
143
140
|
} else {
|
|
144
|
-
const { map: t, list:
|
|
141
|
+
const { map: t, list: o, keys: n } = _(
|
|
145
142
|
e,
|
|
146
143
|
h,
|
|
147
144
|
M,
|
|
148
145
|
k
|
|
149
146
|
);
|
|
150
|
-
p({ ...t }), z([...
|
|
147
|
+
p({ ...t }), z([...o]), R([...n]);
|
|
151
148
|
}
|
|
152
149
|
}, P = (e, s) => {
|
|
153
150
|
if (s === "left") {
|
|
154
|
-
const { map: t, list:
|
|
151
|
+
const { map: t, list: o, keys: n } = ee(
|
|
155
152
|
e,
|
|
156
153
|
a,
|
|
157
154
|
w,
|
|
158
155
|
j
|
|
159
156
|
);
|
|
160
|
-
|
|
157
|
+
m({ ...t }), I([...o]), K([...n]);
|
|
161
158
|
} else if (s === "center") {
|
|
162
|
-
const { map: t, list:
|
|
159
|
+
const { map: t, list: o, keys: n } = ee(
|
|
163
160
|
e,
|
|
164
161
|
d,
|
|
165
162
|
N,
|
|
166
163
|
S
|
|
167
164
|
);
|
|
168
|
-
x({ ...t }), A([...
|
|
165
|
+
x({ ...t }), A([...o]), E([...n]);
|
|
169
166
|
} else {
|
|
170
|
-
const { map: t, list:
|
|
167
|
+
const { map: t, list: o, keys: n } = Z(
|
|
171
168
|
e,
|
|
172
169
|
h,
|
|
173
170
|
M,
|
|
174
171
|
k
|
|
175
172
|
);
|
|
176
|
-
p({ ...t }), z([...
|
|
173
|
+
p({ ...t }), z([...o]), R([...n]);
|
|
177
174
|
}
|
|
178
175
|
}, ye = ({ target: e }) => {
|
|
179
|
-
e.checked ? (
|
|
176
|
+
e.checked ? (m(b(a, "show", !0)), x(b(d, "show", !0)), p(b(h, "show", !0))) : (m(b(a, "show", !1)), x(b(d, "show", !1)), p(b(h, "show", !1)));
|
|
180
177
|
}, H = v(() => [...j, ...S, ...k], [j, S, k]), L = v(() => {
|
|
181
|
-
var s, t,
|
|
178
|
+
var s, t, o;
|
|
182
179
|
const e = [];
|
|
183
|
-
for (const
|
|
184
|
-
(s = a[
|
|
185
|
-
for (const
|
|
186
|
-
(t = d[
|
|
187
|
-
for (const
|
|
188
|
-
(
|
|
189
|
-
return
|
|
180
|
+
for (const n in a)
|
|
181
|
+
(s = a[n]) != null && s.show && e.push(n);
|
|
182
|
+
for (const n in d)
|
|
183
|
+
(t = d[n]) != null && t.show && e.push(n);
|
|
184
|
+
for (const n in h)
|
|
185
|
+
(o = h[n]) != null && o.show && e.push(n);
|
|
186
|
+
return Re(e);
|
|
190
187
|
}, [a, d, h]), we = v(() => H.length === L.length, [H, L]), je = v(() => L.length > 0 && L.length < H.length, [L, H]), Me = () => {
|
|
191
|
-
const e =
|
|
188
|
+
const e = Ee({ ...l }, Q), s = oe(e, (t) => ({ ...t, show: !0, fixed: void 0 }));
|
|
192
189
|
D(s);
|
|
193
190
|
}, ke = () => {
|
|
194
|
-
const e =
|
|
191
|
+
const e = $e(l, ["width"]);
|
|
195
192
|
D(e);
|
|
196
193
|
};
|
|
197
|
-
return
|
|
194
|
+
return ze(ie, () => ({
|
|
198
195
|
getLeftSortColumns: () => a,
|
|
199
196
|
getCenterSortColumns: () => d,
|
|
200
197
|
getRightSortColumns: () => h,
|
|
@@ -208,7 +205,7 @@ const De = Re(
|
|
|
208
205
|
ref: $,
|
|
209
206
|
className: "columnsSortWrapper",
|
|
210
207
|
children: [
|
|
211
|
-
!
|
|
208
|
+
!ue && /* @__PURE__ */ r.jsx(
|
|
212
209
|
ve,
|
|
213
210
|
{
|
|
214
211
|
showIcon: !0,
|
|
@@ -248,8 +245,8 @@ const De = Re(
|
|
|
248
245
|
columnsMap: a,
|
|
249
246
|
onLeftClick: O,
|
|
250
247
|
onRightClick: P,
|
|
251
|
-
onChange:
|
|
252
|
-
onMoveEnd:
|
|
248
|
+
onChange: fe,
|
|
249
|
+
onMoveEnd: me
|
|
253
250
|
}
|
|
254
251
|
)
|
|
255
252
|
]
|
|
@@ -325,10 +322,10 @@ const De = Re(
|
|
|
325
322
|
}
|
|
326
323
|
),
|
|
327
324
|
/* @__PURE__ */ r.jsx(
|
|
328
|
-
|
|
325
|
+
ne,
|
|
329
326
|
{
|
|
330
327
|
type: "link",
|
|
331
|
-
icon: /* @__PURE__ */ r.jsx(
|
|
328
|
+
icon: /* @__PURE__ */ r.jsx(se, {}),
|
|
332
329
|
size: "small",
|
|
333
330
|
onClick: Me,
|
|
334
331
|
className: J,
|
|
@@ -336,10 +333,10 @@ const De = Re(
|
|
|
336
333
|
}
|
|
337
334
|
),
|
|
338
335
|
/* @__PURE__ */ r.jsx(
|
|
339
|
-
|
|
336
|
+
ne,
|
|
340
337
|
{
|
|
341
338
|
type: "link",
|
|
342
|
-
icon: /* @__PURE__ */ r.jsx(
|
|
339
|
+
icon: /* @__PURE__ */ r.jsx(se, {}),
|
|
343
340
|
size: "small",
|
|
344
341
|
onClick: ke,
|
|
345
342
|
className: J,
|
|
@@ -353,7 +350,7 @@ const De = Re(
|
|
|
353
350
|
}
|
|
354
351
|
);
|
|
355
352
|
}
|
|
356
|
-
),
|
|
353
|
+
), et = Ae(De);
|
|
357
354
|
export {
|
|
358
|
-
|
|
355
|
+
et as default
|
|
359
356
|
};
|
|
@@ -2,12 +2,12 @@ import { j as t } from "../../../../../node_modules/react/jsx-runtime.mjs";
|
|
|
2
2
|
import { BitzTableContext as Q } from "../../../Store/index.mjs";
|
|
3
3
|
import U from "../../../../BitzTheme/index.mjs";
|
|
4
4
|
import { findParentFirstNodeByClass as W } from "../../../../../utils/findNode.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import se from "
|
|
10
|
-
import re from "
|
|
5
|
+
import { RedoOutlined as X } from "@ant-design/icons";
|
|
6
|
+
import { css as Y } from "../../../../../node_modules/@emotion/css/dist/emotion-css.esm.mjs";
|
|
7
|
+
import { Form as T, Flex as C, Checkbox as Z, Button as H, Radio as u, InputNumber as ee, Select as te } from "antd";
|
|
8
|
+
import { merge as ne } from "lodash-es";
|
|
9
|
+
import { memo as oe, useRef as I, useEffect as K, useMemo as p, useContext as le, useState as h, useImperativeHandle as se } from "react";
|
|
10
|
+
import re from "./DndList.mjs";
|
|
11
11
|
function ae({
|
|
12
12
|
display: s,
|
|
13
13
|
postHeight: r,
|
|
@@ -31,11 +31,11 @@ function ae({
|
|
|
31
31
|
left: 0,
|
|
32
32
|
right: 0
|
|
33
33
|
}
|
|
34
|
-
}), [s]), a =
|
|
34
|
+
}), [s]), a = le(Q), N = a.defaultTableExportConfig, y = a.exportConfigHardCodedValue, v = a.exportConfig, w = a.selected, n = a.pagination, i = a.total, [c, A] = h([]), [f, d] = h([]), [k, b] = h("current"), [x, R] = h("page"), [E, S] = h(1);
|
|
35
35
|
K(() => {
|
|
36
36
|
var V, z, B, F;
|
|
37
37
|
let e = { ...v };
|
|
38
|
-
y && (e =
|
|
38
|
+
y && (e = ne(v, y)), d(e.fields), A(e.fields.map((J) => J.field));
|
|
39
39
|
let g = j && w ? "selectedRows" : e.config.key;
|
|
40
40
|
b(g), R(((z = (V = e.config) == null ? void 0 : V.info) == null ? void 0 : z.type) ?? "page"), S(((F = (B = e.config) == null ? void 0 : B.info) == null ? void 0 : F.value) ?? 1);
|
|
41
41
|
}, [v, y, j, w]);
|
|
@@ -55,7 +55,7 @@ function ae({
|
|
|
55
55
|
}, [x, n, i]), q = () => {
|
|
56
56
|
d(N.fields), b(N.config.key);
|
|
57
57
|
};
|
|
58
|
-
return
|
|
58
|
+
return se(M, () => ({
|
|
59
59
|
getExportConfig: () => {
|
|
60
60
|
const e = {
|
|
61
61
|
fields: [],
|
|
@@ -88,7 +88,7 @@ function ae({
|
|
|
88
88
|
/* @__PURE__ */ t.jsx(T.Item, { label: "导出字段", className: "exportFields", children: /* @__PURE__ */ t.jsxs(C, { gap: 8, vertical: !0, children: [
|
|
89
89
|
/* @__PURE__ */ t.jsxs(C, { gap: 20, className: "checkAllAndReset", children: [
|
|
90
90
|
/* @__PURE__ */ t.jsx(
|
|
91
|
-
|
|
91
|
+
Z,
|
|
92
92
|
{
|
|
93
93
|
checked: D,
|
|
94
94
|
indeterminate: L,
|
|
@@ -98,13 +98,13 @@ function ae({
|
|
|
98
98
|
}
|
|
99
99
|
),
|
|
100
100
|
r && /* @__PURE__ */ t.jsx(
|
|
101
|
-
|
|
101
|
+
H,
|
|
102
102
|
{
|
|
103
103
|
type: "link",
|
|
104
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
104
|
+
icon: /* @__PURE__ */ t.jsx(X, {}),
|
|
105
105
|
size: "small",
|
|
106
106
|
onClick: q,
|
|
107
|
-
className:
|
|
107
|
+
className: Y`
|
|
108
108
|
&:hover {
|
|
109
109
|
color: ${O.colorPrimary} !important;
|
|
110
110
|
}
|
|
@@ -114,7 +114,7 @@ function ae({
|
|
|
114
114
|
)
|
|
115
115
|
] }),
|
|
116
116
|
/* @__PURE__ */ t.jsx(
|
|
117
|
-
|
|
117
|
+
re,
|
|
118
118
|
{
|
|
119
119
|
dataList: f,
|
|
120
120
|
keys: c,
|
|
@@ -142,7 +142,7 @@ function ae({
|
|
|
142
142
|
/* @__PURE__ */ t.jsx(u, { value: "any", children: /* @__PURE__ */ t.jsxs(C, { align: "center", gap: 8, children: [
|
|
143
143
|
/* @__PURE__ */ t.jsx("span", { style: { whiteSpace: "nowrap" }, children: "导出" }),
|
|
144
144
|
/* @__PURE__ */ t.jsx(
|
|
145
|
-
|
|
145
|
+
ee,
|
|
146
146
|
{
|
|
147
147
|
controls: !1,
|
|
148
148
|
precision: 0,
|
|
@@ -152,7 +152,7 @@ function ae({
|
|
|
152
152
|
onChange: (e) => S(e),
|
|
153
153
|
style: { width: 120 },
|
|
154
154
|
addonAfter: /* @__PURE__ */ t.jsx(
|
|
155
|
-
|
|
155
|
+
te,
|
|
156
156
|
{
|
|
157
157
|
value: x,
|
|
158
158
|
onChange: R,
|
|
@@ -178,7 +178,7 @@ function ae({
|
|
|
178
178
|
}
|
|
179
179
|
) });
|
|
180
180
|
}
|
|
181
|
-
const Ce =
|
|
181
|
+
const Ce = oe(ae);
|
|
182
182
|
export {
|
|
183
183
|
Ce as default
|
|
184
184
|
};
|
|
@@ -13,24 +13,24 @@ import L from "../../../../../assets/iconfont/IconWubanmawentianchong.mjs";
|
|
|
13
13
|
import { BitzConfigContext as M } from "../../../../BitzConfigProvider/context.mjs";
|
|
14
14
|
import { BitzTableContext as O } from "../../../Store/index.mjs";
|
|
15
15
|
import Y from "../../../../BitzTheme/index.mjs";
|
|
16
|
-
import {
|
|
17
|
-
import Q from "
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
16
|
+
import { RedoOutlined as Z } from "@ant-design/icons";
|
|
17
|
+
import { Form as i, Radio as u, Row as q, Col as S, Button as Q } from "antd";
|
|
18
|
+
import U from "../../../../../node_modules/classnames/index.mjs";
|
|
19
|
+
import { forwardRef as X, useRef as P, useEffect as h, useMemo as _, useContext as j, useImperativeHandle as ee, useState as oe, memo as re } from "react";
|
|
20
|
+
import { BitzToolBarContext as le } from "../../Wrapper/context.mjs";
|
|
20
21
|
import r from "./RadioCard.mjs";
|
|
21
|
-
import
|
|
22
|
-
import se from "../../../../../node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs";
|
|
22
|
+
import se from "./ScopeSwitch.mjs";
|
|
23
23
|
const ie = ({ defaultSize: s, items: f }) => f.map((n) => n.key === s ? {
|
|
24
24
|
...n,
|
|
25
25
|
label: `${n.label}(默认)`
|
|
26
|
-
} : n), ne =
|
|
26
|
+
} : n), ne = X(({ display: s, postHeight: f }, n) => {
|
|
27
27
|
var g, z;
|
|
28
28
|
const { token: o } = Y.useToken(), b = P(null);
|
|
29
29
|
h(() => {
|
|
30
30
|
var l;
|
|
31
31
|
f((l = b.current) == null ? void 0 : l.clientHeight);
|
|
32
32
|
}, []);
|
|
33
|
-
const C =
|
|
33
|
+
const C = _(() => ({
|
|
34
34
|
display: "flex",
|
|
35
35
|
width: s ? "100%" : 0,
|
|
36
36
|
pointerEvents: s ? "auto" : "none",
|
|
@@ -44,10 +44,10 @@ const ie = ({ defaultSize: s, items: f }) => f.map((n) => n.key === s ? {
|
|
|
44
44
|
}), [s]), w = {
|
|
45
45
|
size: 26,
|
|
46
46
|
color: o.colorPrimary
|
|
47
|
-
}, [a] = i.useForm(), H = (g = j(M).Table) == null ? void 0 : g.stylesScope, { defaultTableSize: R, stylesConfig: y, defaultTableStylesConfig: x } = j(O), t = (z = j(
|
|
47
|
+
}, [a] = i.useForm(), H = (g = j(M).Table) == null ? void 0 : g.stylesScope, { defaultTableSize: R, stylesConfig: y, defaultTableStylesConfig: x } = j(O), t = (z = j(le).config) == null ? void 0 : z.stylesConfig, c = (l, m) => {
|
|
48
48
|
var v, I;
|
|
49
49
|
let d = m;
|
|
50
|
-
return (v = t == null ? void 0 : t[l]) != null && v.disabled && (d =
|
|
50
|
+
return (v = t == null ? void 0 : t[l]) != null && v.disabled && (d = U(m, "disabledControl")), {
|
|
51
51
|
disabled: (I = t == null ? void 0 : t[l]) == null ? void 0 : I.disabled,
|
|
52
52
|
className: d
|
|
53
53
|
};
|
|
@@ -94,10 +94,10 @@ const ie = ({ defaultSize: s, items: f }) => f.map((n) => n.key === s ? {
|
|
|
94
94
|
}
|
|
95
95
|
]
|
|
96
96
|
});
|
|
97
|
-
|
|
97
|
+
ee(n, () => ({
|
|
98
98
|
getFormInstance: () => a
|
|
99
99
|
}));
|
|
100
|
-
const p = P(null), [T, G] =
|
|
100
|
+
const p = P(null), [T, G] = oe("auto");
|
|
101
101
|
return h(() => {
|
|
102
102
|
p && G(p.current.clientWidth + 10);
|
|
103
103
|
}, []), /* @__PURE__ */ e.jsx("div", { style: C, ref: b, children: /* @__PURE__ */ e.jsxs(
|
|
@@ -178,13 +178,13 @@ const ie = ({ defaultSize: s, items: f }) => f.map((n) => n.key === s ? {
|
|
|
178
178
|
/* @__PURE__ */ e.jsx(r, { label: "50条", value: 50, children: /* @__PURE__ */ e.jsx(e.Fragment, {}) }),
|
|
179
179
|
/* @__PURE__ */ e.jsx(r, { label: "100条", value: 100, children: /* @__PURE__ */ e.jsx(e.Fragment, {}) })
|
|
180
180
|
] }) }),
|
|
181
|
-
/* @__PURE__ */ e.jsxs(
|
|
182
|
-
/* @__PURE__ */ e.jsx(S, { ref: p, style: { width: T }, className: "scope", children: /* @__PURE__ */ e.jsx(i.Item, { name: "stylesScope", children: /* @__PURE__ */ e.jsx(
|
|
181
|
+
/* @__PURE__ */ e.jsxs(q, { gutter: 16, className: "scopeAndReset", children: [
|
|
182
|
+
/* @__PURE__ */ e.jsx(S, { ref: p, style: { width: T }, className: "scope", children: /* @__PURE__ */ e.jsx(i.Item, { name: "stylesScope", children: /* @__PURE__ */ e.jsx(se, {}) }) }),
|
|
183
183
|
/* @__PURE__ */ e.jsx(S, { style: { alignSelf: "flex-end" }, className: "reset", children: /* @__PURE__ */ e.jsx(
|
|
184
|
-
|
|
184
|
+
Q,
|
|
185
185
|
{
|
|
186
186
|
type: "link",
|
|
187
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
187
|
+
icon: /* @__PURE__ */ e.jsx(Z, {}),
|
|
188
188
|
size: "small",
|
|
189
189
|
onClick: k,
|
|
190
190
|
children: "重置"
|
|
@@ -194,7 +194,7 @@ const ie = ({ defaultSize: s, items: f }) => f.map((n) => n.key === s ? {
|
|
|
194
194
|
]
|
|
195
195
|
}
|
|
196
196
|
) });
|
|
197
|
-
}), Re =
|
|
197
|
+
}), Re = re(ne);
|
|
198
198
|
export {
|
|
199
199
|
Re as default
|
|
200
200
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { j as t } from "../../../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { useRef as y, useContext as S, useState as b, useEffect as w, useMemo as k } from "react";
|
|
3
3
|
import { theme as z, Popconfirm as I, Statistic as R } from "antd";
|
|
4
|
-
import B from "
|
|
5
|
-
import N from "
|
|
6
|
-
import E from "
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import T from "../../../../node_modules/@
|
|
4
|
+
import { SettingOutlined as B } from "@ant-design/icons";
|
|
5
|
+
import N from "./ColumnConfigModal.mjs";
|
|
6
|
+
import E from "../style.mjs";
|
|
7
|
+
import M from "../../../BitzButton/index.mjs";
|
|
8
|
+
import { BitzTableContext as O } from "../../Store/index.mjs";
|
|
9
|
+
import { css as T } from "../../../../node_modules/@emotion/css/dist/emotion-css.esm.mjs";
|
|
10
10
|
const f = "表格设置", K = (e) => {
|
|
11
|
-
const { order: m, show: u = !0, icon: d = /* @__PURE__ */ t.jsx(
|
|
11
|
+
const { order: m, show: u = !0, icon: d = /* @__PURE__ */ t.jsx(B, {}) } = e, { token: p } = z.useToken(), s = y(), {
|
|
12
12
|
fullscreen: r,
|
|
13
13
|
isSaving: n,
|
|
14
14
|
countdown: o,
|
|
15
15
|
cancelAutoSave: x,
|
|
16
16
|
immediateSave: a,
|
|
17
17
|
setCountdown: C
|
|
18
|
-
} = S(
|
|
18
|
+
} = S(O), { toolbarItemClassName: g } = E(), [h, l] = b(!1);
|
|
19
19
|
w(() => (n && o > 0 ? s.current = setInterval(() => {
|
|
20
20
|
C((i) => i - 1);
|
|
21
21
|
}, 1e3) : clearInterval(s.current), o === 0 && n && a(), () => clearInterval(s.current)), [n, o]);
|
|
22
|
-
const j = k(() => r ? !1 : void 0, [r]), v =
|
|
22
|
+
const j = k(() => r ? !1 : void 0, [r]), v = T`
|
|
23
23
|
.ant-statistic {
|
|
24
24
|
display: inline-block;
|
|
25
25
|
}
|
|
@@ -45,7 +45,7 @@ const f = "表格设置", K = (e) => {
|
|
|
45
45
|
`;
|
|
46
46
|
return u ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
47
47
|
/* @__PURE__ */ t.jsx(
|
|
48
|
-
|
|
48
|
+
N,
|
|
49
49
|
{
|
|
50
50
|
open: h,
|
|
51
51
|
title: f,
|
|
@@ -71,7 +71,7 @@ const f = "表格设置", K = (e) => {
|
|
|
71
71
|
onCancel: x,
|
|
72
72
|
overlayClassName: v,
|
|
73
73
|
children: /* @__PURE__ */ t.jsx(
|
|
74
|
-
|
|
74
|
+
M,
|
|
75
75
|
{
|
|
76
76
|
type: "text",
|
|
77
77
|
className: g,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as e } from "../../../../node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { Card as C, Flex as l, message as j } from "antd";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { CheckCircleOutlined as y } from "@ant-design/icons";
|
|
4
|
+
import { useState as k, useContext as b, useRef as B, useMemo as E } from "react";
|
|
5
|
+
import { BitzTableContext as O } from "../../Store/index.mjs";
|
|
5
6
|
import c from "../../../BitzButton/index.mjs";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import z from "../../../../node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs";
|
|
7
|
+
import R from "../../../BitzTheme/index.mjs";
|
|
8
|
+
import T from "../Modal/index.mjs";
|
|
9
|
+
import z from "../ColConfigIcon/ExportConfig/index.mjs";
|
|
10
10
|
const G = ({
|
|
11
11
|
open: f,
|
|
12
12
|
title: m,
|
|
@@ -14,7 +14,7 @@ const G = ({
|
|
|
14
14
|
close: t,
|
|
15
15
|
getContainer: d
|
|
16
16
|
}) => {
|
|
17
|
-
const { token: s } =
|
|
17
|
+
const { token: s } = R.useToken(), [p, r] = k(!1), { defaultTableExportConfig: u } = b(O), o = B(null), x = async () => {
|
|
18
18
|
var i, a;
|
|
19
19
|
if (p)
|
|
20
20
|
return;
|
|
@@ -25,12 +25,12 @@ const G = ({
|
|
|
25
25
|
const g = ((a = o.current) == null ? void 0 : a.getExportConfig()) ?? u;
|
|
26
26
|
n && (r(!1), n(g), t());
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
E(() => s.mode === "dark", [s.mode]);
|
|
29
29
|
const h = () => {
|
|
30
30
|
r(!1);
|
|
31
31
|
};
|
|
32
32
|
return /* @__PURE__ */ e.jsx(
|
|
33
|
-
|
|
33
|
+
T,
|
|
34
34
|
{
|
|
35
35
|
open: f,
|
|
36
36
|
title: m,
|
|
@@ -42,7 +42,7 @@ const G = ({
|
|
|
42
42
|
c,
|
|
43
43
|
{
|
|
44
44
|
type: "primary",
|
|
45
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
45
|
+
icon: /* @__PURE__ */ e.jsx(y, {}),
|
|
46
46
|
onClick: x,
|
|
47
47
|
children: "导出"
|
|
48
48
|
}
|
|
@@ -56,7 +56,7 @@ const G = ({
|
|
|
56
56
|
bordered: !1,
|
|
57
57
|
styles: { body: { paddingBlock: 24 } },
|
|
58
58
|
children: /* @__PURE__ */ e.jsx(l, { vertical: !0, align: "center", gap: 24, style: { height: "100%" }, children: /* @__PURE__ */ e.jsx(l, { className: "containerBody", children: /* @__PURE__ */ e.jsx(
|
|
59
|
-
|
|
59
|
+
z,
|
|
60
60
|
{
|
|
61
61
|
refInstance: o,
|
|
62
62
|
display: !0,
|